@12-apps/ui 6.12.0 → 6.12.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/package.json +1 -1
- package/src/components/feedback/Modal/Modal.md +4 -1
- package/src/components/form/Menubar/Menubar.md +2 -1
- package/src/components/layout/Accordion/Accordion.md +3 -1
- package/src/components/navigation/Breadcrumbs/Breadcrumbs.md +1 -1
- package/src/components/navigation/DropdownMenu/DropdownMenu.md +1 -1
- package/src/components/utility/VirtualList/VirtualList.md +4 -1
package/package.json
CHANGED
|
@@ -215,7 +215,10 @@ function BasicModalExample() {
|
|
|
215
215
|
### Complex Modal with Custom Content
|
|
216
216
|
|
|
217
217
|
```tsx
|
|
218
|
-
import
|
|
218
|
+
import Box from '@mui/material/Box/index.js';
|
|
219
|
+
import Typography from '@mui/material/Typography/index.js';
|
|
220
|
+
import Button from '@mui/material/Button/index.js';
|
|
221
|
+
import IconButton from '@mui/material/IconButton/index.js';
|
|
219
222
|
import CloseIcon from '@mui/icons-material/Close';
|
|
220
223
|
|
|
221
224
|
function ComplexModalExample() {
|
|
@@ -107,7 +107,8 @@ const menuItems = [
|
|
|
107
107
|
|
|
108
108
|
```tsx
|
|
109
109
|
import { Menubar } from '@procurement/ui';
|
|
110
|
-
import
|
|
110
|
+
import Avatar from '@mui/material/Avatar/index.js';
|
|
111
|
+
import IconButton from '@mui/material/IconButton/index.js';
|
|
111
112
|
import NotificationsIcon from '@mui/icons-material/Notifications';
|
|
112
113
|
|
|
113
114
|
const Logo = () => (
|
|
@@ -49,7 +49,9 @@ The Accordion component provides expandable/collapsible content sections with sm
|
|
|
49
49
|
### Basic Usage
|
|
50
50
|
|
|
51
51
|
```tsx
|
|
52
|
-
import
|
|
52
|
+
import Accordion from '@mui/material/Accordion/index.js';
|
|
53
|
+
import AccordionSummary from '@mui/material/AccordionSummary/index.js';
|
|
54
|
+
import AccordionDetails from '@mui/material/AccordionDetails/index.js';
|
|
53
55
|
import ExpandMore from '@mui/icons-material/ExpandMore';
|
|
54
56
|
|
|
55
57
|
function BasicAccordion() {
|
|
@@ -417,7 +417,7 @@ test('renders with glass variant', () => {
|
|
|
417
417
|
|
|
418
418
|
```tsx
|
|
419
419
|
import { render, screen } from '@testing-library/react';
|
|
420
|
-
import
|
|
420
|
+
import useMediaQuery from '@mui/material/useMediaQuery/index.js';
|
|
421
421
|
|
|
422
422
|
// Mock useMediaQuery for mobile
|
|
423
423
|
vi.mock('@mui/material', () => ({
|
|
@@ -22,7 +22,7 @@ import { DropdownMenu } from '@app-services-monitoring/ui';
|
|
|
22
22
|
import Edit from '@mui/icons-material/Edit';
|
|
23
23
|
import Delete from '@mui/icons-material/Delete';
|
|
24
24
|
import Share from '@mui/icons-material/Share';
|
|
25
|
-
import
|
|
25
|
+
import Button from '@mui/material/Button/index.js';
|
|
26
26
|
|
|
27
27
|
function MyComponent() {
|
|
28
28
|
const menuItems = [
|
|
@@ -160,7 +160,10 @@ For displaying items in a multi-column grid layout.
|
|
|
160
160
|
### With Material-UI Components
|
|
161
161
|
|
|
162
162
|
```tsx
|
|
163
|
-
import
|
|
163
|
+
import Avatar from '@mui/material/Avatar/index.js';
|
|
164
|
+
import ListItem from '@mui/material/ListItem/index.js';
|
|
165
|
+
import ListItemAvatar from '@mui/material/ListItemAvatar/index.js';
|
|
166
|
+
import ListItemText from '@mui/material/ListItemText/index.js';
|
|
164
167
|
import { VirtualList } from '@app-services-monitoring/ui';
|
|
165
168
|
|
|
166
169
|
<VirtualList
|