@tactics/lokaal-loket 0.0.80 → 0.0.83
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.cjs +659 -683
- package/build/index.d.cts +317 -295
- package/build/index.d.ts +317 -295
- package/build/index.js +483 -510
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
@@ -5,291 +5,12 @@ export { Color, ColorVariant, Radius, Spacing, ThemeI, ThemeVariantsI, Typograph
|
|
5
5
|
import { ThemeMode } from '@tactics/tacky';
|
6
6
|
export { BuildProvidersTree, ExternalStylesheetLoader, ExternalStylesheetLoaderI, StyleProviderAnimation, StyleProviderPreFlight, StyleProviderRouter, ThemeBuilder, ThemeCtx, ThemeMode } from '@tactics/tacky';
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
SUPPORTING = "SUPPORTING",
|
11
|
-
DARK = "DARK",
|
12
|
-
LIGHT = "LIGHT",
|
13
|
-
DISABLED = "DISABLED",
|
14
|
-
DANGER = "DANGER",
|
15
|
-
WARNING = "WARNING",
|
16
|
-
SUCCESS = "SUCCESS",
|
17
|
-
INFO = "INFO"
|
18
|
-
}
|
19
|
-
declare enum IconSize {
|
20
|
-
XSMALL = "XSMALL",
|
21
|
-
SMALL = "SMALL",
|
22
|
-
MEDIUM = "MEDIUM",
|
23
|
-
LARGE = "LARGE"
|
24
|
-
}
|
25
|
-
declare enum IconType {
|
26
|
-
CANCEL = "CANCEL",
|
27
|
-
ARROW_LEFT = "ARROW_LEFT",
|
28
|
-
ARROW_RIGHT = "ARROW_RIGHT",
|
29
|
-
CHEVRON_DOWN = "CHEVRON_DOWN",
|
30
|
-
CHEVRON_UP = "CHEVRON_UP",
|
31
|
-
CHEVRON_RIGHT = "CHEVRON_RIGHT",
|
32
|
-
CHEVRON_LEFT = "CHEVRON_LEFT",
|
33
|
-
EDIT = "EDIT",
|
34
|
-
SEND = "SEND",
|
35
|
-
REDO = "REDO",
|
36
|
-
PROFILE = "PROFILE",
|
37
|
-
CHECK = "CHECK",
|
38
|
-
TRANSLATION = "TRANSLATION",
|
39
|
-
MAP = "MAP",
|
40
|
-
EURO = "EURO",
|
41
|
-
BABY = "BABY",
|
42
|
-
PIN = "PIN",
|
43
|
-
DISTANCE = "DISTANCE",
|
44
|
-
DOCUMENT = "DOCUMENT",
|
45
|
-
FAVORITE = "FAVORITE",
|
46
|
-
MENU = "MENU",
|
47
|
-
ADD = "ADD",
|
48
|
-
MINUS = "MINUS",
|
49
|
-
COMMENT = "COMMENT",
|
50
|
-
IN_PROCESS = "IN_PROCESS",
|
51
|
-
COLLAPSE = "COLLAPSE",
|
52
|
-
EXPAND = "EXPAND",
|
53
|
-
SEARCH = "SEARCH",
|
54
|
-
BEST_FIT = "BEST_FIT",
|
55
|
-
BIKE = "BIKE",
|
56
|
-
CAR = "CAR",
|
57
|
-
WALK = "WALK",
|
58
|
-
PUBLIC_TRANSPORT = "PUBLIC_TRANSPORT",
|
59
|
-
FACEBOOK = "FACEBOOK",
|
60
|
-
INSTAGRAM = "INSTAGRAM",
|
61
|
-
LOCATION = "LOCATION"
|
62
|
-
}
|
63
|
-
|
64
|
-
interface IIconLoad {
|
65
|
-
size?: IconSize;
|
66
|
-
type: IconType;
|
67
|
-
screenReaderText: string;
|
68
|
-
}
|
69
|
-
interface IIcon extends IIconLoad {
|
70
|
-
context?: IconContext;
|
71
|
-
}
|
72
|
-
|
73
|
-
type SetState<T> = React$1.Dispatch<React$1.SetStateAction<T>>;
|
74
|
-
interface AutoCompleteContextType<T> {
|
75
|
-
input: string;
|
76
|
-
setInput: SetState<string>;
|
77
|
-
selected: T | null;
|
78
|
-
setSelected: SetState<T | null>;
|
79
|
-
index: number | null;
|
80
|
-
setIndex: SetState<number | null>;
|
81
|
-
hasFocus: boolean;
|
82
|
-
setHasFocus: SetState<boolean>;
|
83
|
-
}
|
84
|
-
|
85
|
-
declare const Icon: ({ size, type, screenReaderText, context }: IIcon) => react_jsx_runtime.JSX.Element;
|
86
|
-
|
87
|
-
declare enum InputContext {
|
88
|
-
DISABLED = "DISABLED",
|
89
|
-
ERROR = "ERROR",
|
90
|
-
STANDARD = "STANDARD"
|
91
|
-
}
|
92
|
-
|
93
|
-
interface InputChangeEvent {
|
94
|
-
value: string;
|
95
|
-
event: React$1.ChangeEvent<HTMLInputElement>;
|
96
|
-
}
|
97
|
-
interface InputBlurEvent {
|
98
|
-
value: string;
|
99
|
-
event: React$1.FocusEvent<HTMLInputElement, Element>;
|
100
|
-
}
|
101
|
-
interface InputFocusEvent {
|
102
|
-
value: string;
|
103
|
-
event: React$1.FocusEvent<HTMLInputElement, Element>;
|
104
|
-
}
|
105
|
-
interface IInputBase {
|
106
|
-
defaultValue?: string;
|
107
|
-
onChange?: (e: InputChangeEvent) => void;
|
108
|
-
onBlur?: (e: InputBlurEvent) => void;
|
109
|
-
onFocus?: (e: InputFocusEvent) => void;
|
110
|
-
value?: string;
|
111
|
-
placeholder?: string;
|
112
|
-
ariaLabel?: string;
|
113
|
-
name: string;
|
114
|
-
withIconBefore?: React$1.ReactElement<IIcon>;
|
115
|
-
withIconAfter?: React$1.ReactElement<IIcon>;
|
116
|
-
}
|
117
|
-
interface IInput extends IInputBase {
|
118
|
-
context?: InputContext;
|
119
|
-
}
|
120
|
-
interface InteractiveStyledInputProps {
|
121
|
-
border: string;
|
122
|
-
background: string;
|
123
|
-
color: string;
|
124
|
-
}
|
125
|
-
interface IInputTheme {
|
126
|
-
initial: InteractiveStyledInputProps;
|
127
|
-
hover: InteractiveStyledInputProps;
|
128
|
-
focus: InteractiveStyledInputProps;
|
129
|
-
font: string;
|
130
|
-
radius: string;
|
131
|
-
}
|
132
|
-
|
133
|
-
declare enum FigureContext {
|
134
|
-
STANDARD = "STANDARD",
|
135
|
-
INVERTED = "INVERTED",
|
136
|
-
ACCENT = "ACCENT"
|
137
|
-
}
|
138
|
-
declare enum FigureSize {
|
139
|
-
SMALL = "SMALL",
|
140
|
-
MEDIUM = "MEDIUM",
|
141
|
-
LARGE = "LARGE",
|
142
|
-
XLARGE = "XLARGE"
|
143
|
-
}
|
144
|
-
declare enum FigureType {
|
145
|
-
CHILD = "CHILD",
|
146
|
-
FAMILY = "FAMILY",
|
147
|
-
CALENDAR = "CALENDAR",
|
148
|
-
BIN = "BIN",
|
149
|
-
ALERT = "ALERT",
|
150
|
-
PASSWORD = "PASSWORD",
|
151
|
-
SEARCH = "SEARCH",
|
152
|
-
FOLDER = "FOLDER",
|
153
|
-
PASSPORT = "PASSPORT",
|
154
|
-
SETTING = "SETTING",
|
155
|
-
FACE = "FACE",
|
156
|
-
PIN = "PIN",
|
157
|
-
MONEY = "MONEY",
|
158
|
-
IDEA = "IDEA",
|
159
|
-
OFFER = "OFFER",
|
160
|
-
FAVORITE = "FAVORITE",
|
161
|
-
FOLLOW_UP = "FOLLOW_UP",
|
162
|
-
STAR = "STAR",
|
163
|
-
COINS = "COINS",
|
164
|
-
CHECK = "CHECK",
|
165
|
-
LIKE = "LIKE",
|
166
|
-
MAP = "MAP",
|
167
|
-
ADD = "ADD",
|
168
|
-
APPLICATION = "APPLICATION",
|
169
|
-
BABY = "BABY",
|
170
|
-
BOOKMARK = "BOOKMARK",
|
171
|
-
CONVERSATION = "CONVERSATION",
|
172
|
-
CANCEL = "CANCEL",
|
173
|
-
DAD = "DAD",
|
174
|
-
DATETIME = "DATETIME",
|
175
|
-
FILE = "FILE",
|
176
|
-
HOME = "HOME",
|
177
|
-
INFORMATION = "INFORMATION",
|
178
|
-
MAIL = "MAIL",
|
179
|
-
MOM = "MOM",
|
180
|
-
NO = "NO",
|
181
|
-
NOTE = "NOTE",
|
182
|
-
YES = "YES",
|
183
|
-
FENCE = "FENCE",
|
184
|
-
BUILDING = "BUILDING"
|
185
|
-
}
|
186
|
-
|
187
|
-
interface IFigureLoad {
|
188
|
-
size: FigureSize;
|
189
|
-
type: FigureType;
|
190
|
-
screenReaderText: string;
|
191
|
-
}
|
192
|
-
interface IFigure extends IFigureLoad {
|
193
|
-
context?: FigureContext;
|
194
|
-
}
|
195
|
-
|
196
|
-
declare const Figure: ({ size, type, screenReaderText, context }: IFigure) => react_jsx_runtime.JSX.Element;
|
197
|
-
|
198
|
-
interface AutocompleteI<T> {
|
199
|
-
name: string;
|
200
|
-
debounceTime: number;
|
201
|
-
placeholder?: string;
|
202
|
-
ariaLabel?: string;
|
203
|
-
withIconBefore?: React$1.ReactElement<IIcon>;
|
204
|
-
withIconAfter?: React$1.ReactElement<IIcon>;
|
205
|
-
options: T[];
|
206
|
-
optionDefault?: T;
|
207
|
-
optionToDisplay: (option: T) => React$1.ReactNode;
|
208
|
-
optionToDisplayWhenSelected?: (option: T) => React$1.ReactNode;
|
209
|
-
optionToInputValue: (option: T) => string;
|
210
|
-
onSelected?: (e: AutocompleteSelectEvent<T>) => void;
|
211
|
-
onInputChange?: (e: AutocompleteChangeEvent) => void;
|
212
|
-
onBlur?: (e: AutocompleteBlurEvent) => void;
|
213
|
-
onFocus?: (e: AutocompleteFocusEvent) => void;
|
214
|
-
onNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
|
215
|
-
}
|
216
|
-
interface AutocompleteInputI<T> {
|
217
|
-
name: string;
|
218
|
-
debounceTime: number;
|
219
|
-
placeholder?: string;
|
220
|
-
ariaLabel?: string;
|
221
|
-
withIconBefore?: React$1.ReactElement<IIcon>;
|
222
|
-
withIconAfter?: React$1.ReactElement<IIcon>;
|
223
|
-
theme: IInputTheme;
|
224
|
-
options: T[];
|
225
|
-
optionToInputValue: (option: T) => string;
|
226
|
-
onInputChange?: (e: AutocompleteChangeEvent) => void;
|
227
|
-
onBlur?: (e: AutocompleteBlurEvent) => void;
|
228
|
-
onFocus?: (e: AutocompleteFocusEvent) => void;
|
229
|
-
onNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
|
230
|
-
onSelected?: (e: AutocompleteSelectEvent<T>) => void;
|
231
|
-
}
|
232
|
-
interface AutocompleteOptionI<T> {
|
8
|
+
interface IFlip {
|
9
|
+
onClick?: () => void;
|
233
10
|
label: string;
|
234
|
-
withDetails?: string;
|
235
|
-
withFigure?: React$1.ReactElement<IFigure> | React$1.ReactElement<IIcon>;
|
236
|
-
}
|
237
|
-
interface AutocompleteOptionsI<T> {
|
238
|
-
options: T[];
|
239
|
-
optionDefault?: T;
|
240
|
-
optionToDisplay: (option: T) => React$1.ReactNode;
|
241
|
-
optionToDisplayWhenSelected?: (option: T) => React$1.ReactNode;
|
242
|
-
optionToInputValue: (option: T) => string;
|
243
|
-
onNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
|
244
|
-
onSelected?: (e: AutocompleteSelectEvent<T>) => void;
|
245
|
-
}
|
246
|
-
interface AutocompleteOptionNavigatedEvent<T> {
|
247
|
-
focussed: T;
|
248
|
-
}
|
249
|
-
interface AutocompleteSelectEvent<T> {
|
250
|
-
input: string;
|
251
|
-
selected: T;
|
252
|
-
}
|
253
|
-
interface AutocompleteChangeEvent {
|
254
|
-
input: string;
|
255
|
-
}
|
256
|
-
interface AutocompleteBlurEvent {
|
257
|
-
input: string;
|
258
|
-
event: React$1.FocusEvent<HTMLInputElement>;
|
259
|
-
}
|
260
|
-
interface AutocompleteFocusEvent {
|
261
|
-
input: string;
|
262
|
-
event: React$1.FocusEvent<HTMLInputElement>;
|
263
|
-
}
|
264
|
-
|
265
|
-
declare const AutocompleteInput: <T>(props: AutocompleteInputI<T> & {
|
266
|
-
ref?: Ref<HTMLInputElement>;
|
267
|
-
}) => JSX.Element;
|
268
|
-
|
269
|
-
declare const AutocompleteOptions: <T>(args: AutocompleteOptionsI<T>) => react_jsx_runtime.JSX.Element;
|
270
|
-
|
271
|
-
declare const AutocompleteOption: <T>(args: AutocompleteOptionI<T>) => react_jsx_runtime.JSX.Element;
|
272
|
-
declare const AutocompleteOptionSelected: <T>(args: AutocompleteOptionI<T>) => react_jsx_runtime.JSX.Element;
|
273
|
-
|
274
|
-
interface IAutoCompleteBase<T> {
|
275
|
-
options: T[];
|
276
|
-
optionToDisplay: (option: T) => React$1.ReactNode;
|
277
|
-
optionToRawValue: (option: T) => string;
|
278
|
-
defaultValue?: string;
|
279
|
-
onChange?: (e: AutocompleteChangeEvent) => void;
|
280
|
-
onBlur?: (e: AutocompleteBlurEvent) => void;
|
281
|
-
onFocus?: (e: AutocompleteFocusEvent) => void;
|
282
|
-
placeholder?: string;
|
283
|
-
ariaLabel?: string;
|
284
|
-
name: string;
|
285
|
-
withIconBefore?: React$1.ReactElement<IIcon>;
|
286
|
-
withIconAfter?: React$1.ReactElement<IIcon>;
|
287
|
-
debounceTime?: number;
|
288
|
-
}
|
289
|
-
interface IAutoComplete<T> extends IAutoCompleteBase<T> {
|
290
11
|
}
|
291
12
|
|
292
|
-
declare const
|
13
|
+
declare const Flip: ({ onClick, label }: IFlip) => react_jsx_runtime.JSX.Element;
|
293
14
|
|
294
15
|
declare enum BadgeType {
|
295
16
|
DAYCARE = "DAYCARE",
|
@@ -331,16 +52,81 @@ interface IBrand {
|
|
331
52
|
name: string;
|
332
53
|
}
|
333
54
|
|
334
|
-
declare const Brand: ({ logo, name, ariaLabel }: IBrand) => react_jsx_runtime.JSX.Element;
|
335
|
-
|
336
|
-
declare enum LinkContext {
|
337
|
-
STANDARD = "STANDARD",
|
338
|
-
UI = "UI",
|
339
|
-
BOLD = "BOLD"
|
55
|
+
declare const Brand: ({ logo, name, ariaLabel }: IBrand) => react_jsx_runtime.JSX.Element;
|
56
|
+
|
57
|
+
declare enum LinkContext {
|
58
|
+
STANDARD = "STANDARD",
|
59
|
+
UI = "UI",
|
60
|
+
BOLD = "BOLD"
|
61
|
+
}
|
62
|
+
declare enum Position {
|
63
|
+
BEFORE = "BEFORE",
|
64
|
+
AFTER = "AFTER"
|
65
|
+
}
|
66
|
+
|
67
|
+
declare enum IconContext {
|
68
|
+
STANDARD = "STANDARD",
|
69
|
+
SUPPORTING = "SUPPORTING",
|
70
|
+
DARK = "DARK",
|
71
|
+
LIGHT = "LIGHT",
|
72
|
+
DISABLED = "DISABLED",
|
73
|
+
DANGER = "DANGER",
|
74
|
+
WARNING = "WARNING",
|
75
|
+
SUCCESS = "SUCCESS",
|
76
|
+
INFO = "INFO"
|
77
|
+
}
|
78
|
+
declare enum IconSize {
|
79
|
+
XSMALL = "XSMALL",
|
80
|
+
SMALL = "SMALL",
|
81
|
+
MEDIUM = "MEDIUM",
|
82
|
+
LARGE = "LARGE"
|
83
|
+
}
|
84
|
+
declare enum IconType {
|
85
|
+
CANCEL = "CANCEL",
|
86
|
+
ARROW_LEFT = "ARROW_LEFT",
|
87
|
+
ARROW_RIGHT = "ARROW_RIGHT",
|
88
|
+
CHEVRON_DOWN = "CHEVRON_DOWN",
|
89
|
+
CHEVRON_UP = "CHEVRON_UP",
|
90
|
+
CHEVRON_RIGHT = "CHEVRON_RIGHT",
|
91
|
+
CHEVRON_LEFT = "CHEVRON_LEFT",
|
92
|
+
EDIT = "EDIT",
|
93
|
+
SEND = "SEND",
|
94
|
+
REDO = "REDO",
|
95
|
+
PROFILE = "PROFILE",
|
96
|
+
CHECK = "CHECK",
|
97
|
+
TRANSLATION = "TRANSLATION",
|
98
|
+
MAP = "MAP",
|
99
|
+
EURO = "EURO",
|
100
|
+
BABY = "BABY",
|
101
|
+
PIN = "PIN",
|
102
|
+
DISTANCE = "DISTANCE",
|
103
|
+
DOCUMENT = "DOCUMENT",
|
104
|
+
FAVORITE = "FAVORITE",
|
105
|
+
MENU = "MENU",
|
106
|
+
ADD = "ADD",
|
107
|
+
MINUS = "MINUS",
|
108
|
+
COMMENT = "COMMENT",
|
109
|
+
IN_PROCESS = "IN_PROCESS",
|
110
|
+
COLLAPSE = "COLLAPSE",
|
111
|
+
EXPAND = "EXPAND",
|
112
|
+
SEARCH = "SEARCH",
|
113
|
+
BEST_FIT = "BEST_FIT",
|
114
|
+
BIKE = "BIKE",
|
115
|
+
CAR = "CAR",
|
116
|
+
WALK = "WALK",
|
117
|
+
PUBLIC_TRANSPORT = "PUBLIC_TRANSPORT",
|
118
|
+
FACEBOOK = "FACEBOOK",
|
119
|
+
INSTAGRAM = "INSTAGRAM",
|
120
|
+
LOCATION = "LOCATION"
|
121
|
+
}
|
122
|
+
|
123
|
+
interface IIconLoad {
|
124
|
+
size?: IconSize;
|
125
|
+
type: IconType;
|
126
|
+
screenReaderText: string;
|
340
127
|
}
|
341
|
-
|
342
|
-
|
343
|
-
AFTER = "AFTER"
|
128
|
+
interface IIcon extends IIconLoad {
|
129
|
+
context?: IconContext;
|
344
130
|
}
|
345
131
|
|
346
132
|
interface ILink {
|
@@ -423,6 +209,69 @@ declare enum ChoiceContext {
|
|
423
209
|
ERROR = "ERROR"
|
424
210
|
}
|
425
211
|
|
212
|
+
declare enum FigureContext {
|
213
|
+
STANDARD = "STANDARD",
|
214
|
+
INVERTED = "INVERTED",
|
215
|
+
ACCENT = "ACCENT"
|
216
|
+
}
|
217
|
+
declare enum FigureSize {
|
218
|
+
SMALL = "SMALL",
|
219
|
+
MEDIUM = "MEDIUM",
|
220
|
+
LARGE = "LARGE",
|
221
|
+
XLARGE = "XLARGE"
|
222
|
+
}
|
223
|
+
declare enum FigureType {
|
224
|
+
CHILD = "CHILD",
|
225
|
+
FAMILY = "FAMILY",
|
226
|
+
CALENDAR = "CALENDAR",
|
227
|
+
BIN = "BIN",
|
228
|
+
ALERT = "ALERT",
|
229
|
+
PASSWORD = "PASSWORD",
|
230
|
+
SEARCH = "SEARCH",
|
231
|
+
FOLDER = "FOLDER",
|
232
|
+
PASSPORT = "PASSPORT",
|
233
|
+
SETTING = "SETTING",
|
234
|
+
FACE = "FACE",
|
235
|
+
PIN = "PIN",
|
236
|
+
MONEY = "MONEY",
|
237
|
+
IDEA = "IDEA",
|
238
|
+
OFFER = "OFFER",
|
239
|
+
FAVORITE = "FAVORITE",
|
240
|
+
FOLLOW_UP = "FOLLOW_UP",
|
241
|
+
STAR = "STAR",
|
242
|
+
COINS = "COINS",
|
243
|
+
CHECK = "CHECK",
|
244
|
+
LIKE = "LIKE",
|
245
|
+
MAP = "MAP",
|
246
|
+
ADD = "ADD",
|
247
|
+
APPLICATION = "APPLICATION",
|
248
|
+
BABY = "BABY",
|
249
|
+
BOOKMARK = "BOOKMARK",
|
250
|
+
CONVERSATION = "CONVERSATION",
|
251
|
+
CANCEL = "CANCEL",
|
252
|
+
DAD = "DAD",
|
253
|
+
DATETIME = "DATETIME",
|
254
|
+
FILE = "FILE",
|
255
|
+
HOME = "HOME",
|
256
|
+
INFORMATION = "INFORMATION",
|
257
|
+
MAIL = "MAIL",
|
258
|
+
MOM = "MOM",
|
259
|
+
NO = "NO",
|
260
|
+
NOTE = "NOTE",
|
261
|
+
YES = "YES",
|
262
|
+
FENCE = "FENCE",
|
263
|
+
BUILDING = "BUILDING"
|
264
|
+
}
|
265
|
+
|
266
|
+
interface IFigureLoad {
|
267
|
+
size: FigureSize;
|
268
|
+
type: FigureType;
|
269
|
+
screenReaderText: string;
|
270
|
+
}
|
271
|
+
interface IFigure extends IFigureLoad {
|
272
|
+
context?: FigureContext;
|
273
|
+
}
|
274
|
+
|
426
275
|
interface IChoiceBase {
|
427
276
|
onChange?: (e: React$1.ChangeEvent<HTMLInputElement>) => void;
|
428
277
|
value: string;
|
@@ -509,6 +358,52 @@ interface IInformation {
|
|
509
358
|
|
510
359
|
declare const Information: ({ text, frame }: IInformation) => react_jsx_runtime.JSX.Element;
|
511
360
|
|
361
|
+
declare enum InputContext {
|
362
|
+
DISABLED = "DISABLED",
|
363
|
+
ERROR = "ERROR",
|
364
|
+
STANDARD = "STANDARD"
|
365
|
+
}
|
366
|
+
|
367
|
+
interface InputChangeEvent {
|
368
|
+
value: string;
|
369
|
+
event: React$1.ChangeEvent<HTMLInputElement>;
|
370
|
+
}
|
371
|
+
interface InputBlurEvent {
|
372
|
+
value: string;
|
373
|
+
event: React$1.FocusEvent<HTMLInputElement, Element>;
|
374
|
+
}
|
375
|
+
interface InputFocusEvent {
|
376
|
+
value: string;
|
377
|
+
event: React$1.FocusEvent<HTMLInputElement, Element>;
|
378
|
+
}
|
379
|
+
interface IInputBase {
|
380
|
+
defaultValue?: string;
|
381
|
+
onChange?: (e: InputChangeEvent) => void;
|
382
|
+
onBlur?: (e: InputBlurEvent) => void;
|
383
|
+
onFocus?: (e: InputFocusEvent) => void;
|
384
|
+
value?: string;
|
385
|
+
placeholder?: string;
|
386
|
+
ariaLabel?: string;
|
387
|
+
name: string;
|
388
|
+
withIconBefore?: React$1.ReactElement<IIcon>;
|
389
|
+
withIconAfter?: React$1.ReactElement<IIcon>;
|
390
|
+
}
|
391
|
+
interface IInput extends IInputBase {
|
392
|
+
context?: InputContext;
|
393
|
+
}
|
394
|
+
interface InteractiveStyledInputProps {
|
395
|
+
border: string;
|
396
|
+
background: string;
|
397
|
+
color: string;
|
398
|
+
}
|
399
|
+
interface IInputTheme {
|
400
|
+
initial: InteractiveStyledInputProps;
|
401
|
+
hover: InteractiveStyledInputProps;
|
402
|
+
focus: InteractiveStyledInputProps;
|
403
|
+
font: string;
|
404
|
+
radius: string;
|
405
|
+
}
|
406
|
+
|
512
407
|
declare const Input: (args: IInput) => react_jsx_runtime.JSX.Element;
|
513
408
|
|
514
409
|
declare enum ListType {
|
@@ -730,6 +625,98 @@ interface InlineSelectI<T> {
|
|
730
625
|
|
731
626
|
declare const InlineSelect: <T>(args: InlineSelectI<T>) => react_jsx_runtime.JSX.Element;
|
732
627
|
|
628
|
+
declare const Icon: ({ size, type, screenReaderText, context }: IIcon) => react_jsx_runtime.JSX.Element;
|
629
|
+
|
630
|
+
type SetState<T> = React$1.Dispatch<React$1.SetStateAction<T>>;
|
631
|
+
interface AutoCompleteContextType<T> {
|
632
|
+
input: string;
|
633
|
+
setInput: SetState<string>;
|
634
|
+
selected: T | null;
|
635
|
+
setSelected: SetState<T | null>;
|
636
|
+
index: number | null;
|
637
|
+
setIndex: SetState<number | null>;
|
638
|
+
hasFocus: boolean;
|
639
|
+
setHasFocus: SetState<boolean>;
|
640
|
+
}
|
641
|
+
|
642
|
+
declare const Figure: ({ size, type, screenReaderText, context }: IFigure) => react_jsx_runtime.JSX.Element;
|
643
|
+
|
644
|
+
interface AutocompleteI<T> {
|
645
|
+
name: string;
|
646
|
+
debounceTime: number;
|
647
|
+
placeholder?: string;
|
648
|
+
ariaLabel?: string;
|
649
|
+
withIconBefore?: React$1.ReactElement<IIcon>;
|
650
|
+
withIconAfter?: React$1.ReactElement<IIcon>;
|
651
|
+
options: T[];
|
652
|
+
optionDefault?: T;
|
653
|
+
optionToDisplay: (option: T) => React$1.ReactNode;
|
654
|
+
optionToDisplayWhenSelected?: (option: T) => React$1.ReactNode;
|
655
|
+
optionToInputValue: (option: T) => string;
|
656
|
+
onSelected?: (e: AutocompleteSelectEvent<T>) => void;
|
657
|
+
onInputChange?: (e: AutocompleteChangeEvent) => void;
|
658
|
+
onBlur?: (e: AutocompleteBlurEvent) => void;
|
659
|
+
onFocus?: (e: AutocompleteFocusEvent) => void;
|
660
|
+
onNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
|
661
|
+
}
|
662
|
+
interface AutocompleteInputI<T> {
|
663
|
+
name: string;
|
664
|
+
debounceTime: number;
|
665
|
+
placeholder?: string;
|
666
|
+
ariaLabel?: string;
|
667
|
+
withIconBefore?: React$1.ReactElement<IIcon>;
|
668
|
+
withIconAfter?: React$1.ReactElement<IIcon>;
|
669
|
+
theme: IInputTheme;
|
670
|
+
options: T[];
|
671
|
+
optionToInputValue: (option: T) => string;
|
672
|
+
onInputChange?: (e: AutocompleteChangeEvent) => void;
|
673
|
+
onBlur?: (e: AutocompleteBlurEvent) => void;
|
674
|
+
onFocus?: (e: AutocompleteFocusEvent) => void;
|
675
|
+
onNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
|
676
|
+
onSelected?: (e: AutocompleteSelectEvent<T>) => void;
|
677
|
+
}
|
678
|
+
interface AutocompleteOptionI<T> {
|
679
|
+
label: string;
|
680
|
+
withDetails?: string;
|
681
|
+
withFigure?: React$1.ReactElement<IFigure> | React$1.ReactElement<IIcon>;
|
682
|
+
}
|
683
|
+
interface AutocompleteOptionsI<T> {
|
684
|
+
options: T[];
|
685
|
+
optionDefault?: T;
|
686
|
+
optionToDisplay: (option: T) => React$1.ReactNode;
|
687
|
+
optionToDisplayWhenSelected?: (option: T) => React$1.ReactNode;
|
688
|
+
optionToInputValue: (option: T) => string;
|
689
|
+
onNavigate?: (e: AutocompleteOptionNavigatedEvent<T>) => void;
|
690
|
+
onSelected?: (e: AutocompleteSelectEvent<T>) => void;
|
691
|
+
}
|
692
|
+
interface AutocompleteOptionNavigatedEvent<T> {
|
693
|
+
focussed: T;
|
694
|
+
}
|
695
|
+
interface AutocompleteSelectEvent<T> {
|
696
|
+
input: string;
|
697
|
+
selected: T;
|
698
|
+
}
|
699
|
+
interface AutocompleteChangeEvent {
|
700
|
+
input: string;
|
701
|
+
}
|
702
|
+
interface AutocompleteBlurEvent {
|
703
|
+
input: string;
|
704
|
+
event: React$1.FocusEvent<HTMLInputElement>;
|
705
|
+
}
|
706
|
+
interface AutocompleteFocusEvent {
|
707
|
+
input: string;
|
708
|
+
event: React$1.FocusEvent<HTMLInputElement>;
|
709
|
+
}
|
710
|
+
|
711
|
+
declare const AutocompleteInput: <T>(props: AutocompleteInputI<T> & {
|
712
|
+
ref?: Ref<HTMLInputElement>;
|
713
|
+
}) => JSX.Element;
|
714
|
+
|
715
|
+
declare const AutocompleteOptions: <T>(args: AutocompleteOptionsI<T>) => react_jsx_runtime.JSX.Element;
|
716
|
+
|
717
|
+
declare const AutocompleteOption: <T>(args: AutocompleteOptionI<T>) => react_jsx_runtime.JSX.Element;
|
718
|
+
declare const AutocompleteOptionSelected: <T>(args: AutocompleteOptionI<T>) => react_jsx_runtime.JSX.Element;
|
719
|
+
|
733
720
|
interface LocationI<T, R> {
|
734
721
|
name: string;
|
735
722
|
placeholder?: string;
|
@@ -1124,14 +1111,25 @@ interface IFlyoutArrangementFull {
|
|
1124
1111
|
declare const FlyoutArrangementSplit: (props: IFlyoutArrangementSplit) => react_jsx_runtime.JSX.Element;
|
1125
1112
|
declare const FlyoutArrangementFull: (props: IFlyoutArrangementFull) => react_jsx_runtime.JSX.Element;
|
1126
1113
|
|
1114
|
+
declare enum HeadingType {
|
1115
|
+
PAGE = "PAGE",
|
1116
|
+
FLYOUT = "FLYOUT",
|
1117
|
+
OVERLAY = "OVERLAY"
|
1118
|
+
}
|
1119
|
+
|
1127
1120
|
interface HeadingArrangementI {
|
1128
1121
|
label: string;
|
1129
1122
|
title: string;
|
1123
|
+
type: HeadingType;
|
1124
|
+
}
|
1125
|
+
interface HeadingArrangementBaseI {
|
1126
|
+
label: string;
|
1127
|
+
title: string;
|
1130
1128
|
}
|
1131
1129
|
|
1132
|
-
declare const FlyoutHeading: ({ title, label }:
|
1133
|
-
declare const OverlayHeading: ({ title, label }:
|
1134
|
-
declare const
|
1130
|
+
declare const FlyoutHeading: ({ title, label }: HeadingArrangementBaseI) => react_jsx_runtime.JSX.Element;
|
1131
|
+
declare const OverlayHeading: ({ title, label }: HeadingArrangementBaseI) => react_jsx_runtime.JSX.Element;
|
1132
|
+
declare const PageHeading: ({ title, label }: HeadingArrangementBaseI) => react_jsx_runtime.JSX.Element;
|
1135
1133
|
|
1136
1134
|
interface IHomeSectionCards {
|
1137
1135
|
title: string;
|
@@ -1171,6 +1169,13 @@ declare const OnboardingArrangementIntroduction: (props: IOnboardingArrangementI
|
|
1171
1169
|
declare const OnboardingArrangementStep: (props: IOnboardingArrangementStep) => react_jsx_runtime.JSX.Element;
|
1172
1170
|
declare const OnboardingArrangementInformation: (props: IOnboardingArrangementInformation) => react_jsx_runtime.JSX.Element;
|
1173
1171
|
|
1172
|
+
interface ISearchSectionFilters {
|
1173
|
+
primary: React$1.ReactElement;
|
1174
|
+
secondary: React$1.ReactElement | false;
|
1175
|
+
}
|
1176
|
+
|
1177
|
+
declare const SearchSectionFilters: (props: ISearchSectionFilters) => react_jsx_runtime.JSX.Element;
|
1178
|
+
|
1174
1179
|
declare enum AccordeonContext {
|
1175
1180
|
OPEN = "OPEN",
|
1176
1181
|
CLOSED = "CLOSED"
|
@@ -1370,6 +1375,23 @@ interface IContained extends PropsWithChildren {
|
|
1370
1375
|
|
1371
1376
|
declare const Contained: ({ children }: IContained) => react_jsx_runtime.JSX.Element;
|
1372
1377
|
|
1378
|
+
interface IBasicPage {
|
1379
|
+
header: React$1.ReactElement;
|
1380
|
+
content: React$1.ReactElement | React$1.ReactElement[];
|
1381
|
+
footer: React$1.ReactElement;
|
1382
|
+
}
|
1383
|
+
|
1384
|
+
declare const BasicPage: (props: IBasicPage) => react_jsx_runtime.JSX.Element;
|
1385
|
+
|
1386
|
+
interface ISearchPage {
|
1387
|
+
header: React$1.ReactElement;
|
1388
|
+
content: React$1.ReactElement | React$1.ReactElement[];
|
1389
|
+
map?: React$1.ReactElement;
|
1390
|
+
footer: React$1.ReactElement;
|
1391
|
+
}
|
1392
|
+
|
1393
|
+
declare const SearchPage: (props: ISearchPage) => react_jsx_runtime.JSX.Element;
|
1394
|
+
|
1373
1395
|
interface BackdropContextType {
|
1374
1396
|
isBackdropVisible: boolean;
|
1375
1397
|
setIsBackdropVisible: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
@@ -1494,4 +1516,4 @@ declare const InlineSelectLabelAsOptionSelected: <T>(args: InlineSelectOptionI)
|
|
1494
1516
|
declare const InlineSelectIconAsOption: <T>(args: InlineSelectOptionIconI) => react_jsx_runtime.JSX.Element;
|
1495
1517
|
declare const InlineSelectIconAsOptionSelected: <T>(args: InlineSelectOptionIconI) => react_jsx_runtime.JSX.Element;
|
1496
1518
|
|
1497
|
-
export { Accordeon, AccordeonContext,
|
1519
|
+
export { Accordeon, AccordeonContext, type AutoCompleteContextType, type AutocompleteBlurEvent, type AutocompleteChangeEvent, type AutocompleteFocusEvent, type AutocompleteI, AutocompleteInput, type AutocompleteInputI, AutocompleteOption, type AutocompleteOptionNavigatedEvent, AutocompleteOptionSelected, AutocompleteOptions, type AutocompleteOptionsI, type AutocompleteSelectEvent, Backdrop, BackdropContext, BackdropProvider, Badge, BadgeType, BasicPage, BigChoice, BigPick, Blur, BlurContext, BlurProvider, Brand, Breadcrumb, Button, ButtonContext, ButtonType, Checkbox, CheckboxContext, Choice, ChoiceContext, Close, type CloseI, Collapsable, Collapse, CompactNavigation, CompactNavigationContext, Contained, Container, ContainerType, Details, Drawer, DrawerContext, DrawerProvider, DrawerSize, Expand, Faq, Feature, Features, Figure, FigureContext, FigureSize, FigureType, Flip, FlyoutArrangementFull, FlyoutArrangementSplit, FlyoutHeading, Frame, GoogleAPIProvider, type GoogleAPIProviderProps, GoogleApiRoutesDirectionRendererContext, GoogleApiRoutesDirectionRendererProvider, Grid, type GridItemProps, type GridProps, Header, HeaderContext, Heading, type HeadingArrangementI, HomeSectionCards, HomeSectionFaq, HtmlHeading, type IAccordeon, type IBackdrop, type IBackdropProvider, type IBadge, type IBasicPage, type IBigChoice, type IBigPick, type IBlur, type IBlurProvider, type IBrand, type IBreadcrumb, type IButton, type ICheckbox, type IChoice, type ICollapsable, type ICollapse, type ICompactNavigation, type IContained, type IContainer, type IDetails, type IDrawer, type IDrawerProvider, type IExpand, type IFaq, type IFeature, type IFeatures, type IFigure, type IFlip, type IFlyoutArrangementFull, type IFlyoutArrangementSplit, type IFrame, type IHeader, type IHeading, type IHomeSectionCards, type IHomeSectionFaq, type IIcon, type IInfoCard, type IInformation, type IInput, type IInstruction, type ILink, type IList, type ILogo, type IMap, type IMargin, type IMarginCssItem, type IMarginItem, type IMaskedImage, type IModal, type IModalProvider, type INavigation, type INavigationItem, type INotification, type IOnboarding, type IOnboardingArrangementInformation, type IOnboardingArrangementIntroduction, type IOnboardingArrangementStep, type IOverlay, type IOverlayProvider, type IPadding, type IPaddingCssItem, type IPaddingItem, type IPick, type IPill, type IPin, type IPlainText, type IProfileNavigation, type IRadio, type IRecord, type IRecords, type IRouteLocation, type ISearch, type ISearchAutocomplete, type ISearchPage, type ISearchProvider, type ISearchSectionFilters, type ISearchStep, type ISearchStepAutocomplete, type IStatus, type IStatusList, type ISurface, type ITerm, type ITerminal, type ITopNavigation, type ITopNavigationItemBase, type IWave, type IWizard, type IWizardControls, type IWizardProvider, type IWizardStep, type IWizardStepProvider, type IYesNo, Icon, IconContext, IconSize, IconType, InfoCard, Information, InlineSelect, type InlineSelectI, InlineSelectIconAsOption, InlineSelectIconAsOptionSelected, InlineSelectLabelAsOption, InlineSelectLabelAsOptionSelected, type InlineSelectOptionI, Input, InputContext, Instruction, ItemType, Link, LinkContext, List, ListType, Location, type LocationI, Logo, LogoSize, Map, Margin, MaskType, MaskedImage, Modal, ModalContext, ModalProvider, Navigation, Notification, Onboarding, OnboardingArrangementInformation, OnboardingArrangementIntroduction, OnboardingArrangementStep, Overlay, OverlayContext, OverlayHeading, OverlayProvider, Padding, PageHeading, Pick, PickContext, Pill, Pin, PinType, PlainText, Position, ProcessingContext, type ProcessingContextType, ProcessingProvider, ProfileNavigation, type ProfileNavigationItemThemeableProps, type ProfileNavigationThemeableProps, type PropsForThemeModeProvider, Radio, RadioContext, Record, Records, Route, type RouteI, RouteLocation, Search, SearchAutocomplete, SearchAutocompleteStep, SearchContext, SearchPage, SearchProvider, SearchSectionFilters, SearchStep, type SelectBlurEvent, type SelectChangeEvent, type SelectFocusEvent, Status, StatusCompact, StatusContext, StatusList, Surface, Switch, type SwitchI, type SwitchItemContentI, type SwitchItemI, Term, Terminal, TextDecoration, ThemeModeContext, ThemeModeProvider, TopNavigation, Wave, WavePosition, WaveType, Wizard, WizardContext, WizardControls, WizardProvider, WizardStep, WizardStepContext, WizardStepProvider, YesNo, YesNoContext, useIsProcessing };
|