@lunit/oui 1.0.0-alpha.9 → 1.0.1-alpha.10
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/components/Alert/Alert.js +1 -1
- package/dist/components/Alert/Alert.utils.js +1 -1
- package/dist/components/Chip/Chip.js +1 -1
- package/dist/components/Chip/Chip.utils.js +1 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/Dropdown/DropdownItem.js +1 -1
- package/dist/components/Dropdown/IconDropdown.js +1 -1
- package/dist/components/List/List.js +1 -1
- package/dist/components/List/ListItem.styled.js +1 -1
- package/dist/components/Pagination/Pagination.js +65 -0
- package/dist/components/Pagination/Pagination.styled.js +64 -0
- package/dist/components/Pagination/Pagination.types.js +2 -0
- package/dist/components/Pagination/index.js +2 -0
- package/dist/components/ProductLabel/ProductLabel.js +1 -1
- package/dist/components/TextField/components/Buttons.js +1 -1
- package/dist/components/UploadManager/UploadManager.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/foundations/index.js +1 -0
- package/dist/foundations/palette.js +4 -0
- package/dist/foundations/styles.js +7 -0
- package/dist/types/components/Pagination/Pagination.d.ts +3 -0
- package/dist/types/components/Pagination/Pagination.styled.d.ts +24 -0
- package/dist/types/components/Pagination/Pagination.types.d.ts +35 -0
- package/dist/types/components/Pagination/index.d.ts +2 -0
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/foundations/index.d.ts +1 -0
- package/dist/types/foundations/palette.d.ts +8 -1
- package/dist/types/foundations/styles.d.ts +2 -0
- package/package.json +7 -11
- package/.git-ftp-include +0 -1
- package/dist/components/Icons/BellNoti/index.js +0 -14
- package/dist/components/Icons/CloseLarge/index.js +0 -14
- package/dist/components/Icons/CloseSmall/index.js +0 -14
- package/dist/components/Icons/DownloadPdf/index.js +0 -14
- package/dist/components/Icons/Ellipse/index.js +0 -14
- package/dist/components/Icons/FilterNoti/index.js +0 -14
- package/dist/components/Icons/HideLarge/index.js +0 -14
- package/dist/components/Icons/HideSmall/index.js +0 -14
- package/dist/components/Icons/InformationLarge/index.js +0 -14
- package/dist/components/Icons/InformationSmall/index.js +0 -14
- package/dist/components/Icons/Manufacturer/index.js +0 -14
- package/dist/components/Icons/Rectangle/index.js +0 -14
- package/dist/components/Icons/RefreshLeft/index.js +0 -14
- package/dist/components/Icons/RefreshRight/index.js +0 -14
- package/dist/components/Icons/ShowLarge/index.js +0 -14
- package/dist/components/Icons/ShowSmall/index.js +0 -14
- package/dist/components/Icons/index.js +0 -180
- package/dist/types/components/Icons/BellNoti/index.d.ts +0 -12
- package/dist/types/components/Icons/CloseLarge/index.d.ts +0 -12
- package/dist/types/components/Icons/CloseSmall/index.d.ts +0 -12
- package/dist/types/components/Icons/DownloadPdf/index.d.ts +0 -12
- package/dist/types/components/Icons/Ellipse/index.d.ts +0 -12
- package/dist/types/components/Icons/FilterNoti/index.d.ts +0 -12
- package/dist/types/components/Icons/HideLarge/index.d.ts +0 -12
- package/dist/types/components/Icons/HideSmall/index.d.ts +0 -12
- package/dist/types/components/Icons/InformationLarge/index.d.ts +0 -12
- package/dist/types/components/Icons/InformationSmall/index.d.ts +0 -12
- package/dist/types/components/Icons/Manufacturer/index.d.ts +0 -12
- package/dist/types/components/Icons/Rectangle/index.d.ts +0 -12
- package/dist/types/components/Icons/RefreshLeft/index.d.ts +0 -12
- package/dist/types/components/Icons/RefreshRight/index.d.ts +0 -12
- package/dist/types/components/Icons/ShowLarge/index.d.ts +0 -12
- package/dist/types/components/Icons/ShowSmall/index.d.ts +0 -12
- package/dist/types/components/Icons/index.d.ts +0 -179
- package/src/assets/ic-bell-noti-outlined-20px.tsx +0 -21
- package/src/assets/ic-close-large-outlined-20px.tsx +0 -17
- package/src/assets/ic-close-small-outlined-20px.tsx +0 -17
- package/src/assets/ic-download-pdf-outlined-20px.tsx +0 -18
- package/src/assets/ic-ellipse-outlined-20px.tsx +0 -17
- package/src/assets/ic-filter-noti-outlined-20px.tsx +0 -21
- package/src/assets/ic-hide-large-outlined-20px.tsx +0 -13
- package/src/assets/ic-hide-small-outlined-20px.tsx +0 -17
- package/src/assets/ic-information-large-outlined-20px.tsx +0 -17
- package/src/assets/ic-information-small-outlined-20px.tsx +0 -17
- package/src/assets/ic-manufacturer-outlined-20px.tsx +0 -19
- package/src/assets/ic-rectangle-outlined-20px.tsx +0 -17
- package/src/assets/ic-refresh-left-outlined-20px.tsx +0 -17
- package/src/assets/ic-refresh-right-outlined-20px.tsx +0 -13
- package/src/assets/ic-show-large-outlined-20px.tsx +0 -17
- package/src/assets/ic-show-small-outlined-20px.tsx +0 -17
- package/src/assets/ic_bell_noti=outlined_20px.svg +0 -5
- package/src/assets/ic_close_large=outlined_20px.svg +0 -4
- package/src/assets/ic_close_small=outlined_20px.svg +0 -4
- package/src/assets/ic_download_pdf=outlined_20px.svg +0 -7
- package/src/assets/ic_ellipse=outlined_20px.svg +0 -4
- package/src/assets/ic_filter_noti=outlined_20px.svg +0 -5
- package/src/assets/ic_hide_large=outlined_20px.svg +0 -4
- package/src/assets/ic_hide_small=outlined_20px.svg +0 -4
- package/src/assets/ic_information_large=outlined_20px.svg +0 -4
- package/src/assets/ic_information_small=outlined_20px.svg +0 -4
- package/src/assets/ic_manufacturer=outlined_20px.svg +0 -3
- package/src/assets/ic_rectangle=outlined_20px.svg +0 -4
- package/src/assets/ic_refresh_left=outlined_20px.svg +0 -4
- package/src/assets/ic_refresh_right=outlined_20px.svg +0 -4
- package/src/assets/ic_show_large=outlined_20px.svg +0 -4
- package/src/assets/ic_show_small=outlined_20px.svg +0 -4
- package/src/assets/index.ts +0 -16
- package/src/components/Alert/Alert.styled.ts +0 -44
- package/src/components/Alert/Alert.tsx +0 -39
- package/src/components/Alert/Alert.types.ts +0 -5
- package/src/components/Alert/Alert.utils.tsx +0 -43
- package/src/components/Alert/index.ts +0 -5
- package/src/components/BaseTextField/BaseTextField.styled.ts +0 -110
- package/src/components/BaseTextField/BaseTextField.types.ts +0 -25
- package/src/components/BaseTextField/BaseTextField.utils.ts +0 -10
- package/src/components/Button/BaseButton.tsx +0 -19
- package/src/components/Button/Button.tsx +0 -117
- package/src/components/Button/Button.types.ts +0 -36
- package/src/components/Button/Button.utils.ts +0 -13
- package/src/components/Button/index.ts +0 -6
- package/src/components/Button/styleds/BaseButton.styled.ts +0 -57
- package/src/components/Button/styleds/ContainedButton.styled.ts +0 -123
- package/src/components/Button/styleds/GhostButton.styled.ts +0 -139
- package/src/components/Button/styleds/IconButton.styled.ts +0 -25
- package/src/components/Button/styleds/OutlinedButton.styled.ts +0 -144
- package/src/components/Card/Card.styled.tsx +0 -18
- package/src/components/Card/Card.tsx +0 -18
- package/src/components/Card/Card.types.ts +0 -10
- package/src/components/Card/index.ts +0 -5
- package/src/components/Checkbox/Checkbox.styled.tsx +0 -27
- package/src/components/Checkbox/Checkbox.tsx +0 -64
- package/src/components/Checkbox/Checkbox.types.ts +0 -16
- package/src/components/Checkbox/Checkbox.utils.tsx +0 -42
- package/src/components/Checkbox/index.ts +0 -5
- package/src/components/Chip/Chip.styled.ts +0 -120
- package/src/components/Chip/Chip.tsx +0 -33
- package/src/components/Chip/Chip.types.ts +0 -18
- package/src/components/Chip/Chip.utils.tsx +0 -50
- package/src/components/Chip/index.ts +0 -4
- package/src/components/DataTable/DataTable.styled.ts +0 -66
- package/src/components/DataTable/DataTable.tsx +0 -29
- package/src/components/DataTable/index.ts +0 -1
- package/src/components/DatePicker/DatePicker.styled.ts +0 -19
- package/src/components/DatePicker/DatePicker.tsx +0 -194
- package/src/components/DatePicker/DatePicker.types.ts +0 -8
- package/src/components/DatePicker/index.ts +0 -4
- package/src/components/Dialog/Dialog.styled.ts +0 -87
- package/src/components/Dialog/Dialog.tsx +0 -111
- package/src/components/Dialog/Dialog.types.ts +0 -19
- package/src/components/Dialog/index.ts +0 -5
- package/src/components/Divider/Divider.styled.ts +0 -24
- package/src/components/Divider/Divider.tsx +0 -13
- package/src/components/Divider/Divider.types.ts +0 -7
- package/src/components/Divider/index.ts +0 -5
- package/src/components/Dropdown/Dropdown.styled.tsx +0 -127
- package/src/components/Dropdown/Dropdown.tsx +0 -116
- package/src/components/Dropdown/Dropdown.types.ts +0 -31
- package/src/components/Dropdown/Dropdown.utils.ts +0 -13
- package/src/components/Dropdown/DropdownItem.styled.tsx +0 -66
- package/src/components/Dropdown/DropdownItem.tsx +0 -45
- package/src/components/Dropdown/DropdownItem.types.ts +0 -14
- package/src/components/Dropdown/DropdownItem.utils.ts +0 -14
- package/src/components/Dropdown/DropdownSubtitle.styled.ts +0 -13
- package/src/components/Dropdown/DropdownSubtitle.tsx +0 -9
- package/src/components/Dropdown/DropdownSubtitle.types.ts +0 -6
- package/src/components/Dropdown/IconDropdown.styled.tsx +0 -82
- package/src/components/Dropdown/IconDropdown.tsx +0 -56
- package/src/components/Dropdown/IconDropdown.types.ts +0 -22
- package/src/components/Dropdown/index.ts +0 -22
- package/src/components/FileDnDZone/FileDnDZone.styled.ts +0 -43
- package/src/components/FileDnDZone/FileDnDZone.tsx +0 -81
- package/src/components/FileDnDZone/FileDnDZone.types.ts +0 -14
- package/src/components/FileDnDZone/FileDnDZone.utils.ts +0 -3
- package/src/components/FileDnDZone/index.ts +0 -5
- package/src/components/Icons/BellNoti/index.tsx +0 -22
- package/src/components/Icons/CloseLarge/index.tsx +0 -22
- package/src/components/Icons/CloseSmall/index.tsx +0 -22
- package/src/components/Icons/DownloadPdf/index.tsx +0 -22
- package/src/components/Icons/Ellipse/index.tsx +0 -22
- package/src/components/Icons/FilterNoti/index.tsx +0 -22
- package/src/components/Icons/HideLarge/index.tsx +0 -22
- package/src/components/Icons/HideSmall/index.tsx +0 -22
- package/src/components/Icons/InformationLarge/index.tsx +0 -22
- package/src/components/Icons/InformationSmall/index.tsx +0 -22
- package/src/components/Icons/Manufacturer/index.tsx +0 -22
- package/src/components/Icons/Rectangle/index.tsx +0 -22
- package/src/components/Icons/RefreshLeft/index.tsx +0 -22
- package/src/components/Icons/RefreshRight/index.tsx +0 -22
- package/src/components/Icons/ShowLarge/index.tsx +0 -22
- package/src/components/Icons/ShowSmall/index.tsx +0 -22
- package/src/components/Icons/index.ts +0 -180
- package/src/components/List/List.styled.ts +0 -31
- package/src/components/List/List.tsx +0 -71
- package/src/components/List/List.types.ts +0 -24
- package/src/components/List/List.utils.ts +0 -14
- package/src/components/List/ListItem.styled.tsx +0 -61
- package/src/components/List/ListItem.tsx +0 -66
- package/src/components/List/ListItem.types.ts +0 -40
- package/src/components/List/ListItemCaption.styled.tsx +0 -7
- package/src/components/List/ListItemCaption.tsx +0 -18
- package/src/components/List/ListItemCaption.types.ts +0 -2
- package/src/components/List/index.ts +0 -8
- package/src/components/LoadingIndicator/LoadingIndicator.styled.tsx +0 -40
- package/src/components/LoadingIndicator/LoadingIndicator.tsx +0 -44
- package/src/components/LoadingIndicator/LoadingIndicator.types.ts +0 -7
- package/src/components/LoadingIndicator/assets/DnaLoadingAnimation.json +0 -769
- package/src/components/LoadingIndicator/assets/DotLoadingAnimation.json +0 -426
- package/src/components/LoadingIndicator/index.ts +0 -5
- package/src/components/Menu/Menu.styled.tsx +0 -42
- package/src/components/Menu/Menu.tsx +0 -28
- package/src/components/Menu/Menu.types.ts +0 -18
- package/src/components/Menu/MenuItem.styled.ts +0 -62
- package/src/components/Menu/MenuItem.tsx +0 -45
- package/src/components/Menu/MenuItem.types.ts +0 -14
- package/src/components/Menu/index.ts +0 -5
- package/src/components/MuiCssBaseline.ts +0 -78
- package/src/components/MuiInputBase.ts +0 -25
- package/src/components/MuiOutlinedInput.ts +0 -57
- package/src/components/MuiTextField.ts +0 -17
- package/src/components/ProductLabel/ProductLabel.styled.ts +0 -61
- package/src/components/ProductLabel/ProductLabel.tsx +0 -57
- package/src/components/ProductLabel/ProductLabel.types.ts +0 -10
- package/src/components/ProductLabel/index.ts +0 -5
- package/src/components/Progress/CircularProgress.styled.ts +0 -10
- package/src/components/Progress/CircularProgress.tsx +0 -15
- package/src/components/Progress/CircularProgress.types.ts +0 -6
- package/src/components/Progress/LinearProgress.styled.ts +0 -15
- package/src/components/Progress/LinearProgress.tsx +0 -16
- package/src/components/Progress/LinearProgress.types.ts +0 -7
- package/src/components/Progress/index.ts +0 -4
- package/src/components/Radio/Radio.styled.ts +0 -35
- package/src/components/Radio/Radio.tsx +0 -60
- package/src/components/Radio/Radio.types.ts +0 -15
- package/src/components/Radio/RadioGroup.styled.ts +0 -6
- package/src/components/Radio/RadioGroup.tsx +0 -23
- package/src/components/Radio/RadioGroup.types.ts +0 -10
- package/src/components/Radio/index.ts +0 -7
- package/src/components/Stepper/Stepper.styled.ts +0 -38
- package/src/components/Stepper/Stepper.tsx +0 -24
- package/src/components/Stepper/Stepper.types.ts +0 -13
- package/src/components/Stepper/index.ts +0 -5
- package/src/components/TabbedPanel/TabbedPanel.styled.ts +0 -129
- package/src/components/TabbedPanel/TabbedPanel.tsx +0 -70
- package/src/components/TabbedPanel/TabbedPanel.types.ts +0 -36
- package/src/components/TabbedPanel/TabbedPanel.utils.ts +0 -21
- package/src/components/TabbedPanel/index.ts +0 -5
- package/src/components/TextField/TextArea.styled.tsx +0 -36
- package/src/components/TextField/TextArea.tsx +0 -35
- package/src/components/TextField/TextArea.types.ts +0 -28
- package/src/components/TextField/TextInput.styled.tsx +0 -115
- package/src/components/TextField/TextInput.tsx +0 -27
- package/src/components/TextField/TextInput.types.ts +0 -46
- package/src/components/TextField/TextInput.utils.ts +0 -7
- package/src/components/TextField/components/Buttons.tsx +0 -26
- package/src/components/TextField/components/NormalTextInput.tsx +0 -95
- package/src/components/TextField/components/PasswordInput.tsx +0 -92
- package/src/components/TextField/index.ts +0 -7
- package/src/components/Tooltip/Tooltip.styled.tsx +0 -36
- package/src/components/Tooltip/Tooltip.tsx +0 -58
- package/src/components/Tooltip/Tooltip.types.ts +0 -24
- package/src/components/Tooltip/Tooltip.utils.ts +0 -46
- package/src/components/Tooltip/index.ts +0 -5
- package/src/components/UploadManager/UploadManager.styled.ts +0 -49
- package/src/components/UploadManager/UploadManager.tsx +0 -271
- package/src/components/UploadManager/UploadManager.types.ts +0 -16
- package/src/components/UploadManager/index.ts +0 -5
- package/src/components/index.ts +0 -23
- package/src/foundations/index.ts +0 -3
- package/src/foundations/palette.ts +0 -407
- package/src/foundations/spacing.ts +0 -5
- package/src/foundations/typography.ts +0 -492
- package/src/index.ts +0 -4
- package/src/react-app-env.d.ts +0 -71
- package/src/reportWebVitals.ts +0 -15
- package/src/setupTests.ts +0 -5
- package/src/systems/drawer.ts +0 -27
- package/src/systems/index.ts +0 -7
- package/src/theme.ts +0 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
|
-
import { Close } from '
|
|
3
|
+
import { Close } from '../../**icons**';
|
|
4
4
|
import BaseAlert from './Alert.styled';
|
|
5
5
|
import { getAccentColor, getIcons } from './Alert.utils';
|
|
6
6
|
import { Button } from '../Button';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Success, Error, Information } from '
|
|
2
|
+
import { Success, Error, Information } from '../../**icons**';
|
|
3
3
|
import theme from '../../theme';
|
|
4
4
|
export const getIcons = (severity) => {
|
|
5
5
|
switch (severity) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { CloseSmall } from '
|
|
2
|
+
import { CloseSmall } from '../../**icons**';
|
|
3
3
|
import StyledChip from './Chip.styled';
|
|
4
4
|
import { presetMap } from './Chip.utils';
|
|
5
5
|
function Chip({ preset, label, icon, onDelete, onClick, ...otherProps }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useMemo, useEffect } from 'react';
|
|
3
|
-
import { CloseSmall, ArrowLeft, ArrowRight } from '
|
|
3
|
+
import { CloseSmall, ArrowLeft, ArrowRight } from '../../**icons**';
|
|
4
4
|
import { StyledDatePicker } from './DatePicker.styled';
|
|
5
5
|
import { Button } from '../Button';
|
|
6
6
|
import theme from '../../theme';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ArrowDown } from '
|
|
2
|
+
import { ArrowDown } from '../../**icons**';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { BaseDropdown, DropdownContainer, DropdownPlaceholder } from './Dropdown.styled';
|
|
5
5
|
import { handlePlaceholder } from './Dropdown.utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Check } from '
|
|
2
|
+
import { Check } from '../../**icons**';
|
|
3
3
|
import { BaseDropdownItem, KeyboardShortcut } from './DropdownItem.styled';
|
|
4
4
|
import { BUTTON_DROPDOWN_ITEM, shouldPadForEmptyIcon } from './DropdownItem.utils';
|
|
5
5
|
const DropdownItem = ({ checkIcon, customIcon, children, emptyIcon, asButton, value, keyboardShortcut, ...otherProps }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from 'react';
|
|
3
|
-
import { ArrowDownXs } from '
|
|
3
|
+
import { ArrowDownXs } from '../../**icons**';
|
|
4
4
|
import { BaseIconDropdown } from './IconDropdown.styled';
|
|
5
5
|
import theme from '../../theme';
|
|
6
6
|
const IconDropdown = ({ open, disabled, children, ...otherProps }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useMemo } from 'react';
|
|
3
|
-
import { ArrowDownSm, ArrowUpSm } from '
|
|
3
|
+
import { ArrowDownSm, ArrowUpSm } from '../../**icons**';
|
|
4
4
|
import { Collapse } from '@mui/material';
|
|
5
5
|
import { MuiList, MuiListSubheader } from './List.styled';
|
|
6
6
|
export const ListContext = createContext({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ListItem, ListItemButton, ListItemIcon, ListItemText, styled, typographyClasses, } from '@mui/material';
|
|
3
|
-
import { Check, Dummy } from '
|
|
3
|
+
import { Check, Dummy } from '../../**icons**';
|
|
4
4
|
import getPadding from './List.utils';
|
|
5
5
|
export const StyledListItem = styled(ListItem)({
|
|
6
6
|
width: '100%',
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useEffect, useMemo } from 'react';
|
|
3
|
+
import { ArrowDown } from '../../**icons**';
|
|
4
|
+
import { Divider } from '../Divider';
|
|
5
|
+
import { MenuItem, Menu } from '../Menu';
|
|
6
|
+
import { PaperProps, PaginationBox, SidePageBox, SelectButton, ArrowButton, PAGE_SIZE_LIST, divider, } from './Pagination.styled';
|
|
7
|
+
function Pagination({ count: itemCount, page: selectedPage = 1, perPage: selectedPerPage, totalPage, onPageChange, onPerPageChange, }) {
|
|
8
|
+
const [perPageAnchorEl, setPerPageAnchorEl] = useState(null);
|
|
9
|
+
const [pageAnchorEl, setPageAnchorEl] = useState(null);
|
|
10
|
+
const perPageOpen = Boolean(perPageAnchorEl);
|
|
11
|
+
const pageOpen = Boolean(pageAnchorEl);
|
|
12
|
+
const pages = useMemo(() => Array.from({ length: totalPage }, (_, index) => index + 1), [totalPage]);
|
|
13
|
+
const startItemNumber = selectedPerPage * (selectedPage - 1) + 1;
|
|
14
|
+
const endItemNumber = Math.min(startItemNumber + selectedPerPage - 1, itemCount);
|
|
15
|
+
const handlePerPageClick = (event) => {
|
|
16
|
+
setPerPageAnchorEl(event.currentTarget);
|
|
17
|
+
};
|
|
18
|
+
const handlePerPageClose = () => {
|
|
19
|
+
setPerPageAnchorEl(null);
|
|
20
|
+
};
|
|
21
|
+
const handlePageClick = (event) => {
|
|
22
|
+
setPageAnchorEl(event.currentTarget);
|
|
23
|
+
};
|
|
24
|
+
const handlePageClose = () => {
|
|
25
|
+
setPageAnchorEl(null);
|
|
26
|
+
};
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
if (selectedPage > totalPage) {
|
|
29
|
+
onPageChange?.(null, totalPage);
|
|
30
|
+
}
|
|
31
|
+
}, [totalPage, selectedPage, onPageChange]);
|
|
32
|
+
return (_jsxs(PaginationBox, { children: [_jsxs(SidePageBox, { children: ["Items per page", _jsx(SelectButton, { endIcon: _jsx(ArrowDown, { style: {
|
|
33
|
+
transform: perPageOpen ? 'rotate(180deg)' : 'rotate(0deg)',
|
|
34
|
+
} }), onClick: handlePerPageClick, children: selectedPerPage }), _jsx(Menu, { showCheck: true, anchorEl: perPageAnchorEl, anchorOrigin: {
|
|
35
|
+
vertical: 'top',
|
|
36
|
+
horizontal: 'right',
|
|
37
|
+
}, transformOrigin: {
|
|
38
|
+
vertical: 'bottom',
|
|
39
|
+
horizontal: 'right',
|
|
40
|
+
}, PaperProps: PaperProps, onClose: handlePerPageClose, open: perPageOpen, children: PAGE_SIZE_LIST.map((perPage) => (_jsx(MenuItem, { selected: perPage === selectedPerPage, onClick: (event) => {
|
|
41
|
+
event.preventDefault();
|
|
42
|
+
onPerPageChange?.(event, perPage);
|
|
43
|
+
handlePerPageClose();
|
|
44
|
+
}, label: perPage }, perPage))) }), _jsx(Divider, { orientation: "vertical", sx: divider }), startItemNumber, "-", endItemNumber, " of \u00A0", itemCount, " items"] }), _jsxs(SidePageBox, { children: ["This page", _jsx(SelectButton, { id: "selected-page", endIcon: _jsx(ArrowDown, { style: {
|
|
45
|
+
transform: pageOpen ? 'rotate(180deg)' : 'rotate(0deg)',
|
|
46
|
+
} }), onClick: handlePageClick, children: selectedPage }), _jsx(Menu, { showCheck: true, anchorEl: pageAnchorEl, anchorOrigin: {
|
|
47
|
+
vertical: 'top',
|
|
48
|
+
horizontal: 'right',
|
|
49
|
+
}, transformOrigin: {
|
|
50
|
+
vertical: 'bottom',
|
|
51
|
+
horizontal: 'right',
|
|
52
|
+
}, PaperProps: PaperProps, onClose: handlePageClose, open: pageOpen, children: pages.map((page) => (_jsx(MenuItem, { selected: page === selectedPage, onClick: (event) => {
|
|
53
|
+
event.preventDefault();
|
|
54
|
+
onPageChange?.(event, page);
|
|
55
|
+
handlePageClose();
|
|
56
|
+
}, label: page }, page))) }), _jsx(Divider, { orientation: "vertical", sx: divider }), _jsx(ArrowButton, { id: "prev-button", disabled: selectedPage === 1, onClick: (event) => {
|
|
57
|
+
event.preventDefault();
|
|
58
|
+
onPageChange?.(event, selectedPage - 1);
|
|
59
|
+
}, endIcon: _jsx(ArrowDown, { style: { transform: 'rotate(90deg)' } }) }), _jsx(ArrowButton, { id: "next-button", disabled: selectedPage === totalPage, onClick: (event) => {
|
|
60
|
+
event.preventDefault();
|
|
61
|
+
onPageChange?.(event, selectedPage + 1);
|
|
62
|
+
}, endIcon: _jsx(ArrowDown, { style: { transform: 'rotate(-90deg)' } }) })] })] }));
|
|
63
|
+
}
|
|
64
|
+
export default Pagination;
|
|
65
|
+
//# sourceMappingURL=Pagination.js.map
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Button, styled, Box } from '@mui/material';
|
|
2
|
+
import { subScrollbarWidth } from '../../foundations';
|
|
3
|
+
export const DEFAULT_PAGE_SIZE = 100;
|
|
4
|
+
export const PAGE_SIZE_LIST = [25, 50, 75, 100];
|
|
5
|
+
export const PaginationBox = styled(Box)(({ theme }) => ({
|
|
6
|
+
...theme.typography.body5,
|
|
7
|
+
display: 'flex',
|
|
8
|
+
justifyContent: 'space-between',
|
|
9
|
+
alignItems: 'center',
|
|
10
|
+
borderTop: `1px solid ${theme.palette.neutralGrey[90]}`,
|
|
11
|
+
height: '48px',
|
|
12
|
+
padding: '14px 0',
|
|
13
|
+
color: theme.palette.neutralGrey[40],
|
|
14
|
+
}));
|
|
15
|
+
export const PaperProps = { style: { maxHeight: 378, width: 136 } };
|
|
16
|
+
export const SidePageBox = styled('div')({
|
|
17
|
+
display: 'flex',
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
height: '20px',
|
|
20
|
+
});
|
|
21
|
+
export const SelectButton = styled(Button)(({ theme }) => ({
|
|
22
|
+
justifyContent: 'flex-end',
|
|
23
|
+
border: '1px solid transparent',
|
|
24
|
+
minWidth: 'auto',
|
|
25
|
+
width: '58px',
|
|
26
|
+
height: '28px',
|
|
27
|
+
marginLeft: theme.spacing(3),
|
|
28
|
+
padding: '4px 4px 4px 8px',
|
|
29
|
+
color: theme.palette.neutralGrey[15],
|
|
30
|
+
'.MuiButton-endIcon': { margin: 0 },
|
|
31
|
+
'&:hover': {
|
|
32
|
+
background: 'transparent',
|
|
33
|
+
borderColor: theme.palette.neutralGrey[40],
|
|
34
|
+
},
|
|
35
|
+
'&:focus-visible': {
|
|
36
|
+
background: 'transparent',
|
|
37
|
+
borderColor: theme.palette.scope1,
|
|
38
|
+
},
|
|
39
|
+
}));
|
|
40
|
+
export const ArrowButton = styled(Button)(({ theme }) => ({
|
|
41
|
+
border: '1px solid transparent',
|
|
42
|
+
minWidth: 'auto',
|
|
43
|
+
height: '28px',
|
|
44
|
+
padding: theme.spacing(0.5),
|
|
45
|
+
color: theme.palette.neutralGrey[40],
|
|
46
|
+
'&:hover': {
|
|
47
|
+
background: theme.palette.neutralGrey[70],
|
|
48
|
+
},
|
|
49
|
+
'&:disabled': {
|
|
50
|
+
color: theme.palette.neutralGrey[40],
|
|
51
|
+
opacity: 0.4,
|
|
52
|
+
},
|
|
53
|
+
'.MuiButton-endIcon': {
|
|
54
|
+
margin: 0,
|
|
55
|
+
},
|
|
56
|
+
}));
|
|
57
|
+
export const PaginationContainer = styled('div')(({ theme }) => ({
|
|
58
|
+
padding: `0 ${subScrollbarWidth(theme.spacing(5))} 0 ${theme.spacing(5)}`,
|
|
59
|
+
}));
|
|
60
|
+
export const divider = {
|
|
61
|
+
borderWidth: '0',
|
|
62
|
+
margin: '0 12px',
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=Pagination.styled.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Box, Typography } from '@mui/material';
|
|
3
3
|
import { LabelContainer, LabelContent, LabelCloseButton } from './ProductLabel.styled';
|
|
4
4
|
import { Divider } from '../Divider';
|
|
5
|
-
import { Close } from '
|
|
5
|
+
import { Close } from '../../**icons**';
|
|
6
6
|
import { LunitScope } from '@lunit/design-system-logo';
|
|
7
7
|
function ProductLabel({ open, onClose, children, footerStart, footerEnd }) {
|
|
8
8
|
const handleClose = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { CloseSmall, HideSmall, ShowSmall } from '
|
|
2
|
+
import { CloseSmall, HideSmall, ShowSmall } from '../../../**icons**';
|
|
3
3
|
import { ButtonWrapper } from '../TextInput.styled';
|
|
4
4
|
function ClearButton({ onClick }) {
|
|
5
5
|
return (_jsx(ButtonWrapper, { onClick: onClick, children: _jsx(CloseSmall, { fontSize: "small" }) }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Grow, Typography, Box } from '@mui/material';
|
|
3
|
-
import { ArrowUp, Close, Success, Error16, RefreshLeft } from '
|
|
3
|
+
import { ArrowUp, Close, Success, Error16, RefreshLeft } from '../../**icons**';
|
|
4
4
|
import { useState, Fragment, useMemo } from 'react';
|
|
5
5
|
import { Divider } from '../Divider';
|
|
6
6
|
import { Button } from '../Button';
|
package/dist/components/index.js
CHANGED
|
@@ -9,10 +9,10 @@ export * from './Dialog';
|
|
|
9
9
|
export * from './Divider';
|
|
10
10
|
export * from './Dropdown';
|
|
11
11
|
export * from './FileDnDZone';
|
|
12
|
-
export * from './Icons';
|
|
13
12
|
export * from './List';
|
|
14
13
|
export * from './LoadingIndicator';
|
|
15
14
|
export * from './Menu';
|
|
15
|
+
export * from './Pagination';
|
|
16
16
|
export * from './ProductLabel';
|
|
17
17
|
export * from './Progress';
|
|
18
18
|
export * from './Radio';
|
|
@@ -200,6 +200,10 @@ const palette = {
|
|
|
200
200
|
InvalidHover: '#A7A7A7',
|
|
201
201
|
InvalidSelected: '#6E6E74',
|
|
202
202
|
},
|
|
203
|
+
scope1: '#7292FD',
|
|
204
|
+
scope2: '#587EFC',
|
|
205
|
+
scope3: '#B0C0F4',
|
|
206
|
+
scope4: '#3A5DD9',
|
|
203
207
|
info: { main: '#748FFC' },
|
|
204
208
|
success: { main: '#00C9EA' },
|
|
205
209
|
error: { main: '#FA4D56' },
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PaginationProps } from './Pagination.types';
|
|
2
|
+
declare function Pagination({ count: itemCount, page: selectedPage, perPage: selectedPerPage, totalPage, onPageChange, onPerPageChange, }: PaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Pagination;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DEFAULT_PAGE_SIZE = 100;
|
|
3
|
+
export declare const PAGE_SIZE_LIST: number[];
|
|
4
|
+
export declare const PaginationBox: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
7
|
+
export declare const PaperProps: {
|
|
8
|
+
style: {
|
|
9
|
+
maxHeight: number;
|
|
10
|
+
width: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const SidePageBox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
+
export declare const SelectButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
16
|
+
}, "color" | "disabled" | "size" | "style" | "fullWidth" | "classes" | "className" | "children" | "sx" | "variant" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "href" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
17
|
+
export declare const ArrowButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
18
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
19
|
+
}, "color" | "disabled" | "size" | "style" | "fullWidth" | "classes" | "className" | "children" | "sx" | "variant" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "href" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
20
|
+
export declare const PaginationContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
+
export declare const divider: {
|
|
22
|
+
readonly borderWidth: "0";
|
|
23
|
+
readonly margin: "0 12px";
|
|
24
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PaginationProps {
|
|
3
|
+
count: number;
|
|
4
|
+
page?: number;
|
|
5
|
+
perPage: number;
|
|
6
|
+
totalPage: number;
|
|
7
|
+
onPageChange?: (event: React.MouseEvent<HTMLLIElement> | React.MouseEvent<HTMLButtonElement> | null, page: number) => void;
|
|
8
|
+
onPerPageChange?: (event: React.MouseEvent<HTMLLIElement> | null, perPage: number) => void;
|
|
9
|
+
}
|
|
10
|
+
interface SortObject {
|
|
11
|
+
empty: boolean;
|
|
12
|
+
unsorted: boolean;
|
|
13
|
+
sorted: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface Pageable {
|
|
16
|
+
offset: number;
|
|
17
|
+
sort: SortObject;
|
|
18
|
+
paged: boolean;
|
|
19
|
+
unpaged: boolean;
|
|
20
|
+
pageNumber: number;
|
|
21
|
+
pageSize: number;
|
|
22
|
+
}
|
|
23
|
+
export interface PaginationViewInfo {
|
|
24
|
+
totalElements: number;
|
|
25
|
+
totalPages: number;
|
|
26
|
+
size: number;
|
|
27
|
+
number: number;
|
|
28
|
+
sort: SortObject;
|
|
29
|
+
pageable: Pageable;
|
|
30
|
+
numberOfElements: number;
|
|
31
|
+
first: boolean;
|
|
32
|
+
last: boolean;
|
|
33
|
+
empty: boolean;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -9,10 +9,10 @@ export * from './Dialog';
|
|
|
9
9
|
export * from './Divider';
|
|
10
10
|
export * from './Dropdown';
|
|
11
11
|
export * from './FileDnDZone';
|
|
12
|
-
export * from './Icons';
|
|
13
12
|
export * from './List';
|
|
14
13
|
export * from './LoadingIndicator';
|
|
15
14
|
export * from './Menu';
|
|
15
|
+
export * from './Pagination';
|
|
16
16
|
export * from './ProductLabel';
|
|
17
17
|
export * from './Progress';
|
|
18
18
|
export * from './Radio';
|
|
@@ -38,7 +38,14 @@ export type Alert = PaletteOptionItem<AlertKey>;
|
|
|
38
38
|
type AnalysisStatusKey = 'Uploaded' | 'Ready' | 'ReadyHover' | 'ReadySelected' | 'Inferred' | 'InferredHover' | 'InferredSelected' | 'Analyzing' | 'Analyzed' | 'FailedEnabled' | 'FailedHover' | 'FailedSelected' | 'Ready' | 'ReadyHover' | 'ReadySelected' | 'Inferred' | 'InferredHover' | 'InferredSelected' | 'Invalid' | 'InvalidHover' | 'InvalidSelected';
|
|
39
39
|
export type AnalysisStatus = PaletteOptionItem<AnalysisStatusKey>;
|
|
40
40
|
export interface LunitPalette {
|
|
41
|
-
brand:
|
|
41
|
+
brand: {
|
|
42
|
+
primary: React.CSSProperties['color'];
|
|
43
|
+
secondary: React.CSSProperties['color'];
|
|
44
|
+
};
|
|
45
|
+
scope1: React.CSSProperties['color'];
|
|
46
|
+
scope2: React.CSSProperties['color'];
|
|
47
|
+
scope3: React.CSSProperties['color'];
|
|
48
|
+
scope4: React.CSSProperties['color'];
|
|
42
49
|
lunitTeal: LunitTeal;
|
|
43
50
|
neutralGrey: NeutralColor;
|
|
44
51
|
yellow: Yellow;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunit/oui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1-alpha.10",
|
|
4
4
|
"validate-branch-name": {
|
|
5
5
|
"pattern": "^(main|develop)|(feature|fix|release|hotfix|qe)/.+$",
|
|
6
6
|
"errorMsg": "The branch name is not correct. Please check the pattern. (ex. feature/add-something)"
|
|
@@ -196,19 +196,15 @@
|
|
|
196
196
|
"webpack-node-externals": "^3.0.0"
|
|
197
197
|
},
|
|
198
198
|
"description": "Lunit Oncology UI components",
|
|
199
|
-
"main": "dist/
|
|
199
|
+
"main": "dist/index.js",
|
|
200
200
|
"module": "dist/index.js",
|
|
201
201
|
"sideEffects": false,
|
|
202
202
|
"exports": {
|
|
203
|
-
"
|
|
204
|
-
"import": "./dist/index.js",
|
|
205
|
-
"
|
|
206
|
-
"default": "./dist/
|
|
207
|
-
|
|
208
|
-
"./*": {
|
|
209
|
-
"import": "./dist/components/*/index.js",
|
|
210
|
-
"require": "./dist/cjs/components/*/index.js",
|
|
211
|
-
"default": "./dist/cjs/components/*/index.js"
|
|
203
|
+
"./icons": {
|
|
204
|
+
"import": "./dist/icons/index.js",
|
|
205
|
+
"module": "./dist/icons/index.js",
|
|
206
|
+
"default": "./dist/icons/index.js",
|
|
207
|
+
"types": "./dist/types/icons/index.d.ts"
|
|
212
208
|
}
|
|
213
209
|
},
|
|
214
210
|
"types": "dist/types/index.d.ts",
|
package/.git-ftp-include
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!./dist
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcBellNotiOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const BellNoti = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
BellNoti.displayName = 'BellNoti';
|
|
12
|
-
BellNoti.variants = variants;
|
|
13
|
-
export default BellNoti;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcCloseLargeOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const CloseLarge = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
CloseLarge.displayName = 'CloseLarge';
|
|
12
|
-
CloseLarge.variants = variants;
|
|
13
|
-
export default CloseLarge;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcCloseSmallOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const CloseSmall = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
CloseSmall.displayName = 'CloseSmall';
|
|
12
|
-
CloseSmall.variants = variants;
|
|
13
|
-
export default CloseSmall;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcDownloadPdfOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const DownloadPdf = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
DownloadPdf.displayName = 'DownloadPdf';
|
|
12
|
-
DownloadPdf.variants = variants;
|
|
13
|
-
export default DownloadPdf;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcEllipseOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const Ellipse = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
Ellipse.displayName = 'Ellipse';
|
|
12
|
-
Ellipse.variants = variants;
|
|
13
|
-
export default Ellipse;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcFilterNotiOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const FilterNoti = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
FilterNoti.displayName = 'FilterNoti';
|
|
12
|
-
FilterNoti.variants = variants;
|
|
13
|
-
export default FilterNoti;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcHideLargeOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const HideLarge = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
HideLarge.displayName = 'HideLarge';
|
|
12
|
-
HideLarge.variants = variants;
|
|
13
|
-
export default HideLarge;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcHideSmallOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const HideSmall = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
HideSmall.displayName = 'HideSmall';
|
|
12
|
-
HideSmall.variants = variants;
|
|
13
|
-
export default HideSmall;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcInformationLargeOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const InformationLarge = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
InformationLarge.displayName = 'InformationLarge';
|
|
12
|
-
InformationLarge.variants = variants;
|
|
13
|
-
export default InformationLarge;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcInformationSmallOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const InformationSmall = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
InformationSmall.displayName = 'InformationSmall';
|
|
12
|
-
InformationSmall.variants = variants;
|
|
13
|
-
export default InformationSmall;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from "@mui/material/SvgIcon";
|
|
3
|
-
import { IcManufacturerOutlined20Px as outlined } from '../../../assets';
|
|
4
|
-
const variants = ['outlined',];
|
|
5
|
-
const Manufacturer = ({ variant = 'outlined', ...rest }) => {
|
|
6
|
-
if (variant === 'outlined') {
|
|
7
|
-
return _jsx(SvgIcon, { ...rest, component: outlined, inheritViewBox: true });
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
Manufacturer.displayName = 'Manufacturer';
|
|
12
|
-
Manufacturer.variants = variants;
|
|
13
|
-
export default Manufacturer;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|