@lunit/oui 1.1.0-alpha.5 → 1.2.0
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/foundations/index.d.ts +6 -0
- package/dist/foundations/index.js +5 -4
- package/dist/foundations/typography.d.ts +158 -0
- package/dist/theme.d.ts +15 -0
- package/dist/theme.js +1 -1
- package/package.json +3 -1
- package/dist/reportWebVitals.js +0 -12
- package/dist/setupTests.js +0 -5
- package/dist/types/foundations/index.d.ts +0 -4
- package/dist/types/foundations/typography.d.ts +0 -152
- package/dist/types/reportWebVitals.d.ts +0 -3
- package/dist/types/setupTests.d.ts +0 -1
- package/dist/types/theme.d.ts +0 -2
- /package/dist/{types/assets → assets}/ic-bell-noti-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-close-large-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-close-small-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-download-pdf-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-ellipse-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-filter-noti-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-hide-large-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-hide-small-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-information-large-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-information-small-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-manufacturer-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-rectangle-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-refresh-left-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-refresh-right-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-show-large-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/ic-show-small-outlined-20px.d.ts +0 -0
- /package/dist/{types/assets → assets}/index.d.ts +0 -0
- /package/dist/{types/components → components}/Alert/Alert.d.ts +0 -0
- /package/dist/{types/components → components}/Alert/Alert.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Alert/Alert.types.d.ts +0 -0
- /package/dist/{types/components → components}/Alert/Alert.utils.d.ts +0 -0
- /package/dist/{types/components → components}/Alert/index.d.ts +0 -0
- /package/dist/{types/components → components}/BaseTextField/BaseTextField.styled.d.ts +0 -0
- /package/dist/{types/components → components}/BaseTextField/BaseTextField.types.d.ts +0 -0
- /package/dist/{types/components → components}/BaseTextField/BaseTextField.utils.d.ts +0 -0
- /package/dist/{types/components → components}/Button/BaseButton.d.ts +0 -0
- /package/dist/{types/components → components}/Button/Button.d.ts +0 -0
- /package/dist/{types/components → components}/Button/Button.types.d.ts +0 -0
- /package/dist/{types/components → components}/Button/Button.utils.d.ts +0 -0
- /package/dist/{types/components → components}/Button/index.d.ts +0 -0
- /package/dist/{types/components → components}/Button/styleds/BaseButton.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Button/styleds/ContainedButton.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Button/styleds/GhostButton.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Button/styleds/IconButton.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Button/styleds/OutlinedButton.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Card/Card.d.ts +0 -0
- /package/dist/{types/components → components}/Card/Card.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Card/Card.types.d.ts +0 -0
- /package/dist/{types/components → components}/Card/index.d.ts +0 -0
- /package/dist/{types/components → components}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/{types/components → components}/Checkbox/Checkbox.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Checkbox/Checkbox.types.d.ts +0 -0
- /package/dist/{types/components → components}/Checkbox/Checkbox.utils.d.ts +0 -0
- /package/dist/{types/components → components}/Checkbox/index.d.ts +0 -0
- /package/dist/{types/components → components}/Chip/Chip.d.ts +0 -0
- /package/dist/{types/components → components}/Chip/Chip.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Chip/Chip.types.d.ts +0 -0
- /package/dist/{types/components → components}/Chip/Chip.utils.d.ts +0 -0
- /package/dist/{types/components → components}/Chip/index.d.ts +0 -0
- /package/dist/{types/components → components}/DataTable/DataTable.d.ts +0 -0
- /package/dist/{types/components → components}/DataTable/DataTable.styled.d.ts +0 -0
- /package/dist/{types/components → components}/DataTable/index.d.ts +0 -0
- /package/dist/{types/components → components}/DatePicker/DatePicker.d.ts +0 -0
- /package/dist/{types/components → components}/DatePicker/DatePicker.styled.d.ts +0 -0
- /package/dist/{types/components → components}/DatePicker/DatePicker.types.d.ts +0 -0
- /package/dist/{types/components → components}/DatePicker/index.d.ts +0 -0
- /package/dist/{types/components → components}/Dialog/Dialog.d.ts +0 -0
- /package/dist/{types/components → components}/Dialog/Dialog.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Dialog/Dialog.types.d.ts +0 -0
- /package/dist/{types/components → components}/Dialog/index.d.ts +0 -0
- /package/dist/{types/components → components}/Divider/Divider.d.ts +0 -0
- /package/dist/{types/components → components}/Divider/Divider.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Divider/Divider.types.d.ts +0 -0
- /package/dist/{types/components → components}/Divider/index.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/Dropdown.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/Dropdown.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/Dropdown.types.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/Dropdown.utils.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/DropdownItem.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/DropdownItem.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/DropdownItem.types.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/DropdownItem.utils.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/DropdownSubtitle.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/DropdownSubtitle.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/DropdownSubtitle.types.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/IconDropdown.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/IconDropdown.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/IconDropdown.types.d.ts +0 -0
- /package/dist/{types/components → components}/Dropdown/index.d.ts +0 -0
- /package/dist/{types/components → components}/EllipsisTypography/EllipsisTypography.d.ts +0 -0
- /package/dist/{types/components → components}/EllipsisTypography/EllipsisTypography.styled.d.ts +0 -0
- /package/dist/{types/components → components}/EllipsisTypography/EllipsisTypography.types.d.ts +0 -0
- /package/dist/{types/components → components}/EllipsisTypography/index.d.ts +0 -0
- /package/dist/{types/components → components}/FileDnDZone/FileDnDZone.d.ts +0 -0
- /package/dist/{types/components → components}/FileDnDZone/FileDnDZone.styled.d.ts +0 -0
- /package/dist/{types/components → components}/FileDnDZone/FileDnDZone.types.d.ts +0 -0
- /package/dist/{types/components → components}/FileDnDZone/FileDnDZone.utils.d.ts +0 -0
- /package/dist/{types/components → components}/FileDnDZone/index.d.ts +0 -0
- /package/dist/{types/components → components}/List/List.d.ts +0 -0
- /package/dist/{types/components → components}/List/List.styled.d.ts +0 -0
- /package/dist/{types/components → components}/List/List.types.d.ts +0 -0
- /package/dist/{types/components → components}/List/List.utils.d.ts +0 -0
- /package/dist/{types/components → components}/List/ListItem.d.ts +0 -0
- /package/dist/{types/components → components}/List/ListItem.styled.d.ts +0 -0
- /package/dist/{types/components → components}/List/ListItem.types.d.ts +0 -0
- /package/dist/{types/components → components}/List/ListItemCaption.d.ts +0 -0
- /package/dist/{types/components → components}/List/ListItemCaption.styled.d.ts +0 -0
- /package/dist/{types/components → components}/List/ListItemCaption.types.d.ts +0 -0
- /package/dist/{types/components → components}/List/index.d.ts +0 -0
- /package/dist/{types/components → components}/LoadingIndicator/LoadingIndicator.d.ts +0 -0
- /package/dist/{types/components → components}/LoadingIndicator/LoadingIndicator.styled.d.ts +0 -0
- /package/dist/{types/components → components}/LoadingIndicator/LoadingIndicator.types.d.ts +0 -0
- /package/dist/{types/components → components}/LoadingIndicator/index.d.ts +0 -0
- /package/dist/{types/components → components}/Menu/Menu.d.ts +0 -0
- /package/dist/{types/components → components}/Menu/Menu.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Menu/Menu.types.d.ts +0 -0
- /package/dist/{types/components → components}/Menu/MenuItem.d.ts +0 -0
- /package/dist/{types/components → components}/Menu/MenuItem.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Menu/MenuItem.types.d.ts +0 -0
- /package/dist/{types/components → components}/Menu/index.d.ts +0 -0
- /package/dist/{types/components → components}/MuiCssBaseline.d.ts +0 -0
- /package/dist/{types/components → components}/MuiInputBase.d.ts +0 -0
- /package/dist/{types/components → components}/MuiOutlinedInput.d.ts +0 -0
- /package/dist/{types/components → components}/MuiTextField.d.ts +0 -0
- /package/dist/{types/components → components}/Pagination/Pagination.d.ts +0 -0
- /package/dist/{types/components → components}/Pagination/Pagination.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Pagination/Pagination.types.d.ts +0 -0
- /package/dist/{types/components → components}/Pagination/index.d.ts +0 -0
- /package/dist/{types/components → components}/ProductLabel/ProductLabel.d.ts +0 -0
- /package/dist/{types/components → components}/ProductLabel/ProductLabel.styled.d.ts +0 -0
- /package/dist/{types/components → components}/ProductLabel/ProductLabel.types.d.ts +0 -0
- /package/dist/{types/components → components}/ProductLabel/index.d.ts +0 -0
- /package/dist/{types/components → components}/Progress/CircularProgress.d.ts +0 -0
- /package/dist/{types/components → components}/Progress/CircularProgress.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Progress/CircularProgress.types.d.ts +0 -0
- /package/dist/{types/components → components}/Progress/LinearProgress.d.ts +0 -0
- /package/dist/{types/components → components}/Progress/LinearProgress.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Progress/LinearProgress.types.d.ts +0 -0
- /package/dist/{types/components → components}/Progress/index.d.ts +0 -0
- /package/dist/{types/components → components}/Radio/Radio.d.ts +0 -0
- /package/dist/{types/components → components}/Radio/Radio.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Radio/Radio.types.d.ts +0 -0
- /package/dist/{types/components → components}/Radio/RadioGroup.d.ts +0 -0
- /package/dist/{types/components → components}/Radio/RadioGroup.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Radio/RadioGroup.types.d.ts +0 -0
- /package/dist/{types/components → components}/Radio/index.d.ts +0 -0
- /package/dist/{types/components → components}/ResizeObserver/ResizeObserverContext.d.ts +0 -0
- /package/dist/{types/components → components}/ResizeObserver/index.d.ts +0 -0
- /package/dist/{types/components → components}/Stepper/Stepper.d.ts +0 -0
- /package/dist/{types/components → components}/Stepper/Stepper.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Stepper/Stepper.types.d.ts +0 -0
- /package/dist/{types/components → components}/Stepper/index.d.ts +0 -0
- /package/dist/{types/components → components}/TabbedPanel/TabbedPanel.d.ts +0 -0
- /package/dist/{types/components → components}/TabbedPanel/TabbedPanel.styled.d.ts +0 -0
- /package/dist/{types/components → components}/TabbedPanel/TabbedPanel.types.d.ts +0 -0
- /package/dist/{types/components → components}/TabbedPanel/TabbedPanel.utils.d.ts +0 -0
- /package/dist/{types/components → components}/TabbedPanel/index.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/TextArea.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/TextArea.styled.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/TextArea.types.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/TextInput.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/TextInput.styled.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/TextInput.types.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/TextInput.utils.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/components/Buttons.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/components/NormalTextInput.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/components/PasswordInput.d.ts +0 -0
- /package/dist/{types/components → components}/TextField/index.d.ts +0 -0
- /package/dist/{types/components → components}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{types/components → components}/Tooltip/Tooltip.styled.d.ts +0 -0
- /package/dist/{types/components → components}/Tooltip/Tooltip.types.d.ts +0 -0
- /package/dist/{types/components → components}/Tooltip/Tooltip.utils.d.ts +0 -0
- /package/dist/{types/components → components}/Tooltip/index.d.ts +0 -0
- /package/dist/{types/components → components}/UploadManager/UploadManager.d.ts +0 -0
- /package/dist/{types/components → components}/UploadManager/UploadManager.styled.d.ts +0 -0
- /package/dist/{types/components → components}/UploadManager/UploadManager.types.d.ts +0 -0
- /package/dist/{types/components → components}/UploadManager/index.d.ts +0 -0
- /package/dist/{types/components → components}/index.d.ts +0 -0
- /package/dist/{types/foundations → foundations}/palette.d.ts +0 -0
- /package/dist/{types/foundations → foundations}/spacing.d.ts +0 -0
- /package/dist/{types/foundations → foundations}/styles.d.ts +0 -0
- /package/dist/{types/icons → icons}/BellNoti/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/CloseLarge/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/CloseSmall/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/DownloadPdf/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/Ellipse/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/FilterNoti/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/HideLarge/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/HideSmall/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/InformationLarge/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/InformationSmall/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/Manufacturer/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/Rectangle/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/RefreshLeft/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/RefreshRight/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/ShowLarge/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/ShowSmall/index.d.ts +0 -0
- /package/dist/{types/icons → icons}/index.d.ts +0 -0
- /package/dist/{types/index.d.ts → index.d.ts} +0 -0
- /package/dist/{types/systems → systems}/drawer.d.ts +0 -0
- /package/dist/{types/systems → systems}/index.d.ts +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import palette, { type LunitPalette } from './palette';
|
|
2
|
+
import typography, { type LunitTypographyPropsVariantOverrides, type LunitTypographyVariants, type LunitTypographyVariantsOptions } from './typography';
|
|
3
|
+
import spacing from './spacing';
|
|
4
|
+
import { subScrollbarWidth } from './styles';
|
|
5
|
+
export { palette, typography, spacing, subScrollbarWidth };
|
|
6
|
+
export type { LunitPalette, LunitTypographyPropsVariantOverrides, LunitTypographyVariants, LunitTypographyVariantsOptions, };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import palette from './palette';
|
|
2
|
+
import typography from './typography';
|
|
3
|
+
import spacing from './spacing';
|
|
4
|
+
import { subScrollbarWidth } from './styles';
|
|
5
|
+
export { palette, typography, spacing, subScrollbarWidth };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TypographyOptions } from '@mui/material/styles/createTypography';
|
|
3
|
+
export interface LunitTypographyVariants {
|
|
4
|
+
h7: React.CSSProperties;
|
|
5
|
+
h8: React.CSSProperties;
|
|
6
|
+
h9: React.CSSProperties;
|
|
7
|
+
h10: React.CSSProperties;
|
|
8
|
+
subtitle3: React.CSSProperties;
|
|
9
|
+
body_b1: React.CSSProperties;
|
|
10
|
+
body_b2: React.CSSProperties;
|
|
11
|
+
body_sb1: React.CSSProperties;
|
|
12
|
+
body_sb2: React.CSSProperties;
|
|
13
|
+
body_sb3: React.CSSProperties;
|
|
14
|
+
body_sb4: React.CSSProperties;
|
|
15
|
+
body_sb5: React.CSSProperties;
|
|
16
|
+
body_m1: React.CSSProperties;
|
|
17
|
+
body_m2: React.CSSProperties;
|
|
18
|
+
body1: React.CSSProperties;
|
|
19
|
+
body2: React.CSSProperties;
|
|
20
|
+
body3: React.CSSProperties;
|
|
21
|
+
body4: React.CSSProperties;
|
|
22
|
+
body5: React.CSSProperties;
|
|
23
|
+
body6: React.CSSProperties;
|
|
24
|
+
body7: React.CSSProperties;
|
|
25
|
+
body8: React.CSSProperties;
|
|
26
|
+
small_body_b1: React.CSSProperties;
|
|
27
|
+
small_body_b2: React.CSSProperties;
|
|
28
|
+
small_body_b3: React.CSSProperties;
|
|
29
|
+
small_body_b4: React.CSSProperties;
|
|
30
|
+
small_body_b5: React.CSSProperties;
|
|
31
|
+
small_body_sb1: React.CSSProperties;
|
|
32
|
+
small_body_m1: React.CSSProperties;
|
|
33
|
+
small_body_m2: React.CSSProperties;
|
|
34
|
+
small_body_m3: React.CSSProperties;
|
|
35
|
+
small_body_m4: React.CSSProperties;
|
|
36
|
+
small_body_m5: React.CSSProperties;
|
|
37
|
+
small_body_m6: React.CSSProperties;
|
|
38
|
+
small_body_m7: React.CSSProperties;
|
|
39
|
+
small_body1: React.CSSProperties;
|
|
40
|
+
small_body2: React.CSSProperties;
|
|
41
|
+
small_body3: React.CSSProperties;
|
|
42
|
+
small_body4: React.CSSProperties;
|
|
43
|
+
small_body5: React.CSSProperties;
|
|
44
|
+
small_body_l1: React.CSSProperties;
|
|
45
|
+
small_body_l2: React.CSSProperties;
|
|
46
|
+
overline: React.CSSProperties;
|
|
47
|
+
button1: React.CSSProperties;
|
|
48
|
+
button2: React.CSSProperties;
|
|
49
|
+
caption: React.CSSProperties;
|
|
50
|
+
}
|
|
51
|
+
export interface LunitTypographyVariantsOptions {
|
|
52
|
+
h7?: React.CSSProperties;
|
|
53
|
+
h8?: React.CSSProperties;
|
|
54
|
+
h9?: React.CSSProperties;
|
|
55
|
+
h10?: React.CSSProperties;
|
|
56
|
+
subtitle3?: React.CSSProperties;
|
|
57
|
+
body_b1?: React.CSSProperties;
|
|
58
|
+
body_b2?: React.CSSProperties;
|
|
59
|
+
body_sb1?: React.CSSProperties;
|
|
60
|
+
body_sb2?: React.CSSProperties;
|
|
61
|
+
body_sb3?: React.CSSProperties;
|
|
62
|
+
body_sb4?: React.CSSProperties;
|
|
63
|
+
body_sb5?: React.CSSProperties;
|
|
64
|
+
body_m1?: React.CSSProperties;
|
|
65
|
+
body_m2?: React.CSSProperties;
|
|
66
|
+
body1?: React.CSSProperties;
|
|
67
|
+
body2?: React.CSSProperties;
|
|
68
|
+
body3?: React.CSSProperties;
|
|
69
|
+
body4?: React.CSSProperties;
|
|
70
|
+
body5?: React.CSSProperties;
|
|
71
|
+
body6?: React.CSSProperties;
|
|
72
|
+
body7?: React.CSSProperties;
|
|
73
|
+
body8?: React.CSSProperties;
|
|
74
|
+
small_body_b1?: React.CSSProperties;
|
|
75
|
+
small_body_b2?: React.CSSProperties;
|
|
76
|
+
small_body_b3?: React.CSSProperties;
|
|
77
|
+
small_body_b4?: React.CSSProperties;
|
|
78
|
+
small_body_b5?: React.CSSProperties;
|
|
79
|
+
small_body_sb1?: React.CSSProperties;
|
|
80
|
+
small_body_m1?: React.CSSProperties;
|
|
81
|
+
small_body_m2?: React.CSSProperties;
|
|
82
|
+
small_body_m3?: React.CSSProperties;
|
|
83
|
+
small_body_m4?: React.CSSProperties;
|
|
84
|
+
small_body_m5?: React.CSSProperties;
|
|
85
|
+
small_body_m6?: React.CSSProperties;
|
|
86
|
+
small_body_m7?: React.CSSProperties;
|
|
87
|
+
small_body1?: React.CSSProperties;
|
|
88
|
+
small_body2?: React.CSSProperties;
|
|
89
|
+
small_body3?: React.CSSProperties;
|
|
90
|
+
small_body4?: React.CSSProperties;
|
|
91
|
+
small_body5?: React.CSSProperties;
|
|
92
|
+
small_body_l1?: React.CSSProperties;
|
|
93
|
+
small_body_l2?: React.CSSProperties;
|
|
94
|
+
overline?: React.CSSProperties;
|
|
95
|
+
button1?: React.CSSProperties;
|
|
96
|
+
button2?: React.CSSProperties;
|
|
97
|
+
caption?: React.CSSProperties;
|
|
98
|
+
}
|
|
99
|
+
declare module '@mui/material/styles' {
|
|
100
|
+
interface TypographyVariants extends LunitTypographyVariants {
|
|
101
|
+
}
|
|
102
|
+
interface TypographyVariantsOptions extends LunitTypographyVariantsOptions {
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export interface LunitTypographyPropsVariantOverrides {
|
|
106
|
+
h7: true;
|
|
107
|
+
h8: true;
|
|
108
|
+
h9: true;
|
|
109
|
+
h10: true;
|
|
110
|
+
subtitle3: true;
|
|
111
|
+
body_b1: true;
|
|
112
|
+
body_b2: true;
|
|
113
|
+
body_sb1: true;
|
|
114
|
+
body_sb2: true;
|
|
115
|
+
body_sb3: true;
|
|
116
|
+
body_sb4: true;
|
|
117
|
+
body_sb5: true;
|
|
118
|
+
body_m1: true;
|
|
119
|
+
body_m2: true;
|
|
120
|
+
body1: true;
|
|
121
|
+
body2: true;
|
|
122
|
+
body3: true;
|
|
123
|
+
body4: true;
|
|
124
|
+
body5: true;
|
|
125
|
+
body6: true;
|
|
126
|
+
body7: true;
|
|
127
|
+
body8: true;
|
|
128
|
+
small_body_b1: true;
|
|
129
|
+
small_body_b2: true;
|
|
130
|
+
small_body_b3: true;
|
|
131
|
+
small_body_b4: true;
|
|
132
|
+
small_body_b5: true;
|
|
133
|
+
small_body_sb1: true;
|
|
134
|
+
small_body_m1: true;
|
|
135
|
+
small_body_m2: true;
|
|
136
|
+
small_body_m3: true;
|
|
137
|
+
small_body_m4: true;
|
|
138
|
+
small_body_m5: true;
|
|
139
|
+
small_body_m6: true;
|
|
140
|
+
small_body_m7: true;
|
|
141
|
+
small_body1: true;
|
|
142
|
+
small_body2: true;
|
|
143
|
+
small_body3: true;
|
|
144
|
+
small_body4: true;
|
|
145
|
+
small_body5: true;
|
|
146
|
+
small_body_l1: true;
|
|
147
|
+
small_body_l2: true;
|
|
148
|
+
overline: true;
|
|
149
|
+
button1: true;
|
|
150
|
+
button2: true;
|
|
151
|
+
caption: true;
|
|
152
|
+
}
|
|
153
|
+
declare module '@mui/material/Typography' {
|
|
154
|
+
interface TypographyPropsVariantOverrides extends LunitTypographyPropsVariantOverrides {
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
declare const typographyOptions: TypographyOptions;
|
|
158
|
+
export default typographyOptions;
|
package/dist/theme.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LunitPalette, LunitTypographyPropsVariantOverrides, LunitTypographyVariants, LunitTypographyVariantsOptions } from './foundations';
|
|
2
|
+
declare module '@mui/material/styles' {
|
|
3
|
+
interface Palette extends LunitPalette {
|
|
4
|
+
}
|
|
5
|
+
interface PaletteOptions extends LunitPalette {
|
|
6
|
+
}
|
|
7
|
+
interface TypographyVariants extends LunitTypographyVariants {
|
|
8
|
+
}
|
|
9
|
+
interface TypographyVariantsOptions extends LunitTypographyVariantsOptions {
|
|
10
|
+
}
|
|
11
|
+
interface TypographyPropsVariantOverrides extends LunitTypographyPropsVariantOverrides {
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
declare const theme: import("@mui/material/styles").Theme;
|
|
15
|
+
export default theme;
|
package/dist/theme.js
CHANGED
|
@@ -3,7 +3,7 @@ import MuiCssBaseline from './components/MuiCssBaseline';
|
|
|
3
3
|
import MuiInputBase from './components/MuiInputBase';
|
|
4
4
|
import MuiOutlinedInput from './components/MuiOutlinedInput';
|
|
5
5
|
import MuiTextField from './components/MuiTextField';
|
|
6
|
-
import { palette, spacing, typography } from './foundations';
|
|
6
|
+
import { palette, spacing, typography, } from './foundations';
|
|
7
7
|
import { drawer } from './systems';
|
|
8
8
|
const theme = createTheme({
|
|
9
9
|
...drawer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunit/oui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
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)"
|
|
@@ -184,6 +184,7 @@
|
|
|
184
184
|
"@storybook/theming": "^7.6.6",
|
|
185
185
|
"@tsconfig/recommended": "^1.0.3",
|
|
186
186
|
"@types/tinycolor2": "^1.4.6",
|
|
187
|
+
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
|
187
188
|
"eslint-config-prettier": "^9.1.0",
|
|
188
189
|
"eslint-plugin-prettier": "^5.1.0",
|
|
189
190
|
"eslint-plugin-storybook": "^0.6.15",
|
|
@@ -192,6 +193,7 @@
|
|
|
192
193
|
"prettier": "^3.1.1",
|
|
193
194
|
"storybook": "^7.6.6",
|
|
194
195
|
"ts-loader": "^9.5.1",
|
|
196
|
+
"typescript-eslint": "^8.18.1",
|
|
195
197
|
"webpack-cli": "^5.1.4",
|
|
196
198
|
"webpack-node-externals": "^3.0.0"
|
|
197
199
|
},
|
package/dist/reportWebVitals.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const reportWebVitals = (onPerfEntry) => {
|
|
2
|
-
if (onPerfEntry && onPerfEntry instanceof Function) {
|
|
3
|
-
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
|
|
4
|
-
getCLS(onPerfEntry);
|
|
5
|
-
getFID(onPerfEntry);
|
|
6
|
-
getFCP(onPerfEntry);
|
|
7
|
-
getLCP(onPerfEntry);
|
|
8
|
-
getTTFB(onPerfEntry);
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
export default reportWebVitals;
|
package/dist/setupTests.js
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { TypographyOptions } from '@mui/material/styles/createTypography';
|
|
3
|
-
declare module '@mui/material/styles' {
|
|
4
|
-
interface TypographyVariants {
|
|
5
|
-
h7: React.CSSProperties;
|
|
6
|
-
h8: React.CSSProperties;
|
|
7
|
-
h9: React.CSSProperties;
|
|
8
|
-
h10: React.CSSProperties;
|
|
9
|
-
subtitle3: React.CSSProperties;
|
|
10
|
-
body_b1: React.CSSProperties;
|
|
11
|
-
body_b2: React.CSSProperties;
|
|
12
|
-
body_sb1: React.CSSProperties;
|
|
13
|
-
body_sb2: React.CSSProperties;
|
|
14
|
-
body_sb3: React.CSSProperties;
|
|
15
|
-
body_sb4: React.CSSProperties;
|
|
16
|
-
body_sb5: React.CSSProperties;
|
|
17
|
-
body_m1: React.CSSProperties;
|
|
18
|
-
body_m2: React.CSSProperties;
|
|
19
|
-
body1: React.CSSProperties;
|
|
20
|
-
body2: React.CSSProperties;
|
|
21
|
-
body3: React.CSSProperties;
|
|
22
|
-
body4: React.CSSProperties;
|
|
23
|
-
body5: React.CSSProperties;
|
|
24
|
-
body6: React.CSSProperties;
|
|
25
|
-
body7: React.CSSProperties;
|
|
26
|
-
body8: React.CSSProperties;
|
|
27
|
-
small_body_b1: React.CSSProperties;
|
|
28
|
-
small_body_b2: React.CSSProperties;
|
|
29
|
-
small_body_b3: React.CSSProperties;
|
|
30
|
-
small_body_b4: React.CSSProperties;
|
|
31
|
-
small_body_b5: React.CSSProperties;
|
|
32
|
-
small_body_sb1: React.CSSProperties;
|
|
33
|
-
small_body_m1: React.CSSProperties;
|
|
34
|
-
small_body_m2: React.CSSProperties;
|
|
35
|
-
small_body_m3: React.CSSProperties;
|
|
36
|
-
small_body_m4: React.CSSProperties;
|
|
37
|
-
small_body_m5: React.CSSProperties;
|
|
38
|
-
small_body_m6: React.CSSProperties;
|
|
39
|
-
small_body_m7: React.CSSProperties;
|
|
40
|
-
small_body1: React.CSSProperties;
|
|
41
|
-
small_body2: React.CSSProperties;
|
|
42
|
-
small_body3: React.CSSProperties;
|
|
43
|
-
small_body4: React.CSSProperties;
|
|
44
|
-
small_body5: React.CSSProperties;
|
|
45
|
-
small_body_l1: React.CSSProperties;
|
|
46
|
-
small_body_l2: React.CSSProperties;
|
|
47
|
-
overline: React.CSSProperties;
|
|
48
|
-
button1: React.CSSProperties;
|
|
49
|
-
button2: React.CSSProperties;
|
|
50
|
-
caption: React.CSSProperties;
|
|
51
|
-
}
|
|
52
|
-
interface TypographyVariantsOptions {
|
|
53
|
-
h7?: React.CSSProperties;
|
|
54
|
-
h8?: React.CSSProperties;
|
|
55
|
-
h9?: React.CSSProperties;
|
|
56
|
-
h10?: React.CSSProperties;
|
|
57
|
-
subtitle3?: React.CSSProperties;
|
|
58
|
-
body_b1?: React.CSSProperties;
|
|
59
|
-
body_b2?: React.CSSProperties;
|
|
60
|
-
body_sb1?: React.CSSProperties;
|
|
61
|
-
body_sb2?: React.CSSProperties;
|
|
62
|
-
body_sb3?: React.CSSProperties;
|
|
63
|
-
body_sb4?: React.CSSProperties;
|
|
64
|
-
body_sb5?: React.CSSProperties;
|
|
65
|
-
body_m1?: React.CSSProperties;
|
|
66
|
-
body_m2?: React.CSSProperties;
|
|
67
|
-
body1?: React.CSSProperties;
|
|
68
|
-
body2?: React.CSSProperties;
|
|
69
|
-
body3?: React.CSSProperties;
|
|
70
|
-
body4?: React.CSSProperties;
|
|
71
|
-
body5?: React.CSSProperties;
|
|
72
|
-
body6?: React.CSSProperties;
|
|
73
|
-
body7?: React.CSSProperties;
|
|
74
|
-
body8?: React.CSSProperties;
|
|
75
|
-
small_body_b1?: React.CSSProperties;
|
|
76
|
-
small_body_b2?: React.CSSProperties;
|
|
77
|
-
small_body_b3?: React.CSSProperties;
|
|
78
|
-
small_body_b4?: React.CSSProperties;
|
|
79
|
-
small_body_b5?: React.CSSProperties;
|
|
80
|
-
small_body_sb1?: React.CSSProperties;
|
|
81
|
-
small_body_m1?: React.CSSProperties;
|
|
82
|
-
small_body_m2?: React.CSSProperties;
|
|
83
|
-
small_body_m3?: React.CSSProperties;
|
|
84
|
-
small_body_m4?: React.CSSProperties;
|
|
85
|
-
small_body_m5?: React.CSSProperties;
|
|
86
|
-
small_body_m6?: React.CSSProperties;
|
|
87
|
-
small_body_m7?: React.CSSProperties;
|
|
88
|
-
small_body1?: React.CSSProperties;
|
|
89
|
-
small_body2?: React.CSSProperties;
|
|
90
|
-
small_body3?: React.CSSProperties;
|
|
91
|
-
small_body4?: React.CSSProperties;
|
|
92
|
-
small_body5?: React.CSSProperties;
|
|
93
|
-
small_body_l1?: React.CSSProperties;
|
|
94
|
-
small_body_l2?: React.CSSProperties;
|
|
95
|
-
overline?: React.CSSProperties;
|
|
96
|
-
button1?: React.CSSProperties;
|
|
97
|
-
button2?: React.CSSProperties;
|
|
98
|
-
caption?: React.CSSProperties;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
declare module '@mui/material/Typography' {
|
|
102
|
-
interface TypographyPropsVariantOverrides {
|
|
103
|
-
h7: true;
|
|
104
|
-
h8: true;
|
|
105
|
-
h9: true;
|
|
106
|
-
h10: true;
|
|
107
|
-
subtitle3: true;
|
|
108
|
-
body_b1: true;
|
|
109
|
-
body_b2: true;
|
|
110
|
-
body_sb1: true;
|
|
111
|
-
body_sb2: true;
|
|
112
|
-
body_sb3: true;
|
|
113
|
-
body_sb4: true;
|
|
114
|
-
body_sb5: true;
|
|
115
|
-
body_m1: true;
|
|
116
|
-
body_m2: true;
|
|
117
|
-
body1: true;
|
|
118
|
-
body2: true;
|
|
119
|
-
body3: true;
|
|
120
|
-
body4: true;
|
|
121
|
-
body5: true;
|
|
122
|
-
body6: true;
|
|
123
|
-
body7: true;
|
|
124
|
-
body8: true;
|
|
125
|
-
small_body_b1: true;
|
|
126
|
-
small_body_b2: true;
|
|
127
|
-
small_body_b3: true;
|
|
128
|
-
small_body_b4: true;
|
|
129
|
-
small_body_b5: true;
|
|
130
|
-
small_body_sb1: true;
|
|
131
|
-
small_body_m1: true;
|
|
132
|
-
small_body_m2: true;
|
|
133
|
-
small_body_m3: true;
|
|
134
|
-
small_body_m4: true;
|
|
135
|
-
small_body_m5: true;
|
|
136
|
-
small_body_m6: true;
|
|
137
|
-
small_body_m7: true;
|
|
138
|
-
small_body1: true;
|
|
139
|
-
small_body2: true;
|
|
140
|
-
small_body3: true;
|
|
141
|
-
small_body4: true;
|
|
142
|
-
small_body5: true;
|
|
143
|
-
small_body_l1: true;
|
|
144
|
-
small_body_l2: true;
|
|
145
|
-
overline: true;
|
|
146
|
-
button1: true;
|
|
147
|
-
button2: true;
|
|
148
|
-
caption: true;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
declare const typographyOptions: TypographyOptions;
|
|
152
|
-
export default typographyOptions;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/dist/types/theme.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types/components → components}/EllipsisTypography/EllipsisTypography.styled.d.ts
RENAMED
|
File without changes
|
/package/dist/{types/components → components}/EllipsisTypography/EllipsisTypography.types.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|