@lunit/oui 1.0.0-alpha.3 → 1.0.0-alpha.5
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 +2 -3
- package/src/components/Dialog/Dialog.styled.ts +2 -2
- package/src/components/Dialog/Dialog.types.ts +1 -1
- package/src/components/UploadManager/UploadManager.tsx +2 -2
- package/.lintstagedrc.json +0 -3
- package/dist/assets/ic-bell-noti-outlined-20px.js +0 -4
- package/dist/assets/ic-close-large-outlined-20px.js +0 -4
- package/dist/assets/ic-close-small-outlined-20px.js +0 -4
- package/dist/assets/ic-download-pdf-outlined-20px.js +0 -4
- package/dist/assets/ic-ellipse-outlined-20px.js +0 -4
- package/dist/assets/ic-filter-noti-outlined-20px.js +0 -4
- package/dist/assets/ic-hide-large-outlined-20px.js +0 -4
- package/dist/assets/ic-hide-small-outlined-20px.js +0 -4
- package/dist/assets/ic-information-large-outlined-20px.js +0 -4
- package/dist/assets/ic-information-small-outlined-20px.js +0 -4
- package/dist/assets/ic-manufacturer-outlined-20px.js +0 -4
- package/dist/assets/ic-rectangle-outlined-20px.js +0 -4
- package/dist/assets/ic-refresh-left-outlined-20px.js +0 -4
- package/dist/assets/ic-refresh-right-outlined-20px.js +0 -4
- package/dist/assets/ic-show-large-outlined-20px.js +0 -4
- package/dist/assets/ic-show-small-outlined-20px.js +0 -4
- package/dist/assets/index.js +0 -17
- package/dist/components/Alert/Alert.js +0 -15
- package/dist/components/Alert/Alert.styled.js +0 -42
- package/dist/components/Alert/Alert.types.js +0 -2
- package/dist/components/Alert/Alert.utils.js +0 -40
- package/dist/components/Alert/index.js +0 -3
- package/dist/components/BaseTextField/BaseTextField.styled.js +0 -97
- package/dist/components/BaseTextField/BaseTextField.types.js +0 -3
- package/dist/components/BaseTextField/BaseTextField.utils.js +0 -10
- package/dist/components/Button/BaseButton.js +0 -15
- package/dist/components/Button/Button.js +0 -43
- package/dist/components/Button/Button.types.js +0 -2
- package/dist/components/Button/Button.utils.js +0 -11
- package/dist/components/Button/index.js +0 -4
- package/dist/components/Button/styleds/BaseButton.styled.js +0 -52
- package/dist/components/Button/styleds/ContainedButton.styled.js +0 -112
- package/dist/components/Button/styleds/GhostButton.styled.js +0 -128
- package/dist/components/Button/styleds/IconButton.styled.js +0 -23
- package/dist/components/Button/styleds/OutlinedButton.styled.js +0 -136
- package/dist/components/Card/Card.js +0 -7
- package/dist/components/Card/Card.styled.js +0 -14
- package/dist/components/Card/Card.types.js +0 -2
- package/dist/components/Card/index.js +0 -3
- package/dist/components/Checkbox/Checkbox.js +0 -11
- package/dist/components/Checkbox/Checkbox.styled.js +0 -25
- package/dist/components/Checkbox/Checkbox.types.js +0 -2
- package/dist/components/Checkbox/Checkbox.utils.js +0 -22
- package/dist/components/Checkbox/index.js +0 -3
- package/dist/components/Chip/Chip.js +0 -26
- package/dist/components/Chip/Chip.styled.js +0 -106
- package/dist/components/Chip/Chip.types.js +0 -2
- package/dist/components/Chip/Chip.utils.js +0 -49
- package/dist/components/Chip/index.js +0 -3
- package/dist/components/DataTable/DataTable.js +0 -12
- package/dist/components/DataTable/DataTable.styled.js +0 -65
- package/dist/components/DataTable/index.js +0 -2
- package/dist/components/DatePicker/DatePicker.js +0 -162
- package/dist/components/DatePicker/DatePicker.styled.js +0 -17
- package/dist/components/DatePicker/DatePicker.types.js +0 -2
- package/dist/components/DatePicker/index.js +0 -3
- package/dist/components/Dialog/Dialog.js +0 -21
- package/dist/components/Dialog/Dialog.styled.js +0 -60
- package/dist/components/Dialog/Dialog.types.js +0 -2
- package/dist/components/Dialog/index.js +0 -3
- package/dist/components/Divider/Divider.js +0 -7
- package/dist/components/Divider/Divider.styled.js +0 -22
- package/dist/components/Divider/Divider.types.js +0 -2
- package/dist/components/Divider/index.js +0 -3
- package/dist/components/Dropdown/Dropdown.js +0 -55
- package/dist/components/Dropdown/Dropdown.styled.js +0 -103
- package/dist/components/Dropdown/Dropdown.types.js +0 -2
- package/dist/components/Dropdown/Dropdown.utils.js +0 -12
- package/dist/components/Dropdown/DropdownItem.js +0 -9
- package/dist/components/Dropdown/DropdownItem.styled.js +0 -57
- package/dist/components/Dropdown/DropdownItem.types.js +0 -2
- package/dist/components/Dropdown/DropdownItem.utils.js +0 -10
- package/dist/components/Dropdown/DropdownSubtitle.js +0 -7
- package/dist/components/Dropdown/DropdownSubtitle.styled.js +0 -12
- package/dist/components/Dropdown/DropdownSubtitle.types.js +0 -2
- package/dist/components/Dropdown/IconDropdown.js +0 -35
- package/dist/components/Dropdown/IconDropdown.styled.js +0 -72
- package/dist/components/Dropdown/IconDropdown.types.js +0 -2
- package/dist/components/Dropdown/index.js +0 -6
- package/dist/components/FileDnDZone/FileDnDZone.js +0 -13
- package/dist/components/FileDnDZone/FileDnDZone.styled.js +0 -39
- package/dist/components/FileDnDZone/FileDnDZone.types.js +0 -2
- package/dist/components/FileDnDZone/FileDnDZone.utils.js +0 -3
- package/dist/components/FileDnDZone/index.js +0 -3
- 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/components/List/List.js +0 -23
- package/dist/components/List/List.styled.js +0 -29
- package/dist/components/List/List.types.js +0 -2
- package/dist/components/List/List.utils.js +0 -12
- package/dist/components/List/ListItem.js +0 -25
- package/dist/components/List/ListItem.styled.js +0 -45
- package/dist/components/List/ListItem.types.js +0 -2
- package/dist/components/List/ListItemCaption.js +0 -10
- package/dist/components/List/ListItemCaption.styled.js +0 -7
- package/dist/components/List/ListItemCaption.types.js +0 -2
- package/dist/components/List/index.js +0 -4
- package/dist/components/LoadingIndicator/LoadingIndicator.js +0 -11
- package/dist/components/LoadingIndicator/LoadingIndicator.styled.js +0 -37
- package/dist/components/LoadingIndicator/LoadingIndicator.types.js +0 -2
- package/dist/components/LoadingIndicator/assets/DnaLoadingAnimation.json +0 -769
- package/dist/components/LoadingIndicator/assets/DotLoadingAnimation.json +0 -426
- package/dist/components/LoadingIndicator/index.js +0 -3
- package/dist/components/Menu/Menu.js +0 -13
- package/dist/components/Menu/Menu.styled.js +0 -31
- package/dist/components/Menu/Menu.types.js +0 -2
- package/dist/components/Menu/MenuItem.js +0 -20
- package/dist/components/Menu/MenuItem.styled.js +0 -48
- package/dist/components/Menu/MenuItem.types.js +0 -2
- package/dist/components/Menu/index.js +0 -3
- package/dist/components/MuiCssBaseline.js +0 -67
- package/dist/components/MuiInputBase.js +0 -24
- package/dist/components/MuiOutlinedInput.js +0 -56
- package/dist/components/MuiTextField.js +0 -16
- package/dist/components/ProductLabel/ProductLabel.js +0 -16
- package/dist/components/ProductLabel/ProductLabel.styled.js +0 -53
- package/dist/components/ProductLabel/ProductLabel.types.js +0 -2
- package/dist/components/ProductLabel/index.js +0 -3
- package/dist/components/Progress/CircularProgress.js +0 -7
- package/dist/components/Progress/CircularProgress.styled.js +0 -8
- package/dist/components/Progress/CircularProgress.types.js +0 -2
- package/dist/components/Progress/LinearProgress.js +0 -7
- package/dist/components/Progress/LinearProgress.styled.js +0 -13
- package/dist/components/Progress/LinearProgress.types.js +0 -2
- package/dist/components/Progress/index.js +0 -4
- package/dist/components/Radio/Radio.js +0 -10
- package/dist/components/Radio/Radio.styled.js +0 -32
- package/dist/components/Radio/Radio.types.js +0 -2
- package/dist/components/Radio/RadioGroup.js +0 -8
- package/dist/components/Radio/RadioGroup.styled.js +0 -6
- package/dist/components/Radio/RadioGroup.types.js +0 -2
- package/dist/components/Radio/index.js +0 -4
- package/dist/components/Stepper/Stepper.js +0 -7
- package/dist/components/Stepper/Stepper.styled.js +0 -33
- package/dist/components/Stepper/Stepper.types.js +0 -2
- package/dist/components/Stepper/index.js +0 -3
- package/dist/components/TabbedPanel/TabbedPanel.js +0 -18
- package/dist/components/TabbedPanel/TabbedPanel.styled.js +0 -116
- package/dist/components/TabbedPanel/TabbedPanel.types.js +0 -2
- package/dist/components/TabbedPanel/TabbedPanel.utils.js +0 -18
- package/dist/components/TabbedPanel/index.js +0 -3
- package/dist/components/TextField/TextArea.js +0 -10
- package/dist/components/TextField/TextArea.styled.js +0 -31
- package/dist/components/TextField/TextArea.types.js +0 -3
- package/dist/components/TextField/TextInput.js +0 -13
- package/dist/components/TextField/TextInput.styled.js +0 -103
- package/dist/components/TextField/TextInput.types.js +0 -2
- package/dist/components/TextField/TextInput.utils.js +0 -6
- package/dist/components/TextField/components/Buttons.js +0 -11
- package/dist/components/TextField/components/NormalTextInput.js +0 -39
- package/dist/components/TextField/components/PasswordInput.js +0 -22
- package/dist/components/TextField/index.js +0 -4
- package/dist/components/Tooltip/Tooltip.js +0 -21
- package/dist/components/Tooltip/Tooltip.styled.js +0 -24
- package/dist/components/Tooltip/Tooltip.types.js +0 -2
- package/dist/components/Tooltip/Tooltip.utils.js +0 -30
- package/dist/components/Tooltip/index.js +0 -3
- package/dist/components/UploadManager/UploadManager.js +0 -85
- package/dist/components/UploadManager/UploadManager.styled.js +0 -38
- package/dist/components/UploadManager/UploadManager.types.js +0 -2
- package/dist/components/UploadManager/index.js +0 -3
- package/dist/components/index.js +0 -24
- package/dist/foundations/index.js +0 -4
- package/dist/foundations/palette.js +0 -209
- package/dist/foundations/spacing.js +0 -3
- package/dist/foundations/typography.js +0 -288
- package/dist/index.js +0 -4
- package/dist/reportWebVitals.js +0 -13
- package/dist/setupTests.js +0 -6
- package/dist/systems/drawer.js +0 -6
- package/dist/systems/index.js +0 -7
- package/dist/theme.js +0 -21
- package/dist/types/assets/ic-bell-noti-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-close-large-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-close-small-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-download-pdf-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-ellipse-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-filter-noti-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-hide-large-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-hide-small-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-information-large-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-information-small-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-manufacturer-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-rectangle-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-refresh-left-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-refresh-right-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-show-large-outlined-20px.d.ts +0 -3
- package/dist/types/assets/ic-show-small-outlined-20px.d.ts +0 -3
- package/dist/types/assets/index.d.ts +0 -16
- package/dist/types/components/Alert/Alert.d.ts +0 -4
- package/dist/types/components/Alert/Alert.styled.d.ts +0 -3
- package/dist/types/components/Alert/Alert.types.d.ts +0 -4
- package/dist/types/components/Alert/Alert.utils.d.ts +0 -4
- package/dist/types/components/Alert/index.d.ts +0 -4
- package/dist/types/components/BaseTextField/BaseTextField.styled.d.ts +0 -61
- package/dist/types/components/BaseTextField/BaseTextField.types.d.ts +0 -17
- package/dist/types/components/BaseTextField/BaseTextField.utils.d.ts +0 -2
- package/dist/types/components/Button/BaseButton.d.ts +0 -3
- package/dist/types/components/Button/Button.d.ts +0 -3
- package/dist/types/components/Button/Button.types.d.ts +0 -24
- package/dist/types/components/Button/Button.utils.d.ts +0 -8
- package/dist/types/components/Button/index.d.ts +0 -5
- package/dist/types/components/Button/styleds/BaseButton.styled.d.ts +0 -859
- package/dist/types/components/Button/styleds/ContainedButton.styled.d.ts +0 -894
- package/dist/types/components/Button/styleds/GhostButton.styled.d.ts +0 -888
- package/dist/types/components/Button/styleds/IconButton.styled.d.ts +0 -21
- package/dist/types/components/Button/styleds/OutlinedButton.styled.d.ts +0 -895
- package/dist/types/components/Card/Card.d.ts +0 -3
- package/dist/types/components/Card/Card.styled.d.ts +0 -3
- package/dist/types/components/Card/Card.types.d.ts +0 -8
- package/dist/types/components/Card/index.d.ts +0 -4
- package/dist/types/components/Checkbox/Checkbox.d.ts +0 -4
- package/dist/types/components/Checkbox/Checkbox.styled.d.ts +0 -10
- package/dist/types/components/Checkbox/Checkbox.types.d.ts +0 -15
- package/dist/types/components/Checkbox/Checkbox.utils.d.ts +0 -3
- package/dist/types/components/Checkbox/index.d.ts +0 -4
- package/dist/types/components/Chip/Chip.d.ts +0 -3
- package/dist/types/components/Chip/Chip.styled.d.ts +0 -6
- package/dist/types/components/Chip/Chip.types.d.ts +0 -6
- package/dist/types/components/Chip/Chip.utils.d.ts +0 -2
- package/dist/types/components/Chip/index.d.ts +0 -3
- package/dist/types/components/DataTable/DataTable.d.ts +0 -3
- package/dist/types/components/DataTable/DataTable.styled.d.ts +0 -3
- package/dist/types/components/DataTable/index.d.ts +0 -1
- package/dist/types/components/DatePicker/DatePicker.d.ts +0 -3
- package/dist/types/components/DatePicker/DatePicker.styled.d.ts +0 -3
- package/dist/types/components/DatePicker/DatePicker.types.d.ts +0 -6
- package/dist/types/components/DatePicker/index.d.ts +0 -3
- package/dist/types/components/Dialog/Dialog.d.ts +0 -3
- package/dist/types/components/Dialog/Dialog.styled.d.ts +0 -24
- package/dist/types/components/Dialog/Dialog.types.d.ts +0 -19
- package/dist/types/components/Dialog/index.d.ts +0 -4
- package/dist/types/components/Divider/Divider.d.ts +0 -3
- package/dist/types/components/Divider/Divider.styled.d.ts +0 -6
- package/dist/types/components/Divider/Divider.types.d.ts +0 -5
- package/dist/types/components/Divider/index.d.ts +0 -4
- package/dist/types/components/Dropdown/Dropdown.d.ts +0 -3
- package/dist/types/components/Dropdown/Dropdown.styled.d.ts +0 -12
- package/dist/types/components/Dropdown/Dropdown.types.d.ts +0 -20
- package/dist/types/components/Dropdown/Dropdown.utils.d.ts +0 -3
- package/dist/types/components/Dropdown/DropdownItem.d.ts +0 -3
- package/dist/types/components/Dropdown/DropdownItem.styled.d.ts +0 -10
- package/dist/types/components/Dropdown/DropdownItem.types.d.ts +0 -12
- package/dist/types/components/Dropdown/DropdownItem.utils.d.ts +0 -3
- package/dist/types/components/Dropdown/DropdownSubtitle.d.ts +0 -3
- package/dist/types/components/Dropdown/DropdownSubtitle.styled.d.ts +0 -5
- package/dist/types/components/Dropdown/DropdownSubtitle.types.d.ts +0 -5
- package/dist/types/components/Dropdown/IconDropdown.d.ts +0 -3
- package/dist/types/components/Dropdown/IconDropdown.styled.d.ts +0 -6
- package/dist/types/components/Dropdown/IconDropdown.types.d.ts +0 -19
- package/dist/types/components/Dropdown/index.d.ts +0 -9
- package/dist/types/components/FileDnDZone/FileDnDZone.d.ts +0 -3
- package/dist/types/components/FileDnDZone/FileDnDZone.styled.d.ts +0 -14
- package/dist/types/components/FileDnDZone/FileDnDZone.types.d.ts +0 -12
- package/dist/types/components/FileDnDZone/FileDnDZone.utils.d.ts +0 -2
- package/dist/types/components/FileDnDZone/index.d.ts +0 -4
- 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/dist/types/components/List/List.d.ts +0 -5
- package/dist/types/components/List/List.styled.d.ts +0 -8
- package/dist/types/components/List/List.types.d.ts +0 -19
- package/dist/types/components/List/List.utils.d.ts +0 -3
- package/dist/types/components/List/ListItem.d.ts +0 -3
- package/dist/types/components/List/ListItem.styled.d.ts +0 -35
- package/dist/types/components/List/ListItem.types.d.ts +0 -23
- package/dist/types/components/List/ListItemCaption.d.ts +0 -4
- package/dist/types/components/List/ListItemCaption.styled.d.ts +0 -4
- package/dist/types/components/List/ListItemCaption.types.d.ts +0 -1
- package/dist/types/components/List/index.d.ts +0 -6
- package/dist/types/components/LoadingIndicator/LoadingIndicator.d.ts +0 -3
- package/dist/types/components/LoadingIndicator/LoadingIndicator.styled.d.ts +0 -13
- package/dist/types/components/LoadingIndicator/LoadingIndicator.types.d.ts +0 -6
- package/dist/types/components/LoadingIndicator/index.d.ts +0 -4
- package/dist/types/components/Menu/Menu.d.ts +0 -5
- package/dist/types/components/Menu/Menu.styled.d.ts +0 -6
- package/dist/types/components/Menu/Menu.types.d.ts +0 -15
- package/dist/types/components/Menu/MenuItem.d.ts +0 -3
- package/dist/types/components/Menu/MenuItem.styled.d.ts +0 -9
- package/dist/types/components/Menu/MenuItem.types.d.ts +0 -13
- package/dist/types/components/Menu/index.d.ts +0 -4
- package/dist/types/components/MuiCssBaseline.d.ts +0 -4
- package/dist/types/components/MuiInputBase.d.ts +0 -4
- package/dist/types/components/MuiOutlinedInput.d.ts +0 -4
- package/dist/types/components/MuiTextField.d.ts +0 -5
- package/dist/types/components/ProductLabel/ProductLabel.d.ts +0 -3
- package/dist/types/components/ProductLabel/ProductLabel.styled.d.ts +0 -22
- package/dist/types/components/ProductLabel/ProductLabel.types.d.ts +0 -10
- package/dist/types/components/ProductLabel/index.d.ts +0 -4
- package/dist/types/components/Progress/CircularProgress.d.ts +0 -3
- package/dist/types/components/Progress/CircularProgress.styled.d.ts +0 -3
- package/dist/types/components/Progress/CircularProgress.types.d.ts +0 -5
- package/dist/types/components/Progress/LinearProgress.d.ts +0 -3
- package/dist/types/components/Progress/LinearProgress.styled.d.ts +0 -3
- package/dist/types/components/Progress/LinearProgress.types.d.ts +0 -6
- package/dist/types/components/Progress/index.d.ts +0 -3
- package/dist/types/components/Radio/Radio.d.ts +0 -4
- package/dist/types/components/Radio/Radio.styled.d.ts +0 -7
- package/dist/types/components/Radio/Radio.types.d.ts +0 -14
- package/dist/types/components/Radio/RadioGroup.d.ts +0 -4
- package/dist/types/components/Radio/RadioGroup.styled.d.ts +0 -1
- package/dist/types/components/Radio/RadioGroup.types.d.ts +0 -9
- package/dist/types/components/Radio/index.d.ts +0 -5
- package/dist/types/components/Stepper/Stepper.d.ts +0 -3
- package/dist/types/components/Stepper/Stepper.styled.d.ts +0 -12
- package/dist/types/components/Stepper/Stepper.types.d.ts +0 -11
- package/dist/types/components/Stepper/index.d.ts +0 -4
- package/dist/types/components/TabbedPanel/TabbedPanel.d.ts +0 -3
- package/dist/types/components/TabbedPanel/TabbedPanel.styled.d.ts +0 -11
- package/dist/types/components/TabbedPanel/TabbedPanel.types.d.ts +0 -31
- package/dist/types/components/TabbedPanel/TabbedPanel.utils.d.ts +0 -13
- package/dist/types/components/TabbedPanel/index.d.ts +0 -4
- package/dist/types/components/TextField/TextArea.d.ts +0 -4
- package/dist/types/components/TextField/TextArea.styled.d.ts +0 -5
- package/dist/types/components/TextField/TextArea.types.d.ts +0 -19
- package/dist/types/components/TextField/TextInput.d.ts +0 -4
- package/dist/types/components/TextField/TextInput.styled.d.ts +0 -11
- package/dist/types/components/TextField/TextInput.types.d.ts +0 -26
- package/dist/types/components/TextField/TextInput.utils.d.ts +0 -3
- package/dist/types/components/TextField/components/Buttons.d.ts +0 -8
- package/dist/types/components/TextField/components/NormalTextInput.d.ts +0 -4
- package/dist/types/components/TextField/components/PasswordInput.d.ts +0 -4
- package/dist/types/components/TextField/index.d.ts +0 -6
- package/dist/types/components/Tooltip/Tooltip.d.ts +0 -4
- package/dist/types/components/Tooltip/Tooltip.styled.d.ts +0 -3
- package/dist/types/components/Tooltip/Tooltip.types.d.ts +0 -16
- package/dist/types/components/Tooltip/Tooltip.utils.d.ts +0 -4
- package/dist/types/components/Tooltip/index.d.ts +0 -4
- package/dist/types/components/UploadManager/UploadManager.d.ts +0 -6
- package/dist/types/components/UploadManager/UploadManager.styled.d.ts +0 -13
- package/dist/types/components/UploadManager/UploadManager.types.d.ts +0 -14
- package/dist/types/components/UploadManager/index.d.ts +0 -4
- package/dist/types/components/index.d.ts +0 -23
- package/dist/types/foundations/index.d.ts +0 -3
- package/dist/types/foundations/palette.d.ts +0 -72
- package/dist/types/foundations/spacing.d.ts +0 -3
- package/dist/types/foundations/typography.d.ts +0 -152
- package/dist/types/index.d.ts +0 -3
- package/dist/types/reportWebVitals.d.ts +0 -3
- package/dist/types/setupTests.d.ts +0 -1
- package/dist/types/systems/drawer.d.ts +0 -22
- package/dist/types/systems/index.d.ts +0 -6
- package/dist/types/theme.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunit/oui",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.5",
|
|
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)"
|
|
@@ -88,8 +88,7 @@
|
|
|
88
88
|
"build:transpile": "tsc -p tsconfig.build.json",
|
|
89
89
|
"build:cjs": "NODE_ENV=production webpack -c config/cjs.config.js",
|
|
90
90
|
"storybook": "storybook dev -p 6006",
|
|
91
|
-
"build-storybook": "storybook build"
|
|
92
|
-
"prepare": "husky install"
|
|
91
|
+
"build-storybook": "storybook build"
|
|
93
92
|
},
|
|
94
93
|
"eslintConfig": {
|
|
95
94
|
"extends": [
|
|
@@ -8,14 +8,14 @@ import type { DialogProps } from './Dialog.types';
|
|
|
8
8
|
|
|
9
9
|
interface StyledDialogProps extends DialogProps {
|
|
10
10
|
displayChildren: boolean;
|
|
11
|
-
isPrompt
|
|
11
|
+
isPrompt?: boolean;
|
|
12
12
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13
13
|
sx?: any;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
interface StyledDialogTitleProps {
|
|
17
17
|
displayChildren: boolean;
|
|
18
|
-
isPrompt
|
|
18
|
+
isPrompt?: boolean;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const StyledDialog = styled(Dialog, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Grow, Typography, Box } from '@mui/material';
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { ArrowUp, Close, Success, Error16, RefreshLeft } from '../Icons';
|
|
5
5
|
|
|
6
6
|
import { useState, Fragment, useMemo } from 'react';
|
|
7
7
|
import { Divider } from '../Divider';
|
|
@@ -222,7 +222,7 @@ const UploadManager = ({
|
|
|
222
222
|
onClick={handleExpandClick}
|
|
223
223
|
variant="ghost"
|
|
224
224
|
color="secondary"
|
|
225
|
-
icon={<
|
|
225
|
+
icon={<ArrowUp style={{ color: theme.palette.neutralGrey[40] }} />}
|
|
226
226
|
size="small"
|
|
227
227
|
sx={{
|
|
228
228
|
transform: expanded ? 'rotate(0deg)' : 'rotate(180deg)',
|
package/.lintstagedrc.json
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcBellNotioutlined20Px = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: [_jsx("path", { fillRule: "evenodd", d: "M10 1.5c.557 0 1.072.049 1.547.142a5.021 5.021 0 0 0-1.128.869A8.062 8.062 0 0 0 10 2.5c-1.258 0-2.214.278-2.944.717-.731.439-1.265 1.056-1.653 1.778-.785 1.461-.955 3.326-.914 4.872.044 1.62-.343 3.313-1.36 4.633h13.742c-.831-1.078-1.241-2.406-1.34-3.739.344-.11.672-.257.98-.436.039 1.495.502 2.935 1.493 3.96a.717.717 0 0 1-.515 1.215H12.5a2.5 2.5 0 0 1-5 0H2.511a.717.717 0 0 1-.515-1.215c1.086-1.123 1.538-2.745 1.494-4.39-.044-1.606.124-3.682 1.032-5.373.458-.854 1.11-1.616 2.019-2.162.91-.547 2.05-.86 3.459-.86Zm-1.5 14a1.5 1.5 0 0 0 3 0h-3Z", clipRule: "evenodd" }), _jsx("path", { fill: "#E63B28", d: "M18 6a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z" })] }));
|
|
3
|
-
export default SvgIcBellNotioutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-bell-noti-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcCloseLargeoutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M4.854 15.854a.5.5 0 0 1-.708-.708L9.293 10 4.146 4.854a.5.5 0 1 1 .708-.708L10 9.293l5.146-5.147a.5.5 0 0 1 .708.708L10.707 10l5.147 5.146a.5.5 0 0 1-.708.708L10 10.707l-5.146 5.147Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcCloseLargeoutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-close-large-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcCloseSmalloutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M10 9.293 5.854 5.146a.5.5 0 1 0-.708.708L9.293 10l-4.147 4.146a.5.5 0 1 0 .708.708L10 10.707l4.146 4.147a.5.5 0 0 0 .708-.708L10.707 10l4.147-4.146a.5.5 0 0 0-.708-.708L10 9.293Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcCloseSmalloutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-close-small-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcDownloadPdfoutlined20Px = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: [_jsx("path", { fillRule: "evenodd", d: "M3.051 2.343V8h1.014V6.086h1.088c1.307 0 2.009-.785 2.009-1.87 0-1.08-.694-1.873-1.995-1.873H3.051Zm1.014 2.906V3.193h.947c.768 0 1.11.42 1.11 1.022 0 .603-.342 1.034-1.104 1.034h-.953ZM9.939 2.343h-1.95V8h1.914c1.724 0 2.74-1.066 2.74-2.834 0-1.763-1.016-2.823-2.704-2.823Zm-.937 4.776V3.224h.882c1.152 0 1.751.643 1.751 1.942 0 1.3-.6 1.953-1.782 1.953h-.85Z", clipRule: "evenodd" }), _jsx("path", { d: "M14.565 5.594V8H13.55V2.343h3.619v.856h-2.605V4.74h2.356v.854h-2.356ZM13.124 13.67l-2.624 3V11a.5.5 0 1 0-1 0v5.67l-2.624-3a.5.5 0 1 0-.752.66l3.5 4a.5.5 0 0 0 .752 0l3.5-4a.5.5 0 0 0-.752-.66Z" })] }));
|
|
3
|
-
export default SvgIcDownloadPdfoutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-download-pdf-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcEllipseoutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm0 1a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcEllipseoutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-ellipse-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcFilterNotioutlined20Px = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: [_jsx("path", { fillRule: "evenodd", d: "M10.1 5H6.937a2 2 0 0 0-3.874 0H2a.5.5 0 0 0 0 1h1.063a2 2 0 0 0 3.874 0H10c0-.342.034-.677.1-1Zm2.55 4.238a2 2 0 0 1 3.787.262h.501a3.973 3.973 0 0 1-1.438.47 1 1 0 0 0-1.962-.245 3.993 3.993 0 0 1-.888-.487Zm-1.22.262H2a.5.5 0 0 0 0 1h10.563a2 2 0 0 0 3.76.323 5.005 5.005 0 0 1-1.669.165 1.002 1.002 0 0 1-.544-.067A4.989 4.989 0 0 1 11.43 9.5Zm5.752 1H18a.5.5 0 0 0 .384-.82 5.01 5.01 0 0 1-1.202.82ZM11 6c0-.345.044-.68.126-1H18a.5.5 0 0 1 0 1h-7Zm-7-.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0Zm6.437 9.5a2 2 0 0 1-3.874 0H2a.5.5 0 0 1 0-1h4.563a2 2 0 0 1 3.874 0H18a.5.5 0 0 1 0 1h-7.563ZM7.5 14.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0Z", clipRule: "evenodd" }), _jsx("path", { fill: "#E63B28", d: "M19 6a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z" })] }));
|
|
3
|
-
export default SvgIcFilterNotioutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-filter-noti-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcHideLargeoutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { d: "M3.975 6.344a.5.5 0 0 0-.95.31L3.5 6.5l-.475.155v.003l.002.005.006.016.019.052c.016.043.04.103.071.178.065.149.163.356.303.599.222.385.55.864 1.017 1.342l-1.296 1.297a.5.5 0 1 0 .707.707l1.34-1.34c.458.348 1.003.669 1.646.923l-.8 1.866a.5.5 0 1 0 .92.394l.837-1.954a8.805 8.805 0 0 0 1.703.245V13.5a.5.5 0 1 0 1 0v-2.512a8.804 8.804 0 0 0 1.703-.245l.838 1.954a.5.5 0 1 0 .919-.394l-.8-1.866a6.913 6.913 0 0 0 1.646-.923l1.39 1.39a.42.42 0 0 0 .632-.026.5.5 0 0 0 .026-.731L15.557 8.85a6.77 6.77 0 0 0 1.018-1.342 5.823 5.823 0 0 0 .374-.777l.018-.052.006-.016.002-.005v-.003L16.5 6.5l.476.155a.5.5 0 0 0-.951-.31l-.002.005a4.82 4.82 0 0 1-.315.659c-.236.41-.619.95-1.197 1.456a5.943 5.943 0 0 1-2.17 1.201 7.826 7.826 0 0 1-2.34.334 7.825 7.825 0 0 1-2.342-.334 5.943 5.943 0 0 1-2.17-1.201 5.783 5.783 0 0 1-1.197-1.456 4.814 4.814 0 0 1-.304-.628 1.486 1.486 0 0 1-.01-.031l-.003-.006Z" }) }));
|
|
3
|
-
export default SvgIcHideLargeoutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-hide-large-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcHideSmalloutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M14.926 7.644a.494.494 0 1 0-.948-.288v.002a3.655 3.655 0 0 1-.208.477c-.159.3-.412.692-.795 1.06-.354.34-.82.659-1.428.867a4.752 4.752 0 0 1-1.547.24 4.752 4.752 0 0 1-1.547-.24 3.831 3.831 0 0 1-1.428-.867 4.161 4.161 0 0 1-.96-1.42 2.268 2.268 0 0 1-.036-.096l-.007-.021v-.003a.494.494 0 0 0-.616-.334.506.506 0 0 0-.331.625v.001l.002.005.003.012a2.073 2.073 0 0 0 .065.18 5.216 5.216 0 0 0 .577 1.054l-1.057.993a.548.548 0 0 0-.048.73c.172.216.474.24.673.052l1.087-1.021c.273.257.597.503.98.714l-.663 1.257a.542.542 0 0 0 .177.706c.23.142.52.055.652-.193l.731-1.387c.378.119.794.201 1.251.236V12.5c0 .277.222.501.495.501a.498.498 0 0 0 .495-.5v-1.515a5.579 5.579 0 0 0 1.212-.224l.725 1.375c.13.248.422.335.651.193a.541.541 0 0 0 .178-.706l-.653-1.238a4.811 4.811 0 0 0 1.015-.733l1.087 1.02c.2.188.5.165.673-.051a.548.548 0 0 0-.048-.73l-1.057-.993a5.198 5.198 0 0 0 .577-1.054 3.23 3.23 0 0 0 .064-.18l.005-.012v-.005l.001-.001v-.002Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcHideSmalloutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-hide-small-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcInformationLargeoutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-9 8a9 9 0 1 1 18 0 9 9 0 0 1-18 0Zm8.25 4.247c0 .38.283.694.65.743a.503.503 0 0 0 .2 0 .75.75 0 0 0 .65-.743v-5.5a.75.75 0 0 0-1.5 0v5.5ZM10 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcInformationLargeoutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-information-large-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcInformationSmalloutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M4 10a6 6 0 1 1 12 0 6 6 0 0 1-12 0Zm6-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm.09 6.008a.501.501 0 0 0-.18 0 .75.75 0 0 0-.66.745v3.5a.75.75 0 0 0 1.5 0v-3.5a.75.75 0 0 0-.66-.745ZM10 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcInformationSmalloutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-information-small-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcManufactureroutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 20, height: 24, fill: "none", ...props, children: _jsx("path", { fill: "#000", fillRule: "evenodd", d: "M19.48.004v23H0v-8.543l2.977-6.178 2.253 4.682 2.254-4.682 2.256 4.682 2.254-4.682 2.256 4.682V.005h5.23Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcManufactureroutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-manufacturer-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcRectangleoutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M1 2a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2Zm1 0v16h16V2H2Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcRectangleoutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-rectangle-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcRefreshLeftoutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M3.673 7a7 7 0 1 1-.275 5.333.5.5 0 0 0-.943.334A8 8 0 1 0 3 6.125V3.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 0-1H3.673Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcRefreshLeftoutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-refresh-left-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcRefreshRightoutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { d: "M14.436 3.343a8 8 0 1 0 3.294 8.718.5.5 0 0 0-.966-.258 7 7 0 1 1-.273-4.424h-2.957a.5.5 0 0 0 0 1h4.243a.5.5 0 0 0 .5-.5V3.636a.5.5 0 0 0-1 0v3.04a8 8 0 0 0-2.84-3.333Z" }) }));
|
|
3
|
-
export default SvgIcRefreshRightoutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-refresh-right-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcShowLargeoutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M3.025 10.228C3.445 9.238 5.178 6 9.977 6c4.789 0 6.559 3.222 6.997 4.224a.23.23 0 0 1-.004.204C16.523 11.285 14.748 14 9.977 14c-4.782 0-6.519-2.728-6.948-3.575a.227.227 0 0 1-.004-.197ZM9.977 5C4.59 5 2.59 8.685 2.1 9.839c-.14.33-.135.706.032 1.036C2.672 11.942 4.7 15 9.977 15c5.262 0 7.325-3.039 7.885-4.112.175-.337.18-.724.033-1.063C17.386 8.662 15.349 5 9.977 5Zm-2.009 5c0-1.105.9-2 2.01-2 1.109 0 2.008.895 2.008 2s-.899 2-2.009 2c-1.11 0-2.009-.895-2.009-2Zm2.01-3a3.007 3.007 0 0 0-3.014 3c0 1.657 1.349 3 3.013 3a3.007 3.007 0 0 0 3.014-3c0-1.657-1.35-3-3.014-3Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcShowLargeoutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-show-large-outlined-20px.js.map
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIcShowSmalloutlined20Px = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M10 7c3.305 0 4.591 2.345 4.975 3.276C14.593 11.042 13.312 13 10 13c-3.312 0-4.593-1.958-4.975-2.724C5.41 9.346 6.695 7 10 7Zm5.95 3.02a.722.722 0 0 1-.016.567C15.538 11.447 14.024 14 10 14c-4.023 0-5.538-2.552-5.934-3.413a.722.722 0 0 1-.016-.566C4.422 9.058 5.923 6 10 6s5.578 3.058 5.95 4.02ZM11 10a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgIcShowSmalloutlined20Px;
|
|
4
|
-
//# sourceMappingURL=ic-show-small-outlined-20px.js.map
|
package/dist/assets/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export { default as IcBellNotiOutlined20Px } from './ic-bell-noti-outlined-20px';
|
|
2
|
-
export { default as IcCloseLargeOutlined20Px } from './ic-close-large-outlined-20px';
|
|
3
|
-
export { default as IcCloseSmallOutlined20Px } from './ic-close-small-outlined-20px';
|
|
4
|
-
export { default as IcDownloadPdfOutlined20Px } from './ic-download-pdf-outlined-20px';
|
|
5
|
-
export { default as IcEllipseOutlined20Px } from './ic-ellipse-outlined-20px';
|
|
6
|
-
export { default as IcFilterNotiOutlined20Px } from './ic-filter-noti-outlined-20px';
|
|
7
|
-
export { default as IcHideLargeOutlined20Px } from './ic-hide-large-outlined-20px';
|
|
8
|
-
export { default as IcHideSmallOutlined20Px } from './ic-hide-small-outlined-20px';
|
|
9
|
-
export { default as IcInformationLargeOutlined20Px } from './ic-information-large-outlined-20px';
|
|
10
|
-
export { default as IcInformationSmallOutlined20Px } from './ic-information-small-outlined-20px';
|
|
11
|
-
export { default as IcManufacturerOutlined20Px } from './ic-manufacturer-outlined-20px';
|
|
12
|
-
export { default as IcRectangleOutlined20Px } from './ic-rectangle-outlined-20px';
|
|
13
|
-
export { default as IcRefreshLeftOutlined20Px } from './ic-refresh-left-outlined-20px';
|
|
14
|
-
export { default as IcRefreshRightOutlined20Px } from './ic-refresh-right-outlined-20px';
|
|
15
|
-
export { default as IcShowLargeOutlined20Px } from './ic-show-large-outlined-20px';
|
|
16
|
-
export { default as IcShowSmallOutlined20Px } from './ic-show-small-outlined-20px';
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from 'react';
|
|
3
|
-
import { Close } from '../Icons';
|
|
4
|
-
import BaseAlert from './Alert.styled';
|
|
5
|
-
import { getAccentColor, getIcons } from './Alert.utils';
|
|
6
|
-
import { Button } from '../Button';
|
|
7
|
-
const Alert = forwardRef(({ title, severity, children, onClose, ...rest }, ref) => {
|
|
8
|
-
return (_jsx("div", { ref: ref, children: _jsx(BaseAlert, { severity: severity, icon: getIcons(severity), slots: {
|
|
9
|
-
closeButton: () => (_jsx(Button, { variant: "ghost", icon: _jsx(Close, { fontSize: "small" }), onClick: onClose, size: "small", sx: {
|
|
10
|
-
color: getAccentColor(severity),
|
|
11
|
-
} })),
|
|
12
|
-
}, onClose: onClose, ...rest, children: children }) }));
|
|
13
|
-
});
|
|
14
|
-
export default Alert;
|
|
15
|
-
//# sourceMappingURL=Alert.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Alert as MuiAlert, alertClasses, styled, svgIconClasses } from '@mui/material';
|
|
2
|
-
import { getAccentColor, getBackgroundColor } from './Alert.utils';
|
|
3
|
-
const BaseAlert = styled(MuiAlert)(({ theme, severity }) => ({
|
|
4
|
-
[`&.${alertClasses.root}`]: {
|
|
5
|
-
display: 'flex',
|
|
6
|
-
padding: `${theme.spacing(2)} ${theme.spacing(4)}`,
|
|
7
|
-
maxWidth: '456px',
|
|
8
|
-
borderRadius: '8px',
|
|
9
|
-
border: `1px solid ${getAccentColor(severity)}`,
|
|
10
|
-
backgroundColor: getBackgroundColor(severity),
|
|
11
|
-
boxShadow: 'none',
|
|
12
|
-
},
|
|
13
|
-
[`& .${alertClasses.icon}`]: {
|
|
14
|
-
fontSize: '20px',
|
|
15
|
-
alignItems: 'center',
|
|
16
|
-
padding: `${theme.spacing(1)} 0`,
|
|
17
|
-
marginRight: theme.spacing(2),
|
|
18
|
-
color: `${getAccentColor(severity)} !important`,
|
|
19
|
-
},
|
|
20
|
-
[`& .${alertClasses.message}`]: {
|
|
21
|
-
padding: `${theme.spacing(1)} 0`,
|
|
22
|
-
width: '100%',
|
|
23
|
-
overflow: 'hidden',
|
|
24
|
-
display: '-webkit-box',
|
|
25
|
-
textOverflow: 'ellipsis',
|
|
26
|
-
WebkitLineClamp: '5',
|
|
27
|
-
WebkitBoxOrient: 'vertical',
|
|
28
|
-
color: theme.palette.neutralGrey[0],
|
|
29
|
-
},
|
|
30
|
-
[`& .${alertClasses.action}`]: {
|
|
31
|
-
margin: 0,
|
|
32
|
-
padding: 0,
|
|
33
|
-
paddingLeft: theme.spacing(2),
|
|
34
|
-
alignItems: 'center',
|
|
35
|
-
},
|
|
36
|
-
[`& .${svgIconClasses.root}`]: {
|
|
37
|
-
height: '20px',
|
|
38
|
-
width: '20px',
|
|
39
|
-
},
|
|
40
|
-
}));
|
|
41
|
-
export default BaseAlert;
|
|
42
|
-
//# sourceMappingURL=Alert.styled.js.map
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Success, Error, Information } from '../Icons';
|
|
3
|
-
import theme from '../../theme';
|
|
4
|
-
export const getIcons = (severity) => {
|
|
5
|
-
switch (severity) {
|
|
6
|
-
case 'info':
|
|
7
|
-
return _jsx(Information, {});
|
|
8
|
-
case 'success':
|
|
9
|
-
return _jsx(Success, {});
|
|
10
|
-
case 'error':
|
|
11
|
-
return _jsx(Error, {});
|
|
12
|
-
default:
|
|
13
|
-
return _jsx(Error, {});
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
export const getBackgroundColor = (severity) => {
|
|
17
|
-
switch (severity) {
|
|
18
|
-
case 'info':
|
|
19
|
-
return theme.palette.alert.InfoBG;
|
|
20
|
-
case 'success':
|
|
21
|
-
return theme.palette.alert.SuccessBG;
|
|
22
|
-
case 'error':
|
|
23
|
-
return theme.palette.alert.ErrorBG;
|
|
24
|
-
default:
|
|
25
|
-
return theme.palette.alert.WarningBG;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
export const getAccentColor = (severity) => {
|
|
29
|
-
switch (severity) {
|
|
30
|
-
case 'info':
|
|
31
|
-
return theme.palette.blue[25];
|
|
32
|
-
case 'success':
|
|
33
|
-
return theme.palette.lunitTeal[40];
|
|
34
|
-
case 'error':
|
|
35
|
-
return theme.palette.red[5];
|
|
36
|
-
default:
|
|
37
|
-
return theme.palette.yellow[20];
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=Alert.utils.js.map
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
// This file facilitates style sharing between text input and text area
|
|
2
|
-
import { Box, Typography } from '@mui/material';
|
|
3
|
-
import { styled } from '@mui/material/styles';
|
|
4
|
-
import { formatCSSSize } from './BaseTextField.utils';
|
|
5
|
-
const baseTextFieldStyle = (theme) => {
|
|
6
|
-
return {
|
|
7
|
-
backgroundColor: theme.palette.neutralGrey[75],
|
|
8
|
-
borderRadius: '8px',
|
|
9
|
-
border: '1px solid',
|
|
10
|
-
borderColor: 'transparent',
|
|
11
|
-
color: theme.palette.neutralGrey[5],
|
|
12
|
-
fontWeight: '400',
|
|
13
|
-
fontSize: '14px',
|
|
14
|
-
fontFamily: 'Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"',
|
|
15
|
-
lineHeight: '20px',
|
|
16
|
-
padding: '7px 16px',
|
|
17
|
-
'&::placeholder': {
|
|
18
|
-
color: theme.palette.neutralGrey[45],
|
|
19
|
-
},
|
|
20
|
-
'&:focus': {
|
|
21
|
-
outline: 'none',
|
|
22
|
-
border: '1px solid',
|
|
23
|
-
borderColor: theme.palette.lunitTeal[10],
|
|
24
|
-
},
|
|
25
|
-
'&:hover': {
|
|
26
|
-
borderColor: theme.palette.neutralGrey[45],
|
|
27
|
-
},
|
|
28
|
-
'&:disabled': {
|
|
29
|
-
opacity: '0.8',
|
|
30
|
-
pointerEvents: 'none',
|
|
31
|
-
},
|
|
32
|
-
'&:read-only': {
|
|
33
|
-
border: `1px solid ${theme.palette.neutralGrey[70]}`,
|
|
34
|
-
backgroundColor: 'transparent',
|
|
35
|
-
color: theme.palette.neutralGrey[45],
|
|
36
|
-
pointerEvents: 'none',
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
const baseTextFieldErrorStyle = (theme) => {
|
|
41
|
-
return {
|
|
42
|
-
borderColor: theme.palette.red[5],
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
const baseTextFieldMsgStyle = (theme) => {
|
|
46
|
-
return {
|
|
47
|
-
width: '312px',
|
|
48
|
-
maxWidth: '312px',
|
|
49
|
-
minHeight: '20px',
|
|
50
|
-
color: theme.palette.neutralGrey[45],
|
|
51
|
-
padding: '4px',
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
const baseTextFieldMsgErrorStyle = (theme) => {
|
|
55
|
-
return {
|
|
56
|
-
color: theme.palette.red[5],
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
const BaseTextFieldBox = styled(Box, {
|
|
60
|
-
shouldForwardProp: (prop) => prop !== 'width',
|
|
61
|
-
})(({ width }) => {
|
|
62
|
-
return {
|
|
63
|
-
width: formatCSSSize(width),
|
|
64
|
-
minWidth: formatCSSSize(width) ? 'unset' : '208px',
|
|
65
|
-
};
|
|
66
|
-
});
|
|
67
|
-
const BaseTextFieldContainer = styled(Box, {
|
|
68
|
-
shouldForwardProp: (prop) => !['width'].includes(prop.toString()),
|
|
69
|
-
})(({ width }) => {
|
|
70
|
-
return {
|
|
71
|
-
position: 'relative',
|
|
72
|
-
display: 'flex',
|
|
73
|
-
flexDirection: 'column',
|
|
74
|
-
width: formatCSSSize(width),
|
|
75
|
-
minWidth: formatCSSSize(width) ? 'unset' : '208px',
|
|
76
|
-
};
|
|
77
|
-
});
|
|
78
|
-
const InputMsg = styled(Typography, {
|
|
79
|
-
shouldForwardProp: (prop) => prop !== 'error',
|
|
80
|
-
})(({ theme, error }) => {
|
|
81
|
-
let resultStyle = baseTextFieldMsgStyle(theme);
|
|
82
|
-
if (error) {
|
|
83
|
-
resultStyle = {
|
|
84
|
-
...resultStyle,
|
|
85
|
-
...baseTextFieldMsgErrorStyle(theme),
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
return resultStyle;
|
|
89
|
-
});
|
|
90
|
-
const styles = {
|
|
91
|
-
baseTextFieldStyle,
|
|
92
|
-
baseTextFieldErrorStyle,
|
|
93
|
-
baseTextFieldMsgStyle,
|
|
94
|
-
baseTextFieldMsgErrorStyle,
|
|
95
|
-
};
|
|
96
|
-
export { styles, BaseTextFieldContainer, BaseTextFieldBox, InputMsg };
|
|
97
|
-
//# sourceMappingURL=BaseTextField.styled.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { BaseContainedButton } from './styleds/ContainedButton.styled';
|
|
3
|
-
import { BaseGhostButton } from './styleds/GhostButton.styled';
|
|
4
|
-
import { BaseOutlinedButton } from './styleds/OutlinedButton.styled';
|
|
5
|
-
const BaseButton = ({ variant, ...otherProps }) => {
|
|
6
|
-
if (variant === 'ghost') {
|
|
7
|
-
return _jsx(BaseGhostButton, { ...otherProps });
|
|
8
|
-
}
|
|
9
|
-
if (variant === 'outlined') {
|
|
10
|
-
return _jsx(BaseOutlinedButton, { ...otherProps });
|
|
11
|
-
}
|
|
12
|
-
return _jsx(BaseContainedButton, { ...otherProps });
|
|
13
|
-
};
|
|
14
|
-
export default BaseButton;
|
|
15
|
-
//# sourceMappingURL=BaseButton.js.map
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box } from '@mui/system';
|
|
3
|
-
import BaseButton from './BaseButton';
|
|
4
|
-
import { CircularProgress } from '../Progress';
|
|
5
|
-
import theme from '../../theme';
|
|
6
|
-
import { isIconButton } from './Button.utils';
|
|
7
|
-
function Button(props) {
|
|
8
|
-
if (isIconButton(props)) {
|
|
9
|
-
const { icon, loading, onClick, disableRipple = true, focusOutline = false, ...otherProps } = props;
|
|
10
|
-
return (_jsx(BaseButton, { ...otherProps, isIconOnly: true, disableRipple: disableRipple, focusOutline: focusOutline, onClick: loading
|
|
11
|
-
? (e) => {
|
|
12
|
-
e.preventDefault();
|
|
13
|
-
}
|
|
14
|
-
: onClick, children: loading ? (_jsx(CircularProgress, { circleColor: theme.palette.neutralGrey[0], size: 20, sx: {
|
|
15
|
-
display: 'flex',
|
|
16
|
-
justifyContent: 'center',
|
|
17
|
-
alignItems: 'center',
|
|
18
|
-
} })) : (icon) }));
|
|
19
|
-
}
|
|
20
|
-
const { icon, label, size, focusOutline = false, disableRipple = true, loading, onClick, ...otherProps } = props;
|
|
21
|
-
return (_jsx(BaseButton, { isIconOnly: false, variant: otherProps.variant ?? 'contained', disableRipple: disableRipple, size: size, color: otherProps.color, focusOutline: focusOutline, onClick: loading
|
|
22
|
-
? (e) => {
|
|
23
|
-
e.preventDefault();
|
|
24
|
-
}
|
|
25
|
-
: onClick, sx: loading
|
|
26
|
-
? {
|
|
27
|
-
'&:not(.loadingCircle)': {
|
|
28
|
-
color: 'transparent',
|
|
29
|
-
},
|
|
30
|
-
}
|
|
31
|
-
: {}, ...otherProps, children: _jsxs(_Fragment, { children: [icon, label, loading && (_jsx(Box, { className: "loadingCircle", sx: {
|
|
32
|
-
position: 'absolute',
|
|
33
|
-
top: '50%',
|
|
34
|
-
left: '50%',
|
|
35
|
-
transform: 'translate3d(-50%, -50%, 0)',
|
|
36
|
-
}, children: _jsx(CircularProgress, { circleColor: theme.palette.neutralGrey[0], size: 20, sx: {
|
|
37
|
-
display: 'flex',
|
|
38
|
-
justifyContent: 'center',
|
|
39
|
-
alignItems: 'center',
|
|
40
|
-
} }) }))] }) }));
|
|
41
|
-
}
|
|
42
|
-
export default Button;
|
|
43
|
-
//# sourceMappingURL=Button.js.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param props
|
|
3
|
-
* @returns boolean
|
|
4
|
-
* @description checks for presence of `label` prop to assert between Icon and Normal Button
|
|
5
|
-
*/
|
|
6
|
-
function isIconButton(props) {
|
|
7
|
-
const p = props;
|
|
8
|
-
return !p.label;
|
|
9
|
-
}
|
|
10
|
-
export { isIconButton };
|
|
11
|
-
//# sourceMappingURL=Button.utils.js.map
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { typography } from '../../../foundations';
|
|
2
|
-
const baseButtonStyle = (theme, focusOutline) => {
|
|
3
|
-
const mainColor = theme.palette.lunitTeal[40];
|
|
4
|
-
return {
|
|
5
|
-
alignItems: 'center',
|
|
6
|
-
display: 'flex',
|
|
7
|
-
gap: '4px',
|
|
8
|
-
borderRadius: '8px',
|
|
9
|
-
border: '1px solid transparent',
|
|
10
|
-
textTransform: 'none',
|
|
11
|
-
minWidth: '36px',
|
|
12
|
-
width: 'max-content',
|
|
13
|
-
height: '36px',
|
|
14
|
-
padding: '8px 12px',
|
|
15
|
-
...typography.body4,
|
|
16
|
-
backgroundColor: mainColor,
|
|
17
|
-
color: theme.palette.neutralGrey[97],
|
|
18
|
-
'&:hover': {
|
|
19
|
-
backgroundColor: mainColor,
|
|
20
|
-
opacity: 0.8,
|
|
21
|
-
},
|
|
22
|
-
'&:disabled': {
|
|
23
|
-
color: theme.palette.neutralGrey[97],
|
|
24
|
-
backgroundColor: mainColor,
|
|
25
|
-
opacity: 0.4,
|
|
26
|
-
},
|
|
27
|
-
'&:focus': {
|
|
28
|
-
border: focusOutline ? `1px solid ${theme.palette.lunitTeal[10]}` : '1px solid transparent',
|
|
29
|
-
outline: 'none',
|
|
30
|
-
},
|
|
31
|
-
'&:focus-visible': {
|
|
32
|
-
border: focusOutline ? `1px solid ${theme.palette.lunitTeal[10]}` : '1px solid transparent',
|
|
33
|
-
outline: 'none',
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
const baseSmallStyle = {
|
|
38
|
-
height: '28px',
|
|
39
|
-
minWidth: '28px',
|
|
40
|
-
padding: '4px 8px',
|
|
41
|
-
};
|
|
42
|
-
const baseLargeStyle = {
|
|
43
|
-
fontWeight: 600,
|
|
44
|
-
fontSize: '16px',
|
|
45
|
-
lineHeight: '22px',
|
|
46
|
-
// textTransform: 'capitalize', // This causes a type error in BaseOutlinedButton :S
|
|
47
|
-
height: '44px',
|
|
48
|
-
minWidth: '44px',
|
|
49
|
-
padding: '12px',
|
|
50
|
-
};
|
|
51
|
-
export { baseButtonStyle, baseSmallStyle, baseLargeStyle };
|
|
52
|
-
//# sourceMappingURL=BaseButton.styled.js.map
|