@simoncomputing/mui-bueno-v3 0.1.12
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/CHANGELOG.md +45 -0
- package/README.md +33 -0
- package/dist/@types/index.d.ts +192 -0
- package/dist/common/TestUtils/reactHookForms.d.ts +54 -0
- package/dist/common/TestUtils/renderWithReactHookForm.d.ts +7 -0
- package/dist/common/Utils/index.d.ts +65 -0
- package/dist/common/WindowDimensions/WindowDimensions.d.ts +26 -0
- package/dist/components/Alerts/Alert.d.ts +30 -0
- package/dist/components/Alerts/ErrorAlert.d.ts +4 -0
- package/dist/components/Alerts/InfoAlert.d.ts +4 -0
- package/dist/components/Alerts/SuccessAlert.d.ts +4 -0
- package/dist/components/Alerts/WarningAlert.d.ts +4 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +10 -0
- package/dist/components/Buttons/Button/Button.d.ts +24 -0
- package/dist/components/Buttons/ScrollToTop/ScrollToTop.d.ts +14 -0
- package/dist/components/Buttons/Submit/Submit.d.ts +11 -0
- package/dist/components/Form/Error/Error.d.ts +23 -0
- package/dist/components/Form/FormDebugger/FormDebugger.d.ts +8 -0
- package/dist/components/Form/Inputs/Autocomplete/Autocomplete.d.ts +81 -0
- package/dist/components/Form/Inputs/Autocomplete/DynamicAutocomplete/DynamicAutocomplete.d.ts +31 -0
- package/dist/components/Form/Inputs/Autocomplete/MultiAutocomplete/MultiAutocomplete.d.ts +22 -0
- package/dist/components/Form/Inputs/Autocomplete/utils.d.ts +2 -0
- package/dist/components/Form/Inputs/Checkbox/Checkbox.d.ts +58 -0
- package/dist/components/Form/Inputs/CheckboxGroup/CheckboxGroup.d.ts +112 -0
- package/dist/components/Form/Inputs/CitationField/CitationBubbleMenuHandler.d.ts +43 -0
- package/dist/components/Form/Inputs/CitationField/CitationField.d.ts +78 -0
- package/dist/components/Form/Inputs/CitationField/CitationMenu/AttachmentForm.d.ts +13 -0
- package/dist/components/Form/Inputs/CitationField/CitationMenu/CitationBubbleMenu.d.ts +25 -0
- package/dist/components/Form/Inputs/CitationField/CitationMenu/CitationForm.d.ts +12 -0
- package/dist/components/Form/Inputs/CitationField/CitationMenu/CitationMenu.d.ts +62 -0
- package/dist/components/Form/Inputs/CitationField/CitationMenu/CitationTable.d.ts +16 -0
- package/dist/components/Form/Inputs/CitationField/CitationNode.d.ts +2 -0
- package/dist/components/Form/Inputs/CitationField/CitationNodeComponent.d.ts +7 -0
- package/dist/components/Form/Inputs/CitationField/CitationRefreshContext/CitationRefreshContext.d.ts +29 -0
- package/dist/components/Form/Inputs/CitationField/MenuButtonEditCitation.d.ts +3 -0
- package/dist/components/Form/Inputs/DateField/DateField.d.ts +73 -0
- package/dist/components/Form/Inputs/DateField/DateRangeField/DateRangeField.d.ts +62 -0
- package/dist/components/Form/Inputs/DateField/dayjs-utils.d.ts +2 -0
- package/dist/components/Form/Inputs/FileUpload/FileList/FileList.d.ts +13 -0
- package/dist/components/Form/Inputs/FileUpload/FileUpload.d.ts +62 -0
- package/dist/components/Form/Inputs/Location/Location.d.ts +69 -0
- package/dist/components/Form/Inputs/Location/Location.types.d.ts +85 -0
- package/dist/components/Form/Inputs/Location/LocationOption.d.ts +38 -0
- package/dist/components/Form/Inputs/RadioGroup/RadioGroup.d.ts +119 -0
- package/dist/components/Form/Inputs/RangeSlider/RangeSlider.d.ts +34 -0
- package/dist/components/Form/Inputs/RichTextField/RichTextControls.d.ts +6 -0
- package/dist/components/Form/Inputs/RichTextField/RichTextField.d.ts +56 -0
- package/dist/components/Form/Inputs/RichTextField/SuggestionList.d.ts +8 -0
- package/dist/components/Form/Inputs/RichTextField/mentionSuggestionOptions.d.ts +6 -0
- package/dist/components/Form/Inputs/RichTextField/useExtensions.d.ts +10 -0
- package/dist/components/Form/Inputs/SearchField/SearchField.d.ts +16 -0
- package/dist/components/Form/Inputs/Select/Select.d.ts +91 -0
- package/dist/components/Form/Inputs/Switch/Switch.d.ts +61 -0
- package/dist/components/Form/Inputs/TextField/TextField.d.ts +60 -0
- package/dist/components/Form/MForm/MForm.d.ts +19 -0
- package/dist/components/Form/MForm/useMyForm.d.ts +1 -0
- package/dist/components/Form/RepeatableFormGroup/RepeatableFormGroup.d.ts +89 -0
- package/dist/components/Form/Stepper/Stepper.d.ts +27 -0
- package/dist/components/Layout/MGrid/MGrid.d.ts +13 -0
- package/dist/components/Layout/MPanel/MPanel.d.ts +13 -0
- package/dist/components/Layout/MStack/MStack.d.ts +6 -0
- package/dist/components/LoadingIndicator/LoadingIndicator.d.ts +22 -0
- package/dist/components/Modals/AlertModal/AlertModal.d.ts +11 -0
- package/dist/components/Modals/ConfirmationModal/ConfirmationModal.d.ts +26 -0
- package/dist/components/Modals/DecisionModal/DecisionModal.d.ts +37 -0
- package/dist/components/Modals/Modal.d.ts +45 -0
- package/dist/components/Navigation/Footer/Footer.d.ts +31 -0
- package/dist/components/Navigation/Header/DarkModeToggle/DarkModeToggle.d.ts +13 -0
- package/dist/components/Navigation/Header/Drawer.d.ts +18 -0
- package/dist/components/Navigation/Header/EnvironmentBanner.d.ts +4 -0
- package/dist/components/Navigation/Header/Header.d.ts +63 -0
- package/dist/components/Navigation/Header/ProfileMenu.d.ts +8 -0
- package/dist/components/Navigation/MenuButton/MenuButton.d.ts +9 -0
- package/dist/components/Navigation/NavBar/FloatingNavBar/FloatingNavBar.d.ts +24 -0
- package/dist/components/Navigation/NavBar/NavBar.d.ts +24 -0
- package/dist/components/Navigation/Sidebar/Sidebar.d.ts +14 -0
- package/dist/components/Navigation/Tabs/Tabs.d.ts +19 -0
- package/dist/components/PageHeader/PageHeader.d.ts +27 -0
- package/dist/components/SingleActionCard/SingleActionCard.d.ts +26 -0
- package/dist/components/Snackbar/Snackbar.d.ts +28 -0
- package/dist/components/Table/ExpandableRow/ExpandableRow.d.ts +16 -0
- package/dist/components/Table/PaginatedTable.d.ts +44 -0
- package/dist/components/Table/Table.d.ts +129 -0
- package/dist/index.cjs.js +410 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.es.js +63994 -0
- package/dist/index.umd.js +411 -0
- package/dist/styles/3-theme/ThemeDemo.d.ts +3 -0
- package/dist/styles/3-theme/theme.d.ts +16 -0
- package/dist/styles/theme.d.ts +33 -0
- package/package.json +140 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ThemeOptions } from '@mui/material';
|
|
2
|
+
/**
|
|
3
|
+
* Overrides to non-palette related theme properties.
|
|
4
|
+
*
|
|
5
|
+
* You can add any MUI component overrides here as well.
|
|
6
|
+
* Refer to the documentation on MUI: https://mui.com/material-ui/customization/theming/
|
|
7
|
+
*/
|
|
8
|
+
export declare const commonTheme: ThemeOptions;
|
|
9
|
+
/**
|
|
10
|
+
* Theme in light mode
|
|
11
|
+
*/
|
|
12
|
+
export declare const lightTheme: import('@mui/material').Theme;
|
|
13
|
+
/**
|
|
14
|
+
* Theme in dark mode
|
|
15
|
+
*/
|
|
16
|
+
export declare const darkTheme: import('@mui/material').Theme;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SwitchProps } from '@mui/material/Switch';
|
|
2
|
+
declare module '@mui/material/Switch' {
|
|
3
|
+
interface SwitchPropsColorOverrides {
|
|
4
|
+
white: true;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare module '@mui/material/Link' {
|
|
9
|
+
interface LinkPropsColorOverrides {
|
|
10
|
+
white: true;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare module '@mui/material/styles' {
|
|
15
|
+
interface Palette {
|
|
16
|
+
white?: PaletteColor;
|
|
17
|
+
}
|
|
18
|
+
interface PaletteOptions {
|
|
19
|
+
white?: PaletteColor;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare module '@mui/material/Alert' {
|
|
24
|
+
interface AlertPropsVariantOverrides {
|
|
25
|
+
leftBorder: true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare module '@mui/material/Table' {
|
|
30
|
+
interface TablePropsSizeOverrides {
|
|
31
|
+
'x-small': true;
|
|
32
|
+
}
|
|
33
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@simoncomputing/mui-bueno-v3",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.1.12",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.umd.js",
|
|
7
|
+
"module": "./dist/index.es.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"CHANGELOG.md"
|
|
12
|
+
],
|
|
13
|
+
"sideEffects": [
|
|
14
|
+
"**/*.css"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.es.js",
|
|
20
|
+
"require": "./dist/index.umd.js"
|
|
21
|
+
},
|
|
22
|
+
"./dist/index.css": {
|
|
23
|
+
"import": "./dist/index.css",
|
|
24
|
+
"require": "./dist/index.css"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"start": "npm run dev",
|
|
29
|
+
"dev": "storybook dev -p 6006",
|
|
30
|
+
"build": "storybook build -o dist",
|
|
31
|
+
"build:lib": "tsc -b && vite build",
|
|
32
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
33
|
+
"test": "vitest",
|
|
34
|
+
"test:coverage": "vitest --coverage.enabled=true",
|
|
35
|
+
"validate": "npm run build:lib && vitest run",
|
|
36
|
+
"publishLib": "npm run validate && npm publish --access public",
|
|
37
|
+
"publishLib:dryrun": "npm run validate && npm publish --dry-run"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@emotion/react": "^11.14.0",
|
|
41
|
+
"@emotion/styled": "^11.14.0",
|
|
42
|
+
"@mui/icons-material": "^6.4.9",
|
|
43
|
+
"@mui/material": "^6.4.9",
|
|
44
|
+
"@mui/x-date-pickers": "^7.23.3",
|
|
45
|
+
"dayjs": "^1.11.13",
|
|
46
|
+
"formik": "^2.4.6",
|
|
47
|
+
"react": "^19.0.0",
|
|
48
|
+
"react-dom": "^19.0.0",
|
|
49
|
+
"react-router-dom": "^7.1.1",
|
|
50
|
+
"react-hook-form": "^7.59.0"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@hookform/resolvers": "^5.1.1",
|
|
54
|
+
"@tiptap/core": "^2.11.6",
|
|
55
|
+
"@tiptap/extension-blockquote": "^2.11.6",
|
|
56
|
+
"@tiptap/extension-bold": "^2.11.6",
|
|
57
|
+
"@tiptap/extension-bubble-menu": "^2.11.6",
|
|
58
|
+
"@tiptap/extension-bullet-list": "^2.11.6",
|
|
59
|
+
"@tiptap/extension-code": "^2.11.6",
|
|
60
|
+
"@tiptap/extension-code-block": "^2.11.6",
|
|
61
|
+
"@tiptap/extension-color": "^2.11.6",
|
|
62
|
+
"@tiptap/extension-document": "^2.11.6",
|
|
63
|
+
"@tiptap/extension-dropcursor": "^2.11.6",
|
|
64
|
+
"@tiptap/extension-floating-menu": "^2.11.6",
|
|
65
|
+
"@tiptap/extension-font-family": "^2.11.6",
|
|
66
|
+
"@tiptap/extension-gapcursor": "^2.11.6",
|
|
67
|
+
"@tiptap/extension-hard-break": "^2.11.6",
|
|
68
|
+
"@tiptap/extension-heading": "^2.11.6",
|
|
69
|
+
"@tiptap/extension-highlight": "^2.11.6",
|
|
70
|
+
"@tiptap/extension-history": "^2.11.6",
|
|
71
|
+
"@tiptap/extension-horizontal-rule": "^2.11.6",
|
|
72
|
+
"@tiptap/extension-image": "^2.11.6",
|
|
73
|
+
"@tiptap/extension-italic": "^2.11.6",
|
|
74
|
+
"@tiptap/extension-link": "^2.11.6",
|
|
75
|
+
"@tiptap/extension-list-item": "^2.11.6",
|
|
76
|
+
"@tiptap/extension-mention": "^2.11.6",
|
|
77
|
+
"@tiptap/extension-ordered-list": "^2.11.6",
|
|
78
|
+
"@tiptap/extension-paragraph": "^2.11.6",
|
|
79
|
+
"@tiptap/extension-placeholder": "^2.11.6",
|
|
80
|
+
"@tiptap/extension-strike": "^2.11.6",
|
|
81
|
+
"@tiptap/extension-subscript": "^2.11.6",
|
|
82
|
+
"@tiptap/extension-superscript": "^2.11.6",
|
|
83
|
+
"@tiptap/extension-table": "^2.11.6",
|
|
84
|
+
"@tiptap/extension-table-cell": "^2.11.6",
|
|
85
|
+
"@tiptap/extension-table-header": "^2.11.6",
|
|
86
|
+
"@tiptap/extension-table-row": "^2.11.6",
|
|
87
|
+
"@tiptap/extension-task-item": "^2.11.6",
|
|
88
|
+
"@tiptap/extension-task-list": "^2.11.6",
|
|
89
|
+
"@tiptap/extension-text": "^2.11.6",
|
|
90
|
+
"@tiptap/extension-text-align": "^2.11.6",
|
|
91
|
+
"@tiptap/extension-text-style": "^2.11.6",
|
|
92
|
+
"@tiptap/extension-underline": "^2.11.6",
|
|
93
|
+
"@tiptap/pm": "^2.11.6",
|
|
94
|
+
"@tiptap/react": "^2.11.6",
|
|
95
|
+
"@tiptap/starter-kit": "^2.11.6",
|
|
96
|
+
"@types/autosuggest-highlight": "^3.2.3",
|
|
97
|
+
"@types/google.maps": "^3.58.1",
|
|
98
|
+
"autosuggest-highlight": "^3.3.4",
|
|
99
|
+
"google-maps": "^4.3.3",
|
|
100
|
+
"mui-tiptap": "^1.18.0",
|
|
101
|
+
"yup": "^1.6.1"
|
|
102
|
+
},
|
|
103
|
+
"devDependencies": {
|
|
104
|
+
"@chromatic-com/storybook": "^3.2.3",
|
|
105
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
106
|
+
"@storybook/addon-interactions": "^8.4.7",
|
|
107
|
+
"@storybook/addon-links": "^8.4.7",
|
|
108
|
+
"@storybook/addon-themes": "^8.4.7",
|
|
109
|
+
"@storybook/react": "^8.4.7",
|
|
110
|
+
"@storybook/react-vite": "^8.4.7",
|
|
111
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
112
|
+
"@testing-library/react": "^16.1.0",
|
|
113
|
+
"@testing-library/user-event": "^14.5.2",
|
|
114
|
+
"@types/lodash": "^4.17.13",
|
|
115
|
+
"@types/node": "^22.10.5",
|
|
116
|
+
"@types/react": "^19.0.2",
|
|
117
|
+
"@types/react-dom": "^19.0.2",
|
|
118
|
+
"@typescript-eslint/eslint-plugin": "^8.19.0",
|
|
119
|
+
"@typescript-eslint/parser": "^8.19.0",
|
|
120
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
121
|
+
"@vitest/coverage-v8": "^2.1.9",
|
|
122
|
+
"eslint": "^9.17.0",
|
|
123
|
+
"eslint-config-prettier": "^9.1.0",
|
|
124
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
125
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
126
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
127
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
128
|
+
"jsdom": "^25.0.1",
|
|
129
|
+
"prettier": "^3.4.2",
|
|
130
|
+
"sass": "^1.83.0",
|
|
131
|
+
"storybook": "^8.4.7",
|
|
132
|
+
"typescript": "^5.7.2",
|
|
133
|
+
"vite": "^6.0.7",
|
|
134
|
+
"vite-plugin-dts": "^4.4.0",
|
|
135
|
+
"vite-plugin-lib-inject-css": "^2.2.0",
|
|
136
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
137
|
+
"vitest": "^2.1.9"
|
|
138
|
+
},
|
|
139
|
+
"packageManager": "pnpm@9.15.2"
|
|
140
|
+
}
|