@openedx/paragon 23.0.0-alpha.2 → 23.0.0-alpha.4
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/bin/paragon-scripts.js +10 -0
- package/dist/Annotation/index.scss +16 -0
- package/dist/Button/index.d.ts +35 -0
- package/dist/Button/index.js +37 -15
- package/dist/Button/index.js.map +1 -1
- package/dist/Card/CardDeck.js +0 -2
- package/dist/Card/CardDeck.js.map +1 -1
- package/dist/Card/index.scss +6 -6
- package/dist/Carousel/index.scss +24 -1
- package/dist/Chip/ChipIcon.d.ts +13 -8
- package/dist/Chip/ChipIcon.js +0 -2
- package/dist/Chip/ChipIcon.js.map +1 -1
- package/dist/Chip/constants.d.ts +4 -0
- package/dist/Chip/constants.js +3 -2
- package/dist/Chip/constants.js.map +1 -0
- package/dist/Chip/index.d.ts +4 -3
- package/dist/Chip/index.js +2 -4
- package/dist/Chip/index.js.map +1 -1
- package/dist/ChipCarousel/index.js +0 -2
- package/dist/ChipCarousel/index.js.map +1 -1
- package/dist/CloseButton/index.scss +8 -0
- package/dist/ColorPicker/index.scss +1 -1
- package/dist/DataTable/index.scss +12 -0
- package/dist/Dropdown/dropdown-bootstrap.scss +6 -0
- package/dist/Dropzone/index.scss +34 -0
- package/dist/Form/_FormText.scss +1 -1
- package/dist/Form/_bootstrap-custom-forms.scss +40 -0
- package/dist/Form/_index.scss +9 -0
- package/dist/Form/_mixins.scss +22 -0
- package/dist/Hyperlink/index.d.ts +24 -0
- package/dist/Hyperlink/index.js +20 -32
- package/dist/Hyperlink/index.js.map +1 -1
- package/dist/Icon/index.d.ts +4 -2
- package/dist/Icon/index.js +1 -1
- package/dist/Icon/index.js.map +1 -1
- package/dist/IconButton/index.d.ts +342 -0
- package/dist/IconButton/index.js +18 -26
- package/dist/IconButton/index.js.map +1 -1
- package/dist/IconButton/index.scss +146 -0
- package/dist/Menu/index.scss +8 -0
- package/dist/Modal/ModalDialog.js +8 -4
- package/dist/Modal/ModalDialog.js.map +1 -1
- package/dist/Modal/ModalPopup.js +7 -1
- package/dist/Modal/ModalPopup.js.map +1 -1
- package/dist/Modal/_ModalDialog.scss +26 -2
- package/dist/Nav/index.scss +8 -0
- package/dist/Overlay/index.d.ts +128 -0
- package/dist/Overlay/index.js +8 -2
- package/dist/Overlay/index.js.map +1 -1
- package/dist/PageBanner/index.scss +2 -2
- package/dist/Pagination/pagination-bootstrap.scss +9 -0
- package/dist/Popover/index.scss +1 -1
- package/dist/ProductTour/Checkpoint.scss +1 -1
- package/dist/ProgressBar/bootstrap-progress.scss +20 -5
- package/dist/ProgressBar/index.scss +3 -3
- package/dist/Stepper/index.scss +1 -1
- package/dist/Sticky/index.scss +12 -0
- package/dist/Toast/index.scss +13 -1
- package/dist/Tooltip/index.d.ts +7 -0
- package/dist/Tooltip/index.js.map +1 -1
- package/dist/Tooltip/index.scss +16 -0
- package/dist/core.css +914 -470
- package/dist/core.css.map +1 -1
- package/dist/core.min.css +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/dist/light.css +2035 -1315
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/dist/setupTest.d.ts +2 -0
- package/dist/setupTest.js.map +1 -0
- package/dist/utils/types/bootstrap.d.ts +39 -0
- package/dist/utils/types/bootstrap.js +2 -0
- package/dist/utils/types/bootstrap.js.map +1 -0
- package/lib/build-tokens.js +67 -31
- package/package.json +11 -8
- package/src/Annotation/index.scss +16 -0
- package/src/Button/{Button.test.jsx → Button.test.tsx} +14 -2
- package/src/Button/__snapshots__/{Button.test.jsx.snap → Button.test.tsx.snap} +19 -2
- package/src/Button/{index.jsx → index.tsx} +58 -16
- package/src/Card/CardDeck.jsx +0 -3
- package/src/Card/README.md +0 -31
- package/src/Card/index.scss +6 -6
- package/src/Carousel/index.scss +24 -1
- package/src/Chip/{Chip.test.jsx → Chip.test.tsx} +5 -7
- package/src/Chip/ChipIcon.tsx +8 -8
- package/src/Chip/{constants.js → constants.ts} +1 -1
- package/src/Chip/index.tsx +6 -8
- package/src/ChipCarousel/index.tsx +0 -2
- package/src/CloseButton/index.scss +8 -0
- package/src/ColorPicker/index.scss +1 -1
- package/src/DataTable/index.scss +12 -0
- package/src/Dropdown/dropdown-bootstrap.scss +6 -0
- package/src/Dropzone/index.scss +34 -0
- package/src/Form/_FormText.scss +1 -1
- package/src/Form/_bootstrap-custom-forms.scss +40 -0
- package/src/Form/_index.scss +9 -0
- package/src/Form/_mixins.scss +22 -0
- package/src/Hyperlink/{Hyperlink.test.jsx → Hyperlink.test.tsx} +21 -10
- package/src/Hyperlink/{index.jsx → index.tsx} +41 -37
- package/src/Icon/index.d.ts +4 -2
- package/src/Icon/index.jsx +1 -1
- package/src/IconButton/{IconButton.test.jsx → IconButton.test.tsx} +24 -3
- package/src/IconButton/__snapshots__/IconButton.test.tsx.snap +90 -0
- package/src/IconButton/index.scss +146 -0
- package/src/IconButton/{index.jsx → index.tsx} +66 -26
- package/src/Menu/index.scss +8 -0
- package/src/Modal/ModalDialog.jsx +7 -3
- package/src/Modal/ModalPopup.jsx +9 -1
- package/src/Modal/_ModalDialog.scss +26 -2
- package/src/Modal/modal-dialog.mdx +95 -6
- package/src/Modal/tests/ModalDialog.test.jsx +2 -0
- package/src/Modal/tests/ModalPopupNoMock.test.jsx +29 -0
- package/src/Nav/index.scss +8 -0
- package/src/Overlay/{index.jsx → index.tsx} +13 -8
- package/src/PageBanner/index.scss +2 -2
- package/src/Pagination/pagination-bootstrap.scss +9 -0
- package/src/Popover/index.scss +1 -1
- package/src/ProductTour/Checkpoint.scss +1 -1
- package/src/ProgressBar/bootstrap-progress.scss +20 -5
- package/src/ProgressBar/index.scss +3 -3
- package/src/Stepper/index.scss +1 -1
- package/src/Sticky/index.scss +12 -0
- package/src/Toast/index.scss +13 -1
- package/src/Tooltip/index.scss +16 -0
- package/src/Tooltip/{index.jsx → index.tsx} +9 -3
- package/src/index.d.ts +5 -5
- package/src/index.js +7 -7
- package/src/{setupTest.js → setupTest.ts} +1 -0
- package/src/utils/types/bootstrap.test.tsx +86 -0
- package/src/utils/types/bootstrap.ts +43 -0
- package/styles/css/core/abstraction-variables.css +44 -0
- package/styles/css/core/custom-media-breakpoints.css +3 -4
- package/styles/css/core/index.css +2 -1
- package/styles/css/core/variables.css +494 -430
- package/styles/css/themes/light/abstraction-variables.css +304 -0
- package/styles/css/themes/light/index.css +1 -0
- package/styles/css/themes/light/utility-classes.css +2 -3
- package/styles/css/themes/light/variables.css +1753 -1334
- package/styles/scss/core/_typography.scss +16 -4
- package/styles/scss/core/_utilities.scss +7 -3
- package/styles/scss/core/_variables.scss +43 -30
- package/styles/scss/core/core.scss +1 -0
- package/tokens/src/core/alias/size.json +6 -5
- package/tokens/src/core/components/ActionRow.json +3 -2
- package/tokens/src/core/components/Alert.json +12 -10
- package/tokens/src/core/components/Annotation.json +9 -7
- package/tokens/src/core/components/Avatar.json +9 -9
- package/tokens/src/core/components/AvatarButton.json +4 -3
- package/tokens/src/core/components/Badge.json +12 -9
- package/tokens/src/core/components/Breadcrumb.json +7 -5
- package/tokens/src/core/components/Bubble.json +4 -3
- package/tokens/src/core/components/Button/core.json +35 -59
- package/tokens/src/core/components/Card.json +33 -44
- package/tokens/src/core/components/Carousel.json +39 -13
- package/tokens/src/core/components/Chip.json +13 -21
- package/tokens/src/core/components/ChipCarousel.json +4 -5
- package/tokens/src/core/components/CloseButton.json +2 -6
- package/tokens/src/core/components/Code.json +9 -8
- package/tokens/src/core/components/Collapsible.json +10 -13
- package/tokens/src/core/components/ColorPicker.json +3 -2
- package/tokens/src/core/components/Container.json +6 -5
- package/tokens/src/core/components/DataTable.json +17 -9
- package/tokens/src/core/components/Dropdown.json +24 -29
- package/tokens/src/core/components/Dropzone.json +5 -7
- package/tokens/src/core/components/Form/other.json +5 -4
- package/tokens/src/core/components/Form/size.json +72 -119
- package/tokens/src/core/components/Form/spacing.json +39 -83
- package/tokens/src/core/components/Form/transition.json +43 -7
- package/tokens/src/core/components/Form/typography.json +24 -88
- package/tokens/src/core/components/Icon.json +6 -5
- package/tokens/src/core/components/IconButton.json +4 -7
- package/tokens/src/core/components/Image.json +7 -6
- package/tokens/src/core/components/Menu.json +14 -12
- package/tokens/src/core/components/Modal.json +26 -21
- package/tokens/src/core/components/Nav.json +14 -16
- package/tokens/src/core/components/Navbar.json +15 -30
- package/tokens/src/core/components/Pagination.json +23 -24
- package/tokens/src/core/components/Popover.json +18 -14
- package/tokens/src/core/components/ProductTour.json +8 -14
- package/tokens/src/core/components/ProgressBar.json +29 -14
- package/tokens/src/core/components/SearchField.json +7 -9
- package/tokens/src/core/components/SelectableBox.json +4 -3
- package/tokens/src/core/components/Sheet.json +3 -2
- package/tokens/src/core/components/Spinner.json +9 -7
- package/tokens/src/core/components/Stack.json +2 -1
- package/tokens/src/core/components/Stepper.json +12 -14
- package/tokens/src/core/components/Sticky.json +2 -1
- package/tokens/src/core/components/Tab.json +8 -7
- package/tokens/src/core/components/Tabs.json +5 -5
- package/tokens/src/core/components/Toast.json +11 -8
- package/tokens/src/core/components/Tooltip.json +13 -11
- package/tokens/src/core/components/general/caret.json +5 -3
- package/tokens/src/core/components/general/headings.json +5 -4
- package/tokens/src/core/components/general/hr.json +3 -2
- package/tokens/src/core/components/general/input.json +19 -19
- package/tokens/src/core/components/general/link.json +13 -12
- package/tokens/src/core/components/general/list.json +9 -6
- package/tokens/src/core/components/general/text.json +6 -12
- package/tokens/src/core/global/breakpoints.json +25 -6
- package/tokens/src/core/global/elevation.json +55 -13
- package/tokens/src/core/global/other.json +5 -1
- package/tokens/src/core/global/spacing.json +70 -17
- package/tokens/src/core/global/transition.json +41 -4
- package/tokens/src/core/global/typography.json +248 -53
- package/tokens/src/core/utilities/color.json +35 -4
- package/tokens/src/themes/light/alias/color.json +276 -75
- package/tokens/src/themes/light/components/Alert.json +15 -26
- package/tokens/src/themes/light/components/Annotation.json +27 -13
- package/tokens/src/themes/light/components/Avatar.json +2 -1
- package/tokens/src/themes/light/components/Badge.json +57 -122
- package/tokens/src/themes/light/components/Breadcrumb.json +6 -5
- package/tokens/src/themes/light/components/Bubble.json +9 -8
- package/tokens/src/themes/light/components/Button/brand.json +171 -119
- package/tokens/src/themes/light/components/Button/core.json +8 -9
- package/tokens/src/themes/light/components/Button/danger.json +171 -112
- package/tokens/src/themes/light/components/Button/dark.json +188 -106
- package/tokens/src/themes/light/components/Button/info.json +186 -112
- package/tokens/src/themes/light/components/Button/light.json +186 -110
- package/tokens/src/themes/light/components/Button/primary.json +178 -116
- package/tokens/src/themes/light/components/Button/secondary.json +166 -132
- package/tokens/src/themes/light/components/Button/success.json +176 -117
- package/tokens/src/themes/light/components/Button/tertiary.json +34 -60
- package/tokens/src/themes/light/components/Button/warning.json +164 -128
- package/tokens/src/themes/light/components/Card.json +10 -21
- package/tokens/src/themes/light/components/Carousel.json +12 -11
- package/tokens/src/themes/light/components/Chip.json +14 -26
- package/tokens/src/themes/light/components/CloseButton.json +12 -2
- package/tokens/src/themes/light/components/Code.json +7 -9
- package/tokens/src/themes/light/components/DataTable.json +7 -11
- package/tokens/src/themes/light/components/Dropdown.json +17 -20
- package/tokens/src/themes/light/components/Dropzone.json +49 -11
- package/tokens/src/themes/light/components/Form/color.json +101 -155
- package/tokens/src/themes/light/components/Form/elevation.json +38 -42
- package/tokens/src/themes/light/components/Form/other.json +44 -41
- package/tokens/src/themes/light/components/IconButton.json +408 -256
- package/tokens/src/themes/light/components/Image.json +7 -4
- package/tokens/src/themes/light/components/Menu.json +12 -10
- package/tokens/src/themes/light/components/Modal.json +22 -12
- package/tokens/src/themes/light/components/Nav.json +82 -94
- package/tokens/src/themes/light/components/Navbar.json +32 -76
- package/tokens/src/themes/light/components/OverflowScroll.json +3 -1
- package/tokens/src/themes/light/components/PageBanner.json +11 -10
- package/tokens/src/themes/light/components/Pagination.json +19 -23
- package/tokens/src/themes/light/components/Popover.json +22 -27
- package/tokens/src/themes/light/components/ProductTour.json +9 -20
- package/tokens/src/themes/light/components/ProgressBar.json +12 -10
- package/tokens/src/themes/light/components/Scrollable.json +3 -3
- package/tokens/src/themes/light/components/SearchField.json +9 -9
- package/tokens/src/themes/light/components/Sheet.json +6 -7
- package/tokens/src/themes/light/components/Stepper.json +12 -17
- package/tokens/src/themes/light/components/Sticky.json +31 -6
- package/tokens/src/themes/light/components/Tab.json +47 -24
- package/tokens/src/themes/light/components/Toast.json +26 -14
- package/tokens/src/themes/light/components/Tooltip.json +25 -10
- package/tokens/src/themes/light/components/general/body.json +3 -2
- package/tokens/src/themes/light/components/general/headings.json +2 -1
- package/tokens/src/themes/light/components/general/hr.json +3 -6
- package/tokens/src/themes/light/components/general/input.json +11 -4
- package/tokens/src/themes/light/components/general/link.json +34 -43
- package/tokens/src/themes/light/components/general/list.json +15 -19
- package/tokens/src/themes/light/components/general/text.json +5 -6
- package/tokens/src/themes/light/global/color.json +1592 -867
- package/tokens/src/themes/light/global/elevation.json +481 -93
- package/tokens/style-dictionary.js +342 -144
- package/tokens/utils.js +176 -6
- package/src/IconButton/__snapshots__/IconButton.test.jsx.snap +0 -20
- package/tokens/src/core/global/display.json +0 -22
- /package/src/Button/{ButtonGroup.test.jsx → ButtonGroup.test.tsx} +0 -0
- /package/src/Button/{ButtonToolbar.test.jsx → ButtonToolbar.test.tsx} +0 -0
- /package/src/Button/__snapshots__/{ButtonGroup.test.jsx.snap → ButtonGroup.test.tsx.snap} +0 -0
- /package/src/Button/__snapshots__/{ButtonToolbar.test.jsx.snap → ButtonToolbar.test.tsx.snap} +0 -0
- /package/src/Chip/__snapshots__/{Chip.test.jsx.snap → Chip.test.tsx.snap} +0 -0
- /package/src/Tooltip/{Tooltip.test.jsx → Tooltip.test.tsx} +0 -0
|
@@ -31,10 +31,13 @@ label for the dialog element.
|
|
|
31
31
|
const variants = ['default', 'warning', 'danger', 'success', 'dark'];
|
|
32
32
|
const [modalSize, setModalSize] = useState('md');
|
|
33
33
|
const [modalVariant, setModalVariant] = useState('default');
|
|
34
|
+
|
|
34
35
|
return (
|
|
35
36
|
<>
|
|
36
37
|
<div className="d-flex">
|
|
37
|
-
<Button variant="outline-primary" onClick={open}>
|
|
38
|
+
<Button variant="outline-primary" onClick={open}>
|
|
39
|
+
Open standard modal dialog
|
|
40
|
+
</Button>
|
|
38
41
|
</div>
|
|
39
42
|
<ModalDialog
|
|
40
43
|
title="My dialog"
|
|
@@ -44,6 +47,7 @@ label for the dialog element.
|
|
|
44
47
|
variant={modalVariant}
|
|
45
48
|
hasCloseButton
|
|
46
49
|
isFullscreenOnMobile
|
|
50
|
+
isOverflowVisible
|
|
47
51
|
>
|
|
48
52
|
<ModalDialog.Header>
|
|
49
53
|
<ModalDialog.Title>
|
|
@@ -73,7 +77,11 @@ label for the dialog element.
|
|
|
73
77
|
</Form.RadioSet>
|
|
74
78
|
</Form.Group>
|
|
75
79
|
<p>
|
|
76
|
-
I'm baby palo santo ugh celiac fashion axe. La croix lo-fi venmo whatever.
|
|
80
|
+
I'm baby palo santo ugh celiac fashion axe. La croix lo-fi venmo whatever.
|
|
81
|
+
Beard man braid migas single-origin coffee forage ramps. Tumeric messenger
|
|
82
|
+
bag bicycle rights wayfarers, try-hard cronut blue bottle health goth.
|
|
83
|
+
Sriracha tumblr cardigan, cloud bread succulents tumeric copper mug marfa
|
|
84
|
+
semiotics woke next level organic roof party +1 try-hard.
|
|
77
85
|
</p>
|
|
78
86
|
</ModalDialog.Body>
|
|
79
87
|
|
|
@@ -82,7 +90,7 @@ label for the dialog element.
|
|
|
82
90
|
<ModalDialog.CloseButton variant="tertiary">
|
|
83
91
|
Cancel
|
|
84
92
|
</ModalDialog.CloseButton>
|
|
85
|
-
<Button
|
|
93
|
+
<Button>
|
|
86
94
|
A button
|
|
87
95
|
</Button>
|
|
88
96
|
</ActionRow>
|
|
@@ -102,10 +110,13 @@ label for the dialog element.
|
|
|
102
110
|
const variants = ['default', 'warning', 'danger', 'success', 'dark'];
|
|
103
111
|
const [modalSize, setModalSize] = useState('md');
|
|
104
112
|
const [modalVariant, setModalVariant] = useState('dark');
|
|
113
|
+
|
|
105
114
|
return (
|
|
106
115
|
<>
|
|
107
116
|
<div className="d-flex">
|
|
108
|
-
<Button variant="outline-primary" onClick={open}>
|
|
117
|
+
<Button variant="outline-primary" onClick={open}>
|
|
118
|
+
Open marketing modal dialog
|
|
119
|
+
</Button>
|
|
109
120
|
</div>
|
|
110
121
|
<ModalDialog
|
|
111
122
|
title="My dialog"
|
|
@@ -114,6 +125,7 @@ label for the dialog element.
|
|
|
114
125
|
size={modalSize}
|
|
115
126
|
variant={modalVariant}
|
|
116
127
|
hasCloseButton
|
|
128
|
+
isOverflowVisible
|
|
117
129
|
>
|
|
118
130
|
<ModalDialog.Hero>
|
|
119
131
|
<ModalDialog.Hero.Background
|
|
@@ -144,7 +156,11 @@ label for the dialog element.
|
|
|
144
156
|
</Form.RadioSet>
|
|
145
157
|
</Form.Group>
|
|
146
158
|
<p>
|
|
147
|
-
I'm baby palo santo ugh celiac fashion axe. La croix lo-fi venmo whatever.
|
|
159
|
+
I'm baby palo santo ugh celiac fashion axe. La croix lo-fi venmo whatever.
|
|
160
|
+
Beard man braid migas single-origin coffee forage ramps. Tumeric messenger
|
|
161
|
+
bag bicycle rights wayfarers, try-hard cronut blue bottle health goth.
|
|
162
|
+
Sriracha tumblr cardigan, cloud bread succulents tumeric copper mug marfa
|
|
163
|
+
semiotics woke next level organic roof party +1 try-hard.
|
|
148
164
|
</p>
|
|
149
165
|
</ModalDialog.Body>
|
|
150
166
|
|
|
@@ -153,7 +169,80 @@ label for the dialog element.
|
|
|
153
169
|
<ModalDialog.CloseButton variant="tertiary">
|
|
154
170
|
Cancel
|
|
155
171
|
</ModalDialog.CloseButton>
|
|
156
|
-
<Button
|
|
172
|
+
<Button>
|
|
173
|
+
A button
|
|
174
|
+
</Button>
|
|
175
|
+
</ActionRow>
|
|
176
|
+
</ModalDialog.Footer>
|
|
177
|
+
</ModalDialog>
|
|
178
|
+
</>
|
|
179
|
+
)
|
|
180
|
+
}
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
## Overflow visibility handling
|
|
184
|
+
|
|
185
|
+
The `isOverflowVisible` toggle controls whether content that extends beyond the modal's viewport boundaries is visible.
|
|
186
|
+
When enabled (`isOverflowVisible` is set to `true`), any overflow content, such as dropdowns or tooltips,
|
|
187
|
+
will be displayed outside the modal's main area instead of being clipped.
|
|
188
|
+
|
|
189
|
+
In this example, switching `isOverflowVisible` on and off affects the visibility of the dropdown options in
|
|
190
|
+
the autosuggest field, showing how overflow handling impacts content display within a modal.
|
|
191
|
+
|
|
192
|
+
```jsx live
|
|
193
|
+
() => {
|
|
194
|
+
const [isOpen, open, close] = useToggle(false);
|
|
195
|
+
const [isOn, setOn, setOff, toggle] = useToggle(false);
|
|
196
|
+
|
|
197
|
+
return (
|
|
198
|
+
<>
|
|
199
|
+
<div className="d-flex">
|
|
200
|
+
<Button variant="outline-primary" onClick={open}>
|
|
201
|
+
Open standard modal dialog
|
|
202
|
+
</Button>
|
|
203
|
+
</div>
|
|
204
|
+
<ModalDialog
|
|
205
|
+
title="My dialog"
|
|
206
|
+
isOpen={isOpen}
|
|
207
|
+
onClose={close}
|
|
208
|
+
hasCloseButton
|
|
209
|
+
isFullscreenOnMobile
|
|
210
|
+
isOverflowVisible={isOn}
|
|
211
|
+
>
|
|
212
|
+
<ModalDialog.Header>
|
|
213
|
+
<ModalDialog.Title>
|
|
214
|
+
I'm a dialog box
|
|
215
|
+
</ModalDialog.Title>
|
|
216
|
+
</ModalDialog.Header>
|
|
217
|
+
|
|
218
|
+
<ModalDialog.Body>
|
|
219
|
+
<Stack className="mb-3" direction="horizontal" gap={2}>
|
|
220
|
+
<Form.Switch checked={isOn} onChange={toggle}>
|
|
221
|
+
isOverflowVisible
|
|
222
|
+
</Form.Switch>
|
|
223
|
+
{isOn
|
|
224
|
+
? <Badge variant="success">{JSON.stringify(isOn)}</Badge>
|
|
225
|
+
: <Badge variant="light">{JSON.stringify(isOn)}</Badge>
|
|
226
|
+
}
|
|
227
|
+
</Stack>
|
|
228
|
+
<Form.Autosuggest
|
|
229
|
+
aria-label="form autosuggest"
|
|
230
|
+
helpMessage="Select language"
|
|
231
|
+
placeholder="Open autosuggest dropdown"
|
|
232
|
+
>
|
|
233
|
+
<Form.AutosuggestOption id="javascript-option-id">JavaScript</Form.AutosuggestOption>
|
|
234
|
+
<Form.AutosuggestOption id="python-option-id">Python</Form.AutosuggestOption>
|
|
235
|
+
<Form.AutosuggestOption id="ruby-option-id">Ruby</Form.AutosuggestOption>
|
|
236
|
+
<Form.AutosuggestOption id="c-option-id">C</Form.AutosuggestOption>
|
|
237
|
+
</Form.Autosuggest>
|
|
238
|
+
</ModalDialog.Body>
|
|
239
|
+
|
|
240
|
+
<ModalDialog.Footer>
|
|
241
|
+
<ActionRow>
|
|
242
|
+
<ModalDialog.CloseButton variant="tertiary">
|
|
243
|
+
Cancel
|
|
244
|
+
</ModalDialog.CloseButton>
|
|
245
|
+
<Button>
|
|
157
246
|
A button
|
|
158
247
|
</Button>
|
|
159
248
|
</ActionRow>
|
|
@@ -24,6 +24,7 @@ describe('ModalDialog', () => {
|
|
|
24
24
|
size="md"
|
|
25
25
|
variant="default"
|
|
26
26
|
hasCloseButton
|
|
27
|
+
isOverflowVisible
|
|
27
28
|
>
|
|
28
29
|
<ModalDialog.Header>
|
|
29
30
|
<ModalDialog.Title>The title</ModalDialog.Title>
|
|
@@ -58,6 +59,7 @@ describe('ModalDialog with Hero', () => {
|
|
|
58
59
|
size="md"
|
|
59
60
|
variant="default"
|
|
60
61
|
hasCloseButton
|
|
62
|
+
isOverflowVisible
|
|
61
63
|
>
|
|
62
64
|
<ModalDialog.Hero>
|
|
63
65
|
<ModalDialog.Hero.Background backgroundSrc="imageurl" />
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { fireEvent, render } from '@testing-library/react';
|
|
3
|
+
import userEvent from '@testing-library/user-event';
|
|
4
|
+
import ModalPopup from '../ModalPopup';
|
|
5
|
+
|
|
6
|
+
describe('<ModalPopup />', () => {
|
|
7
|
+
const mockPositionRef = React.createRef();
|
|
8
|
+
|
|
9
|
+
describe('when isOpen', () => {
|
|
10
|
+
const isOpen = true;
|
|
11
|
+
const closeFn = jest.fn();
|
|
12
|
+
|
|
13
|
+
it('calls close on click events but not touchstart events', async () => {
|
|
14
|
+
render(
|
|
15
|
+
<ModalPopup
|
|
16
|
+
positionRef={mockPositionRef}
|
|
17
|
+
isOpen={isOpen}
|
|
18
|
+
onClose={closeFn}
|
|
19
|
+
>
|
|
20
|
+
<div>Modal Contents</div>
|
|
21
|
+
</ModalPopup>,
|
|
22
|
+
);
|
|
23
|
+
await fireEvent.touchStart(document.body);
|
|
24
|
+
expect(closeFn).not.toHaveBeenCalled();
|
|
25
|
+
await userEvent.click(document.body);
|
|
26
|
+
expect(closeFn).toHaveBeenCalled();
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
});
|
package/src/Nav/index.scss
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
@import "mixins";
|
|
2
2
|
|
|
3
|
+
:root {
|
|
4
|
+
--pgn-border-color-nav-tabs-link-border-hover:
|
|
5
|
+
var(--pgn-border-color-nav-tabs-link-border-hover-top)
|
|
6
|
+
var(--pgn-border-color-nav-tabs-link-border-hover-right)
|
|
7
|
+
var(--pgn-border-color-nav-tabs-link-border-hover-bottom)
|
|
8
|
+
var(--pgn-border-color-nav-tabs-link-border-hover-left);
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
// Base class
|
|
4
12
|
//
|
|
5
13
|
// Kickstart any navigation component with a set of style resets. Works with
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import BaseOverlay from 'react-bootstrap/Overlay';
|
|
3
|
-
import BaseOverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
2
|
+
import BaseOverlay, { type OverlayProps, type Placement } from 'react-bootstrap/Overlay';
|
|
3
|
+
import BaseOverlayTrigger, { type OverlayTriggerProps, type OverlayTriggerType } from 'react-bootstrap/OverlayTrigger';
|
|
4
|
+
import Fade from 'react-bootstrap/Fade';
|
|
4
5
|
import PropTypes from 'prop-types';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
// Note: The only thing this file adds to the base component is propTypes validation.
|
|
8
|
+
// As more Paragon consumers adopt TypeScript, we could consider removing almost all of this code
|
|
9
|
+
// and just re-export the Overlay and OverlayTrigger components from react-bootstrap unmodified.
|
|
10
|
+
|
|
11
|
+
const PLACEMENT_VARIANTS: Placement[] = [
|
|
7
12
|
'auto-start',
|
|
8
13
|
'auto',
|
|
9
14
|
'auto-end',
|
|
@@ -21,16 +26,16 @@ const PLACEMENT_VARIANTS = [
|
|
|
21
26
|
'left-start',
|
|
22
27
|
];
|
|
23
28
|
|
|
24
|
-
const TRIGGER_VARIANTS = [
|
|
29
|
+
const TRIGGER_VARIANTS: OverlayTriggerType[] = [
|
|
25
30
|
'hover',
|
|
26
31
|
'click',
|
|
27
32
|
'focus',
|
|
28
33
|
];
|
|
29
34
|
|
|
30
|
-
function Overlay(props) {
|
|
35
|
+
function Overlay(props: OverlayProps) {
|
|
31
36
|
return <BaseOverlay {...props} />;
|
|
32
37
|
}
|
|
33
|
-
function OverlayTrigger(props) {
|
|
38
|
+
function OverlayTrigger(props: OverlayTriggerProps) {
|
|
34
39
|
return (
|
|
35
40
|
<BaseOverlayTrigger {...props}>
|
|
36
41
|
{props.children}
|
|
@@ -88,7 +93,7 @@ Overlay.propTypes = {
|
|
|
88
93
|
* Animate the entering and exiting of the Overlay. `true` will use the `<Fade>` transition,
|
|
89
94
|
* or a custom react-transition-group `<Transition>` component can be provided.
|
|
90
95
|
*/
|
|
91
|
-
transition: PropTypes.oneOfType([PropTypes.
|
|
96
|
+
transition: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),
|
|
92
97
|
};
|
|
93
98
|
|
|
94
99
|
OverlayTrigger.propTypes = {
|
|
@@ -144,7 +149,7 @@ Overlay.defaultProps = {
|
|
|
144
149
|
rootCloseEvent: undefined,
|
|
145
150
|
show: false,
|
|
146
151
|
target: undefined,
|
|
147
|
-
transition:
|
|
152
|
+
transition: Fade,
|
|
148
153
|
};
|
|
149
154
|
|
|
150
155
|
OverlayTrigger.defaultProps = {
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
min-height: 36px;
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-wrap: nowrap;
|
|
7
|
-
font-size: var(--pgn-typography-font-size-
|
|
7
|
+
font-size: var(--pgn-typography-font-size-xs);
|
|
8
8
|
background-color: var(--pgn-page-baner-bg, inherit);
|
|
9
9
|
color: var(--pgn-page-baner-color, inherit);
|
|
10
10
|
|
|
11
11
|
@include media-breakpoint-up(md) {
|
|
12
|
-
font-size: var(--pgn-typography-font-size-
|
|
12
|
+
font-size: var(--pgn-typography-font-size-sm);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pgn-elevation-pagination-focus-box-shadow:
|
|
3
|
+
var(--pgn-elevation-pagination-focus-box-shadow-offset-x)
|
|
4
|
+
var(--pgn-elevation-pagination-focus-box-shadow-offset-y)
|
|
5
|
+
var(--pgn-elevation-pagination-focus-box-shadow-blur)
|
|
6
|
+
var(--pgn-elevation-pagination-focus-box-shadow-spread)
|
|
7
|
+
var(--pgn-elevation-pagination-focus-box-shadow-color);
|
|
8
|
+
}
|
|
9
|
+
|
|
1
10
|
.pagination {
|
|
2
11
|
display: flex;
|
|
3
12
|
|
package/src/Popover/index.scss
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pgn-transition-progress-bar-animation-timing:
|
|
3
|
+
var(--pgn-transition-progress-bar-animation-timing-duration)
|
|
4
|
+
var(--pgn-transition-progress-bar-animation-timing-timing-function)
|
|
5
|
+
var(--pgn-transition-progress-bar-animation-timing-iteration-count)
|
|
6
|
+
var(--pgn-transition-progress-bar-animation-timing-delay);
|
|
7
|
+
|
|
8
|
+
--pgn-transition-progress-bar-transition:
|
|
9
|
+
var(--pgn-transition-progress-bar-transition-property)
|
|
10
|
+
var(--pgn-transition-progress-bar-transition-duration)
|
|
11
|
+
var(--pgn-transition-progress-bar-transition-timing-function)
|
|
12
|
+
var(--pgn-transition-progress-bar-transition-delay)
|
|
13
|
+
var(--pgn-transition-progress-bar-transition-behavior);
|
|
14
|
+
}
|
|
15
|
+
|
|
1
16
|
@if $enable-transitions {
|
|
2
17
|
@keyframes progress-bar-stripes {
|
|
3
18
|
from { background-position: var(--pgn-size-progress-bar-height-base) 0; }
|
|
@@ -10,7 +25,7 @@
|
|
|
10
25
|
height: var(--pgn-size-progress-bar-height-base);
|
|
11
26
|
overflow: hidden;
|
|
12
27
|
line-height: 0;
|
|
13
|
-
background-color: var(--pgn-color-progress-
|
|
28
|
+
background-color: var(--pgn-color-progress-bg);
|
|
14
29
|
box-shadow: var(--pgn-elevation-progress-bar-box-shadow);
|
|
15
30
|
|
|
16
31
|
@include font-size(var(--pgn-typography-progress-bar-font-size));
|
|
@@ -22,12 +37,12 @@
|
|
|
22
37
|
flex-direction: column;
|
|
23
38
|
justify-content: center;
|
|
24
39
|
overflow: hidden;
|
|
25
|
-
color: var(--pgn-color-progress-bar-
|
|
40
|
+
color: var(--pgn-color-progress-bar-base);
|
|
26
41
|
text-align: center;
|
|
27
42
|
white-space: nowrap;
|
|
28
|
-
background-color: var(--pgn-color-progress-bar-
|
|
43
|
+
background-color: var(--pgn-color-progress-bar-bg-base);
|
|
29
44
|
|
|
30
|
-
@include transition(var(--pgn-transition-progress-bar-
|
|
45
|
+
@include transition(var(--pgn-transition-progress-bar-transition));
|
|
31
46
|
}
|
|
32
47
|
|
|
33
48
|
.progress-bar-striped {
|
|
@@ -38,7 +53,7 @@
|
|
|
38
53
|
|
|
39
54
|
@if $enable-transitions {
|
|
40
55
|
.progress-bar-animated {
|
|
41
|
-
animation: var(--pgn-transition-progress-bar-
|
|
56
|
+
animation: var(--pgn-transition-progress-bar-animation-timing) progress-bar-stripes;
|
|
42
57
|
|
|
43
58
|
@if $enable-prefers-reduced-motion-media-query {
|
|
44
59
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.progress-bar {
|
|
9
|
-
background-color: var(--pgn-color-progress-bar-
|
|
9
|
+
background-color: var(--pgn-color-progress-bar-bg-base);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.pgn__progress-annotated {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
border: none;
|
|
23
23
|
|
|
24
24
|
.progress-bar {
|
|
25
|
-
background-color: var(--pgn-color-progress-bar-
|
|
25
|
+
background-color: var(--pgn-color-progress-bar-bg-annotated);
|
|
26
26
|
overflow: visible;
|
|
27
27
|
position: relative;
|
|
28
28
|
}
|
|
@@ -87,6 +87,6 @@
|
|
|
87
87
|
.pgn__progress-hint {
|
|
88
88
|
box-sizing: border-box;
|
|
89
89
|
padding: 0 var(--pgn-spacing-progress-bar-hint-annotation-gap);
|
|
90
|
-
font-size: var(--pgn-typography-font-size-
|
|
90
|
+
font-size: var(--pgn-typography-font-size-sm);
|
|
91
91
|
}
|
|
92
92
|
}
|
package/src/Stepper/index.scss
CHANGED
package/src/Sticky/index.scss
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pgn-elevation-sticky-shadow-bottom:
|
|
3
|
+
var(--pgn-elevation-sticky-shadow-bottom-1-offset-x)
|
|
4
|
+
var(--pgn-elevation-sticky-shadow-bottom-1-offset-y)
|
|
5
|
+
var(--pgn-elevation-sticky-shadow-bottom-1-blur)
|
|
6
|
+
var(--pgn-elevation-sticky-shadow-bottom-1-color),
|
|
7
|
+
var(--pgn-elevation-sticky-shadow-bottom-2-offset-x)
|
|
8
|
+
var(--pgn-elevation-sticky-shadow-bottom-2-offset-y)
|
|
9
|
+
var(--pgn-elevation-sticky-shadow-bottom-2-blur)
|
|
10
|
+
var(--pgn-elevation-sticky-shadow-bottom-2-color);
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
.pgn__sticky {
|
|
2
14
|
display: flex;
|
|
3
15
|
width: 100%;
|
package/src/Toast/index.scss
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
@import "bootstrap-toast";
|
|
2
2
|
|
|
3
|
+
:root {
|
|
4
|
+
--pgn-elevation-toast-box-shadow:
|
|
5
|
+
var(--pgn-elevation-toast-box-shadow-1-offset-x)
|
|
6
|
+
var(--pgn-elevation-toast-box-shadow-1-offset-y)
|
|
7
|
+
var(--pgn-elevation-toast-box-shadow-1-blur)
|
|
8
|
+
var(--pgn-elevation-toast-box-shadow-1-color),
|
|
9
|
+
var(--pgn-elevation-toast-box-shadow-2-offset-x)
|
|
10
|
+
var(--pgn-elevation-toast-box-shadow-2-offset-y)
|
|
11
|
+
var(--pgn-elevation-toast-box-shadow-2-blur)
|
|
12
|
+
var(--pgn-elevation-toast-box-shadow-2-color);
|
|
13
|
+
}
|
|
14
|
+
|
|
3
15
|
.toast {
|
|
4
16
|
background-color: var(--pgn-color-toast-bg);
|
|
5
17
|
box-shadow: var(--pgn-elevation-toast-box-shadow);
|
|
@@ -31,7 +43,7 @@
|
|
|
31
43
|
padding: 0;
|
|
32
44
|
|
|
33
45
|
p {
|
|
34
|
-
font-size: var(--pgn-typography-font-size-
|
|
46
|
+
font-size: var(--pgn-typography-font-size-sm);
|
|
35
47
|
margin: 0;
|
|
36
48
|
padding-right: .75rem;
|
|
37
49
|
}
|
package/src/Tooltip/index.scss
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pgn-elevation-tooltip-box-shadow:
|
|
3
|
+
drop-shadow(
|
|
4
|
+
var(--pgn-elevation-tooltip-box-shadow-1-offset-x)
|
|
5
|
+
var(--pgn-elevation-tooltip-box-shadow-1-offset-y)
|
|
6
|
+
var(--pgn-elevation-tooltip-box-shadow-1-blur)
|
|
7
|
+
var(--pgn-elevation-tooltip-box-shadow-1-color)
|
|
8
|
+
)
|
|
9
|
+
drop-shadow(
|
|
10
|
+
var(--pgn-elevation-tooltip-box-shadow-2-offset-x)
|
|
11
|
+
var(--pgn-elevation-tooltip-box-shadow-2-offset-y)
|
|
12
|
+
var(--pgn-elevation-tooltip-box-shadow-2-blur)
|
|
13
|
+
var(--pgn-elevation-tooltip-box-shadow-2-color)
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
1
17
|
// Base class
|
|
2
18
|
.tooltip {
|
|
3
19
|
position: absolute;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
|
-
import BaseTooltip from 'react-bootstrap/Tooltip';
|
|
4
|
+
import BaseTooltip, { type TooltipProps as BaseTooltipProps } from 'react-bootstrap/Tooltip';
|
|
5
|
+
import { type Placement } from 'react-bootstrap/Overlay';
|
|
6
|
+
import type { ComponentWithAsProp } from '../utils/types/bootstrap';
|
|
5
7
|
|
|
6
|
-
|
|
8
|
+
interface TooltipProps extends BaseTooltipProps {
|
|
9
|
+
variant?: 'light';
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const PLACEMENT_VARIANTS: Placement[] = [
|
|
7
13
|
'auto-start',
|
|
8
14
|
'auto',
|
|
9
15
|
'auto-end',
|
|
@@ -21,7 +27,7 @@ const PLACEMENT_VARIANTS = [
|
|
|
21
27
|
'left-start',
|
|
22
28
|
];
|
|
23
29
|
|
|
24
|
-
const Tooltip = React.forwardRef(({
|
|
30
|
+
const Tooltip: ComponentWithAsProp<'div', TooltipProps> = React.forwardRef(({
|
|
25
31
|
children,
|
|
26
32
|
variant,
|
|
27
33
|
...props
|
package/src/index.d.ts
CHANGED
|
@@ -5,9 +5,14 @@
|
|
|
5
5
|
// Things that have types
|
|
6
6
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
7
7
|
export { default as Bubble } from './Bubble';
|
|
8
|
+
export { default as Button, ButtonGroup, ButtonToolbar } from './Button';
|
|
8
9
|
export { default as Chip, CHIP_PGN_CLASS } from './Chip';
|
|
9
10
|
export { default as ChipCarousel } from './ChipCarousel';
|
|
11
|
+
export { default as Hyperlink, HYPER_LINK_EXTERNAL_LINK_ALT_TEXT, HYPER_LINK_EXTERNAL_LINK_TITLE } from './Hyperlink';
|
|
10
12
|
export { default as Icon } from './Icon';
|
|
13
|
+
export { default as IconButton, IconButtonWithTooltip } from './IconButton';
|
|
14
|
+
export { default as Overlay, OverlayTrigger } from './Overlay';
|
|
15
|
+
export { default as Tooltip } from './Tooltip';
|
|
11
16
|
|
|
12
17
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
13
18
|
// Things that don't have types
|
|
@@ -20,7 +25,6 @@ export const Avatar: any; // from './Avatar';
|
|
|
20
25
|
export const AvatarButton: any; // from './AvatarButton';
|
|
21
26
|
export const Badge: any; // from './Badge';
|
|
22
27
|
export const Breadcrumb: any; // from './Breadcrumb';
|
|
23
|
-
export const Button: any, ButtonGroup: any, ButtonToolbar: any; // from './Button';
|
|
24
28
|
export const
|
|
25
29
|
Card: any,
|
|
26
30
|
CardColumns: any,
|
|
@@ -72,8 +76,6 @@ export const
|
|
|
72
76
|
FormAutosuggestOption: any,
|
|
73
77
|
InputGroup: any;
|
|
74
78
|
// from './Form';
|
|
75
|
-
export const Hyperlink: any, HYPER_LINK_EXTERNAL_LINK_ALT_TEXT: string, HYPER_LINK_EXTERNAL_LINK_TITLE: string; // from './Hyperlink';
|
|
76
|
-
export const IconButton: any, IconButtonWithTooltip: any; // from './IconButton';
|
|
77
79
|
export const IconButtonToggle: any; // from './IconButtonToggle';
|
|
78
80
|
export const Input: any; // from './Input';
|
|
79
81
|
export const InputSelect: any; // from './InputSelect';
|
|
@@ -106,7 +108,6 @@ export const
|
|
|
106
108
|
NavLink: any;
|
|
107
109
|
// from './Nav';
|
|
108
110
|
export const Navbar: any, NavbarBrand: any, NAVBAR_LABEL: string; // from './Navbar';
|
|
109
|
-
export const Overlay: any, OverlayTrigger: any; // from './Overlay';
|
|
110
111
|
export const PageBanner: any, PAGE_BANNER_DISMISS_ALT_TEXT: string; // from './PageBanner';
|
|
111
112
|
export const
|
|
112
113
|
Pagination: any,
|
|
@@ -145,7 +146,6 @@ export const
|
|
|
145
146
|
// from './Tabs';
|
|
146
147
|
export const TextArea: any; // from './TextArea';
|
|
147
148
|
export const Toast: any, TOAST_CLOSE_LABEL_TEXT: string, TOAST_DELAY: number; // from './Toast';
|
|
148
|
-
export const Tooltip: any; // from './Tooltip';
|
|
149
149
|
export const ValidationFormGroup: any; // from './ValidationFormGroup';
|
|
150
150
|
export const TransitionReplace: any; // from './TransitionReplace';
|
|
151
151
|
export const ValidationMessage: any; // from './ValidationMessage';
|
package/src/index.js
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
//
|
|
2
|
-
// and each line number is the same
|
|
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
3
|
|
|
4
4
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
5
5
|
// Things that have types
|
|
6
6
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
7
7
|
export { default as Bubble } from './Bubble';
|
|
8
|
+
export { default as Button, ButtonGroup, ButtonToolbar } from './Button';
|
|
8
9
|
export { default as Chip, CHIP_PGN_CLASS } from './Chip';
|
|
9
10
|
export { default as ChipCarousel } from './ChipCarousel';
|
|
11
|
+
export { default as Hyperlink, HYPER_LINK_EXTERNAL_LINK_ALT_TEXT, HYPER_LINK_EXTERNAL_LINK_TITLE } from './Hyperlink';
|
|
10
12
|
export { default as Icon } from './Icon';
|
|
13
|
+
export { default as IconButton, IconButtonWithTooltip } from './IconButton';
|
|
14
|
+
export { default as Overlay, OverlayTrigger } from './Overlay';
|
|
15
|
+
export { default as Tooltip } from './Tooltip';
|
|
11
16
|
|
|
12
17
|
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
|
13
18
|
// Things that don't have types
|
|
@@ -20,7 +25,6 @@ export { default as Avatar } from './Avatar';
|
|
|
20
25
|
export { default as AvatarButton } from './AvatarButton';
|
|
21
26
|
export { default as Badge } from './Badge';
|
|
22
27
|
export { default as Breadcrumb } from './Breadcrumb';
|
|
23
|
-
export { default as Button, ButtonGroup, ButtonToolbar } from './Button';
|
|
24
28
|
export {
|
|
25
29
|
default as Card,
|
|
26
30
|
CardColumns,
|
|
@@ -69,8 +73,6 @@ export {
|
|
|
69
73
|
FormAutosuggestOption,
|
|
70
74
|
InputGroup,
|
|
71
75
|
} from './Form';
|
|
72
|
-
export { default as Hyperlink, HYPER_LINK_EXTERNAL_LINK_ALT_TEXT, HYPER_LINK_EXTERNAL_LINK_TITLE } from './Hyperlink';
|
|
73
|
-
export { default as IconButton, IconButtonWithTooltip } from './IconButton';
|
|
74
76
|
export { default as IconButtonToggle } from './IconButtonToggle';
|
|
75
77
|
export { default as Image, Figure } from './Image';
|
|
76
78
|
export { default as MailtoLink, MAIL_TO_LINK_EXTERNAL_LINK_ALTERNATIVE_TEXT, MAIL_TO_LINK_EXTERNAL_LINK_TITLE } from './MailtoLink';
|
|
@@ -97,7 +99,6 @@ export {
|
|
|
97
99
|
NavLink,
|
|
98
100
|
} from './Nav';
|
|
99
101
|
export { default as Navbar, NavbarBrand, NAVBAR_LABEL } from './Navbar';
|
|
100
|
-
export { default as Overlay, OverlayTrigger } from './Overlay';
|
|
101
102
|
export { default as PageBanner, PAGE_BANNER_DISMISS_ALT_TEXT } from './PageBanner';
|
|
102
103
|
export {
|
|
103
104
|
default as Pagination,
|
|
@@ -132,7 +133,6 @@ export {
|
|
|
132
133
|
TabPane,
|
|
133
134
|
} from './Tabs';
|
|
134
135
|
export { default as Toast, TOAST_CLOSE_LABEL_TEXT, TOAST_DELAY } from './Toast';
|
|
135
|
-
export { default as Tooltip } from './Tooltip';
|
|
136
136
|
export { default as TransitionReplace } from './TransitionReplace';
|
|
137
137
|
export { default as ValidationMessage } from './ValidationMessage';
|
|
138
138
|
export { default as DataTable } from './DataTable';
|