@madie/madie-design-system 1.2.62 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +14 -2
- package/.eslintrc.js +1 -1
- package/.storybook/.babelrc +2 -1
- package/.storybook/main.js +3 -11
- package/.storybook/preview.js +1 -1
- package/components/Accordion/index.jsx +32 -36
- package/components/AutoComplete/AutoComplete.jsx +2 -17
- package/components/Button/Button.stories.js +0 -7
- package/components/Button/index.js +34 -44
- package/components/DateField/DateField.jsx +2 -15
- package/components/DateField/DateField.stories.jsx +23 -10
- package/components/DateTimeField/DateTimeField.jsx +7 -11
- package/components/DateTimeField/DateTimeField.stories.jsx +29 -19
- package/components/InputLabel/index.jsx +1 -6
- package/components/Instant/Instant.stories.js +14 -6
- package/components/Instant/index.jsx +0 -16
- package/components/Link/index.js +14 -33
- package/components/MadieAlert/MadieAlert.stories.js +35 -29
- package/components/MadieAlert/index.jsx +5 -44
- package/components/MadieConfirmDialog/MadieConfirmDialog.stories.js +17 -32
- package/components/MadieConfirmDialog/index.jsx +0 -8
- package/components/MadieDeleteDialog/MadieDeleteDialog.stories.js +9 -24
- package/components/MadieDeleteDialog/index.jsx +0 -7
- package/components/MadieDialog/MadieDialog.stories.js +45 -121
- package/components/MadieDialog/index.jsx +4 -23
- package/components/MadieDiscardDialog/MadieDiscardDialog.stories.js +5 -12
- package/components/MadieDiscardDialog/index.jsx +0 -7
- package/components/MadieSpinner/MadieSpinner.stories.js +1 -9
- package/components/MadieSpinner/index.jsx +0 -5
- package/components/MadieTooltip/MadieTooltip.stories.js +7 -2
- package/components/MadieTooltip/index.jsx +0 -6
- package/components/MadieTooltipIcon/index.jsx +0 -5
- package/components/Modal/Modal.jsx +31 -43
- package/components/Modal/Modal.stories.js +18 -89
- package/components/Modal/index.jsx +6 -8
- package/components/NumberInput/NumberInput.stories.js +50 -67
- package/components/NumberInput/index.jsx +0 -13
- package/components/Pagination/index.jsx +0 -17
- package/components/Popover/Popover.stories.js +6 -14
- package/components/Popover/index.js +0 -23
- package/components/RadioButton/RadioButton.jsx +5 -15
- package/components/RadioButton/RadioButton.stories.jsx +6 -2
- package/components/ReadOnlyTextField/ReadOnlyTextField.stories.js +3 -8
- package/components/ReadOnlyTextField/index.jsx +1 -9
- package/components/RichTextEditor/RichTextEditor.stories.js +10 -8
- package/components/RichTextEditor/index.jsx +14 -30
- package/components/SanitizedContent/index.jsx +0 -8
- package/components/Search/Search.stories.js +2 -4
- package/components/Search/index.js +26 -40
- package/components/Select/Select.stories.js +59 -164
- package/components/Select/index.jsx +2 -17
- package/components/Tabs/Tab.js +29 -25
- package/components/Tabs/TabPanel.js +15 -19
- package/components/Tabs/Tabs.stories.js +43 -211
- package/components/Tabs/index.js +10 -28
- package/components/TextArea/TextArea.stories.js +87 -113
- package/components/TextArea/index.jsx +2 -14
- package/components/TextField/TextField.stories.js +100 -129
- package/components/TextField/index.jsx +2 -17
- package/components/TimeField/TimeField.jsx +0 -10
- package/components/TimeField/TimeField.stories.js +18 -8
- package/components/Toast/Toast.stories.js +42 -102
- package/components/Toast/index.jsx +0 -14
- package/components/TruncateText/TruncateText.stories.js +22 -17
- package/components/TruncateText/index.js +0 -8
- package/components/hooks/useGetConfig.js +2 -2
- package/components/{index.js → index.mjs} +37 -57
- package/dist/index.js +3 -1
- package/dist/index.js.LICENSE.txt +16 -0
- package/dist/index.js.map +1 -0
- package/dist/react/index.html +1 -1
- package/dist/react/index.mjs +103 -0
- package/dist/react/{index.js.LICENSE.txt → index.mjs.LICENSE.txt} +3 -52
- package/dist/react/index.mjs.map +1 -0
- package/dist/react/package.json +1 -0
- package/eslint.config.cjs +59 -0
- package/index.js +7 -9
- package/jest.config.mjs +10 -0
- package/lib/Chevron.jsx +2 -10
- package/package.json +57 -82
- package/styles/_main.scss +4 -3
- package/test/components/Accordion.test.js +1 -1
- package/test/components/AutoComplete.test.js +11 -6
- package/test/components/Button.test.js +13 -19
- package/test/components/DateField.test.js +25 -29
- package/test/components/DateTimeField.test.js +21 -25
- package/test/components/Instant.test.js +1 -1
- package/test/components/MadieAlert.test.js +22 -22
- package/test/components/MadieConfirmDialog.test.js +42 -64
- package/test/components/MadieDeleteDialog.test.js +51 -69
- package/test/components/MadieDialog.test.js +13 -13
- package/test/components/MadieDiscardDialog.test.js +28 -45
- package/test/components/MadieSpinner.test.js +12 -17
- package/test/components/Modal.test.js +115 -0
- package/test/components/Pagination.test.js +2 -2
- package/test/components/RadioButton.test.js +7 -7
- package/test/components/ReadOnlyTextField.test.js +4 -2
- package/test/components/RichTextEditor.test.js +90 -6
- package/test/components/Search.test.js +75 -0
- package/test/components/Select.test.js +97 -107
- package/test/components/Tabs.test.js +22 -24
- package/test/components/TextArea.test.js +78 -92
- package/test/components/TextField.test.js +128 -147
- package/test/components/Toast.test.js +67 -78
- package/test/components/TruncateText.test.js +75 -0
- package/test/components/index.test.js +23 -0
- package/webpack.config.mjs +79 -0
- package/webpack.config.react.mjs +72 -0
- package/.eslintignore +0 -5
- package/components/Alert/Alert.stories.js +0 -70
- package/components/Alert/index.js +0 -55
- package/components/Breadcrumb/Breadcrumb.md +0 -28
- package/components/Breadcrumb/Breadcrumb.stories.js +0 -76
- package/components/Breadcrumb/index.js +0 -92
- package/components/CalloutBox/CalloutBox.stories.js +0 -94
- package/components/CalloutBox/index.js +0 -109
- package/components/Card/Card.stories.js +0 -163
- package/components/Card/index.js +0 -144
- package/components/Dropdown/Dropdown.stories.js +0 -94
- package/components/Dropdown/index.js +0 -85
- package/components/Error/Collapsible.jsx +0 -93
- package/components/Error/ErrorUI.jsx +0 -31
- package/components/Error/error.js +0 -26
- package/components/FlashNotification/FlashNotificationUI.jsx +0 -91
- package/components/FlashNotification/index.js +0 -30
- package/components/Footer/Footer.stories.js +0 -20
- package/components/Footer/FooterUI.jsx +0 -137
- package/components/Footer/LegacyFooterUI.jsx +0 -204
- package/components/Footer/SocialLinks.jsx +0 -63
- package/components/Footer/Subscribe.jsx +0 -34
- package/components/Footer/footer.js +0 -30
- package/components/Infotip/Infotip.jsx +0 -75
- package/components/Infotip/Infotip.stories.js +0 -52
- package/components/Infotip/InfotipIcon.jsx +0 -41
- package/components/Infotip/index.js +0 -3
- package/components/Link/Link.stories.js +0 -82
- package/components/NotificationBanner/NotificationBanner.stories.js +0 -23
- package/components/NotificationBanner/index.js +0 -279
- package/components/Spinner/index.js +0 -9
- package/components/TextInput/TextInput.stories.js +0 -118
- package/components/TextInput/index.js +0 -137
- package/components/Tooltip/Tooltip.jsx +0 -88
- package/components/Tooltip/Tooltip.stories.js +0 -80
- package/components/Tooltip/index.js +0 -3
- package/components/Tooltip/position.js +0 -76
- package/components/UnwrappedSpinner/index.js +0 -8
- package/dist/browser.js +0 -1
- package/dist/react/index.js +0 -185
- package/dist/react/index.js.map +0 -1
- package/jest.config.js +0 -17
- package/test/components/ErrorUI.test.js +0 -32
- package/test/components/FooterUI.test.js +0 -122
- package/test/components/Infotip.test.js +0 -76
- package/test/components/Tooltip.test.js +0 -147
- package/webpack.config.js +0 -124
- package/webpack.config.react.js +0 -104
|
@@ -1,49 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import AutoComplete from "./AutoComplete/AutoComplete";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import TextArea from "./TextArea";
|
|
37
|
-
import Tooltip from "./Tooltip";
|
|
38
|
-
import Toast from "./Toast";
|
|
39
|
-
import Infotip from "./Infotip";
|
|
40
|
-
import Search from "./Search";
|
|
41
|
-
import TextInput from "./TextInput";
|
|
42
|
-
import Dropdown from "./Dropdown";
|
|
43
|
-
import DSLink from "./Link";
|
|
44
|
-
import NumberInput from "./NumberInput";
|
|
45
|
-
import TruncateText from "./TruncateText/index";
|
|
1
|
+
|
|
2
|
+
import Accordion from "./Accordion/index.jsx";
|
|
3
|
+
import AutoComplete from "./AutoComplete/AutoComplete.jsx";
|
|
4
|
+
import Button, { TextButton } from "./Button/index.js";
|
|
5
|
+
import DateField from "./DateField/DateField.jsx";
|
|
6
|
+
import DateTimeField from "./DateTimeField/DateTimeField.jsx";
|
|
7
|
+
import DSLink from "./Link/index.js";
|
|
8
|
+
import Instant from "./Instant/index.jsx";
|
|
9
|
+
import InputLabel from "./InputLabel/index.jsx";
|
|
10
|
+
import FormControlLabel from "./FormControlLabel/index.jsx";
|
|
11
|
+
import MadieAlert from "./MadieAlert/index.jsx";
|
|
12
|
+
import MadieDialog from "./MadieDialog/index.jsx";
|
|
13
|
+
import MadieDiscardDialog from "./MadieDiscardDialog/index.jsx";
|
|
14
|
+
import MadieDeleteDialog from "./MadieDeleteDialog/index.jsx";
|
|
15
|
+
import MadieConfirmDialog from "./MadieConfirmDialog/index.jsx";
|
|
16
|
+
import MadieSpinner from "./MadieSpinner/index.jsx";
|
|
17
|
+
import MadieTooltip from "./MadieTooltip/index.jsx";
|
|
18
|
+
import MadieTooltipIcon from "./MadieTooltipIcon/index.jsx";
|
|
19
|
+
import Modal from "./Modal/index.jsx";
|
|
20
|
+
import Popover from "./Popover/index.js";
|
|
21
|
+
import { Pagination } from "./Pagination/index.jsx";
|
|
22
|
+
import RadioButton from "./RadioButton/RadioButton.jsx";
|
|
23
|
+
import ReadOnlyTextField from "./ReadOnlyTextField/index.jsx";
|
|
24
|
+
import RichTextEditor from "./RichTextEditor/index.jsx";
|
|
25
|
+
import Select from "./Select/index.jsx";
|
|
26
|
+
import TabPanel from "./Tabs/TabPanel.js";
|
|
27
|
+
import Tabs from "./Tabs/index.js";
|
|
28
|
+
import Tab from "./Tabs/Tab.js";
|
|
29
|
+
import TextField from "./TextField/index.jsx";
|
|
30
|
+
import TimeField from "./TimeField/TimeField.jsx";
|
|
31
|
+
import TextArea from "./TextArea/index.jsx";
|
|
32
|
+
import Toast from "./Toast/index.jsx";
|
|
33
|
+
import Search from "./Search/index.js";
|
|
34
|
+
import NumberInput from "./NumberInput/index.jsx";
|
|
35
|
+
import TruncateText from "./TruncateText/index.js";
|
|
46
36
|
import theme from "../themes/actionCenterTheme.js";
|
|
37
|
+
|
|
47
38
|
import {
|
|
48
39
|
MyApplicationsIcon,
|
|
49
40
|
UserSignInIcon,
|
|
@@ -128,20 +119,14 @@ const Icons = {
|
|
|
128
119
|
|
|
129
120
|
export {
|
|
130
121
|
Accordion,
|
|
131
|
-
Alert,
|
|
132
122
|
AutoComplete,
|
|
133
|
-
Breadcrumb,
|
|
134
123
|
Button,
|
|
135
|
-
CalloutBox,
|
|
136
|
-
Card,
|
|
137
124
|
DateField,
|
|
138
125
|
DateTimeField,
|
|
139
|
-
|
|
140
|
-
Footer,
|
|
126
|
+
DSLink,
|
|
141
127
|
FormControlLabel,
|
|
142
128
|
InputLabel,
|
|
143
129
|
Icons,
|
|
144
|
-
Infotip,
|
|
145
130
|
Instant,
|
|
146
131
|
Modal,
|
|
147
132
|
MadieAlert,
|
|
@@ -160,19 +145,14 @@ export {
|
|
|
160
145
|
RichTextEditor,
|
|
161
146
|
Search,
|
|
162
147
|
Select,
|
|
163
|
-
Spinner,
|
|
164
148
|
TabPanel,
|
|
165
149
|
Tabs,
|
|
166
150
|
Tab,
|
|
167
151
|
TextButton,
|
|
168
|
-
TextInput,
|
|
169
152
|
TimeField,
|
|
170
153
|
TextField,
|
|
171
154
|
TextArea,
|
|
172
155
|
Toast,
|
|
173
|
-
Dropdown,
|
|
174
|
-
Tooltip,
|
|
175
|
-
DSLink,
|
|
176
156
|
TruncateText,
|
|
177
157
|
theme,
|
|
178
158
|
};
|