@tactics/lokaal-loket 0.0.2 → 0.0.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.
- package/README.md +37 -0
- package/build/index.cjs +1842 -0
- package/build/index.cjs.map +1 -0
- package/build/index.d.cts +892 -0
- package/build/index.d.ts +892 -0
- package/build/index.js +1782 -0
- package/build/index.js.map +1 -0
- package/package.json +36 -18
|
@@ -0,0 +1,892 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { MouseEventHandler, ReactElement, PropsWithChildren } from 'react';
|
|
3
|
+
import { ColorKey, ColorVariantKey, TypographyFontKey, TypographyFontsKey, TypographyFontWeightKey, RadiusKey, SpacingKey } from '@tactics/tacky/contract';
|
|
4
|
+
export { ThemeI } from '@tactics/tacky/contract';
|
|
5
|
+
export { BuildProvidersTree } from '@tactics/tacky/tool';
|
|
6
|
+
|
|
7
|
+
declare enum Context$z {
|
|
8
|
+
STANDARD = "STANDARD",
|
|
9
|
+
SKELETON = "SKELETON"
|
|
10
|
+
}
|
|
11
|
+
declare enum Type$6 {
|
|
12
|
+
DAYCARE = "DAYCARE",
|
|
13
|
+
CHILDMINDER = "CHILDMINDER",
|
|
14
|
+
COOPERATIVE = "COOPERATIVE"
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface IBadge {
|
|
18
|
+
context?: Context$z;
|
|
19
|
+
type: Type$6;
|
|
20
|
+
screenReaderText: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare const Badge: ({ context, type, screenReaderText }: IBadge) => React__default.JSX.Element;
|
|
24
|
+
|
|
25
|
+
declare enum Context$y {
|
|
26
|
+
STANDARD = "STANDARD",
|
|
27
|
+
SKELETON = "SKELETON"
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare enum Context$x {
|
|
31
|
+
STANDARD = "STANDARD",
|
|
32
|
+
SKELETON = "SKELETON"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface ILogoSrc {
|
|
36
|
+
srcset: string;
|
|
37
|
+
src: string;
|
|
38
|
+
}
|
|
39
|
+
interface ILogoBase {
|
|
40
|
+
ariaLabel: string;
|
|
41
|
+
alt: string;
|
|
42
|
+
children?: React__default.ReactNode | React__default.ReactNode[];
|
|
43
|
+
}
|
|
44
|
+
interface ILogoLoad extends ILogoBase {
|
|
45
|
+
srcset?: ILogoSrc;
|
|
46
|
+
}
|
|
47
|
+
interface ILogo extends ILogoLoad {
|
|
48
|
+
context?: Context$x;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
interface IBrandBase {
|
|
52
|
+
ariaLabel: string;
|
|
53
|
+
logo: React__default.ReactElement<ILogo>;
|
|
54
|
+
name: string;
|
|
55
|
+
}
|
|
56
|
+
interface IBrand extends IBrandBase {
|
|
57
|
+
context: Context$y;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare const Brand: ({ logo, name, ariaLabel, context }: IBrand) => React__default.JSX.Element;
|
|
61
|
+
|
|
62
|
+
declare enum Context$w {
|
|
63
|
+
DISABLED = "DISABLED",
|
|
64
|
+
PRIMARY = "PRIMARY",
|
|
65
|
+
SUPPORTING = "SUPPORTING",
|
|
66
|
+
NEUTRAL = "NEUTRAL",
|
|
67
|
+
OUTLINED = "OUTLINED",
|
|
68
|
+
GHOST = "GHOST",
|
|
69
|
+
UI = "UI",
|
|
70
|
+
SKELETON = "SKELETON"
|
|
71
|
+
}
|
|
72
|
+
declare enum Type$5 {
|
|
73
|
+
BUTTON = "BUTTON",
|
|
74
|
+
RESET = "RESET",
|
|
75
|
+
SUBMIT = "SUBMIT",
|
|
76
|
+
LINK = "LINK"
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
declare enum Context$v {
|
|
80
|
+
STANDARD = "STANDARD",
|
|
81
|
+
SUPPORTING = "SUPPORTING",
|
|
82
|
+
DARK = "DARK",
|
|
83
|
+
LIGHT = "LIGHT",
|
|
84
|
+
DISABLED = "DISABLED",
|
|
85
|
+
DANGER = "DANGER",
|
|
86
|
+
WARNING = "WARNING",
|
|
87
|
+
SUCCESS = "SUCCESS",
|
|
88
|
+
INFO = "INFO"
|
|
89
|
+
}
|
|
90
|
+
declare enum Size$1 {
|
|
91
|
+
SMALL = "SMALL",
|
|
92
|
+
MEDIUM = "MEDIUM",
|
|
93
|
+
LARGE = "LARGE"
|
|
94
|
+
}
|
|
95
|
+
declare enum Type$4 {
|
|
96
|
+
CANCEL = "CANCEL",
|
|
97
|
+
ARROW_LEFT = "ARROW_LEFT",
|
|
98
|
+
ARROW_RIGHT = "ARROW_RIGHT",
|
|
99
|
+
CHEVRON_DOWN = "CHEVRON_DOWN",
|
|
100
|
+
CHEVRON_UP = "CHEVRON_UP",
|
|
101
|
+
EDIT = "EDIT",
|
|
102
|
+
SEND = "SEND",
|
|
103
|
+
REDO = "REDO",
|
|
104
|
+
PROFILE = "PROFILE",
|
|
105
|
+
CHECK = "CHECK",
|
|
106
|
+
TRANSLATION = "TRANSLATION",
|
|
107
|
+
MAP = "MAP",
|
|
108
|
+
EURO = "EURO",
|
|
109
|
+
BABY = "BABY",
|
|
110
|
+
PIN = "PIN",
|
|
111
|
+
DISTANCE = "DISTANCE",
|
|
112
|
+
DOCUMENT = "DOCUMENT",
|
|
113
|
+
FAVORITE = "FAVORITE",
|
|
114
|
+
MENU = "MENU",
|
|
115
|
+
ADD = "ADD",
|
|
116
|
+
MINUS = "MINUS",
|
|
117
|
+
COMMENT = "COMMENT",
|
|
118
|
+
IN_PROCESS = "IN_PROCESS",
|
|
119
|
+
COLLAPSE = "COLLAPSE"
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
interface IIconLoad {
|
|
123
|
+
size?: Size$1;
|
|
124
|
+
type: Type$4;
|
|
125
|
+
screenReaderText: string;
|
|
126
|
+
}
|
|
127
|
+
interface IIcon extends IIconLoad {
|
|
128
|
+
context?: Context$v;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
interface IButtonBase {
|
|
132
|
+
id?: string;
|
|
133
|
+
title: string;
|
|
134
|
+
ariaLabel: string;
|
|
135
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
136
|
+
children?: string;
|
|
137
|
+
withIconBefore?: React__default.ReactElement<IIcon>;
|
|
138
|
+
withIconAfter?: React__default.ReactElement<IIcon>;
|
|
139
|
+
type: Type$5;
|
|
140
|
+
}
|
|
141
|
+
interface IButton extends IButtonBase {
|
|
142
|
+
context?: Context$w;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
declare const Button: ({ id, title, ariaLabel, children, onClick, withIconBefore, withIconAfter, type, context, }: IButton) => React__default.JSX.Element;
|
|
146
|
+
|
|
147
|
+
declare enum Context$u {
|
|
148
|
+
STANDARD = "STANDARD",
|
|
149
|
+
DISABLED = "DISABLED",
|
|
150
|
+
ERROR = "ERROR",
|
|
151
|
+
SKELETON = "SKELETON"
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
interface ICheckboxBase {
|
|
155
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
156
|
+
value: string;
|
|
157
|
+
ariaLabel?: string;
|
|
158
|
+
label: string;
|
|
159
|
+
name: string;
|
|
160
|
+
checked?: boolean;
|
|
161
|
+
defaultChecked?: boolean;
|
|
162
|
+
}
|
|
163
|
+
interface CheckboxProps extends ICheckboxBase {
|
|
164
|
+
context?: Context$u;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
declare const Checkbox: ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, }: CheckboxProps) => React$1.JSX.Element;
|
|
168
|
+
|
|
169
|
+
declare enum Context$t {
|
|
170
|
+
STANDARD = "STANDARD",
|
|
171
|
+
DISABLED = "DISABLED",
|
|
172
|
+
ERROR = "ERROR",
|
|
173
|
+
SKELETON = "SKELETON"
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
declare enum Context$s {
|
|
177
|
+
STANDARD = "STANDARD",
|
|
178
|
+
INVERTED = "INVERTED",
|
|
179
|
+
ACCENT = "ACCENT",
|
|
180
|
+
SKELETON = "SKELETON"
|
|
181
|
+
}
|
|
182
|
+
declare enum Size {
|
|
183
|
+
SMALL = "SMALL",
|
|
184
|
+
MEDIUM = "MEDIUM",
|
|
185
|
+
LARGE = "LARGE",
|
|
186
|
+
XLARGE = "XLARGE"
|
|
187
|
+
}
|
|
188
|
+
declare enum Type$3 {
|
|
189
|
+
CHILD = "CHILD",
|
|
190
|
+
FAMILY = "FAMILY",
|
|
191
|
+
CALENDAR = "CALENDAR",
|
|
192
|
+
BIN = "BIN",
|
|
193
|
+
ALERT = "ALERT",
|
|
194
|
+
PASSWORD = "PASSWORD",
|
|
195
|
+
SEARCH = "SEARCH",
|
|
196
|
+
FOLDER = "FOLDER",
|
|
197
|
+
PASSPORT = "PASSPORT",
|
|
198
|
+
SETTING = "SETTING",
|
|
199
|
+
FACE = "FACE",
|
|
200
|
+
PIN = "PIN",
|
|
201
|
+
MONEY = "MONEY",
|
|
202
|
+
IDEA = "IDEA",
|
|
203
|
+
OFFER = "OFFER",
|
|
204
|
+
FAVORITE = "FAVORITE",
|
|
205
|
+
FOLLOW_UP = "FOLLOW_UP",
|
|
206
|
+
STAR = "STAR",
|
|
207
|
+
COINS = "COINS",
|
|
208
|
+
CHECK = "CHECK",
|
|
209
|
+
LIKE = "LIKE",
|
|
210
|
+
MAP = "MAP",
|
|
211
|
+
ADD = "ADD",
|
|
212
|
+
APPLICATION = "APPLICATION",
|
|
213
|
+
BABY = "BABY",
|
|
214
|
+
BOOKMARK = "BOOKMARK",
|
|
215
|
+
CONVERSATION = "CONVERSATION",
|
|
216
|
+
CANCEL = "CANCEL",
|
|
217
|
+
DAD = "DAD",
|
|
218
|
+
DATETIME = "DATETIME",
|
|
219
|
+
FILE = "FILE",
|
|
220
|
+
HOME = "HOME",
|
|
221
|
+
INFORMATION = "INFORMATION",
|
|
222
|
+
MAIL = "MAIL",
|
|
223
|
+
MOM = "MOM",
|
|
224
|
+
NO = "NO",
|
|
225
|
+
NOTE = "NOTE",
|
|
226
|
+
YES = "YES",
|
|
227
|
+
FENCE = "FENCE",
|
|
228
|
+
BUILDING = "BUILDING"
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
interface IFigureLoad {
|
|
232
|
+
size: Size;
|
|
233
|
+
type: Type$3;
|
|
234
|
+
screenReaderText: string;
|
|
235
|
+
}
|
|
236
|
+
interface IFigure extends IFigureLoad {
|
|
237
|
+
context?: Context$s;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
interface IChoiceBase {
|
|
241
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
242
|
+
value: string;
|
|
243
|
+
ariaLabel?: string;
|
|
244
|
+
label: string;
|
|
245
|
+
name: string;
|
|
246
|
+
checked?: boolean;
|
|
247
|
+
defaultChecked?: boolean;
|
|
248
|
+
icon: React.ReactElement<IIcon | IFigure>;
|
|
249
|
+
}
|
|
250
|
+
interface ChoiceProps extends IChoiceBase {
|
|
251
|
+
context?: Context$t;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
declare const Choice: ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, icon, }: ChoiceProps) => React$1.JSX.Element;
|
|
255
|
+
|
|
256
|
+
declare enum Context$r {
|
|
257
|
+
STANDARD = "STANDARD",
|
|
258
|
+
SKELETON = "SKELETON"
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
interface IFeature {
|
|
262
|
+
context?: Context$r;
|
|
263
|
+
withIconBefore?: React__default.ReactElement<IIcon>;
|
|
264
|
+
label: string;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
declare const Feature: ({ context, label, withIconBefore }: IFeature) => React$1.JSX.Element;
|
|
268
|
+
|
|
269
|
+
declare enum Context$q {
|
|
270
|
+
STANDARD = "STANDARD",
|
|
271
|
+
SKELETON = "SKELETON"
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
interface IFrame {
|
|
275
|
+
context?: Context$q;
|
|
276
|
+
around: React__default.ReactElement<IIcon | IFigure>;
|
|
277
|
+
color?: ColorKey;
|
|
278
|
+
split?: ColorKey | false;
|
|
279
|
+
tint?: ColorVariantKey;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
declare const Frame: ({ context, around, color, split, tint, }: IFrame) => React$1.JSX.Element;
|
|
283
|
+
|
|
284
|
+
declare enum Context$p {
|
|
285
|
+
STANDARD = "STANDARD",
|
|
286
|
+
SKELETON = "SKELETON"
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
declare enum HtmlHeading {
|
|
290
|
+
H1 = "h1",
|
|
291
|
+
H2 = "h2",
|
|
292
|
+
H3 = "h3",
|
|
293
|
+
H4 = "h4",
|
|
294
|
+
H5 = "h5",
|
|
295
|
+
H6 = "h6"
|
|
296
|
+
}
|
|
297
|
+
type HtmlHeadingKey = HtmlHeading.H1 | HtmlHeading.H2 | HtmlHeading.H3 | HtmlHeading.H4 | HtmlHeading.H5 | HtmlHeading.H6;
|
|
298
|
+
interface IHeading {
|
|
299
|
+
context?: Context$p;
|
|
300
|
+
id?: string;
|
|
301
|
+
title: string;
|
|
302
|
+
children?: string;
|
|
303
|
+
htmlType?: HtmlHeadingKey;
|
|
304
|
+
size?: TypographyFontKey;
|
|
305
|
+
font?: TypographyFontsKey;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
declare const Heading: ({ id, title, children, htmlType, size, font, context, }: IHeading) => React__default.JSX.Element;
|
|
309
|
+
|
|
310
|
+
declare enum Context$o {
|
|
311
|
+
STANDARD = "STANDARD",
|
|
312
|
+
SKELETON = "SKELETON"
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
declare enum Context$n {
|
|
316
|
+
STANDARD = "STANDARD",
|
|
317
|
+
SKELETON = "SKELETON"
|
|
318
|
+
}
|
|
319
|
+
declare enum TextDecoration {
|
|
320
|
+
NONE = "NONE",
|
|
321
|
+
UNDERLINE = "UNDERLINE",
|
|
322
|
+
LINE_THROUGH = "LINE_THROUGH"
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
interface IPlainText {
|
|
326
|
+
children?: string;
|
|
327
|
+
context?: Context$n;
|
|
328
|
+
size?: TypographyFontKey;
|
|
329
|
+
font?: TypographyFontsKey;
|
|
330
|
+
fontWeight?: TypographyFontWeightKey;
|
|
331
|
+
textDecoration?: TextDecoration;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
interface IInformation {
|
|
335
|
+
context?: Context$o;
|
|
336
|
+
text: React__default.ReactElement<IPlainText>;
|
|
337
|
+
frame?: React__default.ReactElement<IFrame>;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
declare const Information: ({ context, text, frame }: IInformation) => React$1.JSX.Element;
|
|
341
|
+
|
|
342
|
+
declare enum Context$m {
|
|
343
|
+
DISABLED = "DISABLED",
|
|
344
|
+
ERROR = "ERROR",
|
|
345
|
+
STANDARD = "STANDARD",
|
|
346
|
+
SKELETON = "SKELETON"
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
interface IInputBase {
|
|
350
|
+
defaultValue?: string;
|
|
351
|
+
onChange?: (e: React__default.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
352
|
+
onBlur?: (e: React__default.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
353
|
+
value?: string;
|
|
354
|
+
placeholder?: string;
|
|
355
|
+
multiline?: boolean;
|
|
356
|
+
rows: number;
|
|
357
|
+
ariaLabel?: string;
|
|
358
|
+
name: string;
|
|
359
|
+
withIconBefore?: React__default.ReactElement<IIcon>;
|
|
360
|
+
withIconAfter?: React__default.ReactElement<IIcon>;
|
|
361
|
+
}
|
|
362
|
+
interface InputProps extends IInputBase {
|
|
363
|
+
context?: Context$m;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
declare const Input: ({ defaultValue, onChange, onBlur, value, placeholder, multiline, rows, ariaLabel, name, context, withIconBefore, withIconAfter, }: InputProps) => React$1.JSX.Element;
|
|
367
|
+
|
|
368
|
+
declare enum Context$l {
|
|
369
|
+
STANDARD = "STANDARD",
|
|
370
|
+
UI = "UI",
|
|
371
|
+
SKELETON = "SKELETON"
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
interface ILink {
|
|
375
|
+
id: string;
|
|
376
|
+
title: string;
|
|
377
|
+
ariaLabel: string;
|
|
378
|
+
children?: string;
|
|
379
|
+
context?: Context$l;
|
|
380
|
+
withIconBefore?: React__default.ReactElement<IIcon>;
|
|
381
|
+
withIconAfter?: React__default.ReactElement<IIcon>;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
declare const Link: ({ id, title, ariaLabel, children, context, withIconBefore, withIconAfter, }: ILink) => React__default.JSX.Element;
|
|
385
|
+
|
|
386
|
+
declare enum Context$k {
|
|
387
|
+
STANDARD = "STANDARD",
|
|
388
|
+
SKELETON = "SKELETON"
|
|
389
|
+
}
|
|
390
|
+
declare enum Type$2 {
|
|
391
|
+
STANDARD = "STANDARD",
|
|
392
|
+
NUMBERED = "NUMBERED"
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
interface IListBase {
|
|
396
|
+
type?: Type$2;
|
|
397
|
+
children?: React__default.ReactNode;
|
|
398
|
+
}
|
|
399
|
+
interface ListProps extends IListBase {
|
|
400
|
+
context?: Context$k;
|
|
401
|
+
}
|
|
402
|
+
interface IListItemBase {
|
|
403
|
+
children?: React__default.ReactNode;
|
|
404
|
+
}
|
|
405
|
+
interface ListItemThemeableProps extends IListItemBase {
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
declare const List: {
|
|
409
|
+
({ context, type, children }: ListProps): React$1.JSX.Element;
|
|
410
|
+
Item: ({ children }: ListItemThemeableProps) => React$1.JSX.Element;
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
declare const Logo: ({ srcset, context, alt, ariaLabel }: ILogo) => React__default.JSX.Element;
|
|
414
|
+
|
|
415
|
+
declare enum Context$j {
|
|
416
|
+
STANDARD = "STANDARD",
|
|
417
|
+
SKELETON = "SKELETON"
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
interface INotification {
|
|
421
|
+
number: number;
|
|
422
|
+
context?: Context$j;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
declare const Notification: ({ number, context }: INotification) => React$1.JSX.Element;
|
|
426
|
+
|
|
427
|
+
declare enum Context$i {
|
|
428
|
+
STANDARD = "STANDARD",
|
|
429
|
+
DISABLED = "DISABLED",
|
|
430
|
+
ERROR = "ERROR",
|
|
431
|
+
SKELETON = "SKELETON"
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
interface IPickBase {
|
|
435
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
436
|
+
value: string;
|
|
437
|
+
ariaLabel?: string;
|
|
438
|
+
label: string;
|
|
439
|
+
name: string;
|
|
440
|
+
checked?: boolean;
|
|
441
|
+
defaultChecked?: boolean;
|
|
442
|
+
icon: React.ReactElement<IIcon | IFigure>;
|
|
443
|
+
}
|
|
444
|
+
interface PickProps extends IPickBase {
|
|
445
|
+
context?: Context$i;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
declare const Pick: ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, icon, }: PickProps) => React$1.JSX.Element;
|
|
449
|
+
|
|
450
|
+
declare enum Context$h {
|
|
451
|
+
STANDARD = "STANDARD",
|
|
452
|
+
SKELETON = "SKELETON"
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
interface IPill {
|
|
456
|
+
context?: Context$h;
|
|
457
|
+
label: string;
|
|
458
|
+
withIconBefore?: React__default.ReactElement<IIcon>;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
declare const Pill: ({ context, withIconBefore, label }: IPill) => React$1.JSX.Element;
|
|
462
|
+
|
|
463
|
+
declare enum Context$g {
|
|
464
|
+
STANDARD = "STANDARD"
|
|
465
|
+
}
|
|
466
|
+
declare enum Type$1 {
|
|
467
|
+
DAYCARE = "DAYCARE",
|
|
468
|
+
CHILDMINDER = "CHILDMINDER",
|
|
469
|
+
COOPERATIVE = "COOPERATIVE"
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
interface IPin {
|
|
473
|
+
context?: Context$g;
|
|
474
|
+
type: Type$1;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
declare const Pin: ({ context, type }: IPin) => React__default.JSX.Element;
|
|
478
|
+
|
|
479
|
+
declare const PlainText: ({ children, context, size, font, fontWeight, textDecoration, }: IPlainText) => React__default.JSX.Element;
|
|
480
|
+
|
|
481
|
+
declare enum Context$f {
|
|
482
|
+
STANDARD = "STANDARD",
|
|
483
|
+
DISABLED = "DISABLED",
|
|
484
|
+
ERROR = "ERROR",
|
|
485
|
+
SKELETON = "SKELETON"
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
interface IRadioBase {
|
|
489
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
490
|
+
value: string;
|
|
491
|
+
ariaLabel?: string;
|
|
492
|
+
label: string;
|
|
493
|
+
name: string;
|
|
494
|
+
checked?: boolean;
|
|
495
|
+
defaultChecked?: boolean;
|
|
496
|
+
}
|
|
497
|
+
interface RadioProps extends IRadioBase {
|
|
498
|
+
context?: Context$f;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
declare const Radio: ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, }: RadioProps) => React$1.JSX.Element;
|
|
502
|
+
|
|
503
|
+
declare enum Context$e {
|
|
504
|
+
STANDARD = "STANDARD",
|
|
505
|
+
SKELETON = "SKELETON"
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
interface IRecord {
|
|
509
|
+
context?: Context$e;
|
|
510
|
+
withIconBefore?: React__default.ReactElement<IIcon>;
|
|
511
|
+
label: string;
|
|
512
|
+
value: string | React__default.ReactNode;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
declare const Record: ({ context, label, value, withIconBefore }: IRecord) => React$1.JSX.Element;
|
|
516
|
+
|
|
517
|
+
declare enum Context$d {
|
|
518
|
+
SEND = "SEND",
|
|
519
|
+
PROCESSING = "PROCESSING",
|
|
520
|
+
PROPOSAL = "PROPOSAL",
|
|
521
|
+
ACCEPTED = "ACCEPTED",
|
|
522
|
+
REFUSED = "REFUSED",
|
|
523
|
+
SKELETON = "SKELETON"
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
interface IStatusCompact {
|
|
527
|
+
context?: Context$d;
|
|
528
|
+
}
|
|
529
|
+
interface IStatus {
|
|
530
|
+
context?: Context$d;
|
|
531
|
+
label: string;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
declare const StatusCompact: ({ context }: IStatusCompact) => React$1.JSX.Element;
|
|
535
|
+
declare const Status: ({ context, label }: IStatus) => React$1.JSX.Element;
|
|
536
|
+
|
|
537
|
+
declare enum Context$c {
|
|
538
|
+
STANDARD = "STANDARD",
|
|
539
|
+
SKELETON = "SKELETON"
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
interface ITerm {
|
|
543
|
+
context?: Context$c;
|
|
544
|
+
frame: React__default.ReactElement<IFrame>;
|
|
545
|
+
label: React__default.ReactElement<IPlainText>;
|
|
546
|
+
description: React__default.ReactElement<IPlainText>;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
declare const Term: ({ context, label, description, frame }: ITerm) => React$1.JSX.Element;
|
|
550
|
+
|
|
551
|
+
declare enum Context$b {
|
|
552
|
+
STANDARD = "STANDARD"
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
interface ITerminal {
|
|
556
|
+
context?: Context$b;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
declare const Terminal: ({ context }: ITerminal) => React__default.JSX.Element;
|
|
560
|
+
|
|
561
|
+
declare enum Context$a {
|
|
562
|
+
STANDARD = "STANDARD",
|
|
563
|
+
DISABLED = "DISABLED",
|
|
564
|
+
ERROR = "ERROR",
|
|
565
|
+
SKELETON = "SKELETON"
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
interface IYesNoBase {
|
|
569
|
+
onChange?: (yesNo: boolean) => void;
|
|
570
|
+
ariaYesLabel?: string;
|
|
571
|
+
ariaNoLabel?: string;
|
|
572
|
+
yesLabel: string;
|
|
573
|
+
noLabel: string;
|
|
574
|
+
name: string;
|
|
575
|
+
defaultChecked?: boolean;
|
|
576
|
+
}
|
|
577
|
+
interface YesNoProps extends IYesNoBase {
|
|
578
|
+
context?: Context$a;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare const YesNo: ({ context, onChange, ariaYesLabel, ariaNoLabel, yesLabel, noLabel, name, defaultChecked, }: YesNoProps) => React$1.JSX.Element;
|
|
582
|
+
|
|
583
|
+
declare enum Context$9 {
|
|
584
|
+
STANDARD = "STANDARD",
|
|
585
|
+
SKELETON = "SKELETON"
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
interface IDetailsBase {
|
|
589
|
+
children?: React.ReactNode;
|
|
590
|
+
}
|
|
591
|
+
interface DetailsProps extends IDetailsBase {
|
|
592
|
+
context?: Context$9;
|
|
593
|
+
}
|
|
594
|
+
interface DetailsHeaderThemeableProps {
|
|
595
|
+
title: string;
|
|
596
|
+
children?: React.ReactNode;
|
|
597
|
+
}
|
|
598
|
+
interface DetailsContentThemeableProps {
|
|
599
|
+
children?: React.ReactNode;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
declare const Details: {
|
|
603
|
+
({ children, context }: DetailsProps): React$1.JSX.Element;
|
|
604
|
+
Header: ({ title, children }: DetailsHeaderThemeableProps) => React$1.JSX.Element;
|
|
605
|
+
Content: ({ children }: DetailsContentThemeableProps) => React$1.JSX.Element;
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
declare enum Context$8 {
|
|
609
|
+
STANDARD = "STANDARD",
|
|
610
|
+
SKELETON = "SKELETON"
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
interface IFaqBase {
|
|
614
|
+
children?: React.ReactNode;
|
|
615
|
+
}
|
|
616
|
+
interface FaqProps extends IFaqBase {
|
|
617
|
+
context?: Context$8;
|
|
618
|
+
}
|
|
619
|
+
interface FaqHeaderThemeableProps {
|
|
620
|
+
title: string;
|
|
621
|
+
}
|
|
622
|
+
interface FaqContentThemeableProps {
|
|
623
|
+
children?: React.ReactNode;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
declare const Faq: {
|
|
627
|
+
({ children, context }: FaqProps): React$1.JSX.Element;
|
|
628
|
+
Header: ({ title }: FaqHeaderThemeableProps) => React$1.JSX.Element;
|
|
629
|
+
Content: ({ children }: FaqContentThemeableProps) => React$1.JSX.Element;
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
declare enum Context$7 {
|
|
633
|
+
STANDARD = "STANDARD",
|
|
634
|
+
SKELETON = "SKELETON"
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
interface IFeatures {
|
|
638
|
+
context?: Context$7;
|
|
639
|
+
children: React__default.ReactElement<IFeature> | React__default.ReactElement<IFeature>[];
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
declare const Features: ({ context, children }: IFeatures) => React$1.JSX.Element;
|
|
643
|
+
|
|
644
|
+
declare enum Context$6 {
|
|
645
|
+
STANDARD = "STANDARD",
|
|
646
|
+
SKELETON = "SKELETON"
|
|
647
|
+
}
|
|
648
|
+
declare enum ItemType {
|
|
649
|
+
LINK = "LINK",
|
|
650
|
+
BUTTON = "BUTTON"
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
interface IProfileNavigationBase {
|
|
654
|
+
children?: ReactElement<ProfileNavigationItemThemeableProps> | ReactElement<ProfileNavigationItemThemeableProps>[];
|
|
655
|
+
}
|
|
656
|
+
interface ProfileNavigationProps extends IProfileNavigationBase {
|
|
657
|
+
context?: Context$6;
|
|
658
|
+
}
|
|
659
|
+
interface ProfileNavigationItemThemeableProps {
|
|
660
|
+
label: string;
|
|
661
|
+
icon: Type$4;
|
|
662
|
+
type: ItemType;
|
|
663
|
+
onClick?: () => void;
|
|
664
|
+
count?: number;
|
|
665
|
+
isHighlighted?: boolean;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
declare const ProfileNavigation: {
|
|
669
|
+
({ context, children, }: ProfileNavigationProps): React$1.JSX.Element;
|
|
670
|
+
Item: ({ icon, label, onClick, count, type, isHighlighted, }: ProfileNavigationItemThemeableProps) => React$1.JSX.Element;
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
declare enum Context$5 {
|
|
674
|
+
STANDARD = "STANDARD",
|
|
675
|
+
SKELETON = "SKELETON"
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
interface IRecords {
|
|
679
|
+
context?: Context$5;
|
|
680
|
+
children: React__default.ReactElement<IRecord> | React__default.ReactElement<IRecord>[];
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
declare const Records: ({ context, children }: IRecords) => React$1.JSX.Element;
|
|
684
|
+
|
|
685
|
+
declare enum Context$4 {
|
|
686
|
+
STANDARD = "STANDARD",
|
|
687
|
+
SKELETON = "SKELETON"
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
interface IStatusList {
|
|
691
|
+
context?: Context$4;
|
|
692
|
+
children?: ReactElement<IStatusCompact> | ReactElement<IStatusCompact>[];
|
|
693
|
+
withCount: boolean;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
declare const StatusList: ({ children, context, withCount }: IStatusList) => React$1.JSX.Element;
|
|
697
|
+
|
|
698
|
+
declare enum Context$3 {
|
|
699
|
+
STANDARD = "STANDARD",
|
|
700
|
+
SKELETON = "SKELETON"
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
type IPointOnMap = {
|
|
704
|
+
key: string;
|
|
705
|
+
marker: React__default.ReactElement;
|
|
706
|
+
details: React__default.ReactElement;
|
|
707
|
+
latLng: google.maps.LatLngLiteral;
|
|
708
|
+
};
|
|
709
|
+
interface IMap {
|
|
710
|
+
context?: Context$3;
|
|
711
|
+
children: ReactElement;
|
|
712
|
+
}
|
|
713
|
+
interface ILocationBasedMapBase {
|
|
714
|
+
points?: IPointOnMap[];
|
|
715
|
+
mapId: string;
|
|
716
|
+
origin: IPointOnMap;
|
|
717
|
+
}
|
|
718
|
+
interface IRouteBasedMapBase {
|
|
719
|
+
origin: IPointOnMap;
|
|
720
|
+
destination: IPointOnMap;
|
|
721
|
+
directions: google.maps.DirectionsResult;
|
|
722
|
+
points?: IPointOnMap[];
|
|
723
|
+
mapId: string;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
declare const Map: {
|
|
727
|
+
({ context, children }: IMap): React__default.JSX.Element;
|
|
728
|
+
Location: ({ points, mapId, origin }: ILocationBasedMapBase) => React__default.JSX.Element;
|
|
729
|
+
Route: ({ destination, mapId, origin, directions, }: IRouteBasedMapBase) => React__default.JSX.Element;
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
interface IBackdrop {
|
|
733
|
+
onClick?: () => void;
|
|
734
|
+
}
|
|
735
|
+
interface IBackdropManager {
|
|
736
|
+
onClick?: () => void;
|
|
737
|
+
children?: React__default.ReactNode;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
declare const Backdrop: ({ onClick }: IBackdrop) => React__default.ReactPortal;
|
|
741
|
+
declare const BackdropManagerCtx: React__default.Context<{
|
|
742
|
+
backdropped: boolean;
|
|
743
|
+
setBackdropped: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
744
|
+
}>;
|
|
745
|
+
declare const BackdropManager: ({ children, onClick }: IBackdropManager) => React__default.JSX.Element;
|
|
746
|
+
|
|
747
|
+
declare const Blur: ({ children }: PropsWithChildren) => React__default.JSX.Element;
|
|
748
|
+
declare const BlurCtx: React__default.Context<{
|
|
749
|
+
blurred: boolean;
|
|
750
|
+
setBlurred: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
751
|
+
}>;
|
|
752
|
+
declare const BlurManager: ({ children }: PropsWithChildren) => React__default.JSX.Element;
|
|
753
|
+
|
|
754
|
+
declare enum Context$2 {
|
|
755
|
+
STANDARD = "STANDARD"
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
interface ICollapsable {
|
|
759
|
+
context?: Context$2;
|
|
760
|
+
content: React__default.ReactNode;
|
|
761
|
+
additional: React__default.ReactNode;
|
|
762
|
+
withContentExpand: React__default.ReactNode;
|
|
763
|
+
withContentCollapse?: React__default.ReactNode;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
declare const Collapsable: ({ context, content, additional, withContentExpand, withContentCollapse, }: ICollapsable) => React$1.JSX.Element;
|
|
767
|
+
|
|
768
|
+
declare enum Context$1 {
|
|
769
|
+
NEUTRAL = "NEUTRAL",
|
|
770
|
+
SURFACE = "SURFACE",
|
|
771
|
+
PRIMARY = "PRIMARY",
|
|
772
|
+
SUPPORTING = "SUPPORTING",
|
|
773
|
+
ACCENT = "ACCENT",
|
|
774
|
+
SKELETON = "SKELETON"
|
|
775
|
+
}
|
|
776
|
+
declare enum Type {
|
|
777
|
+
NORMAL = "NORMAL",
|
|
778
|
+
QUIRKY = "QUIRKY"
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
interface IContainer {
|
|
782
|
+
children?: React__default.ReactNode | React__default.ReactNode[] | string;
|
|
783
|
+
type?: Type;
|
|
784
|
+
radius?: RadiusKey;
|
|
785
|
+
lifted?: boolean;
|
|
786
|
+
fullWidth?: boolean;
|
|
787
|
+
tint?: ColorVariantKey;
|
|
788
|
+
padding?: SpacingKey;
|
|
789
|
+
context?: Context$1;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
declare const Container: ({ children, type, radius, tint, lifted, padding, fullWidth, context, }: IContainer) => React__default.JSX.Element;
|
|
793
|
+
|
|
794
|
+
declare enum Context {
|
|
795
|
+
STANDARD = "STANDARD"
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
interface IDrawerManager {
|
|
799
|
+
children?: React__default.ReactNode;
|
|
800
|
+
drawer?: React__default.ReactNode;
|
|
801
|
+
}
|
|
802
|
+
interface IDrawer {
|
|
803
|
+
context?: Context;
|
|
804
|
+
children?: React__default.ReactNode;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
declare const Drawer: ({ context, children }: IDrawer) => React__default.ReactPortal;
|
|
808
|
+
declare const DrawerManagerCtx: React__default.Context<{
|
|
809
|
+
visible: boolean;
|
|
810
|
+
setVisible: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
811
|
+
}>;
|
|
812
|
+
declare const DrawerManager: ({ children, drawer }: IDrawerManager) => React__default.JSX.Element;
|
|
813
|
+
|
|
814
|
+
interface GridProps {
|
|
815
|
+
direction?: "row" | "column";
|
|
816
|
+
alignItems?: "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
|
|
817
|
+
justify?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
|
|
818
|
+
children: React.ReactNode;
|
|
819
|
+
gap?: SpacingKey;
|
|
820
|
+
smBreakpoint?: number;
|
|
821
|
+
mdBreakpoint?: number;
|
|
822
|
+
lgBreakpoint?: number;
|
|
823
|
+
xlBreakpoint?: number;
|
|
824
|
+
xxlBreakpoint?: number;
|
|
825
|
+
}
|
|
826
|
+
interface GridItemProps {
|
|
827
|
+
children: React.ReactNode;
|
|
828
|
+
initial?: number | "auto";
|
|
829
|
+
sm?: number | "auto";
|
|
830
|
+
md?: number | "auto";
|
|
831
|
+
lg?: number | "auto";
|
|
832
|
+
xl?: number | "auto";
|
|
833
|
+
xxl?: number | "auto";
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
declare const Grid: {
|
|
837
|
+
({ children, direction, alignItems, justify, gap, smBreakpoint, mdBreakpoint, lgBreakpoint, xlBreakpoint, xxlBreakpoint, }: GridProps): React__default.JSX.Element;
|
|
838
|
+
Item: ({ initial, sm, md, lg, xl, xxl, children }: GridItemProps) => React__default.JSX.Element;
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
interface IModalManager {
|
|
842
|
+
children?: React__default.ReactNode;
|
|
843
|
+
modal?: React__default.ReactNode;
|
|
844
|
+
}
|
|
845
|
+
interface IModal {
|
|
846
|
+
children?: React__default.ReactNode;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
declare const Modal: ({ children }: IModal) => React__default.ReactPortal;
|
|
850
|
+
declare const ModalManagerCtx: React__default.Context<{
|
|
851
|
+
visible: boolean;
|
|
852
|
+
setVisible: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
853
|
+
}>;
|
|
854
|
+
declare const ModalManager: ({ children, modal }: IModalManager) => React__default.JSX.Element;
|
|
855
|
+
|
|
856
|
+
interface IOverlayManager {
|
|
857
|
+
children?: React__default.ReactNode;
|
|
858
|
+
overlay?: React__default.ReactNode;
|
|
859
|
+
header?: React__default.ReactNode;
|
|
860
|
+
close: React__default.ReactNode;
|
|
861
|
+
}
|
|
862
|
+
interface IOverlay {
|
|
863
|
+
context?: Context;
|
|
864
|
+
children?: React__default.ReactNode;
|
|
865
|
+
header?: React__default.ReactNode;
|
|
866
|
+
close: React__default.ReactNode;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
declare const Overlay: ({ context, children, header, close }: IOverlay) => React__default.ReactPortal;
|
|
870
|
+
declare const OverlayManagerCtx: React__default.Context<{
|
|
871
|
+
visible: boolean;
|
|
872
|
+
setVisible: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
873
|
+
}>;
|
|
874
|
+
declare const OverlayManager: ({ children, overlay, header, close, }: IOverlayManager) => React__default.JSX.Element;
|
|
875
|
+
|
|
876
|
+
declare const Icon: ({ size, type, screenReaderText, context }: IIcon) => React__default.JSX.Element;
|
|
877
|
+
|
|
878
|
+
declare const Figure: ({ size, type, screenReaderText, context }: IFigure) => React__default.JSX.Element;
|
|
879
|
+
|
|
880
|
+
interface IGoogleApiComponent extends IGoogleApiComponentBase {
|
|
881
|
+
children?: ReactElement;
|
|
882
|
+
}
|
|
883
|
+
interface IGoogleApiComponentBase {
|
|
884
|
+
apiKey: string;
|
|
885
|
+
onLoad?: () => void;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
declare const GoogleAPIComponent: ({ children, apiKey, onLoad, }: IGoogleApiComponent) => ReactElement;
|
|
889
|
+
|
|
890
|
+
declare const GoogleApiServiceDirections: ({ children }: PropsWithChildren) => React__default.JSX.Element;
|
|
891
|
+
|
|
892
|
+
export { Backdrop, BackdropManager, BackdropManagerCtx, Badge, Blur, BlurCtx, BlurManager, Brand, Button, Checkbox, Choice, Collapsable, Container, Details, Drawer, DrawerManager, DrawerManagerCtx, Faq, Feature, Features, Figure, Frame, GoogleAPIComponent, GoogleApiServiceDirections, Grid, Heading, Icon, Information, Input, Link, List, Logo, Map, Modal, ModalManager, ModalManagerCtx, Notification, Overlay, OverlayManager, OverlayManagerCtx, Pick, Pill, Pin, PlainText, ProfileNavigation, Radio, Record, Records, Status, StatusCompact, StatusList, Term, Terminal, YesNo };
|