@openedx/paragon 22.8.0 → 22.9.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/Card/index.scss +2 -0
- package/dist/Modal/ModalContext.d.ts +15 -0
- package/dist/Modal/ModalContext.js +7 -14
- package/dist/Modal/ModalContext.js.map +1 -1
- package/dist/Modal/ModalDialog.d.ts +105 -0
- package/dist/Modal/ModalDialog.js +23 -22
- package/dist/Modal/ModalDialog.js.map +1 -1
- package/dist/Modal/ModalDialogHeader.d.ts +10 -0
- package/dist/Modal/ModalDialogHeader.js +6 -7
- package/dist/Modal/ModalDialogHeader.js.map +1 -1
- package/dist/Modal/ModalLayer.d.ts +53 -0
- package/dist/Modal/ModalLayer.js +5 -14
- package/dist/Modal/ModalLayer.js.map +1 -1
- package/dist/Modal/Portal.d.ts +11 -0
- package/dist/Modal/Portal.js +5 -6
- package/dist/Modal/Portal.js.map +1 -1
- package/dist/hooks/useArrowKeyNavigation.js +2 -3
- package/dist/hooks/useArrowKeyNavigation.js.map +1 -1
- package/dist/index.d.ts +18 -4
- package/dist/index.js +19 -5
- package/dist/paragon.css +1 -1
- package/package.json +2 -2
- package/src/Card/index.scss +2 -0
- package/src/DataTable/selection/tests/ControlledSelectHeader.test.jsx +7 -7
- package/src/Modal/{ModalContext.jsx → ModalContext.tsx} +19 -16
- package/src/Modal/{ModalDialog.jsx → ModalDialog.tsx} +50 -24
- package/src/Modal/{ModalDialogHeader.jsx → ModalDialogHeader.tsx} +17 -11
- package/src/Modal/{ModalLayer.jsx → ModalLayer.tsx} +17 -17
- package/src/Modal/{Portal.jsx → Portal.tsx} +10 -7
- package/src/Modal/tests/{ModalDialog.test.jsx → ModalDialog.test.tsx} +16 -10
- package/src/Modal/tests/{ModalLayer.test.jsx → ModalLayer.test.tsx} +5 -5
- package/src/Modal/tests/{Portal.test.jsx → Portal.test.tsx} +3 -3
- package/src/hooks/useArrowKeyNavigation.jsx +1 -2
- package/src/index.d.ts +18 -4
- package/src/index.js +19 -5
- /package/src/Truncate/{Truncate.test.js → utils.test.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArrowKeyNavigation.js","names":["useRef","useEffect","handleEnter","_ref","event","currentIndex","activeElement","click","preventDefault","handleArrowKey","_ref2","availableElements","focus","nextElement","key","length","_availableElements","_slicedToArray","handleEvents","_ref3","_ref3$ignoredKeys","ignoredKeys","parentNode","_ref3$selectors","selectors","includes","_document","document","contains","querySelectorAll","Array","from","findIndex","availableElement","useArrowKeyNavigation","props","_ref4","eventHandler","current","addEventListener","removeEventListener"],"sources":["../../src/hooks/useArrowKeyNavigation.jsx"],"sourcesContent":["import { useRef, useEffect } from 'react';\n\n/**\n * A React hook to enable arrow key navigation on a component.\n */\n\nfunction handleEnter({ event, currentIndex, activeElement }) {\n if (currentIndex === -1) { return; }\n activeElement.click();\n event.preventDefault();\n}\n\nfunction handleArrowKey({ event, currentIndex, availableElements }) {\n // If the focus isn't in the container, focus on the first thing\n if (currentIndex === -1) { availableElements[0].focus(); }\n\n // Move the focus up or down. Wrap around ends of list.\n let nextElement;\n\n if (event.key === 'ArrowDown' || event.key === 'ArrowRight') {\n nextElement = availableElements[(currentIndex + 1) % availableElements.length];\n }\n if (event.key === 'ArrowUp' || event.key === 'ArrowLeft') {\n nextElement = currentIndex - 1 < 0\n ? availableElements[currentIndex - 1 + availableElements.length]\n : availableElements[currentIndex - 1];\n }\n if (event.key === 'End') {\n nextElement = availableElements[availableElements.length - 1];\n }\n if (event.key === 'Home') {\n [nextElement] = availableElements;\n }\n\n
|
|
1
|
+
{"version":3,"file":"useArrowKeyNavigation.js","names":["useRef","useEffect","handleEnter","_ref","event","currentIndex","activeElement","click","preventDefault","handleArrowKey","_ref2","_nextElement","availableElements","focus","nextElement","key","length","_availableElements","_slicedToArray","handleEvents","_ref3","_ref3$ignoredKeys","ignoredKeys","parentNode","_ref3$selectors","selectors","includes","_document","document","contains","querySelectorAll","Array","from","findIndex","availableElement","useArrowKeyNavigation","props","_ref4","eventHandler","current","addEventListener","removeEventListener"],"sources":["../../src/hooks/useArrowKeyNavigation.jsx"],"sourcesContent":["import { useRef, useEffect } from 'react';\n\n/**\n * A React hook to enable arrow key navigation on a component.\n */\n\nfunction handleEnter({ event, currentIndex, activeElement }) {\n if (currentIndex === -1) { return; }\n activeElement.click();\n event.preventDefault();\n}\n\nfunction handleArrowKey({ event, currentIndex, availableElements }) {\n // If the focus isn't in the container, focus on the first thing\n if (currentIndex === -1) { availableElements[0].focus(); }\n\n // Move the focus up or down. Wrap around ends of list.\n let nextElement;\n\n if (event.key === 'ArrowDown' || event.key === 'ArrowRight') {\n nextElement = availableElements[(currentIndex + 1) % availableElements.length];\n }\n if (event.key === 'ArrowUp' || event.key === 'ArrowLeft') {\n nextElement = currentIndex - 1 < 0\n ? availableElements[currentIndex - 1 + availableElements.length]\n : availableElements[currentIndex - 1];\n }\n if (event.key === 'End') {\n nextElement = availableElements[availableElements.length - 1];\n }\n if (event.key === 'Home') {\n [nextElement] = availableElements;\n }\n\n nextElement?.focus();\n event.preventDefault();\n}\n\n/**\n * Implement arrow key navigation for the given parentNode\n */\nfunction handleEvents({\n event,\n ignoredKeys = [],\n parentNode,\n selectors = 'a,button,input',\n}) {\n if (!parentNode) { return; }\n\n const { key } = event;\n\n if (!['ArrowUp', 'ArrowDown', 'ArrowRight', 'ArrowLeft', 'Enter', 'Home', 'End'].includes(key)\n || ignoredKeys.includes(key)) {\n return;\n }\n\n const { activeElement } = document;\n\n // If we're not inside the container, don't do anything\n if (!parentNode.contains(activeElement)) { return; }\n\n // Get the list of elements we're allowed to scroll through\n const availableElements = parentNode.querySelectorAll(selectors);\n\n // No elements are available to loop through.\n if (!availableElements.length) { return; }\n\n // Which index is currently selected\n const currentIndex = Array.from(availableElements).findIndex(\n (availableElement) => availableElement === activeElement,\n );\n\n if (key === 'Enter') {\n handleEnter({ event, currentIndex, activeElement });\n }\n handleArrowKey({ event, currentIndex, availableElements });\n}\n\nexport default function useArrowKeyNavigation(props) {\n const { selectors, ignoredKeys } = props || {};\n const parentNode = useRef();\n\n useEffect(() => {\n const eventHandler = (event) => {\n handleEvents({\n event, ignoredKeys, parentNode: parentNode.current, selectors,\n });\n };\n\n document.addEventListener('keydown', eventHandler);\n\n return () => document.removeEventListener('keydown', eventHandler);\n }, [ignoredKeys, selectors]);\n\n return parentNode;\n}\n"],"mappings":";;;;;;AAAA,SAASA,MAAM,EAAEC,SAAS,QAAQ,OAAO;;AAEzC;AACA;AACA;;AAEA,SAASC,WAAWA,CAAAC,IAAA,EAAyC;EAAA,IAAtCC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAEC,YAAY,GAAAF,IAAA,CAAZE,YAAY;IAAEC,aAAa,GAAAH,IAAA,CAAbG,aAAa;EACvD,IAAID,YAAY,KAAK,CAAC,CAAC,EAAE;IAAE;EAAQ;EACnCC,aAAa,CAACC,KAAK,CAAC,CAAC;EACrBH,KAAK,CAACI,cAAc,CAAC,CAAC;AACxB;AAEA,SAASC,cAAcA,CAAAC,KAAA,EAA6C;EAAA,IAAAC,YAAA;EAAA,IAA1CP,KAAK,GAAAM,KAAA,CAALN,KAAK;IAAEC,YAAY,GAAAK,KAAA,CAAZL,YAAY;IAAEO,iBAAiB,GAAAF,KAAA,CAAjBE,iBAAiB;EAC9D;EACA,IAAIP,YAAY,KAAK,CAAC,CAAC,EAAE;IAAEO,iBAAiB,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC;EAAE;;EAEzD;EACA,IAAIC,WAAW;EAEf,IAAIV,KAAK,CAACW,GAAG,KAAK,WAAW,IAAIX,KAAK,CAACW,GAAG,KAAK,YAAY,EAAE;IAC3DD,WAAW,GAAGF,iBAAiB,CAAC,CAACP,YAAY,GAAG,CAAC,IAAIO,iBAAiB,CAACI,MAAM,CAAC;EAChF;EACA,IAAIZ,KAAK,CAACW,GAAG,KAAK,SAAS,IAAIX,KAAK,CAACW,GAAG,KAAK,WAAW,E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AC;IAElD,OAAO;MAAA,OAAMV,QAAQ,CAACa,mBAAmB,CAAC,SAAS,EAAEH,YAAY,CAAC;IAAA;EACpE,CAAC,EAAE,CAAChB,WAAW,EAAEG,SAAS,CAAC,CAAC;EAE5B,OAAOF,UAAU;AACnB","ignoreList":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,11 @@ export { default as Container, ContainerSize } from './Container';
|
|
|
12
12
|
export { default as Hyperlink, HYPER_LINK_EXTERNAL_LINK_ALT_TEXT, HYPER_LINK_EXTERNAL_LINK_TITLE } from './Hyperlink';
|
|
13
13
|
export { default as Icon } from './Icon';
|
|
14
14
|
export { default as IconButton, IconButtonWithTooltip } from './IconButton';
|
|
15
|
+
export { default as ModalContext } from './Modal/ModalContext';
|
|
16
|
+
export { default as ModalDialog, MODAL_DIALOG_CLOSE_LABEL } from './Modal/ModalDialog';
|
|
17
|
+
export { default as ModalLayer } from './Modal/ModalLayer';
|
|
15
18
|
export { default as Overlay, OverlayTrigger } from './Overlay';
|
|
19
|
+
export { default as Portal } from './Modal/Portal';
|
|
16
20
|
export { default as Tooltip } from './Tooltip';
|
|
17
21
|
|
|
18
22
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
@@ -39,7 +43,9 @@ export const
|
|
|
39
43
|
export const
|
|
40
44
|
Carousel: any, CarouselItem: any, CAROUSEL_NEXT_LABEL_TEXT: any, CAROUSEL_PREV_LABEL_TEXT: any;
|
|
41
45
|
// from './Carousel';
|
|
46
|
+
/** @deprecated Replaced by `Form.Checkbox`. */
|
|
42
47
|
export const CheckBox: any; // from './CheckBox';
|
|
48
|
+
/** @deprecated Replaced by `Form.Checkbox` and `Form.CheckboxSet`. */
|
|
43
49
|
export const CheckBoxGroup: any; // from './CheckBoxGroup';
|
|
44
50
|
export const CloseButton: any; // from './CloseButton';
|
|
45
51
|
export const Layout: any, Col: any, Row: any; // from './Layout';
|
|
@@ -53,6 +59,7 @@ export const
|
|
|
53
59
|
SplitButton: any;
|
|
54
60
|
// from './Dropdown';
|
|
55
61
|
export const Fade: any; // from './Fade';
|
|
62
|
+
/** @deprecated */
|
|
56
63
|
export const Fieldset: any; // from './Fieldset';
|
|
57
64
|
export const
|
|
58
65
|
Form: any,
|
|
@@ -77,28 +84,30 @@ export const
|
|
|
77
84
|
InputGroup: any;
|
|
78
85
|
// from './Form';
|
|
79
86
|
export const IconButtonToggle: any; // from './IconButtonToggle';
|
|
87
|
+
/** @deprecated Replaced by `Form.Control`. */
|
|
80
88
|
export const Input: any; // from './Input';
|
|
89
|
+
/** @deprecated Replaced by `Form.Control`. */
|
|
81
90
|
export const InputSelect: any; // from './InputSelect';
|
|
91
|
+
/** @deprecated Replaced by `Form.Control`. */
|
|
82
92
|
export const InputText: any; // from './InputText';
|
|
83
93
|
export const Image: any, Figure; // from './Image';
|
|
94
|
+
/** @deprecated */
|
|
84
95
|
export const ListBox: any; // from './ListBox';
|
|
96
|
+
/** @deprecated */
|
|
85
97
|
export const ListBoxOption: any; // from './ListBoxOption';
|
|
86
98
|
export const MailtoLink: any, MAIL_TO_LINK_EXTERNAL_LINK_ALTERNATIVE_TEXT: string, MAIL_TO_LINK_EXTERNAL_LINK_TITLE: string; // from './MailtoLink';
|
|
87
99
|
export const Media: any; // from './Media';
|
|
88
100
|
export const Menu: any; // from './Menu';
|
|
89
101
|
export const MenuItem: any; // from './Menu/MenuItem';
|
|
90
102
|
export const SelectMenu: any, SELECT_MENU_DEFAULT_MESSAGE: string; // from './Menu/SelectMenu';
|
|
103
|
+
/** @deprecated Use `ModalDialog` instead. */
|
|
91
104
|
export const Modal: any; // from './Modal';
|
|
92
105
|
export const ModalCloseButton: any; // from './Modal/ModalCloseButton';
|
|
93
106
|
export const FullscreenModal: any, FULLSCREEN_MODAL_CLOSE_LABEL: string; // from './Modal/FullscreenModal';
|
|
94
107
|
export const MarketingModal: any; // from './Modal/MarketingModal';
|
|
95
108
|
export const StandardModal: any, STANDARD_MODAL_CLOSE_LABEL: string; // from './Modal/StandardModal';
|
|
96
109
|
export const AlertModal: any; // from './Modal/AlertModal';
|
|
97
|
-
export const ModalLayer: any; // from './Modal/ModalLayer';
|
|
98
|
-
export const ModalDialog: any, MODAL_DIALOG_CLOSE_LABEL: string; // from './Modal/ModalDialog';
|
|
99
110
|
export const ModalPopup: any; // from './Modal/ModalPopup';
|
|
100
|
-
export const ModalContext: any; // from './Modal/ModalContext';
|
|
101
|
-
export const Portal: any; // from './Modal/Portal';
|
|
102
111
|
export const PopperElement: any; // from './Modal/PopperElement';
|
|
103
112
|
|
|
104
113
|
export const
|
|
@@ -122,6 +131,7 @@ export const
|
|
|
122
131
|
export const Popover: any, PopoverTitle: any, PopoverContent: any; // from './Popover';
|
|
123
132
|
export const ProgressBar: any; // from './ProgressBar';
|
|
124
133
|
export const ProductTour: any; // from './ProductTour';
|
|
134
|
+
/** @deprecated Replaced by `Form.Radio` and `Form.RadioSet`. */
|
|
125
135
|
export const RadioButtonGroup: any, RadioButton: any; // from './RadioButtonGroup';
|
|
126
136
|
export const ResponsiveEmbed: any; // from './ResponsiveEmbed';
|
|
127
137
|
export const
|
|
@@ -135,7 +145,9 @@ export const Sheet: any; // from './Sheet';
|
|
|
135
145
|
export const Spinner: any; // from './Spinner';
|
|
136
146
|
export const Stepper: any; // from './Stepper';
|
|
137
147
|
export const StatefulButton: any; // from './StatefulButton';
|
|
148
|
+
/** @deprecated Replaced by `Alert`. */
|
|
138
149
|
export const StatusAlert: any; // from './StatusAlert';
|
|
150
|
+
/** @deprecated Replaced by `DataTable`. */
|
|
139
151
|
export const Table: any; // from './Table';
|
|
140
152
|
export const
|
|
141
153
|
Tabs: any,
|
|
@@ -144,8 +156,10 @@ export const
|
|
|
144
156
|
TabContent: any,
|
|
145
157
|
TabPane: any;
|
|
146
158
|
// from './Tabs';
|
|
159
|
+
/** @deprecated Replaced by `Form.Control`. */
|
|
147
160
|
export const TextArea: any; // from './TextArea';
|
|
148
161
|
export const Toast: any, TOAST_CLOSE_LABEL_TEXT: string, TOAST_DELAY: number; // from './Toast';
|
|
162
|
+
/** @deprecated Replaced by `Form.Group`. */
|
|
149
163
|
export const ValidationFormGroup: any; // from './ValidationFormGroup';
|
|
150
164
|
export const TransitionReplace: any; // from './TransitionReplace';
|
|
151
165
|
export const ValidationMessage: any; // from './ValidationMessage';
|
package/dist/index.js
CHANGED
|
@@ -8,10 +8,15 @@ export { default as Bubble } from './Bubble';
|
|
|
8
8
|
export { default as Button, ButtonGroup, ButtonToolbar } from './Button';
|
|
9
9
|
export { default as Chip, CHIP_PGN_CLASS } from './Chip';
|
|
10
10
|
export { default as ChipCarousel } from './ChipCarousel';
|
|
11
|
+
export { default as Container } from './Container';
|
|
11
12
|
export { default as Hyperlink, HYPER_LINK_EXTERNAL_LINK_ALT_TEXT, HYPER_LINK_EXTERNAL_LINK_TITLE } from './Hyperlink';
|
|
12
13
|
export { default as Icon } from './Icon';
|
|
13
14
|
export { default as IconButton, IconButtonWithTooltip } from './IconButton';
|
|
15
|
+
export { default as ModalContext } from './Modal/ModalContext';
|
|
16
|
+
export { default as ModalDialog, MODAL_DIALOG_CLOSE_LABEL } from './Modal/ModalDialog';
|
|
17
|
+
export { default as ModalLayer } from './Modal/ModalLayer';
|
|
14
18
|
export { default as Overlay, OverlayTrigger } from './Overlay';
|
|
19
|
+
export { default as Portal } from './Modal/Portal';
|
|
15
20
|
export { default as Tooltip } from './Tooltip';
|
|
16
21
|
|
|
17
22
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
@@ -38,10 +43,11 @@ export {
|
|
|
38
43
|
export {
|
|
39
44
|
default as Carousel, CarouselItem, CAROUSEL_NEXT_LABEL_TEXT, CAROUSEL_PREV_LABEL_TEXT,
|
|
40
45
|
} from './Carousel';
|
|
46
|
+
/** @deprecated Replaced by `Form.Checkbox`. */
|
|
41
47
|
export { default as CheckBox } from './CheckBox';
|
|
48
|
+
/** @deprecated Replaced by `Form.Checkbox` and `Form.CheckboxSet`. */
|
|
42
49
|
export { default as CheckBoxGroup } from './CheckBoxGroup';
|
|
43
50
|
export { default as CloseButton } from './CloseButton';
|
|
44
|
-
export { default as Container } from './Container';
|
|
45
51
|
export { default as Layout, Col, Row } from './Layout';
|
|
46
52
|
export { default as Collapse } from './Collapse';
|
|
47
53
|
export { default as Collapsible } from './Collapsible';
|
|
@@ -53,6 +59,7 @@ export {
|
|
|
53
59
|
SplitButton,
|
|
54
60
|
} from './Dropdown';
|
|
55
61
|
export { default as Fade } from './Fade';
|
|
62
|
+
/** @deprecated */
|
|
56
63
|
export { default as Fieldset } from './Fieldset';
|
|
57
64
|
export {
|
|
58
65
|
default as Form,
|
|
@@ -77,28 +84,30 @@ export {
|
|
|
77
84
|
InputGroup,
|
|
78
85
|
} from './Form';
|
|
79
86
|
export { default as IconButtonToggle } from './IconButtonToggle';
|
|
87
|
+
/** @deprecated Replaced by `Form.Control`. */
|
|
80
88
|
export { default as Input } from './Input';
|
|
89
|
+
/** @deprecated Replaced by `Form.Control`. */
|
|
81
90
|
export { default as InputSelect } from './InputSelect';
|
|
91
|
+
/** @deprecated Replaced by `Form.Control`. */
|
|
82
92
|
export { default as InputText } from './InputText';
|
|
83
93
|
export { default as Image, Figure } from './Image';
|
|
94
|
+
/** @deprecated */
|
|
84
95
|
export { default as ListBox } from './ListBox';
|
|
96
|
+
/** @deprecated */
|
|
85
97
|
export { default as ListBoxOption } from './ListBoxOption';
|
|
86
98
|
export { default as MailtoLink, MAIL_TO_LINK_EXTERNAL_LINK_ALTERNATIVE_TEXT, MAIL_TO_LINK_EXTERNAL_LINK_TITLE } from './MailtoLink';
|
|
87
99
|
export { default as Media } from './Media';
|
|
88
100
|
export { default as Menu } from './Menu';
|
|
89
101
|
export { default as MenuItem } from './Menu/MenuItem';
|
|
90
102
|
export { default as SelectMenu, SELECT_MENU_DEFAULT_MESSAGE } from './Menu/SelectMenu';
|
|
103
|
+
/** @deprecated Use `ModalDialog` instead. */
|
|
91
104
|
export { default as Modal } from './Modal';
|
|
92
105
|
export { default as ModalCloseButton } from './Modal/ModalCloseButton';
|
|
93
106
|
export { default as FullscreenModal, FULLSCREEN_MODAL_CLOSE_LABEL } from './Modal/FullscreenModal';
|
|
94
107
|
export { default as MarketingModal } from './Modal/MarketingModal';
|
|
95
108
|
export { default as StandardModal, STANDARD_MODAL_CLOSE_LABEL } from './Modal/StandardModal';
|
|
96
109
|
export { default as AlertModal } from './Modal/AlertModal';
|
|
97
|
-
export { default as ModalLayer } from './Modal/ModalLayer';
|
|
98
|
-
export { default as ModalDialog, MODAL_DIALOG_CLOSE_LABEL } from './Modal/ModalDialog';
|
|
99
110
|
export { default as ModalPopup } from './Modal/ModalPopup';
|
|
100
|
-
export { default as ModalContext } from './Modal/ModalContext';
|
|
101
|
-
export { default as Portal } from './Modal/Portal';
|
|
102
111
|
export { default as PopperElement } from './Modal/PopperElement';
|
|
103
112
|
|
|
104
113
|
export {
|
|
@@ -122,6 +131,7 @@ export {
|
|
|
122
131
|
export { default as Popover, PopoverTitle, PopoverContent } from './Popover';
|
|
123
132
|
export { default as ProgressBar } from './ProgressBar';
|
|
124
133
|
export { default as ProductTour } from './ProductTour';
|
|
134
|
+
/** @deprecated Replaced by `Form.Radio` and `Form.RadioSet`. */
|
|
125
135
|
export { default as RadioButtonGroup, RadioButton } from './RadioButtonGroup';
|
|
126
136
|
export { default as ResponsiveEmbed } from './ResponsiveEmbed';
|
|
127
137
|
export {
|
|
@@ -135,7 +145,9 @@ export { default as Sheet } from './Sheet';
|
|
|
135
145
|
export { default as Spinner } from './Spinner';
|
|
136
146
|
export { default as Stepper } from './Stepper';
|
|
137
147
|
export { default as StatefulButton } from './StatefulButton';
|
|
148
|
+
/** @deprecated Replaced by `Alert`. */
|
|
138
149
|
export { default as StatusAlert } from './StatusAlert';
|
|
150
|
+
/** @deprecated Replaced by `DataTable`. */
|
|
139
151
|
export { default as Table } from './Table';
|
|
140
152
|
export {
|
|
141
153
|
default as Tabs,
|
|
@@ -144,8 +156,10 @@ export {
|
|
|
144
156
|
TabContent,
|
|
145
157
|
TabPane,
|
|
146
158
|
} from './Tabs';
|
|
159
|
+
/** @deprecated Replaced by `Form.Control`. */
|
|
147
160
|
export { default as TextArea } from './TextArea';
|
|
148
161
|
export { default as Toast, TOAST_CLOSE_LABEL_TEXT, TOAST_DELAY } from './Toast';
|
|
162
|
+
/** @deprecated Replaced by `Form.Group`. */
|
|
149
163
|
export { default as ValidationFormGroup } from './ValidationFormGroup';
|
|
150
164
|
export { default as TransitionReplace } from './TransitionReplace';
|
|
151
165
|
export { default as ValidationMessage } from './ValidationMessage';
|