@openedx/paragon 22.19.0 → 22.20.1
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/DataTable/filters/CheckboxFilter.js +2 -1
- package/dist/DataTable/filters/CheckboxFilter.js.map +1 -1
- package/dist/IconButton/index.d.ts +1 -1
- package/dist/Modal/ModalDialog.d.ts +0 -1
- package/dist/Modal/ModalDialog.js +6 -3
- package/dist/Modal/ModalDialog.js.map +1 -1
- package/dist/Modal/messages.d.ts +8 -0
- package/dist/Modal/messages.js +10 -0
- package/dist/Modal/messages.js.map +1 -0
- package/dist/index.d.ts +94 -211
- package/dist/index.js +123 -124
- package/dist/index.js.map +1 -0
- package/package.json +1 -1
- package/src/DataTable/filters/CheckboxFilter.jsx +1 -1
- package/src/DataTable/filters/tests/CheckboxFilter.test.jsx +8 -0
- package/src/Modal/ModalDialog.tsx +6 -4
- package/src/Modal/messages.ts +11 -0
- package/src/Modal/tests/AlertModal.test.jsx +48 -39
- package/src/Modal/tests/ModalDialog.test.tsx +57 -50
- package/src/{index.js → index.ts} +116 -37
- package/src/index.d.ts +0 -230
|
@@ -1,33 +1,36 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render, screen } from '@testing-library/react';
|
|
3
3
|
|
|
4
|
+
import { IntlProvider } from 'react-intl';
|
|
4
5
|
import ModalDialog from '../ModalDialog';
|
|
5
6
|
|
|
6
7
|
describe('ModalDialog', () => {
|
|
7
8
|
it('renders a dialog with aria-label and content', () => {
|
|
8
9
|
const onClose = jest.fn();
|
|
9
10
|
render(
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<ModalDialog.
|
|
21
|
-
|
|
11
|
+
<IntlProvider locale="en" messages={{}}>
|
|
12
|
+
<ModalDialog
|
|
13
|
+
title="My dialog"
|
|
14
|
+
isOpen
|
|
15
|
+
onClose={onClose}
|
|
16
|
+
size="md"
|
|
17
|
+
variant="default"
|
|
18
|
+
hasCloseButton
|
|
19
|
+
isOverflowVisible={false}
|
|
20
|
+
>
|
|
21
|
+
<ModalDialog.Header>
|
|
22
|
+
<ModalDialog.Title>The title</ModalDialog.Title>
|
|
23
|
+
</ModalDialog.Header>
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
<ModalDialog.Body>
|
|
26
|
+
<p>The content</p>
|
|
27
|
+
</ModalDialog.Body>
|
|
26
28
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
<ModalDialog.Footer>
|
|
30
|
+
<ModalDialog.CloseButton>Cancel</ModalDialog.CloseButton>
|
|
31
|
+
</ModalDialog.Footer>
|
|
32
|
+
</ModalDialog>
|
|
33
|
+
</IntlProvider>,
|
|
31
34
|
);
|
|
32
35
|
|
|
33
36
|
const dialogNode = screen.getByRole('dialog');
|
|
@@ -40,15 +43,17 @@ describe('ModalDialog', () => {
|
|
|
40
43
|
it('is hidden by default', () => {
|
|
41
44
|
const onClose = jest.fn();
|
|
42
45
|
render(
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
<IntlProvider locale="en" messages={{}}>
|
|
47
|
+
<ModalDialog
|
|
48
|
+
title="My dialog"
|
|
49
|
+
onClose={onClose}
|
|
50
|
+
isOverflowVisible={false}
|
|
51
|
+
>
|
|
52
|
+
<ModalDialog.Header><ModalDialog.Title>The title</ModalDialog.Title></ModalDialog.Header>
|
|
53
|
+
<ModalDialog.Body><p>The hidden content</p></ModalDialog.Body>
|
|
54
|
+
<ModalDialog.Footer><ModalDialog.CloseButton>Cancel</ModalDialog.CloseButton></ModalDialog.Footer>
|
|
55
|
+
</ModalDialog>
|
|
56
|
+
</IntlProvider>,
|
|
52
57
|
);
|
|
53
58
|
|
|
54
59
|
expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
|
|
@@ -59,30 +64,32 @@ describe('ModalDialog with Hero', () => {
|
|
|
59
64
|
it('renders a dialog with aria-label and hero with img', () => {
|
|
60
65
|
const onClose = jest.fn();
|
|
61
66
|
render(
|
|
62
|
-
<
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
<ModalDialog.Hero
|
|
73
|
-
|
|
74
|
-
<ModalDialog.
|
|
75
|
-
|
|
76
|
-
|
|
67
|
+
<IntlProvider locale="en" messages={{}}>
|
|
68
|
+
<ModalDialog
|
|
69
|
+
title="My dialog"
|
|
70
|
+
isOpen
|
|
71
|
+
onClose={onClose}
|
|
72
|
+
size="md"
|
|
73
|
+
variant="default"
|
|
74
|
+
hasCloseButton
|
|
75
|
+
isOverflowVisible={false}
|
|
76
|
+
>
|
|
77
|
+
<ModalDialog.Hero>
|
|
78
|
+
<ModalDialog.Hero.Background backgroundSrc="imageurl" />
|
|
79
|
+
<ModalDialog.Hero.Content data-testid="modal-hero-content">
|
|
80
|
+
<ModalDialog.Title>The title</ModalDialog.Title>
|
|
81
|
+
</ModalDialog.Hero.Content>
|
|
82
|
+
</ModalDialog.Hero>
|
|
77
83
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
84
|
+
<ModalDialog.Body>
|
|
85
|
+
<p>The content</p>
|
|
86
|
+
</ModalDialog.Body>
|
|
81
87
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
88
|
+
<ModalDialog.Footer>
|
|
89
|
+
<ModalDialog.CloseButton>Cancel</ModalDialog.CloseButton>
|
|
90
|
+
</ModalDialog.Footer>
|
|
91
|
+
</ModalDialog>
|
|
92
|
+
</IntlProvider>,
|
|
86
93
|
);
|
|
87
94
|
const dialogNode = screen.getByRole('dialog');
|
|
88
95
|
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
// Keep this file in sync with the .d.ts file (manually). It's in the same order
|
|
2
|
-
// and each line number is the same, to make it easier.
|
|
3
|
-
|
|
4
1
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
5
2
|
// Things that have types
|
|
6
3
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
4
|
+
export { default as Alert, ALERT_CLOSE_LABEL_TEXT } from './Alert';
|
|
7
5
|
export { default as Bubble } from './Bubble';
|
|
8
6
|
export { default as Button, ButtonGroup, ButtonToolbar } from './Button';
|
|
9
7
|
export { default as Chip, CHIP_PGN_CLASS } from './Chip';
|
|
10
8
|
export { default as ChipCarousel } from './ChipCarousel';
|
|
11
|
-
export { default as Container } from './Container';
|
|
9
|
+
export { default as Container, type ContainerSize } from './Container';
|
|
12
10
|
export {
|
|
13
11
|
default as Form,
|
|
14
12
|
RadioControl,
|
|
@@ -35,30 +33,37 @@ export { default as Hyperlink } from './Hyperlink';
|
|
|
35
33
|
export { default as Icon } from './Icon';
|
|
36
34
|
export { default as IconButton, IconButtonWithTooltip } from './IconButton';
|
|
37
35
|
export { default as ModalContext } from './Modal/ModalContext';
|
|
38
|
-
export { default as ModalDialog
|
|
36
|
+
export { default as ModalDialog } from './Modal/ModalDialog';
|
|
39
37
|
export { default as ModalLayer } from './Modal/ModalLayer';
|
|
40
38
|
export { default as Overlay, OverlayTrigger } from './Overlay';
|
|
41
39
|
export { default as Portal } from './Modal/Portal';
|
|
42
40
|
export { default as Toast, TOAST_CLOSE_LABEL_TEXT, TOAST_DELAY } from './Toast';
|
|
43
41
|
export { default as Tooltip } from './Tooltip';
|
|
44
|
-
export { default as useWindowSize } from './hooks/useWindowSizeHook';
|
|
45
|
-
export { default as useToggle } from './hooks/useToggleHook';
|
|
46
|
-
export { default as useArrowKeyNavigation } from './hooks/useArrowKeyNavigationHook';
|
|
42
|
+
export { default as useWindowSize, type WindowSizeData } from './hooks/useWindowSizeHook';
|
|
43
|
+
export { default as useToggle, type Toggler, type ToggleHandlers } from './hooks/useToggleHook';
|
|
44
|
+
export { default as useArrowKeyNavigation, type ArrowKeyNavProps } from './hooks/useArrowKeyNavigationHook';
|
|
47
45
|
export { default as useIndexOfLastVisibleChild } from './hooks/useIndexOfLastVisibleChildHook';
|
|
48
46
|
export { default as useIsVisible } from './hooks/useIsVisibleHook';
|
|
49
|
-
export { default as Alert, ALERT_CLOSE_LABEL_TEXT } from './Alert';
|
|
50
47
|
export { default as breakpoints } from './utils/breakpoints';
|
|
51
48
|
|
|
52
49
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
53
50
|
// Things that don't have types
|
|
54
51
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
52
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
55
53
|
export { default as asInput } from './asInput';
|
|
54
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
56
55
|
export { default as ActionRow } from './ActionRow';
|
|
56
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
57
57
|
export { default as Annotation } from './Annotation';
|
|
58
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
58
59
|
export { default as Avatar } from './Avatar';
|
|
60
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
59
61
|
export { default as AvatarButton } from './AvatarButton';
|
|
62
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
60
63
|
export { default as Badge } from './Badge';
|
|
64
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
61
65
|
export { default as Breadcrumb } from './Breadcrumb';
|
|
66
|
+
|
|
62
67
|
export {
|
|
63
68
|
default as Card,
|
|
64
69
|
CardColumns,
|
|
@@ -68,53 +73,58 @@ export {
|
|
|
68
73
|
CardGrid,
|
|
69
74
|
CardCarousel,
|
|
70
75
|
CARD_VARIANTS,
|
|
76
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
71
77
|
} from './Card';
|
|
72
78
|
export {
|
|
73
79
|
default as Carousel, CarouselItem, CAROUSEL_NEXT_LABEL_TEXT, CAROUSEL_PREV_LABEL_TEXT,
|
|
80
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
74
81
|
} from './Carousel';
|
|
75
|
-
|
|
76
|
-
export { default as CheckBox } from './CheckBox';
|
|
77
|
-
/** @deprecated Replaced by `Form.Checkbox` and `Form.CheckboxSet`. */
|
|
78
|
-
export { default as CheckBoxGroup } from './CheckBoxGroup';
|
|
82
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
79
83
|
export { default as CloseButton } from './CloseButton';
|
|
84
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
80
85
|
export { default as Layout, Col, Row } from './Layout';
|
|
86
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
81
87
|
export { default as Collapse } from './Collapse';
|
|
88
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
82
89
|
export { default as Collapsible } from './Collapsible';
|
|
90
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
83
91
|
export { default as Scrollable } from './Scrollable';
|
|
84
92
|
export {
|
|
85
93
|
default as Dropdown,
|
|
86
94
|
DropdownToggle,
|
|
87
95
|
DropdownButton,
|
|
88
96
|
SplitButton,
|
|
97
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
89
98
|
} from './Dropdown';
|
|
99
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
90
100
|
export { default as Fade } from './Fade';
|
|
91
|
-
|
|
92
|
-
export { default as Fieldset } from './Fieldset';
|
|
101
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
93
102
|
export { default as IconButtonToggle } from './IconButtonToggle';
|
|
94
|
-
|
|
95
|
-
export { default as Input } from './Input';
|
|
96
|
-
/** @deprecated Replaced by `Form.Control`. */
|
|
97
|
-
export { default as InputSelect } from './InputSelect';
|
|
98
|
-
/** @deprecated Replaced by `Form.Control`. */
|
|
99
|
-
export { default as InputText } from './InputText';
|
|
103
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
100
104
|
export { default as Image, Figure } from './Image';
|
|
101
|
-
|
|
102
|
-
export { default as ListBox } from './ListBox';
|
|
103
|
-
/** @deprecated */
|
|
104
|
-
export { default as ListBoxOption } from './ListBoxOption';
|
|
105
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
105
106
|
export { default as MailtoLink, MAIL_TO_LINK_EXTERNAL_LINK_ALTERNATIVE_TEXT, MAIL_TO_LINK_EXTERNAL_LINK_TITLE } from './MailtoLink';
|
|
107
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
106
108
|
export { default as Media } from './Media';
|
|
109
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
107
110
|
export { default as Menu } from './Menu';
|
|
111
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
108
112
|
export { default as MenuItem } from './Menu/MenuItem';
|
|
113
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
109
114
|
export { default as SelectMenu, SELECT_MENU_DEFAULT_MESSAGE } from './Menu/SelectMenu';
|
|
110
|
-
|
|
111
|
-
export { default as Modal } from './Modal';
|
|
115
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
112
116
|
export { default as ModalCloseButton } from './Modal/ModalCloseButton';
|
|
117
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
113
118
|
export { default as FullscreenModal, FULLSCREEN_MODAL_CLOSE_LABEL } from './Modal/FullscreenModal';
|
|
119
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
114
120
|
export { default as MarketingModal } from './Modal/MarketingModal';
|
|
121
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
115
122
|
export { default as StandardModal, STANDARD_MODAL_CLOSE_LABEL } from './Modal/StandardModal';
|
|
123
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
116
124
|
export { default as AlertModal } from './Modal/AlertModal';
|
|
125
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
117
126
|
export { default as ModalPopup } from './Modal/ModalPopup';
|
|
127
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
118
128
|
export { default as PopperElement } from './Modal/PopperElement';
|
|
119
129
|
|
|
120
130
|
export {
|
|
@@ -122,8 +132,11 @@ export {
|
|
|
122
132
|
NavDropdown,
|
|
123
133
|
NavItem,
|
|
124
134
|
NavLink,
|
|
135
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
125
136
|
} from './Nav';
|
|
137
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
126
138
|
export { default as Navbar, NavbarBrand, NAVBAR_LABEL } from './Navbar';
|
|
139
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
127
140
|
export { default as PageBanner, PAGE_BANNER_DISMISS_ALT_TEXT } from './PageBanner';
|
|
128
141
|
export {
|
|
129
142
|
default as Pagination,
|
|
@@ -134,12 +147,15 @@ export {
|
|
|
134
147
|
PAGINATION_BUTTON_LABEL_CURRENT_PAGE,
|
|
135
148
|
PAGINATION_BUTTON_LABEL_NEXT,
|
|
136
149
|
PAGINATION_BUTTON_LABEL_PAGE,
|
|
150
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
137
151
|
} from './Pagination';
|
|
152
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
138
153
|
export { default as Popover, PopoverTitle, PopoverContent } from './Popover';
|
|
154
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
139
155
|
export { default as ProgressBar } from './ProgressBar';
|
|
156
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
140
157
|
export { default as ProductTour } from './ProductTour';
|
|
141
|
-
|
|
142
|
-
export { default as RadioButtonGroup, RadioButton } from './RadioButtonGroup';
|
|
158
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
143
159
|
export { default as ResponsiveEmbed } from './ResponsiveEmbed';
|
|
144
160
|
export {
|
|
145
161
|
default as SearchField,
|
|
@@ -147,66 +163,129 @@ export {
|
|
|
147
163
|
SEARCH_FIELD_SCREEN_READER_TEXT_CLEAR_BUTTON,
|
|
148
164
|
SEARCH_FIELD_SCREEN_READER_TEXT_SUBMIT_BUTTON,
|
|
149
165
|
SEARCH_FIELD_BUTTON_TEXT,
|
|
166
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
150
167
|
} from './SearchField';
|
|
168
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
151
169
|
export { default as Sheet } from './Sheet';
|
|
170
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
152
171
|
export { default as Spinner } from './Spinner';
|
|
172
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
153
173
|
export { default as Stepper } from './Stepper';
|
|
174
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
154
175
|
export { default as StatefulButton } from './StatefulButton';
|
|
155
|
-
/** @deprecated Replaced by `Alert`. */
|
|
156
|
-
export { default as StatusAlert } from './StatusAlert';
|
|
157
|
-
/** @deprecated Replaced by `DataTable`. */
|
|
158
|
-
export { default as Table } from './Table';
|
|
159
176
|
export {
|
|
160
177
|
default as Tabs,
|
|
161
178
|
Tab,
|
|
162
179
|
TabContainer,
|
|
163
180
|
TabContent,
|
|
164
181
|
TabPane,
|
|
182
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
165
183
|
} from './Tabs';
|
|
166
|
-
|
|
167
|
-
export { default as TextArea } from './TextArea';
|
|
168
|
-
/** @deprecated Replaced by `Form.Group`. */
|
|
169
|
-
export { default as ValidationFormGroup } from './ValidationFormGroup';
|
|
184
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
170
185
|
export { default as TransitionReplace } from './TransitionReplace';
|
|
186
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
171
187
|
export { default as ValidationMessage } from './ValidationMessage';
|
|
188
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
172
189
|
export { default as DataTable } from './DataTable';
|
|
190
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
173
191
|
export { default as TextFilter } from './DataTable/filters/TextFilter';
|
|
192
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
174
193
|
export { default as CheckboxFilter } from './DataTable/filters/CheckboxFilter';
|
|
194
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
175
195
|
export { default as DropdownFilter } from './DataTable/filters/DropdownFilter';
|
|
196
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
176
197
|
export { default as MultiSelectDropdownFilter } from './DataTable/filters/MultiSelectDropdownFilter';
|
|
198
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
177
199
|
export { default as TableHeaderCell } from './DataTable/TableHeaderCell';
|
|
200
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
178
201
|
export { default as TableCell } from './DataTable/TableCell';
|
|
202
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
179
203
|
export { default as TableFilters, TABLE_FILTERS_BUTTON_TEXT } from './DataTable/TableFilters';
|
|
204
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
180
205
|
export { default as TableHeader } from './DataTable/TableHeaderRow';
|
|
206
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
181
207
|
export { default as TableRow } from './DataTable/TableRow';
|
|
208
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
182
209
|
export { default as TablePagination } from './DataTable/TablePagination';
|
|
210
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
183
211
|
export { default as TablePaginationMinimal } from './DataTable/TablePaginationMinimal';
|
|
212
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
184
213
|
export { default as DataTableContext } from './DataTable/DataTableContext';
|
|
214
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
185
215
|
export { default as BulkActions } from './DataTable/BulkActions';
|
|
216
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
186
217
|
export { default as TableControlBar } from './DataTable/TableControlBar';
|
|
218
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
187
219
|
export { default as TableFooter } from './DataTable/TableFooter';
|
|
220
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
188
221
|
export { default as CardView } from './DataTable/CardView';
|
|
222
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
189
223
|
export { default as Skeleton, SkeletonTheme } from './Skeleton/index';
|
|
224
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
190
225
|
export { default as Stack } from './Stack';
|
|
226
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
191
227
|
export { default as ToggleButton, ToggleButtonGroup } from './ToggleButton';
|
|
228
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
192
229
|
export { default as Sticky } from './Sticky';
|
|
230
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
193
231
|
export { default as SelectableBox } from './SelectableBox';
|
|
232
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
194
233
|
export { default as Variant } from './utils/constants';
|
|
195
234
|
export {
|
|
196
235
|
OverflowScrollContext,
|
|
197
236
|
OverflowScroll,
|
|
198
237
|
useOverflowScroll,
|
|
199
238
|
useOverflowScrollItems,
|
|
239
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
200
240
|
} from './OverflowScroll';
|
|
241
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
201
242
|
export { default as Dropzone } from './Dropzone';
|
|
243
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
202
244
|
export { default as messages } from './i18n';
|
|
245
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
203
246
|
export { default as Truncate } from './Truncate';
|
|
247
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
204
248
|
export { default as ColorPicker } from './ColorPicker';
|
|
205
249
|
|
|
250
|
+
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
251
|
+
// Things that are deprecated
|
|
252
|
+
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
253
|
+
|
|
254
|
+
/** @deprecated Replaced by `Form.Checkbox`. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
255
|
+
export { default as CheckBox } from './CheckBox';
|
|
256
|
+
/** @deprecated Replaced by `Form.Checkbox` and `Form.CheckboxSet`. */ // @ts-ignore
|
|
257
|
+
export { default as CheckBoxGroup } from './CheckBoxGroup';
|
|
258
|
+
/** @deprecated */ // @ts-ignore: has yet to be converted to TypeScript
|
|
259
|
+
export { default as Fieldset } from './Fieldset';
|
|
260
|
+
/** @deprecated Replaced by `Form.Control`. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
261
|
+
export { default as Input } from './Input';
|
|
262
|
+
/** @deprecated Replaced by `Form.Control`. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
263
|
+
export { default as InputSelect } from './InputSelect';
|
|
264
|
+
/** @deprecated Replaced by `Form.Control`. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
265
|
+
export { default as InputText } from './InputText';
|
|
266
|
+
/** @deprecated */ // @ts-ignore: has yet to be converted to TypeScript
|
|
267
|
+
export { default as ListBox } from './ListBox';
|
|
268
|
+
/** @deprecated */ // @ts-ignore: has yet to be converted to TypeScript
|
|
269
|
+
export { default as ListBoxOption } from './ListBoxOption';
|
|
270
|
+
/** @deprecated Use `ModalDialog` instead. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
271
|
+
export { default as Modal } from './Modal';
|
|
272
|
+
/** @deprecated Replaced by `Form.Radio` and `Form.RadioSet`. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
273
|
+
export { default as RadioButtonGroup, RadioButton } from './RadioButtonGroup';
|
|
274
|
+
/** @deprecated Replaced by `Alert`. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
275
|
+
export { default as StatusAlert } from './StatusAlert';
|
|
276
|
+
/** @deprecated Replaced by `DataTable`. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
277
|
+
export { default as Table } from './Table';
|
|
278
|
+
/** @deprecated Replaced by `Form.Control`. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
279
|
+
export { default as TextArea } from './TextArea';
|
|
280
|
+
/** @deprecated Replaced by `Form.Group`. */ // @ts-ignore: has yet to be converted to TypeScript
|
|
281
|
+
export { default as ValidationFormGroup } from './ValidationFormGroup';
|
|
282
|
+
|
|
283
|
+
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
206
284
|
// Pass through any needed whole third-party library functionality
|
|
207
285
|
// useTable for example is needed to use the DataTable component seamlessly
|
|
208
286
|
// rather than setting a peer dependency in this project, we opt to tightly
|
|
209
287
|
// couple these dependencies by passing through needed functionality.
|
|
288
|
+
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
210
289
|
export {
|
|
211
290
|
default as MediaQuery,
|
|
212
291
|
useMediaQuery,
|