@julseb-lib/react 1.1.24 → 1.1.25
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/{Image-2WXN57FZ.js → Image-SKLDS4YE.js} +2 -2
- package/dist/{chunk-AKGT77NY.js → chunk-UHS3R3PM.js} +306 -78
- package/dist/chunk-UHS3R3PM.js.map +1 -0
- package/dist/{global-DDESDwEf.d.cts → global-CXiIaXyy.d.cts} +181 -47
- package/dist/{global-DDESDwEf.d.ts → global-CXiIaXyy.d.ts} +181 -47
- package/dist/index.cjs +325 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/types/components-items-props.d.cts +1 -1
- package/dist/types/components-items-props.d.ts +1 -1
- package/dist/types/components-props.d.cts +366 -3
- package/dist/types/components-props.d.ts +366 -3
- package/dist/types/global.cjs.map +1 -1
- package/dist/types/global.d.cts +1 -1
- package/dist/types/global.d.ts +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-AKGT77NY.js.map +0 -1
- /package/dist/{Image-2WXN57FZ.js.map → Image-SKLDS4YE.js.map} +0 -0
|
@@ -3,6 +3,77 @@ import { Property } from 'csstype';
|
|
|
3
3
|
|
|
4
4
|
declare const designTokens: {
|
|
5
5
|
readonly libColors: {
|
|
6
|
+
/**
|
|
7
|
+
* All the colors in the lib
|
|
8
|
+
* Primary 50 — #eff6ff
|
|
9
|
+
* Primary 100 — #dbeafe
|
|
10
|
+
* Primary 200 — #bfdbfe
|
|
11
|
+
* Primary 300 — #93c5fd
|
|
12
|
+
* Primary 400 — #60a5fa
|
|
13
|
+
* Primary 500 — #3b82f6
|
|
14
|
+
* Primary 600 — #2563eb
|
|
15
|
+
* Primary 700 — #1d4ed8
|
|
16
|
+
* Primary 800 — #1e40af
|
|
17
|
+
* Primary 900 — #1e3a8a
|
|
18
|
+
* Primary 950 — #172554
|
|
19
|
+
* Secondary 50 — #ecfeff
|
|
20
|
+
* Secondary 100 — #cffafe
|
|
21
|
+
* Secondary 200 — #a5f3fc
|
|
22
|
+
* Secondary 300 — #67e8f9
|
|
23
|
+
* Secondary 400 — #22d3ee
|
|
24
|
+
* Secondary 500 — #06b6d4
|
|
25
|
+
* Secondary 600 — #0891b2
|
|
26
|
+
* Secondary 700 — #0e7490
|
|
27
|
+
* Secondary 800 — #155e75
|
|
28
|
+
* Secondary 900 — #164e63
|
|
29
|
+
* Secondary 950 — #083344
|
|
30
|
+
* Success 50 — #f0fdf4
|
|
31
|
+
* Success 100 — #dcfce7
|
|
32
|
+
* Success 200 — #bbf7d0
|
|
33
|
+
* Success 300 — #86efac
|
|
34
|
+
* Success 400 — #4ade80
|
|
35
|
+
* Success 500 — #22c55e
|
|
36
|
+
* Success 600 — #16a34a
|
|
37
|
+
* Success 700 — #15803d
|
|
38
|
+
* Success 800 — #166534
|
|
39
|
+
* Success 900 — #14532d
|
|
40
|
+
* Success 950 — #052e16
|
|
41
|
+
* Danger 50 — #fef2f2
|
|
42
|
+
* Danger 100 — #fee2e2
|
|
43
|
+
* Danger 200 — #fecaca
|
|
44
|
+
* Danger 300 — #fca5a5
|
|
45
|
+
* Danger 400 — #f87171
|
|
46
|
+
* Danger 500 — #ef4444
|
|
47
|
+
* Danger 600 — #dc2626
|
|
48
|
+
* Danger 700 — #b91c1c
|
|
49
|
+
* Danger 800 — #991b1b
|
|
50
|
+
* Danger 900 — #7f1d1d
|
|
51
|
+
* Danger 950 — #450a0a
|
|
52
|
+
* Warning 50 — #fffbeb
|
|
53
|
+
* Warning 100 — #fef3c7
|
|
54
|
+
* Warning 200 — #fde68a
|
|
55
|
+
* Warning 300 — #fcd34d
|
|
56
|
+
* Warning 400 — #fbbf24
|
|
57
|
+
* Warning 500 — #f59e42
|
|
58
|
+
* Warning 600 — #d97706
|
|
59
|
+
* Warning 700 — #b45309
|
|
60
|
+
* Warning 800 — #92400e
|
|
61
|
+
* Warning 900 — #78350f
|
|
62
|
+
* Warning 950 — #451a03
|
|
63
|
+
* Gray 50 — #f9fafb
|
|
64
|
+
* Gray 100 — #f3f4f6
|
|
65
|
+
* Gray 200 — #e5e7eb
|
|
66
|
+
* Gray 300 — #d1d5db
|
|
67
|
+
* Gray 400 — #9ca3af
|
|
68
|
+
* Gray 500 — #6b7280
|
|
69
|
+
* Gray 600 — #4b5563
|
|
70
|
+
* Gray 700 — #374151
|
|
71
|
+
* Gray 800 — #1f2937
|
|
72
|
+
* Gray 900 — #111827
|
|
73
|
+
* Gray 950 — #030712
|
|
74
|
+
* Black — #000000
|
|
75
|
+
* White — #ffffff
|
|
76
|
+
*/
|
|
6
77
|
readonly "primary-50": "#eff6ff";
|
|
7
78
|
readonly "primary-100": "#dbeafe";
|
|
8
79
|
readonly "primary-200": "#bfdbfe";
|
|
@@ -77,6 +148,20 @@ declare const designTokens: {
|
|
|
77
148
|
readonly font: "font";
|
|
78
149
|
};
|
|
79
150
|
readonly libColorsShort: {
|
|
151
|
+
/**
|
|
152
|
+
* Shorthand for each color (value is <color>-500)
|
|
153
|
+
* Primary — #3b82f6
|
|
154
|
+
* Secondary — #06b6d4
|
|
155
|
+
* Success — #22c55e
|
|
156
|
+
* Danger — #ef4444
|
|
157
|
+
* Warning — #f59e42
|
|
158
|
+
* Gray — #6b7280
|
|
159
|
+
* Black — #000000
|
|
160
|
+
* White — #ffffff
|
|
161
|
+
* Current - currentColor
|
|
162
|
+
* Transparent - transparent
|
|
163
|
+
* Background: #ffffff in light mode, #000000 in dark mode
|
|
164
|
+
*/
|
|
80
165
|
readonly primary: "primary";
|
|
81
166
|
readonly secondary: "secondary";
|
|
82
167
|
readonly success: "success";
|
|
@@ -90,6 +175,16 @@ declare const designTokens: {
|
|
|
90
175
|
readonly background: "background";
|
|
91
176
|
};
|
|
92
177
|
readonly libColorsHover: {
|
|
178
|
+
/**
|
|
179
|
+
* Colors used when an item is hovered
|
|
180
|
+
* Primary: Default Primary 500 — #3b82f6; Hover: Primary 300 — #93c5fd; Active: Primary 600 — #2563eb
|
|
181
|
+
* Secondary: Default: Secondary 500 — #06b6d4; Hover: Secondary 300 — #67e8f9; Active: Secondary 600 — #0891b2
|
|
182
|
+
* Success: Default: Success 500 — #22c55e; Hover: Success 300 — #86efac; Active: Success 600 — #16a34a
|
|
183
|
+
* Danger: Default: Danger 500 — #ef4444; Hover: Danger 300 — #fca5a5; Active: Danger 600 — #dc2626
|
|
184
|
+
* Warning: Default: Warning 500 — #f59e42; Hover: Warning 300 — #fcd34d; Active: Warning 600 — #d97706
|
|
185
|
+
* Gray: Default: Gray 500 — #6b7280; Hover: Gray 300 — #d1d5db; Active: Gray 600 — #4b5563
|
|
186
|
+
* White: Default: White - #ffffff; Hover: Gray 300 - #d1d5db; Active: Gray 100 - #f3f4f6
|
|
187
|
+
*/
|
|
93
188
|
readonly primary: "primary";
|
|
94
189
|
readonly secondary: "secondary";
|
|
95
190
|
readonly success: "success";
|
|
@@ -99,6 +194,15 @@ declare const designTokens: {
|
|
|
99
194
|
readonly white: "white";
|
|
100
195
|
};
|
|
101
196
|
readonly libOverlays: {
|
|
197
|
+
/**
|
|
198
|
+
* Overlay colors
|
|
199
|
+
* Black 50 - rgba(0, 0, 0, 0.5)
|
|
200
|
+
* Black 80 - rgba(0, 0, 0, 0.8)
|
|
201
|
+
* White 50 - rgba(255, 255, 255, 0.5)
|
|
202
|
+
* White 80 - rgba(255, 255, 255, 0.8)
|
|
203
|
+
* Gradient Black - linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%)
|
|
204
|
+
* Gradient White - linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%)
|
|
205
|
+
*/
|
|
102
206
|
readonly "black-50": "black-50";
|
|
103
207
|
readonly "black-80": "black-80";
|
|
104
208
|
readonly "white-50": "white-50";
|
|
@@ -107,41 +211,77 @@ declare const designTokens: {
|
|
|
107
211
|
readonly "gradient-white": "gradient-white";
|
|
108
212
|
};
|
|
109
213
|
readonly libFontFamilies: {
|
|
214
|
+
/**
|
|
215
|
+
* Font Families
|
|
216
|
+
* Body - Lato
|
|
217
|
+
* Code - monospace
|
|
218
|
+
*/
|
|
110
219
|
readonly body: "body";
|
|
111
220
|
readonly code: "code";
|
|
112
221
|
};
|
|
113
222
|
readonly libSpacers: {
|
|
114
|
-
/**
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
223
|
+
/** Spacers
|
|
224
|
+
* 2xs - 4px
|
|
225
|
+
* xs - 8px
|
|
226
|
+
* sm - 12px
|
|
227
|
+
* md - 16px
|
|
228
|
+
* lg - 24px
|
|
229
|
+
* xl - 32px
|
|
230
|
+
* 2xl - 48px
|
|
231
|
+
*/
|
|
232
|
+
readonly "2xs": "2xs";
|
|
233
|
+
readonly xs: "xs";
|
|
123
234
|
readonly sm: "sm";
|
|
124
235
|
readonly md: "md";
|
|
125
236
|
readonly lg: "lg";
|
|
126
237
|
readonly xl: "xl";
|
|
127
238
|
readonly "2xl": "2xl";
|
|
128
239
|
};
|
|
129
|
-
readonly
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
240
|
+
readonly libBreakpoints: {
|
|
241
|
+
/**
|
|
242
|
+
* Tailwind Breakpoints
|
|
243
|
+
* sm - 640px
|
|
244
|
+
* md - 768px
|
|
245
|
+
* lg - 1024px
|
|
246
|
+
* xl - 1280px
|
|
247
|
+
* 2xl - 1536px
|
|
248
|
+
*/
|
|
133
249
|
readonly sm: "sm";
|
|
134
250
|
readonly md: "md";
|
|
135
251
|
readonly lg: "lg";
|
|
136
252
|
readonly xl: "xl";
|
|
137
253
|
readonly "2xl": "2xl";
|
|
138
|
-
readonly "3xl": "3xl";
|
|
139
|
-
readonly "4xl": "4xl";
|
|
140
|
-
readonly "5xl": "5xl";
|
|
141
|
-
readonly "6xl": "6xl";
|
|
142
|
-
readonly "7xl": "7xl";
|
|
143
254
|
};
|
|
144
255
|
readonly libFontSizes: {
|
|
256
|
+
/**
|
|
257
|
+
* Tailwind & Lib Font Sizes
|
|
258
|
+
* xs - 12px (0.75rem)
|
|
259
|
+
* sm - 14px (0.875rem)
|
|
260
|
+
* base - 16px (1rem)
|
|
261
|
+
* lg - 18px (1.125rem)
|
|
262
|
+
* xl - 20px (1.25rem)
|
|
263
|
+
* 2xl - 24px (1.5rem)
|
|
264
|
+
* 3xl - 30px (1.875rem)
|
|
265
|
+
* 4xl - 36px (2.25rem)
|
|
266
|
+
* 5xl - 48px (3rem)
|
|
267
|
+
* 6xl - 60px (3.75rem)
|
|
268
|
+
* 7xl - 72px (4.5rem)
|
|
269
|
+
* 8xl - 96px (6rem)
|
|
270
|
+
* 9xl - 128px (8rem)
|
|
271
|
+
* display-h1 - 80px (5rem)
|
|
272
|
+
* display-h2 - 64px (4rem)
|
|
273
|
+
* display-h3 - 56px (3.5rem)
|
|
274
|
+
* display-h4 - 48px (3rem)
|
|
275
|
+
* display-h5 - 40px (2.5rem)
|
|
276
|
+
* h1 - 40px (2.5rem)
|
|
277
|
+
* h2 - 32px (2rem)
|
|
278
|
+
* h3 - 28.8px (1.8rem)
|
|
279
|
+
* h4 - 24px (1.5rem)
|
|
280
|
+
* h5 - 20.8px (1.3rem)
|
|
281
|
+
* h6 - 17.6px (1.1rem)
|
|
282
|
+
* body - 16px (1rem)
|
|
283
|
+
* small - 14px (0.875rem)
|
|
284
|
+
*/
|
|
145
285
|
readonly xs: "xs";
|
|
146
286
|
readonly sm: "sm";
|
|
147
287
|
readonly base: "base";
|
|
@@ -155,31 +295,33 @@ declare const designTokens: {
|
|
|
155
295
|
readonly "7xl": "7xl";
|
|
156
296
|
readonly "8xl": "8xl";
|
|
157
297
|
readonly "9xl": "9xl";
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly "8xl": "8xl--line-height";
|
|
172
|
-
readonly "9xl": "9xl--line-height";
|
|
298
|
+
readonly "display-h1": "display-h1";
|
|
299
|
+
readonly "display-h2": "display-h2";
|
|
300
|
+
readonly "display-h3": "display-h3";
|
|
301
|
+
readonly "display-h4": "display-h4";
|
|
302
|
+
readonly "display-h5": "display-h5";
|
|
303
|
+
readonly h1: "h1";
|
|
304
|
+
readonly h2: "h2";
|
|
305
|
+
readonly h3: "h3";
|
|
306
|
+
readonly h4: "h4";
|
|
307
|
+
readonly h5: "h5";
|
|
308
|
+
readonly h6: "h6";
|
|
309
|
+
readonly body: "body";
|
|
310
|
+
readonly small: "small";
|
|
173
311
|
};
|
|
174
312
|
readonly libFontWeights: {
|
|
313
|
+
/**
|
|
314
|
+
* Font weights for Lato
|
|
315
|
+
* Thin - 100
|
|
316
|
+
* Light - 300
|
|
317
|
+
* Normal - 400
|
|
318
|
+
* Bold - 700
|
|
319
|
+
* Black - 900
|
|
320
|
+
*/
|
|
175
321
|
readonly thin: "thin";
|
|
176
|
-
readonly extralight: "extralight";
|
|
177
322
|
readonly light: "light";
|
|
178
323
|
readonly normal: "normal";
|
|
179
|
-
readonly medium: "medium";
|
|
180
|
-
readonly semibold: "semibold";
|
|
181
324
|
readonly bold: "bold";
|
|
182
|
-
readonly extrabold: "extrabold";
|
|
183
325
|
readonly black: "black";
|
|
184
326
|
};
|
|
185
327
|
readonly libTracking: {
|
|
@@ -864,20 +1006,12 @@ type LibFontFamilies = keyof typeof designTokens.libFontFamilies;
|
|
|
864
1006
|
type LibFontSizes = keyof typeof designTokens.libFontSizes;
|
|
865
1007
|
/**
|
|
866
1008
|
* @description All font weight tokens available in the library.
|
|
867
|
-
* @type {"thin" | "
|
|
1009
|
+
* @type {"thin" | "light" | "regular" | "bold" | "black"}
|
|
868
1010
|
* @example
|
|
869
1011
|
* fontWeight="regular"
|
|
870
1012
|
* fontWeight="bold"
|
|
871
1013
|
*/
|
|
872
1014
|
type LibFontWeights = keyof typeof designTokens.libFontWeights;
|
|
873
|
-
/**
|
|
874
|
-
* @description All line height tokens available in the library.
|
|
875
|
-
* @type {"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl"}
|
|
876
|
-
* @example
|
|
877
|
-
* lineHeight="normal"
|
|
878
|
-
* lineHeight="tight"
|
|
879
|
-
*/
|
|
880
|
-
type LibLineHeights = keyof typeof designTokens.libLineHeights;
|
|
881
1015
|
/**
|
|
882
1016
|
* @description All box shadow tokens available in the library.
|
|
883
1017
|
* @type {"2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "none"}
|
|
@@ -1469,4 +1603,4 @@ type CountryCode = keyof typeof designTokens.libCountryCodes;
|
|
|
1469
1603
|
type ClassNames = string | Array<string>;
|
|
1470
1604
|
type CSSProperties = CSSProperties$1;
|
|
1471
1605
|
|
|
1472
|
-
export { type
|
|
1606
|
+
export { type LibNavBurgerPosition as $, type LibPosition as A, type LibZIndex as B, type LibMinHeight as C, type LibKeySize as D, type LibMaxWidth as E, type LibSkeletonAnimation as F, type LibTooltipPosition as G, type LibTooltipTrigger as H, type LibComponentBase as I, type LibAccordionVariant as J, type LibAccordionIcon as K, type LibColors as L, type LibTagVariant as M, type LibToastStatus as N, type LibCheckInputVariant as O, type LibInputListDirection as P, type LibTabsJustify as Q, type LibTabsVariant as R, type LibSlideshowPagination as S, type LibSlideshowPaginationPosition as T, type LibSlideshowButtonsPosition as U, type LibSlideshowButtonsSize as V, type LibTableVariant as W, type LibMdEditorViews as X, type LibMdEditorTitles as Y, type LibMdEditorButtons as Z, type LibDrawerPosition as _, type LibColorsShort as a, type LibNavMobileVariant as a0, type LibHeaderPosition as a1, type LibFooterDirection as a2, type LibFooterLinksSeparator as a3, type LibValueInputPin as a4, type TranslateLang as a5, type ILibBackgroundImage as a6, type LibCountry as a7, type LibBackToTopPosition as a8, type LibTooltipPositionOptions as a9, type ReactChildren as aa, type ReactElement as ab, type FC as ac, type DispatchState as ad, type Classes as ae, type CssTextAlign as af, type CssVerticalAlign as ag, type CssJustifyItems as ah, type CssAlignItems as ai, type CssJustifyContent as aj, type CssAlignContent as ak, type CssFlexDirection as al, type CssFlexWrap as am, type CssObjectFit as an, type CssBorderStyle as ao, type CssOutlineStyle as ap, type LibMainSize as aq, type LibAsideSize as ar, type CountryCode as as, type ClassNames as at, type CSSProperties as au, designTokens as av, type LibAllColors as b, type LibColorsHover as c, type LibColorsHoverAndCurrent as d, type LibOverlays as e, type LibAllColorsAndOverlays as f, type LibFontFamilies as g, type LibFontSizes as h, type LibFontWeights as i, type LibShadows as j, type LibSpacers as k, type LibRadiuses as l, type LibTransitions as m, type LibValidationStatus as n, type LibInputValidation as o, type LibThemeNames as p, type LibInputVariant as q, type LibInputType as r, type LibLoaderVariant as s, type LibButtonVariant as t, type LibButtonVariantExtended as u, type LibButtonSize as v, type LibInputBackground as w, type LibTextTagDisplay as x, type LibTextTagNoDisplay as y, type LibTextTag as z };
|
|
@@ -3,6 +3,77 @@ import { Property } from 'csstype';
|
|
|
3
3
|
|
|
4
4
|
declare const designTokens: {
|
|
5
5
|
readonly libColors: {
|
|
6
|
+
/**
|
|
7
|
+
* All the colors in the lib
|
|
8
|
+
* Primary 50 — #eff6ff
|
|
9
|
+
* Primary 100 — #dbeafe
|
|
10
|
+
* Primary 200 — #bfdbfe
|
|
11
|
+
* Primary 300 — #93c5fd
|
|
12
|
+
* Primary 400 — #60a5fa
|
|
13
|
+
* Primary 500 — #3b82f6
|
|
14
|
+
* Primary 600 — #2563eb
|
|
15
|
+
* Primary 700 — #1d4ed8
|
|
16
|
+
* Primary 800 — #1e40af
|
|
17
|
+
* Primary 900 — #1e3a8a
|
|
18
|
+
* Primary 950 — #172554
|
|
19
|
+
* Secondary 50 — #ecfeff
|
|
20
|
+
* Secondary 100 — #cffafe
|
|
21
|
+
* Secondary 200 — #a5f3fc
|
|
22
|
+
* Secondary 300 — #67e8f9
|
|
23
|
+
* Secondary 400 — #22d3ee
|
|
24
|
+
* Secondary 500 — #06b6d4
|
|
25
|
+
* Secondary 600 — #0891b2
|
|
26
|
+
* Secondary 700 — #0e7490
|
|
27
|
+
* Secondary 800 — #155e75
|
|
28
|
+
* Secondary 900 — #164e63
|
|
29
|
+
* Secondary 950 — #083344
|
|
30
|
+
* Success 50 — #f0fdf4
|
|
31
|
+
* Success 100 — #dcfce7
|
|
32
|
+
* Success 200 — #bbf7d0
|
|
33
|
+
* Success 300 — #86efac
|
|
34
|
+
* Success 400 — #4ade80
|
|
35
|
+
* Success 500 — #22c55e
|
|
36
|
+
* Success 600 — #16a34a
|
|
37
|
+
* Success 700 — #15803d
|
|
38
|
+
* Success 800 — #166534
|
|
39
|
+
* Success 900 — #14532d
|
|
40
|
+
* Success 950 — #052e16
|
|
41
|
+
* Danger 50 — #fef2f2
|
|
42
|
+
* Danger 100 — #fee2e2
|
|
43
|
+
* Danger 200 — #fecaca
|
|
44
|
+
* Danger 300 — #fca5a5
|
|
45
|
+
* Danger 400 — #f87171
|
|
46
|
+
* Danger 500 — #ef4444
|
|
47
|
+
* Danger 600 — #dc2626
|
|
48
|
+
* Danger 700 — #b91c1c
|
|
49
|
+
* Danger 800 — #991b1b
|
|
50
|
+
* Danger 900 — #7f1d1d
|
|
51
|
+
* Danger 950 — #450a0a
|
|
52
|
+
* Warning 50 — #fffbeb
|
|
53
|
+
* Warning 100 — #fef3c7
|
|
54
|
+
* Warning 200 — #fde68a
|
|
55
|
+
* Warning 300 — #fcd34d
|
|
56
|
+
* Warning 400 — #fbbf24
|
|
57
|
+
* Warning 500 — #f59e42
|
|
58
|
+
* Warning 600 — #d97706
|
|
59
|
+
* Warning 700 — #b45309
|
|
60
|
+
* Warning 800 — #92400e
|
|
61
|
+
* Warning 900 — #78350f
|
|
62
|
+
* Warning 950 — #451a03
|
|
63
|
+
* Gray 50 — #f9fafb
|
|
64
|
+
* Gray 100 — #f3f4f6
|
|
65
|
+
* Gray 200 — #e5e7eb
|
|
66
|
+
* Gray 300 — #d1d5db
|
|
67
|
+
* Gray 400 — #9ca3af
|
|
68
|
+
* Gray 500 — #6b7280
|
|
69
|
+
* Gray 600 — #4b5563
|
|
70
|
+
* Gray 700 — #374151
|
|
71
|
+
* Gray 800 — #1f2937
|
|
72
|
+
* Gray 900 — #111827
|
|
73
|
+
* Gray 950 — #030712
|
|
74
|
+
* Black — #000000
|
|
75
|
+
* White — #ffffff
|
|
76
|
+
*/
|
|
6
77
|
readonly "primary-50": "#eff6ff";
|
|
7
78
|
readonly "primary-100": "#dbeafe";
|
|
8
79
|
readonly "primary-200": "#bfdbfe";
|
|
@@ -77,6 +148,20 @@ declare const designTokens: {
|
|
|
77
148
|
readonly font: "font";
|
|
78
149
|
};
|
|
79
150
|
readonly libColorsShort: {
|
|
151
|
+
/**
|
|
152
|
+
* Shorthand for each color (value is <color>-500)
|
|
153
|
+
* Primary — #3b82f6
|
|
154
|
+
* Secondary — #06b6d4
|
|
155
|
+
* Success — #22c55e
|
|
156
|
+
* Danger — #ef4444
|
|
157
|
+
* Warning — #f59e42
|
|
158
|
+
* Gray — #6b7280
|
|
159
|
+
* Black — #000000
|
|
160
|
+
* White — #ffffff
|
|
161
|
+
* Current - currentColor
|
|
162
|
+
* Transparent - transparent
|
|
163
|
+
* Background: #ffffff in light mode, #000000 in dark mode
|
|
164
|
+
*/
|
|
80
165
|
readonly primary: "primary";
|
|
81
166
|
readonly secondary: "secondary";
|
|
82
167
|
readonly success: "success";
|
|
@@ -90,6 +175,16 @@ declare const designTokens: {
|
|
|
90
175
|
readonly background: "background";
|
|
91
176
|
};
|
|
92
177
|
readonly libColorsHover: {
|
|
178
|
+
/**
|
|
179
|
+
* Colors used when an item is hovered
|
|
180
|
+
* Primary: Default Primary 500 — #3b82f6; Hover: Primary 300 — #93c5fd; Active: Primary 600 — #2563eb
|
|
181
|
+
* Secondary: Default: Secondary 500 — #06b6d4; Hover: Secondary 300 — #67e8f9; Active: Secondary 600 — #0891b2
|
|
182
|
+
* Success: Default: Success 500 — #22c55e; Hover: Success 300 — #86efac; Active: Success 600 — #16a34a
|
|
183
|
+
* Danger: Default: Danger 500 — #ef4444; Hover: Danger 300 — #fca5a5; Active: Danger 600 — #dc2626
|
|
184
|
+
* Warning: Default: Warning 500 — #f59e42; Hover: Warning 300 — #fcd34d; Active: Warning 600 — #d97706
|
|
185
|
+
* Gray: Default: Gray 500 — #6b7280; Hover: Gray 300 — #d1d5db; Active: Gray 600 — #4b5563
|
|
186
|
+
* White: Default: White - #ffffff; Hover: Gray 300 - #d1d5db; Active: Gray 100 - #f3f4f6
|
|
187
|
+
*/
|
|
93
188
|
readonly primary: "primary";
|
|
94
189
|
readonly secondary: "secondary";
|
|
95
190
|
readonly success: "success";
|
|
@@ -99,6 +194,15 @@ declare const designTokens: {
|
|
|
99
194
|
readonly white: "white";
|
|
100
195
|
};
|
|
101
196
|
readonly libOverlays: {
|
|
197
|
+
/**
|
|
198
|
+
* Overlay colors
|
|
199
|
+
* Black 50 - rgba(0, 0, 0, 0.5)
|
|
200
|
+
* Black 80 - rgba(0, 0, 0, 0.8)
|
|
201
|
+
* White 50 - rgba(255, 255, 255, 0.5)
|
|
202
|
+
* White 80 - rgba(255, 255, 255, 0.8)
|
|
203
|
+
* Gradient Black - linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%)
|
|
204
|
+
* Gradient White - linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%)
|
|
205
|
+
*/
|
|
102
206
|
readonly "black-50": "black-50";
|
|
103
207
|
readonly "black-80": "black-80";
|
|
104
208
|
readonly "white-50": "white-50";
|
|
@@ -107,41 +211,77 @@ declare const designTokens: {
|
|
|
107
211
|
readonly "gradient-white": "gradient-white";
|
|
108
212
|
};
|
|
109
213
|
readonly libFontFamilies: {
|
|
214
|
+
/**
|
|
215
|
+
* Font Families
|
|
216
|
+
* Body - Lato
|
|
217
|
+
* Code - monospace
|
|
218
|
+
*/
|
|
110
219
|
readonly body: "body";
|
|
111
220
|
readonly code: "code";
|
|
112
221
|
};
|
|
113
222
|
readonly libSpacers: {
|
|
114
|
-
/**
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
223
|
+
/** Spacers
|
|
224
|
+
* 2xs - 4px
|
|
225
|
+
* xs - 8px
|
|
226
|
+
* sm - 12px
|
|
227
|
+
* md - 16px
|
|
228
|
+
* lg - 24px
|
|
229
|
+
* xl - 32px
|
|
230
|
+
* 2xl - 48px
|
|
231
|
+
*/
|
|
232
|
+
readonly "2xs": "2xs";
|
|
233
|
+
readonly xs: "xs";
|
|
123
234
|
readonly sm: "sm";
|
|
124
235
|
readonly md: "md";
|
|
125
236
|
readonly lg: "lg";
|
|
126
237
|
readonly xl: "xl";
|
|
127
238
|
readonly "2xl": "2xl";
|
|
128
239
|
};
|
|
129
|
-
readonly
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
240
|
+
readonly libBreakpoints: {
|
|
241
|
+
/**
|
|
242
|
+
* Tailwind Breakpoints
|
|
243
|
+
* sm - 640px
|
|
244
|
+
* md - 768px
|
|
245
|
+
* lg - 1024px
|
|
246
|
+
* xl - 1280px
|
|
247
|
+
* 2xl - 1536px
|
|
248
|
+
*/
|
|
133
249
|
readonly sm: "sm";
|
|
134
250
|
readonly md: "md";
|
|
135
251
|
readonly lg: "lg";
|
|
136
252
|
readonly xl: "xl";
|
|
137
253
|
readonly "2xl": "2xl";
|
|
138
|
-
readonly "3xl": "3xl";
|
|
139
|
-
readonly "4xl": "4xl";
|
|
140
|
-
readonly "5xl": "5xl";
|
|
141
|
-
readonly "6xl": "6xl";
|
|
142
|
-
readonly "7xl": "7xl";
|
|
143
254
|
};
|
|
144
255
|
readonly libFontSizes: {
|
|
256
|
+
/**
|
|
257
|
+
* Tailwind & Lib Font Sizes
|
|
258
|
+
* xs - 12px (0.75rem)
|
|
259
|
+
* sm - 14px (0.875rem)
|
|
260
|
+
* base - 16px (1rem)
|
|
261
|
+
* lg - 18px (1.125rem)
|
|
262
|
+
* xl - 20px (1.25rem)
|
|
263
|
+
* 2xl - 24px (1.5rem)
|
|
264
|
+
* 3xl - 30px (1.875rem)
|
|
265
|
+
* 4xl - 36px (2.25rem)
|
|
266
|
+
* 5xl - 48px (3rem)
|
|
267
|
+
* 6xl - 60px (3.75rem)
|
|
268
|
+
* 7xl - 72px (4.5rem)
|
|
269
|
+
* 8xl - 96px (6rem)
|
|
270
|
+
* 9xl - 128px (8rem)
|
|
271
|
+
* display-h1 - 80px (5rem)
|
|
272
|
+
* display-h2 - 64px (4rem)
|
|
273
|
+
* display-h3 - 56px (3.5rem)
|
|
274
|
+
* display-h4 - 48px (3rem)
|
|
275
|
+
* display-h5 - 40px (2.5rem)
|
|
276
|
+
* h1 - 40px (2.5rem)
|
|
277
|
+
* h2 - 32px (2rem)
|
|
278
|
+
* h3 - 28.8px (1.8rem)
|
|
279
|
+
* h4 - 24px (1.5rem)
|
|
280
|
+
* h5 - 20.8px (1.3rem)
|
|
281
|
+
* h6 - 17.6px (1.1rem)
|
|
282
|
+
* body - 16px (1rem)
|
|
283
|
+
* small - 14px (0.875rem)
|
|
284
|
+
*/
|
|
145
285
|
readonly xs: "xs";
|
|
146
286
|
readonly sm: "sm";
|
|
147
287
|
readonly base: "base";
|
|
@@ -155,31 +295,33 @@ declare const designTokens: {
|
|
|
155
295
|
readonly "7xl": "7xl";
|
|
156
296
|
readonly "8xl": "8xl";
|
|
157
297
|
readonly "9xl": "9xl";
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly "8xl": "8xl--line-height";
|
|
172
|
-
readonly "9xl": "9xl--line-height";
|
|
298
|
+
readonly "display-h1": "display-h1";
|
|
299
|
+
readonly "display-h2": "display-h2";
|
|
300
|
+
readonly "display-h3": "display-h3";
|
|
301
|
+
readonly "display-h4": "display-h4";
|
|
302
|
+
readonly "display-h5": "display-h5";
|
|
303
|
+
readonly h1: "h1";
|
|
304
|
+
readonly h2: "h2";
|
|
305
|
+
readonly h3: "h3";
|
|
306
|
+
readonly h4: "h4";
|
|
307
|
+
readonly h5: "h5";
|
|
308
|
+
readonly h6: "h6";
|
|
309
|
+
readonly body: "body";
|
|
310
|
+
readonly small: "small";
|
|
173
311
|
};
|
|
174
312
|
readonly libFontWeights: {
|
|
313
|
+
/**
|
|
314
|
+
* Font weights for Lato
|
|
315
|
+
* Thin - 100
|
|
316
|
+
* Light - 300
|
|
317
|
+
* Normal - 400
|
|
318
|
+
* Bold - 700
|
|
319
|
+
* Black - 900
|
|
320
|
+
*/
|
|
175
321
|
readonly thin: "thin";
|
|
176
|
-
readonly extralight: "extralight";
|
|
177
322
|
readonly light: "light";
|
|
178
323
|
readonly normal: "normal";
|
|
179
|
-
readonly medium: "medium";
|
|
180
|
-
readonly semibold: "semibold";
|
|
181
324
|
readonly bold: "bold";
|
|
182
|
-
readonly extrabold: "extrabold";
|
|
183
325
|
readonly black: "black";
|
|
184
326
|
};
|
|
185
327
|
readonly libTracking: {
|
|
@@ -864,20 +1006,12 @@ type LibFontFamilies = keyof typeof designTokens.libFontFamilies;
|
|
|
864
1006
|
type LibFontSizes = keyof typeof designTokens.libFontSizes;
|
|
865
1007
|
/**
|
|
866
1008
|
* @description All font weight tokens available in the library.
|
|
867
|
-
* @type {"thin" | "
|
|
1009
|
+
* @type {"thin" | "light" | "regular" | "bold" | "black"}
|
|
868
1010
|
* @example
|
|
869
1011
|
* fontWeight="regular"
|
|
870
1012
|
* fontWeight="bold"
|
|
871
1013
|
*/
|
|
872
1014
|
type LibFontWeights = keyof typeof designTokens.libFontWeights;
|
|
873
|
-
/**
|
|
874
|
-
* @description All line height tokens available in the library.
|
|
875
|
-
* @type {"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl"}
|
|
876
|
-
* @example
|
|
877
|
-
* lineHeight="normal"
|
|
878
|
-
* lineHeight="tight"
|
|
879
|
-
*/
|
|
880
|
-
type LibLineHeights = keyof typeof designTokens.libLineHeights;
|
|
881
1015
|
/**
|
|
882
1016
|
* @description All box shadow tokens available in the library.
|
|
883
1017
|
* @type {"2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "none"}
|
|
@@ -1469,4 +1603,4 @@ type CountryCode = keyof typeof designTokens.libCountryCodes;
|
|
|
1469
1603
|
type ClassNames = string | Array<string>;
|
|
1470
1604
|
type CSSProperties = CSSProperties$1;
|
|
1471
1605
|
|
|
1472
|
-
export { type
|
|
1606
|
+
export { type LibNavBurgerPosition as $, type LibPosition as A, type LibZIndex as B, type LibMinHeight as C, type LibKeySize as D, type LibMaxWidth as E, type LibSkeletonAnimation as F, type LibTooltipPosition as G, type LibTooltipTrigger as H, type LibComponentBase as I, type LibAccordionVariant as J, type LibAccordionIcon as K, type LibColors as L, type LibTagVariant as M, type LibToastStatus as N, type LibCheckInputVariant as O, type LibInputListDirection as P, type LibTabsJustify as Q, type LibTabsVariant as R, type LibSlideshowPagination as S, type LibSlideshowPaginationPosition as T, type LibSlideshowButtonsPosition as U, type LibSlideshowButtonsSize as V, type LibTableVariant as W, type LibMdEditorViews as X, type LibMdEditorTitles as Y, type LibMdEditorButtons as Z, type LibDrawerPosition as _, type LibColorsShort as a, type LibNavMobileVariant as a0, type LibHeaderPosition as a1, type LibFooterDirection as a2, type LibFooterLinksSeparator as a3, type LibValueInputPin as a4, type TranslateLang as a5, type ILibBackgroundImage as a6, type LibCountry as a7, type LibBackToTopPosition as a8, type LibTooltipPositionOptions as a9, type ReactChildren as aa, type ReactElement as ab, type FC as ac, type DispatchState as ad, type Classes as ae, type CssTextAlign as af, type CssVerticalAlign as ag, type CssJustifyItems as ah, type CssAlignItems as ai, type CssJustifyContent as aj, type CssAlignContent as ak, type CssFlexDirection as al, type CssFlexWrap as am, type CssObjectFit as an, type CssBorderStyle as ao, type CssOutlineStyle as ap, type LibMainSize as aq, type LibAsideSize as ar, type CountryCode as as, type ClassNames as at, type CSSProperties as au, designTokens as av, type LibAllColors as b, type LibColorsHover as c, type LibColorsHoverAndCurrent as d, type LibOverlays as e, type LibAllColorsAndOverlays as f, type LibFontFamilies as g, type LibFontSizes as h, type LibFontWeights as i, type LibShadows as j, type LibSpacers as k, type LibRadiuses as l, type LibTransitions as m, type LibValidationStatus as n, type LibInputValidation as o, type LibThemeNames as p, type LibInputVariant as q, type LibInputType as r, type LibLoaderVariant as s, type LibButtonVariant as t, type LibButtonVariantExtended as u, type LibButtonSize as v, type LibInputBackground as w, type LibTextTagDisplay as x, type LibTextTagNoDisplay as y, type LibTextTag as z };
|