@fattureincloud/fic-design-system 0.5.2 → 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 (42) hide show
  1. package/dist/common/components/typography/Typography.d.ts +11 -11
  2. package/dist/components/floatingBadge/{floatingBadge.d.ts → FloatingBadge.d.ts} +0 -0
  3. package/dist/components/floatingBadge/{withBadge.d.ts → WithBadge.d.ts} +0 -0
  4. package/dist/components/floatingBadge/types.d.ts +6 -1
  5. package/dist/components/layout/sidebarItem/types.d.ts +2 -2
  6. package/dist/components/progressbar/{progressbar.d.ts → ProgressBar.d.ts} +0 -0
  7. package/dist/components/progressbar/{progressbar.stories.d.ts → progressBar.stories.d.ts} +0 -0
  8. package/dist/components/tip/{shortcutTip.d.ts → ShortcutTip.d.ts} +0 -0
  9. package/dist/components/tip/{tip.d.ts → Tip.d.ts} +0 -0
  10. package/dist/components/toast/types.d.ts +1 -1
  11. package/dist/index.esm.js +2 -2
  12. package/dist/index.esm.js.map +1 -1
  13. package/dist/index.js +4 -4
  14. package/dist/index.js.map +1 -1
  15. package/package.json +1 -1
  16. package/CHANGELOG.md +0 -605
  17. package/dist/components/banner/utils.d.ts +0 -8
  18. package/dist/components/chips/chips.d.ts +0 -3
  19. package/dist/components/chips/chips.stories.d.ts +0 -6
  20. package/dist/components/chips/components/styledChipWrapper.d.ts +0 -4
  21. package/dist/components/chips/index.d.ts +0 -2
  22. package/dist/components/chips/styled.d.ts +0 -3
  23. package/dist/components/chips/types.d.ts +0 -11
  24. package/dist/components/form/checkbox/components/Input.d.ts +0 -9
  25. package/dist/components/form/checkbox/components/Label.d.ts +0 -8
  26. package/dist/components/groupRadioButton/index.d.ts +0 -23
  27. package/dist/components/groupRadioButton/radio-group.stories.d.ts +0 -6
  28. package/dist/components/inlineMessages/components/styledInlineMessageWrapper.d.ts +0 -8
  29. package/dist/components/inlineMessages/index.d.ts +0 -2
  30. package/dist/components/inlineMessages/inlineMessages.d.ts +0 -4
  31. package/dist/components/inlineMessages/inlineMessages.stories.d.ts +0 -7
  32. package/dist/components/inlineMessages/types.d.ts +0 -29
  33. package/dist/components/pagination/paginationStyledWrapper.d.ts +0 -1
  34. package/dist/components/progressbar/components/styledProgressbarWrapper.d.ts +0 -2
  35. package/dist/components/radioButton/components/label.d.ts +0 -2
  36. package/dist/components/radioButton/components/radio.d.ts +0 -2
  37. package/dist/components/radioButton/index.d.ts +0 -2
  38. package/dist/components/radioButton/radio.stories.d.ts +0 -6
  39. package/dist/components/radioButton/typings/radioButton.d.ts +0 -21
  40. package/dist/components/tip/components/styledTip.d.ts +0 -4
  41. package/dist/components/toast/ToastContainer.d.ts +0 -9
  42. package/dist/components/toast/typings/toast.d.ts +0 -34
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fattureincloud/fic-design-system",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Fatture in Cloud and Danea design system",
5
5
  "repository": "git@bitbucket.org:fattureincloud/design-system.git",
6
6
  "license": "MIT",
package/CHANGELOG.md DELETED
@@ -1,605 +0,0 @@
1
- # Changelog
2
-
3
- ## v0.5.2 - 26/10/2022
4
-
5
- ### 🐛 Bug Fix
6
-
7
- - Avatar placeholder behavior
8
-
9
- ## v0.5.1 - 25/10/2022
10
-
11
- ### 🐛 Bug Fix
12
-
13
- - DatePicker format
14
- - InlineMessage onActionClick
15
- - Confirmation modal buttons position
16
-
17
- ### 💅 Enhancement
18
-
19
- - Avatar refactor
20
-
21
- ## v0.5.0 - 18/10/2022
22
-
23
- ### 🚀 Added
24
-
25
- - A completely new typography
26
- - SegmentButton
27
-
28
- ### 💅 Enhancement
29
-
30
- - Datepicker input controls
31
-
32
- ## v0.4.31 - 11/10/2022
33
-
34
- ### 🚀 Added
35
-
36
- - exports:
37
- • ButtonPalette,
38
- • DropdownItemType,
39
- • iconColors,
40
- • tagTypes,
41
- • BadgePalette,
42
- • BannerPalette,
43
- • ChipPalette,
44
- • FloatingBadgePalette,
45
- • LabelPalette,
46
- • PaginationPalette,
47
- • ProgressBarPalette,
48
- • bwColor,
49
- • IconButtonPalette
50
-
51
- ## v0.4.30 - 29/09/2022
52
-
53
- ### 🚀 Added
54
-
55
- - Tabs badge
56
- - Table actionsHeader
57
-
58
- ### 🐛 Bug Fix
59
-
60
- - Table text selection restored
61
-
62
- ## v0.4.29 - 14/09/2022
63
-
64
- ### 💥 Breaking
65
-
66
- - Progressbar renamed ProgressBar
67
-
68
- ### 🚀 Added
69
-
70
- - Chip leftIcon
71
- - Badge palette
72
- - Chip palette
73
- - Tip palette
74
- - FloatingBadgeType and FloatingBadge palette
75
- - ProgressBar palette
76
- - Banner palette
77
- - NotificationBadge
78
-
79
- ### 🐛 Bug Fix
80
-
81
- - Label mandatory icon space fix
82
- - SidebarItem fix
83
-
84
- ### 💅 Enhancement
85
-
86
- - Chip refactor
87
- - Pagination refactor
88
-
89
- ## v0.4.28 - 13/09/2022
90
-
91
- ### 🐛 Bug Fix
92
-
93
- - `macro` imports removed
94
- - Some types fix
95
-
96
- ### 💅 Enhancement
97
-
98
- - RadioGroupOptions exported enum
99
-
100
- ## v0.4.27 - 24/08/2022
101
-
102
- ### 💥 Breaking
103
-
104
- - RadioButton replaced with Radio
105
- - RadioButtonGroup replaced with RadioGroup
106
-
107
- ### 🚀 Added
108
-
109
- - RadioGroup selection handled
110
- - Radio palette
111
- - InlineMessage palette
112
- - InlineMessage action button
113
-
114
- ### 🐛 Bug Fix
115
-
116
- - Fix Toast icon graphical appearance
117
-
118
- ### 💅 Enhancement
119
-
120
- - InlineMessageType and ToastType exported enums
121
-
122
- ## v0.4.26 - 16/08/2022
123
-
124
- - Aggiunte props `emptyState` e `isDisabled` in Dropdown
125
- - Rimossa prop `isSmall` da Dropdown
126
-
127
- ## v0.4.25 - 11/08/2022
128
-
129
- - Aggiunte prop su modale per nascondere backdrop e poter modificare lo stile del portal
130
-
131
- ## v0.4.24 - 10/08/2022
132
-
133
- - Implementata possibilità di poter passare prop hideAfterSeconds sul tooltip
134
-
135
- ## v0.4.23 - 09/08/2022
136
-
137
- - Implementata possibilità di poter usare un tooltip nel componente InputText
138
- - Implementata possibilità di poter usare un tooltip nel componente Tabs
139
-
140
- ## v0.4.22 - 02/08/2022
141
-
142
- - Fixato placeholder nel componente DatePicker, che ora prende il valore dalle props oppure assume quello del giorno corrente
143
- - I giorni non selezionabili del DatePicker ora si distinguono per colore
144
- - Piccolo fix grafico alle voci della sidebar che contengono un badge
145
-
146
- ## v0.4.21 - 26/07/2022
147
-
148
- - Refactor component Toast
149
-
150
- ## v0.4.20 - 13/07/2022
151
-
152
- - Bugfix di useUpDownKeyNavigation, premendo ENTER venivano intercettati altri comportamenti in altri componenti
153
-
154
- ## v0.4.19 - 28/06/2022
155
-
156
- - Aggiunta la possibilità di usare le frecce per selezionare una riga nella Table o un'opzione nel Dropdown
157
- - Aggiunto export del componente Spinner
158
-
159
- ## v0.4.18
160
-
161
- - Rimossa prop disabled dal componente Select perché ridondante
162
-
163
- ## v0.4.17
164
-
165
- - Fixato l'hook useFormattedDate del componente DatePicker
166
-
167
- ## v0.4.16 - 18/05/2022
168
-
169
- ### 🚀 Added
170
-
171
- - Implementata prop "fixedHeight" in componente FileUploader
172
-
173
- ### 🚀 Bugfix
174
-
175
- - Modificato il border bottom dell’header in maniera che sia più chiaro, sistemato le icone di ordinamento
176
- - Fixato stile Dropdown
177
- - Fixato font in storybook usando "Inter UI"
178
-
179
- ## v0.4.15 - 17/05/2022
180
-
181
- ### 🚀 Bugfix
182
-
183
- - Fixed style "min-height" if prop isSmall is true on component ConfirmationModal
184
-
185
- ## v0.4.14 - 12/05/2022
186
-
187
- ### 🚀 Added
188
-
189
- - Added new prop pageSize on component Table
190
-
191
- ## v0.4.13 - 05/05/2022
192
-
193
- ### 🚀 Added
194
-
195
- - Added new prop maxFileSize on component FileUploader
196
-
197
- ### 🐛 Bug Fix
198
-
199
- - Fix placeholder in Select component style bug
200
-
201
- ## v0.4.12 - 03/05/2022
202
-
203
- ### 🐛 Bug Fix
204
-
205
- - Fix placeholder in Select component, the cursor was at the end of the placeholder
206
- - Fix Table LoadingCell
207
-
208
- ## v0.4.11 - 12/04/2022
209
-
210
- ### 🐛 Bug Fix
211
-
212
- - Fix text color to 900 in component InlineMessage
213
-
214
- ## v.0.4.10 - 08/04/2022
215
-
216
- ### 🚀 Added
217
-
218
- - Added new component DatePicker
219
- - Added new features in component Table
220
- - Added backgroundColor in palette for component FileUploader and fixed file type mappings to manage "p7m" extension
221
-
222
- ## v0.4.9 - 23/02/2022
223
-
224
- ### 🐛 Bug Fix
225
-
226
- - Fix FontAwesome version
227
-
228
- ## v0.4.8 - 23/02/2022
229
-
230
- ### 🐛 Bug Fix
231
-
232
- - Downgrade FontAwesome to v5 due to browser compatibility issues
233
-
234
- ## v0.4.7 - 22/02/2022
235
-
236
- ### 🚀 Added
237
-
238
- - Add new FileUploader component
239
- - Add new Table component
240
-
241
- ### 🐛 Bug Fix
242
-
243
- - Fix appearance of multiline (long) Select Options
244
-
245
- ## v0.4.6 - 15/02/2022
246
-
247
- ### 🚀 Added
248
-
249
- - Add `customHeader` and `customFooter` props to Modal
250
- - Add `isPrefilled` prop to InputText, TextArea and Select components
251
- - Add `isTransparent` prop to Select and InputText components
252
- - Add `customStyles` prop to Select component
253
- - Add UnitDropdown to InputText
254
- - Add `ref` prop to InputText component
255
- - Add Select `simpleValue` prop and `useSelectSimpleValue` hook
256
-
257
- ### 🐛 Bug Fix
258
-
259
- - Fix Accordion graphical appearance (CSS)
260
-
261
- ### 💅 Enhancement
262
-
263
- - Add `JSX.Element` to label prop type in form components
264
- - Remove up and down arrows on `input[type=number]`
265
-
266
- ## v0.4.5 - 08/02/2022
267
-
268
- - Update FontAwesome to v6.0.0 (Downgraded to v5 in v0.4.8)
269
-
270
- ## v0.4.4 - 25/01/2022
271
-
272
- ### 🐛 Bug Fix
273
-
274
- - Move SidebarItem Dropdown on the left in Safari
275
-
276
- ## v0.4.3 - 21/01/2022
277
-
278
- ### 🐛 Bug Fix
279
-
280
- - Remove the Checkbox `Label` tag when prop `text` is missing
281
-
282
- ### 💅 Enhancement
283
-
284
- - Change Button `text` prop from `string | JSX.Element` to `ReactText | JSX.Element`
285
-
286
- ## v0.4.2 - 19/01/2022
287
-
288
- ### 🐛 Bug Fix
289
-
290
- - Fix Dropdown content appearance animation in Safari (animation removed)
291
- - Fix absent Select typings
292
- - Fix Select Option multiline appearance
293
-
294
- ### 💅 Enhancement
295
-
296
- - Change all occurrences of `isDisabled` prop to `disabled` for "form" components
297
-
298
- ## v0.4.1 - 14/01/2022
299
-
300
- ### 🐛 Bug Fix
301
-
302
- - Fix a bug during the update of SidebarItem
303
-
304
- ## v0.4.0 - 15/12/2021
305
-
306
- ### 💅 Enhancement
307
-
308
- - Update Storybook to v6
309
- - Update Rollup to v2
310
- - Change build configs
311
-
312
- ## v0.3.24 - 13/12/2021
313
-
314
- ### 🐛 Bug Fix
315
-
316
- - Add preventDefault on Dropdown trigger click
317
-
318
- ## v0.3.23 - 13/12/2021
319
-
320
- ### 💅 Enhancement
321
-
322
- - Add href and cmd/ctrl+click on SidebarItem
323
-
324
- ## v0.3.22 - 30/11/2021
325
-
326
- ### 🐛 Bug Fix
327
-
328
- - Move `lint-staged` to devDependencies
329
-
330
- ## v0.3.21 - 29/11/2021
331
-
332
- ### 🐛 Bug Fix
333
-
334
- - Fix bug with Select usage
335
-
336
- ## v0.3.20 - 22/11/2021
337
-
338
- ### 🚀 Added
339
-
340
- - TextArea:
341
- - Add isResizable prop
342
- - Add characters counter
343
- - Add new `Select` components (`Select`, `CreatableSelect`, `AsyncSelect`, `AsyncCreatableSelect`)
344
-
345
- ### 💅 Enhancement
346
-
347
- - `InputHelper`'s prop `message` changed type from `string` to `ReactChild`
348
- - Add `className` to TextArea wrapper
349
- - Remove `margin-bottom: 1em` from `InputText` and `TextArea` components
350
- - Update styled-components to v5
351
- - Add styled-components to `peerDependencies`
352
-
353
- ### 🐛 Bug Fix
354
-
355
- - The cursor hovering an Icon will be `pointer` only if the icon has an `onClick` event
356
- - Fix Tabs component glitch
357
-
358
- ## v0.3.19 - 02/11/2021
359
-
360
- ### 🚀 Added
361
-
362
- - Add SidebarItem customization through `CustomSidebarItemProps` prop
363
- - Add exports for `SidebarItemProps`
364
-
365
- ### 💅 Enhancement
366
-
367
- - Remove deprecated `alignRight` props from Dropdown component
368
- - The `text` prop in Badge is now a `ReactText`
369
- - Button `type=text` now supports icons and hover/active state
370
-
371
- ### 🐛 Bug Fix
372
-
373
- - Fix click on SidebarItem's Dropdown
374
-
375
- ## v0.3.18 - 20/10/2021
376
-
377
- ### 🚀 Added
378
-
379
- - Add new InputText component
380
- - Add new InputHelper component
381
- - Add new TextArea component
382
-
383
- ### 💅 Enhancement
384
-
385
- - Add `isDisabled` prop to Icon component
386
-
387
- ### 🐛 Bug Fix
388
-
389
- - Close the Tooltip dropdown on click outside
390
- - Better mobile event handling on Tooltip component (close on scroll page)
391
- - Add a maximum width to the tooltip dropdown
392
-
393
- ## v0.3.17 - 06/10/2021
394
-
395
- ### 🚀 Added
396
-
397
- - Added new `Stepper` component
398
- - Added prop `forceOpenDropdown` on SidebarItem component
399
-
400
- ## v0.3.16 - 29/09/2021
401
-
402
- ### 🚀 Added
403
-
404
- - Add new `forceOpen` prop to Dropdown
405
-
406
- ### 💅 Enhancement
407
-
408
- - Change SidebarItem height from 40px to 44px
409
-
410
- ### 🐛 Bug Fix
411
-
412
- - Fix Tooltip's arrow color
413
-
414
- ## v0.3.15 - 21/09/2021
415
-
416
- ### 🚀 Added
417
-
418
- - Add new SidebarItem component
419
-
420
- ## v0.3.14 - 02/09/2021
421
-
422
- ### 🚀 Added
423
-
424
- - Added new Tooltip component
425
-
426
- ### 💅 Enhancement
427
-
428
- - Add `triggerStyles` Dropdown prop
429
- - Add new `IconBackground` component to support circle background behind icons
430
-
431
- ## v0.3.13 - 19/08/2021
432
-
433
- - Add `link` to DropdownItem `type`
434
-
435
- ## v0.3.12 - 19/08/2021
436
-
437
- ### 💅 Enhancement
438
-
439
- - Merged Dropdown interfaces `ContentOption` and `ItemProps` in `DropdownItemProps`
440
- - Add a part of DropdownPalette
441
-
442
- ### 🐛 Bug Fix
443
-
444
- - Add `e.stopPropagation()` on Dropdown trigger click
445
-
446
- ## v0.3.11 - 16/08/2021
447
-
448
- ### 💅 Enhancement
449
-
450
- - DropdownItems doesn't highlight without an `onClick` prop anymore
451
- - Changed DropdownItems' shortcuts style
452
-
453
- ## v0.3.10 - 28/07/2021
454
-
455
- ### 🐛 Bug Fix
456
-
457
- - Export checkboxPalette interface
458
- - Added boolean-only support for Checkbox component
459
-
460
- ### 💅 Enhancement
461
-
462
- - Change onClick prop type for Checkbox component
463
-
464
- ## v0.3.9 - 28/07/2021
465
-
466
- ### 💅 Enhancement
467
-
468
- - Added boolean values support to Checkbox
469
-
470
- ### 🐛 Bug Fix
471
-
472
- - Fix CustomSizeModal width on small screens
473
-
474
- ## v0.3.8 - 26/07/2021
475
-
476
- ### 🚀 Added
477
-
478
- - Added new Checkbox component with Checkbox Palette
479
-
480
- ### 🐛 Bug Fix
481
-
482
- - Increased Toast z-index to make it visible while a modal is open
483
-
484
- ## v0.3.7 - 25/06/2021
485
-
486
- ### 🚀 Added
487
-
488
- - Added MicroTag palette
489
- - Added Icon palette
490
-
491
- ### 💅 Enhancement
492
-
493
- - Refactor Palette structure
494
- - Remove base palette part
495
- - Use "transparent" css value instead of palette.base.transparent
496
-
497
- ## v0.3.6 - 04/06/2021
498
-
499
- ### 💅 Enhancement
500
-
501
- - Change project linting rules
502
-
503
- ## v0.3.5 - 03/06/2021
504
-
505
- ### 🚀 Added
506
-
507
- - Add export for `closeDropdownType`
508
-
509
- ### 💅 Enhancement
510
-
511
- - Remove Dropdown padding with custom content
512
-
513
- ## v0.3.4 - 26/05/2021
514
-
515
- ### 🚀 Added
516
-
517
- - isDisabled prop on IconButton
518
- - IconButton default types (defaultColor, defaultType) in iconButtonPalette
519
- - Add `href` and `target` props on Button component
520
-
521
- ### 💅 Enhancement
522
-
523
- - Fix buttons appearance on small screens
524
-
525
- ## v0.3.2 - 19/05/2021
526
-
527
- ### 🚀 Added
528
-
529
- - Add fullWidth prop on Button
530
-
531
- ### 💅 Enhancement
532
-
533
- - Fix default buttonPalette colors
534
- - Align iconButton palette names to Button's one
535
-
536
- ## v0.3.1 - 18/05/2021
537
-
538
- ### 🚀 Added
539
-
540
- - New useDebounceClick hook
541
- - Add new theme object manual configuration
542
- - Add palette configuration object for:
543
- - Tag
544
- - Button
545
- - IconButton
546
-
547
- ### 💅 Enhancement
548
-
549
- - Switch default palette to DIC's palette
550
- - Button component redone from scratch
551
- - TextButton merged with Button (type='text')
552
- - IconButton component redone from scratch
553
- - Refactor Tag component
554
-
555
- ## v0.2.9 - 05/05/2021
556
-
557
- ### 💅 Enhancement
558
-
559
- - The first render of the "not scrollable" Tabs component now
560
- shows the scrollable version instead of an empty row with a dropdown
561
- - Split Tabs component in ScrollableTabs and DropdownTabs
562
-
563
- ### 🐛 Bug Fix
564
-
565
- - Actually use the lateralPadding prop in Tabs component
566
-
567
- ## v0.2.8 - 30/04/2021
568
-
569
- ### 🐛 Bug Fix
570
-
571
- - Fixed Dropdowns in Internet Explorer
572
-
573
- ## v0.2.7 - 07/04/2021
574
-
575
- ### 🐛 Bug Fix
576
-
577
- - Fixed dropdown menu openings on Internet Explorer
578
-
579
- ## v0.2.6 - 10/03/2021
580
-
581
- ### 🐛 Bug Fix
582
-
583
- - Change Tag component "style" prop to "tagStyle" to prevent TypeScript error
584
-
585
- ## v0.2.5 - 04/03/2021
586
-
587
- ### 💅 Enhancement
588
-
589
- - Hide Tabs scrollbar if there's enough space for the elements
590
-
591
- ### 🐛 Bug Fix
592
-
593
- - Force Tabs component to have height: 100% (prevent component/sidebar overlap)
594
-
595
- ## v0.2.4 - 03/03/2021
596
-
597
- ### 🐛 Bug Fix
598
-
599
- - Fixed Button appearance with empty text
600
-
601
- ## v0.2.3 - 23/02/2021
602
-
603
- ### 🐛 Bug Fix
604
-
605
- - Fixed an error in Tabs causing the page overflow in scrollable mode
@@ -1,8 +0,0 @@
1
- import { DefaultTheme } from 'styled-components';
2
- import { bannerColorType } from './Banner';
3
- interface MappedColors {
4
- bgColor: string;
5
- textColor: string;
6
- }
7
- export declare const mapColors: (theme: DefaultTheme, color: bannerColorType) => MappedColors;
8
- export {};
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Chip: (props: any) => JSX.Element;
3
- export default Chip;
@@ -1,6 +0,0 @@
1
- import { Meta } from '@storybook/react';
2
- import { ComponentProps } from 'react';
3
- import { Chip } from '.';
4
- export declare const Normal: () => JSX.Element;
5
- declare const ChipStories: Meta<ComponentProps<typeof Chip>>;
6
- export default ChipStories;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { ChipsProps } from '../types';
3
- export declare const StyledChipWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ChipsProps, never>;
4
- export declare const StyledIcon: import("styled-components").StyledComponent<({ onClick, isDisabled, ...props }: import("../../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,2 +0,0 @@
1
- export { default as Chip } from './Chips';
2
- export { ChipsProps } from './types';
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ChipWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
3
- export declare const ChipIcon: import("styled-components").StyledComponent<({ onClick, isDisabled, ...props }: import("../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ChipsProps {
3
- text?: string | number;
4
- statusEdit?: boolean;
5
- closeAction?: () => void;
6
- }
7
- export declare type TChip = React.FunctionComponent<ChipsProps>;
8
- export interface UnstyledChipProps extends ChipsProps {
9
- }
10
- export interface UnstyledChipState {
11
- }
@@ -1,9 +0,0 @@
1
- import { checkboxStatus, CheckboxStyles } from '../types';
2
- export interface CheckboxInputProps {
3
- value: checkboxStatus;
4
- disabled?: boolean;
5
- large?: boolean;
6
- hasError: boolean;
7
- }
8
- declare const Input: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, CheckboxStyles & CheckboxInputProps, keyof CheckboxStyles>;
9
- export default Input;
@@ -1,8 +0,0 @@
1
- import { MappedLabelProps } from '../types';
2
- export interface CheckboxLabelProps {
3
- large?: boolean;
4
- disabled?: boolean;
5
- hasError: boolean;
6
- }
7
- declare const Label: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, MappedLabelProps & CheckboxLabelProps, keyof MappedLabelProps>;
8
- export default Label;
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- options: Array<{
4
- key: number;
5
- label: string;
6
- }>;
7
- value: number;
8
- onClick: (option: {
9
- key: number;
10
- label: string;
11
- }) => void;
12
- isDisabled?: boolean;
13
- renderOption?: (props: {
14
- isDisabled?: boolean;
15
- isChecked: boolean;
16
- label: string;
17
- }) => JSX.Element;
18
- optionsSpacing?: number;
19
- style?: React.CSSProperties;
20
- inline?: boolean;
21
- }
22
- export declare const RadioButtonGroup: (props: Props) => JSX.Element;
23
- export {};
@@ -1,6 +0,0 @@
1
- import { Meta } from '@storybook/react';
2
- import { ComponentProps } from 'react';
3
- import { RadioButtonGroup } from '.';
4
- export declare const WithKnobs: () => JSX.Element;
5
- declare const RadioButtonGroupStories: Meta<ComponentProps<typeof RadioButtonGroup>>;
6
- export default RadioButtonGroupStories;