@openedx/paragon 23.10.1 → 23.12.0
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/Alert/index.d.ts +36 -0
- package/dist/Alert/index.js +18 -9
- package/dist/Alert/index.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 +81 -212
- package/dist/index.js +91 -97
- package/dist/index.js.map +1 -0
- package/dist/utils/breakpoints.d.ts +26 -0
- package/package.json +8 -4
- package/src/Alert/{Alert.test.jsx → Alert.test.tsx} +33 -3
- package/src/Alert/{index.jsx → index.tsx} +92 -29
- package/src/Dropdown/README.md +1 -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} +84 -10
- package/src/utils/breakpoints.d.ts +26 -0
- package/tokens/src/core/global/typography.json +2 -2
- package/tokens/src/themes/light/components/Modal.json +15 -1
- package/tokens/style-dictionary.js +9 -2
- package/src/index.d.ts +0 -230
- /package/src/Alert/__snapshots__/{Alert.test.jsx.snap → Alert.test.tsx.snap} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
// each line in this file corresponds with the line in index.js
|
|
3
|
-
|
|
4
|
-
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
5
|
-
// Things that have types
|
|
6
|
-
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
1
|
+
export { default as Alert, ALERT_CLOSE_LABEL_TEXT } from './Alert';
|
|
7
2
|
export { default as Bubble } from './Bubble';
|
|
8
3
|
export { default as Button, ButtonGroup, ButtonToolbar } from './Button';
|
|
9
4
|
export { default as Chip, CHIP_PGN_CLASS } from './Chip';
|
|
10
5
|
export { default as ChipCarousel } from './ChipCarousel';
|
|
11
|
-
export { default as Container, ContainerSize } from './Container';
|
|
6
|
+
export { default as Container, type ContainerSize } from './Container';
|
|
7
|
+
export { default as Form, RadioControl, CheckboxControl, SwitchControl, FormSwitchSet, FormControl, FormControlDecoratorGroup, FormControlFeedback, FormCheck, FormFile, FormRadio, FormRadioSet, FormRadioSetContext, FormGroup, FormLabel, useCheckboxSetValues, FormText, FormAutosuggest, FormAutosuggestOption, InputGroup, } from './Form';
|
|
12
8
|
export { default as Hyperlink } from './Hyperlink';
|
|
13
9
|
export { default as Icon } from './Icon';
|
|
14
10
|
export { default as IconButton, IconButtonWithTooltip } from './IconButton';
|
|
15
11
|
export { default as ModalContext } from './Modal/ModalContext';
|
|
16
|
-
export { default as ModalDialog
|
|
12
|
+
export { default as ModalDialog } from './Modal/ModalDialog';
|
|
17
13
|
export { default as ModalLayer } from './Modal/ModalLayer';
|
|
18
14
|
export { default as Overlay, OverlayTrigger } from './Overlay';
|
|
19
15
|
export { default as Portal } from './Modal/Portal';
|
|
@@ -24,207 +20,80 @@ export { default as useToggle, type Toggler, type ToggleHandlers } from './hooks
|
|
|
24
20
|
export { default as useArrowKeyNavigation, type ArrowKeyNavProps } from './hooks/useArrowKeyNavigationHook';
|
|
25
21
|
export { default as useIndexOfLastVisibleChild } from './hooks/useIndexOfLastVisibleChildHook';
|
|
26
22
|
export { default as useIsVisible } from './hooks/useIsVisibleHook';
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export
|
|
54
|
-
|
|
55
|
-
export
|
|
56
|
-
export
|
|
57
|
-
export
|
|
58
|
-
export
|
|
59
|
-
export
|
|
60
|
-
export
|
|
61
|
-
export
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
export
|
|
68
|
-
|
|
69
|
-
export
|
|
70
|
-
export
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
export
|
|
93
|
-
|
|
94
|
-
export
|
|
95
|
-
|
|
96
|
-
export
|
|
97
|
-
|
|
98
|
-
export
|
|
99
|
-
export
|
|
100
|
-
|
|
101
|
-
export
|
|
102
|
-
|
|
103
|
-
export
|
|
104
|
-
export const MailtoLink: any, MAIL_TO_LINK_EXTERNAL_LINK_ALTERNATIVE_TEXT: string, MAIL_TO_LINK_EXTERNAL_LINK_TITLE: string; // from './MailtoLink';
|
|
105
|
-
export const Media: any; // from './Media';
|
|
106
|
-
export const Menu: any; // from './Menu';
|
|
107
|
-
export const MenuItem: any; // from './Menu/MenuItem';
|
|
108
|
-
export const SelectMenu: any, SELECT_MENU_DEFAULT_MESSAGE: string; // from './Menu/SelectMenu';
|
|
109
|
-
/** @deprecated Use `ModalDialog` instead. */
|
|
110
|
-
export const Modal: any; // from './Modal';
|
|
111
|
-
export const ModalCloseButton: any; // from './Modal/ModalCloseButton';
|
|
112
|
-
export const FullscreenModal: any, FULLSCREEN_MODAL_CLOSE_LABEL: string; // from './Modal/FullscreenModal';
|
|
113
|
-
export const MarketingModal: any; // from './Modal/MarketingModal';
|
|
114
|
-
export const StandardModal: any, STANDARD_MODAL_CLOSE_LABEL: string; // from './Modal/StandardModal';
|
|
115
|
-
export const AlertModal: any; // from './Modal/AlertModal';
|
|
116
|
-
export const ModalPopup: any; // from './Modal/ModalPopup';
|
|
117
|
-
export const PopperElement: any; // from './Modal/PopperElement';
|
|
118
|
-
|
|
119
|
-
export const
|
|
120
|
-
Nav: any,
|
|
121
|
-
NavDropdown: any,
|
|
122
|
-
NavItem: any,
|
|
123
|
-
NavLink: any;
|
|
124
|
-
// from './Nav';
|
|
125
|
-
export const Navbar: any, NavbarBrand: any, NAVBAR_LABEL: string; // from './Navbar';
|
|
126
|
-
export const PageBanner: any, PAGE_BANNER_DISMISS_ALT_TEXT: string; // from './PageBanner';
|
|
127
|
-
export const
|
|
128
|
-
Pagination: any,
|
|
129
|
-
PAGINATION_BUTTON_LABEL_PREV: string,
|
|
130
|
-
PAGINATION_BUTTON_ICON_BUTTON_NEXT_ALT: string,
|
|
131
|
-
PAGINATION_BUTTON_ICON_BUTTON_PREV_ALT: string,
|
|
132
|
-
PAGINATION_BUTTON_LABEL_PAGE_OF_COUNT: string,
|
|
133
|
-
PAGINATION_BUTTON_LABEL_CURRENT_PAGE: string,
|
|
134
|
-
PAGINATION_BUTTON_LABEL_NEXT: string,
|
|
135
|
-
PAGINATION_BUTTON_LABEL_PAGE: string;
|
|
136
|
-
// from './Pagination';
|
|
137
|
-
export const Popover: any, PopoverTitle: any, PopoverContent: any; // from './Popover';
|
|
138
|
-
export const ProgressBar: any; // from './ProgressBar';
|
|
139
|
-
export const ProductTour: any; // from './ProductTour';
|
|
140
|
-
/** @deprecated Replaced by `Form.Radio` and `Form.RadioSet`. */
|
|
141
|
-
export const RadioButtonGroup: any, RadioButton: any; // from './RadioButtonGroup';
|
|
142
|
-
export const ResponsiveEmbed: any; // from './ResponsiveEmbed';
|
|
143
|
-
export const
|
|
144
|
-
SearchField: any,
|
|
145
|
-
SEARCH_FIELD_SCREEN_READER_TEXT_LABEL: string,
|
|
146
|
-
SEARCH_FIELD_SCREEN_READER_TEXT_CLEAR_BUTTON: string,
|
|
147
|
-
SEARCH_FIELD_SCREEN_READER_TEXT_SUBMIT_BUTTON: string,
|
|
148
|
-
SEARCH_FIELD_BUTTON_TEXT: string;
|
|
149
|
-
// from './SearchField';
|
|
150
|
-
export const Sheet: any; // from './Sheet';
|
|
151
|
-
export const Spinner: any; // from './Spinner';
|
|
152
|
-
export const Stepper: any; // from './Stepper';
|
|
153
|
-
export const StatefulButton: any; // from './StatefulButton';
|
|
154
|
-
/** @deprecated Replaced by `Alert`. */
|
|
155
|
-
export const StatusAlert: any; // from './StatusAlert';
|
|
156
|
-
/** @deprecated Replaced by `DataTable`. */
|
|
157
|
-
export const Table: any; // from './Table';
|
|
158
|
-
export const
|
|
159
|
-
Tabs: any,
|
|
160
|
-
Tab: any,
|
|
161
|
-
TabContainer: any,
|
|
162
|
-
TabContent: any,
|
|
163
|
-
TabPane: any;
|
|
164
|
-
// from './Tabs';
|
|
165
|
-
/** @deprecated Replaced by `Form.Control`. */
|
|
166
|
-
export const TextArea: any; // from './TextArea';
|
|
167
|
-
/** @deprecated Replaced by `Form.Group`. */
|
|
168
|
-
export const ValidationFormGroup: any; // from './ValidationFormGroup';
|
|
169
|
-
export const TransitionReplace: any; // from './TransitionReplace';
|
|
170
|
-
export const ValidationMessage: any; // from './ValidationMessage';
|
|
171
|
-
export const DataTable: any; // from './DataTable';
|
|
172
|
-
export const TextFilter: any; // from './DataTable/filters/TextFilter';
|
|
173
|
-
export const CheckboxFilter: any; // from './DataTable/filters/CheckboxFilter';
|
|
174
|
-
export const DropdownFilter: any; // from './DataTable/filters/DropdownFilter';
|
|
175
|
-
export const MultiSelectDropdownFilter: any; // from './DataTable/filters/MultiSelectDropdownFilter';
|
|
176
|
-
export const TableHeaderCell: any; // from './DataTable/TableHeaderCell';
|
|
177
|
-
export const TableCell: any; // from './DataTable/TableCell';
|
|
178
|
-
export const TableFilters: any, TABLE_FILTERS_BUTTON_TEXT: string; // from './DataTable/TableFilters';
|
|
179
|
-
export const TableHeader: any; // from './DataTable/TableHeaderRow';
|
|
180
|
-
export const TableRow: any; // from './DataTable/TableRow';
|
|
181
|
-
export const TablePagination: any; // from './DataTable/TablePagination';
|
|
182
|
-
export const TablePaginationMinimal: any; // from './DataTable/TablePaginationMinimal';
|
|
183
|
-
export const DataTableContext: any; // from './DataTable/DataTableContext';
|
|
184
|
-
export const BulkActions: any; // from './DataTable/BulkActions';
|
|
185
|
-
export const TableControlBar: any; // from './DataTable/TableControlBar';
|
|
186
|
-
export const TableFooter: any; // from './DataTable/TableFooter';
|
|
187
|
-
export const CardView: any; // from './DataTable/CardView';
|
|
188
|
-
export const Skeleton: any, SkeletonTheme: any; // from './Skeleton/index';
|
|
189
|
-
export const Stack: any; // from './Stack';
|
|
190
|
-
export const ToggleButton: any, ToggleButtonGroup: any; // from './ToggleButton';
|
|
191
|
-
export const Sticky: any; // from './Sticky';
|
|
192
|
-
export const SelectableBox: any; // from './SelectableBox';
|
|
193
|
-
export const breakpoints: any; // from './utils/breakpoints';
|
|
194
|
-
export const Variant: any; // from './utils/constants';
|
|
195
|
-
export const
|
|
196
|
-
OverflowScrollContext: any,
|
|
197
|
-
OverflowScroll: any,
|
|
198
|
-
useOverflowScroll: any,
|
|
199
|
-
useOverflowScrollItems: any;
|
|
200
|
-
// from './OverflowScroll';
|
|
201
|
-
export const Dropzone: any; // from './Dropzone';
|
|
202
|
-
export const messages: any; // from './i18n';
|
|
203
|
-
export const Truncate: any; // from './Truncate';
|
|
204
|
-
export const ColorPicker: any; // from './ColorPicker';
|
|
205
|
-
|
|
206
|
-
// Pass through any needed whole third-party library functionality
|
|
207
|
-
// useTable for example is needed to use the DataTable component seamlessly
|
|
208
|
-
// rather than setting a peer dependency in this project, we opt to tightly
|
|
209
|
-
// couple these dependencies by passing through needed functionality.
|
|
210
|
-
export {
|
|
211
|
-
default as MediaQuery,
|
|
212
|
-
useMediaQuery,
|
|
213
|
-
Context as ResponsiveContext,
|
|
214
|
-
} from 'react-responsive';
|
|
215
|
-
export {
|
|
216
|
-
useTable,
|
|
217
|
-
useFilters,
|
|
218
|
-
useGlobalFilter,
|
|
219
|
-
useSortBy,
|
|
220
|
-
useGroupBy,
|
|
221
|
-
useExpanded,
|
|
222
|
-
usePagination,
|
|
223
|
-
useRowSelect,
|
|
224
|
-
useRowState,
|
|
225
|
-
useColumnOrder,
|
|
226
|
-
useResizeColumns,
|
|
227
|
-
useBlockLayout,
|
|
228
|
-
useAbsoluteLayout,
|
|
229
|
-
useFlexLayout,
|
|
230
|
-
} from 'react-table';
|
|
23
|
+
export { default as breakpoints } from './utils/breakpoints';
|
|
24
|
+
export { default as asInput } from './asInput';
|
|
25
|
+
export { default as ActionRow } from './ActionRow';
|
|
26
|
+
export { default as Annotation } from './Annotation';
|
|
27
|
+
export { default as Avatar } from './Avatar';
|
|
28
|
+
export { default as AvatarButton } from './AvatarButton';
|
|
29
|
+
export { default as Badge } from './Badge';
|
|
30
|
+
export { default as Breadcrumb } from './Breadcrumb';
|
|
31
|
+
export { default as Card, CardColumns, CardDeck, CardImg, CardGroup, CardGrid, CardCarousel, CARD_VARIANTS, } from './Card';
|
|
32
|
+
export { default as Carousel, CarouselItem, CAROUSEL_NEXT_LABEL_TEXT, CAROUSEL_PREV_LABEL_TEXT, } from './Carousel';
|
|
33
|
+
export { default as CloseButton } from './CloseButton';
|
|
34
|
+
export { default as Layout, Col, Row } from './Layout';
|
|
35
|
+
export { default as Collapse } from './Collapse';
|
|
36
|
+
export { default as Collapsible } from './Collapsible';
|
|
37
|
+
export { default as Scrollable } from './Scrollable';
|
|
38
|
+
export { default as Dropdown, DropdownToggle, DropdownButton, SplitButton, } from './Dropdown';
|
|
39
|
+
export { default as Fade } from './Fade';
|
|
40
|
+
export { default as IconButtonToggle } from './IconButtonToggle';
|
|
41
|
+
export { default as Image, Figure } from './Image';
|
|
42
|
+
export { default as MailtoLink, MAIL_TO_LINK_EXTERNAL_LINK_ALTERNATIVE_TEXT, MAIL_TO_LINK_EXTERNAL_LINK_TITLE } from './MailtoLink';
|
|
43
|
+
export { default as Media } from './Media';
|
|
44
|
+
export { default as Menu } from './Menu';
|
|
45
|
+
export { default as MenuItem } from './Menu/MenuItem';
|
|
46
|
+
export { default as SelectMenu, SELECT_MENU_DEFAULT_MESSAGE } from './Menu/SelectMenu';
|
|
47
|
+
export { default as ModalCloseButton } from './Modal/ModalCloseButton';
|
|
48
|
+
export { default as FullscreenModal, FULLSCREEN_MODAL_CLOSE_LABEL } from './Modal/FullscreenModal';
|
|
49
|
+
export { default as MarketingModal } from './Modal/MarketingModal';
|
|
50
|
+
export { default as StandardModal, STANDARD_MODAL_CLOSE_LABEL } from './Modal/StandardModal';
|
|
51
|
+
export { default as AlertModal } from './Modal/AlertModal';
|
|
52
|
+
export { default as ModalPopup } from './Modal/ModalPopup';
|
|
53
|
+
export { default as PopperElement } from './Modal/PopperElement';
|
|
54
|
+
export { default as Nav, NavDropdown, NavItem, NavLink, } from './Nav';
|
|
55
|
+
export { default as Navbar, NavbarBrand, NAVBAR_LABEL } from './Navbar';
|
|
56
|
+
export { default as PageBanner, PAGE_BANNER_DISMISS_ALT_TEXT } from './PageBanner';
|
|
57
|
+
export { default as Pagination, PAGINATION_BUTTON_LABEL_PREV, PAGINATION_BUTTON_ICON_BUTTON_NEXT_ALT, PAGINATION_BUTTON_ICON_BUTTON_PREV_ALT, PAGINATION_BUTTON_LABEL_PAGE_OF_COUNT, PAGINATION_BUTTON_LABEL_CURRENT_PAGE, PAGINATION_BUTTON_LABEL_NEXT, PAGINATION_BUTTON_LABEL_PAGE, } from './Pagination';
|
|
58
|
+
export { default as Popover, PopoverTitle, PopoverContent } from './Popover';
|
|
59
|
+
export { default as ProgressBar } from './ProgressBar';
|
|
60
|
+
export { default as ProductTour } from './ProductTour';
|
|
61
|
+
export { default as ResponsiveEmbed } from './ResponsiveEmbed';
|
|
62
|
+
export { default as SearchField, SEARCH_FIELD_SCREEN_READER_TEXT_LABEL, SEARCH_FIELD_SCREEN_READER_TEXT_CLEAR_BUTTON, SEARCH_FIELD_SCREEN_READER_TEXT_SUBMIT_BUTTON, SEARCH_FIELD_BUTTON_TEXT, } from './SearchField';
|
|
63
|
+
export { default as Sheet } from './Sheet';
|
|
64
|
+
export { default as Spinner } from './Spinner';
|
|
65
|
+
export { default as Stepper } from './Stepper';
|
|
66
|
+
export { default as StatefulButton } from './StatefulButton';
|
|
67
|
+
export { default as Tabs, Tab, TabContainer, TabContent, TabPane, } from './Tabs';
|
|
68
|
+
export { default as TransitionReplace } from './TransitionReplace';
|
|
69
|
+
export { default as ValidationMessage } from './ValidationMessage';
|
|
70
|
+
export { default as DataTable } from './DataTable';
|
|
71
|
+
export { default as TextFilter } from './DataTable/filters/TextFilter';
|
|
72
|
+
export { default as CheckboxFilter } from './DataTable/filters/CheckboxFilter';
|
|
73
|
+
export { default as DropdownFilter } from './DataTable/filters/DropdownFilter';
|
|
74
|
+
export { default as MultiSelectDropdownFilter } from './DataTable/filters/MultiSelectDropdownFilter';
|
|
75
|
+
export { default as TableHeaderCell } from './DataTable/TableHeaderCell';
|
|
76
|
+
export { default as TableCell } from './DataTable/TableCell';
|
|
77
|
+
export { default as TableFilters, TABLE_FILTERS_BUTTON_TEXT } from './DataTable/TableFilters';
|
|
78
|
+
export { default as TableHeader } from './DataTable/TableHeaderRow';
|
|
79
|
+
export { default as TableRow } from './DataTable/TableRow';
|
|
80
|
+
export { default as TablePagination } from './DataTable/TablePagination';
|
|
81
|
+
export { default as TablePaginationMinimal } from './DataTable/TablePaginationMinimal';
|
|
82
|
+
export { default as DataTableContext } from './DataTable/DataTableContext';
|
|
83
|
+
export { default as BulkActions } from './DataTable/BulkActions';
|
|
84
|
+
export { default as TableControlBar } from './DataTable/TableControlBar';
|
|
85
|
+
export { default as TableFooter } from './DataTable/TableFooter';
|
|
86
|
+
export { default as CardView } from './DataTable/CardView';
|
|
87
|
+
export { default as Skeleton, SkeletonTheme } from './Skeleton/index';
|
|
88
|
+
export { default as Stack } from './Stack';
|
|
89
|
+
export { default as ToggleButton, ToggleButtonGroup } from './ToggleButton';
|
|
90
|
+
export { default as Sticky } from './Sticky';
|
|
91
|
+
export { default as SelectableBox } from './SelectableBox';
|
|
92
|
+
export { default as Variant } from './utils/constants';
|
|
93
|
+
export { OverflowScrollContext, OverflowScroll, useOverflowScroll, useOverflowScrollItems, } from './OverflowScroll';
|
|
94
|
+
export { default as Dropzone } from './Dropzone';
|
|
95
|
+
export { default as messages } from './i18n';
|
|
96
|
+
export { default as Truncate } from './Truncate';
|
|
97
|
+
export { default as ColorPicker } from './ColorPicker';
|
|
98
|
+
export { default as MediaQuery, useMediaQuery, Context as ResponsiveContext, } from 'react-responsive';
|
|
99
|
+
export { useTable, useFilters, useGlobalFilter, useSortBy, useGroupBy, useExpanded, usePagination, useRowSelect, useRowState, useColumnOrder, useResizeColumns, useBlockLayout, useAbsoluteLayout, useFlexLayout, } from 'react-table';
|
package/dist/index.js
CHANGED
|
@@ -1,41 +1,18 @@
|
|
|
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
9
|
export { default as Container } from './Container';
|
|
12
|
-
export {
|
|
13
|
-
default as Form,
|
|
14
|
-
RadioControl,
|
|
15
|
-
CheckboxControl,
|
|
16
|
-
SwitchControl,
|
|
17
|
-
FormSwitchSet,
|
|
18
|
-
FormControl,
|
|
19
|
-
FormControlDecoratorGroup,
|
|
20
|
-
FormControlFeedback,
|
|
21
|
-
FormCheck,
|
|
22
|
-
FormFile,
|
|
23
|
-
FormRadio,
|
|
24
|
-
FormRadioSet,
|
|
25
|
-
FormRadioSetContext,
|
|
26
|
-
FormGroup,
|
|
27
|
-
FormLabel,
|
|
28
|
-
useCheckboxSetValues,
|
|
29
|
-
FormText,
|
|
30
|
-
FormAutosuggest,
|
|
31
|
-
FormAutosuggestOption,
|
|
32
|
-
InputGroup,
|
|
33
|
-
} from './Form';
|
|
10
|
+
export { default as Form, RadioControl, CheckboxControl, SwitchControl, FormSwitchSet, FormControl, FormControlDecoratorGroup, FormControlFeedback, FormCheck, FormFile, FormRadio, FormRadioSet, FormRadioSetContext, FormGroup, FormLabel, useCheckboxSetValues, FormText, FormAutosuggest, FormAutosuggestOption, InputGroup } from './Form';
|
|
34
11
|
export { default as Hyperlink } from './Hyperlink';
|
|
35
12
|
export { default as Icon } from './Icon';
|
|
36
13
|
export { default as IconButton, IconButtonWithTooltip } from './IconButton';
|
|
37
14
|
export { default as ModalContext } from './Modal/ModalContext';
|
|
38
|
-
export { default as ModalDialog
|
|
15
|
+
export { default as ModalDialog } from './Modal/ModalDialog';
|
|
39
16
|
export { default as ModalLayer } from './Modal/ModalLayer';
|
|
40
17
|
export { default as Overlay, OverlayTrigger } from './Overlay';
|
|
41
18
|
export { default as Portal } from './Modal/Portal';
|
|
@@ -46,157 +23,174 @@ export { default as useToggle } from './hooks/useToggleHook';
|
|
|
46
23
|
export { default as useArrowKeyNavigation } from './hooks/useArrowKeyNavigationHook';
|
|
47
24
|
export { default as useIndexOfLastVisibleChild } from './hooks/useIndexOfLastVisibleChildHook';
|
|
48
25
|
export { default as useIsVisible } from './hooks/useIsVisibleHook';
|
|
26
|
+
export { default as breakpoints } from './utils/breakpoints';
|
|
49
27
|
|
|
50
28
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
51
29
|
// Things that don't have types
|
|
52
30
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
31
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
53
32
|
export { default as asInput } from './asInput';
|
|
33
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
54
34
|
export { default as ActionRow } from './ActionRow';
|
|
55
|
-
|
|
35
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
56
36
|
export { default as Annotation } from './Annotation';
|
|
37
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
57
38
|
export { default as Avatar } from './Avatar';
|
|
39
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
58
40
|
export { default as AvatarButton } from './AvatarButton';
|
|
41
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
59
42
|
export { default as Badge } from './Badge';
|
|
43
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
60
44
|
export { default as Breadcrumb } from './Breadcrumb';
|
|
61
|
-
export {
|
|
62
|
-
|
|
63
|
-
CardColumns,
|
|
64
|
-
CardDeck,
|
|
65
|
-
CardImg,
|
|
66
|
-
CardGroup,
|
|
67
|
-
CardGrid,
|
|
68
|
-
CardCarousel,
|
|
69
|
-
CARD_VARIANTS,
|
|
45
|
+
export { default as Card, CardColumns, CardDeck, CardImg, CardGroup, CardGrid, CardCarousel, CARD_VARIANTS
|
|
46
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
70
47
|
} from './Card';
|
|
71
|
-
export {
|
|
72
|
-
|
|
48
|
+
export { default as Carousel, CarouselItem, CAROUSEL_NEXT_LABEL_TEXT, CAROUSEL_PREV_LABEL_TEXT
|
|
49
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
73
50
|
} from './Carousel';
|
|
51
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
74
52
|
export { default as CloseButton } from './CloseButton';
|
|
53
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
75
54
|
export { default as Layout, Col, Row } from './Layout';
|
|
55
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
76
56
|
export { default as Collapse } from './Collapse';
|
|
57
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
77
58
|
export { default as Collapsible } from './Collapsible';
|
|
59
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
78
60
|
export { default as Scrollable } from './Scrollable';
|
|
79
|
-
export {
|
|
80
|
-
|
|
81
|
-
DropdownToggle,
|
|
82
|
-
DropdownButton,
|
|
83
|
-
SplitButton,
|
|
61
|
+
export { default as Dropdown, DropdownToggle, DropdownButton, SplitButton
|
|
62
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
84
63
|
} from './Dropdown';
|
|
64
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
85
65
|
export { default as Fade } from './Fade';
|
|
66
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
86
67
|
export { default as IconButtonToggle } from './IconButtonToggle';
|
|
68
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
87
69
|
export { default as Image, Figure } from './Image';
|
|
70
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
88
71
|
export { default as MailtoLink, MAIL_TO_LINK_EXTERNAL_LINK_ALTERNATIVE_TEXT, MAIL_TO_LINK_EXTERNAL_LINK_TITLE } from './MailtoLink';
|
|
72
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
89
73
|
export { default as Media } from './Media';
|
|
74
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
90
75
|
export { default as Menu } from './Menu';
|
|
76
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
91
77
|
export { default as MenuItem } from './Menu/MenuItem';
|
|
78
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
92
79
|
export { default as SelectMenu, SELECT_MENU_DEFAULT_MESSAGE } from './Menu/SelectMenu';
|
|
80
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
93
81
|
export { default as ModalCloseButton } from './Modal/ModalCloseButton';
|
|
82
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
94
83
|
export { default as FullscreenModal, FULLSCREEN_MODAL_CLOSE_LABEL } from './Modal/FullscreenModal';
|
|
84
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
95
85
|
export { default as MarketingModal } from './Modal/MarketingModal';
|
|
86
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
96
87
|
export { default as StandardModal, STANDARD_MODAL_CLOSE_LABEL } from './Modal/StandardModal';
|
|
88
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
97
89
|
export { default as AlertModal } from './Modal/AlertModal';
|
|
90
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
98
91
|
export { default as ModalPopup } from './Modal/ModalPopup';
|
|
92
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
99
93
|
export { default as PopperElement } from './Modal/PopperElement';
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
default as Nav,
|
|
103
|
-
NavDropdown,
|
|
104
|
-
NavItem,
|
|
105
|
-
NavLink,
|
|
94
|
+
export { default as Nav, NavDropdown, NavItem, NavLink
|
|
95
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
106
96
|
} from './Nav';
|
|
97
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
107
98
|
export { default as Navbar, NavbarBrand, NAVBAR_LABEL } from './Navbar';
|
|
99
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
108
100
|
export { default as PageBanner, PAGE_BANNER_DISMISS_ALT_TEXT } from './PageBanner';
|
|
109
|
-
export {
|
|
110
|
-
|
|
111
|
-
PAGINATION_BUTTON_LABEL_PREV,
|
|
112
|
-
PAGINATION_BUTTON_ICON_BUTTON_NEXT_ALT,
|
|
113
|
-
PAGINATION_BUTTON_ICON_BUTTON_PREV_ALT,
|
|
114
|
-
PAGINATION_BUTTON_LABEL_PAGE_OF_COUNT,
|
|
115
|
-
PAGINATION_BUTTON_LABEL_CURRENT_PAGE,
|
|
116
|
-
PAGINATION_BUTTON_LABEL_NEXT,
|
|
117
|
-
PAGINATION_BUTTON_LABEL_PAGE,
|
|
101
|
+
export { default as Pagination, PAGINATION_BUTTON_LABEL_PREV, PAGINATION_BUTTON_ICON_BUTTON_NEXT_ALT, PAGINATION_BUTTON_ICON_BUTTON_PREV_ALT, PAGINATION_BUTTON_LABEL_PAGE_OF_COUNT, PAGINATION_BUTTON_LABEL_CURRENT_PAGE, PAGINATION_BUTTON_LABEL_NEXT, PAGINATION_BUTTON_LABEL_PAGE
|
|
102
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
118
103
|
} from './Pagination';
|
|
104
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
119
105
|
export { default as Popover, PopoverTitle, PopoverContent } from './Popover';
|
|
106
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
120
107
|
export { default as ProgressBar } from './ProgressBar';
|
|
108
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
121
109
|
export { default as ProductTour } from './ProductTour';
|
|
110
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
122
111
|
export { default as ResponsiveEmbed } from './ResponsiveEmbed';
|
|
123
|
-
export {
|
|
124
|
-
|
|
125
|
-
SEARCH_FIELD_SCREEN_READER_TEXT_LABEL,
|
|
126
|
-
SEARCH_FIELD_SCREEN_READER_TEXT_CLEAR_BUTTON,
|
|
127
|
-
SEARCH_FIELD_SCREEN_READER_TEXT_SUBMIT_BUTTON,
|
|
128
|
-
SEARCH_FIELD_BUTTON_TEXT,
|
|
112
|
+
export { default as SearchField, SEARCH_FIELD_SCREEN_READER_TEXT_LABEL, SEARCH_FIELD_SCREEN_READER_TEXT_CLEAR_BUTTON, SEARCH_FIELD_SCREEN_READER_TEXT_SUBMIT_BUTTON, SEARCH_FIELD_BUTTON_TEXT
|
|
113
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
129
114
|
} from './SearchField';
|
|
115
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
130
116
|
export { default as Sheet } from './Sheet';
|
|
117
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
131
118
|
export { default as Spinner } from './Spinner';
|
|
119
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
132
120
|
export { default as Stepper } from './Stepper';
|
|
121
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
133
122
|
export { default as StatefulButton } from './StatefulButton';
|
|
134
|
-
export {
|
|
135
|
-
|
|
136
|
-
Tab,
|
|
137
|
-
TabContainer,
|
|
138
|
-
TabContent,
|
|
139
|
-
TabPane,
|
|
123
|
+
export { default as Tabs, Tab, TabContainer, TabContent, TabPane
|
|
124
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
140
125
|
} from './Tabs';
|
|
126
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
141
127
|
export { default as TransitionReplace } from './TransitionReplace';
|
|
128
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
142
129
|
export { default as ValidationMessage } from './ValidationMessage';
|
|
130
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
143
131
|
export { default as DataTable } from './DataTable';
|
|
132
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
144
133
|
export { default as TextFilter } from './DataTable/filters/TextFilter';
|
|
134
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
145
135
|
export { default as CheckboxFilter } from './DataTable/filters/CheckboxFilter';
|
|
136
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
146
137
|
export { default as DropdownFilter } from './DataTable/filters/DropdownFilter';
|
|
138
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
147
139
|
export { default as MultiSelectDropdownFilter } from './DataTable/filters/MultiSelectDropdownFilter';
|
|
140
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
148
141
|
export { default as TableHeaderCell } from './DataTable/TableHeaderCell';
|
|
142
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
149
143
|
export { default as TableCell } from './DataTable/TableCell';
|
|
144
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
150
145
|
export { default as TableFilters, TABLE_FILTERS_BUTTON_TEXT } from './DataTable/TableFilters';
|
|
146
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
151
147
|
export { default as TableHeader } from './DataTable/TableHeaderRow';
|
|
148
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
152
149
|
export { default as TableRow } from './DataTable/TableRow';
|
|
150
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
153
151
|
export { default as TablePagination } from './DataTable/TablePagination';
|
|
152
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
154
153
|
export { default as TablePaginationMinimal } from './DataTable/TablePaginationMinimal';
|
|
154
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
155
155
|
export { default as DataTableContext } from './DataTable/DataTableContext';
|
|
156
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
156
157
|
export { default as BulkActions } from './DataTable/BulkActions';
|
|
158
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
157
159
|
export { default as TableControlBar } from './DataTable/TableControlBar';
|
|
160
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
158
161
|
export { default as TableFooter } from './DataTable/TableFooter';
|
|
162
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
159
163
|
export { default as CardView } from './DataTable/CardView';
|
|
164
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
160
165
|
export { default as Skeleton, SkeletonTheme } from './Skeleton/index';
|
|
166
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
161
167
|
export { default as Stack } from './Stack';
|
|
168
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
162
169
|
export { default as ToggleButton, ToggleButtonGroup } from './ToggleButton';
|
|
170
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
163
171
|
export { default as Sticky } from './Sticky';
|
|
172
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
164
173
|
export { default as SelectableBox } from './SelectableBox';
|
|
165
|
-
|
|
174
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
166
175
|
export { default as Variant } from './utils/constants';
|
|
167
|
-
export {
|
|
168
|
-
|
|
169
|
-
OverflowScroll,
|
|
170
|
-
useOverflowScroll,
|
|
171
|
-
useOverflowScrollItems,
|
|
176
|
+
export { OverflowScrollContext, OverflowScroll, useOverflowScroll, useOverflowScrollItems
|
|
177
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
172
178
|
} from './OverflowScroll';
|
|
179
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
173
180
|
export { default as Dropzone } from './Dropzone';
|
|
181
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
174
182
|
export { default as messages } from './i18n';
|
|
183
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
175
184
|
export { default as Truncate } from './Truncate';
|
|
185
|
+
// @ts-ignore: has yet to be converted to TypeScript
|
|
176
186
|
export { default as ColorPicker } from './ColorPicker';
|
|
177
187
|
|
|
188
|
+
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
178
189
|
// Pass through any needed whole third-party library functionality
|
|
179
190
|
// useTable for example is needed to use the DataTable component seamlessly
|
|
180
191
|
// rather than setting a peer dependency in this project, we opt to tightly
|
|
181
192
|
// couple these dependencies by passing through needed functionality.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
} from 'react-responsive';
|
|
187
|
-
export {
|
|
188
|
-
useTable,
|
|
189
|
-
useFilters,
|
|
190
|
-
useGlobalFilter,
|
|
191
|
-
useSortBy,
|
|
192
|
-
useGroupBy,
|
|
193
|
-
useExpanded,
|
|
194
|
-
usePagination,
|
|
195
|
-
useRowSelect,
|
|
196
|
-
useRowState,
|
|
197
|
-
useColumnOrder,
|
|
198
|
-
useResizeColumns,
|
|
199
|
-
useBlockLayout,
|
|
200
|
-
useAbsoluteLayout,
|
|
201
|
-
useFlexLayout,
|
|
202
|
-
} from 'react-table';
|
|
193
|
+
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
194
|
+
export { default as MediaQuery, useMediaQuery, Context as ResponsiveContext } from 'react-responsive';
|
|
195
|
+
export { useTable, useFilters, useGlobalFilter, useSortBy, useGroupBy, useExpanded, usePagination, useRowSelect, useRowState, useColumnOrder, useResizeColumns, useBlockLayout, useAbsoluteLayout, useFlexLayout } from 'react-table';
|
|
196
|
+
//# sourceMappingURL=index.js.map
|