@startdownnotez404/ui 1.0.0 → 1.3.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/README.md +110 -0
- package/dist/AutocompleteField-ZKNU2IRR.mjs +181 -0
- package/dist/AutocompleteField-ZKNU2IRR.mjs.map +1 -0
- package/dist/AvatarField-SAODT3CZ.mjs +275 -0
- package/dist/AvatarField-SAODT3CZ.mjs.map +1 -0
- package/dist/CodeEditor-JF55ZNVD.mjs +34 -0
- package/dist/CodeEditor-JF55ZNVD.mjs.map +1 -0
- package/dist/DateField-ZYMZFHL4.mjs +82 -0
- package/dist/DateField-ZYMZFHL4.mjs.map +1 -0
- package/dist/DateTimeField-TPTJ7YIZ.mjs +65 -0
- package/dist/DateTimeField-TPTJ7YIZ.mjs.map +1 -0
- package/dist/FileUploadField-NTMWBJER.mjs +78 -0
- package/dist/FileUploadField-NTMWBJER.mjs.map +1 -0
- package/dist/JSONEditorField-TMRWGXVR.mjs +64 -0
- package/dist/JSONEditorField-TMRWGXVR.mjs.map +1 -0
- package/dist/PopperMenu-LJ36RPBW.mjs +416 -0
- package/dist/PopperMenu-LJ36RPBW.mjs.map +1 -0
- package/dist/TelField-LOGRVZ4I.mjs +88 -0
- package/dist/TelField-LOGRVZ4I.mjs.map +1 -0
- package/dist/alert.d.mts +202 -0
- package/dist/alert.d.ts +202 -0
- package/dist/alert.js +784 -0
- package/dist/alert.js.map +1 -0
- package/dist/alert.mjs +47 -0
- package/dist/alert.mjs.map +1 -0
- package/dist/appBar.d.mts +21 -0
- package/dist/appBar.d.ts +21 -0
- package/dist/appBar.js +64 -0
- package/dist/appBar.js.map +1 -0
- package/dist/appBar.mjs +12 -0
- package/dist/appBar.mjs.map +1 -0
- package/dist/autocomplete.d.mts +121 -0
- package/dist/autocomplete.d.ts +121 -0
- package/dist/autocomplete.js +2052 -0
- package/dist/autocomplete.js.map +1 -0
- package/dist/autocomplete.mjs +21 -0
- package/dist/autocomplete.mjs.map +1 -0
- package/dist/avatar.d.mts +253 -0
- package/dist/avatar.d.ts +253 -0
- package/dist/avatar.js +992 -0
- package/dist/avatar.js.map +1 -0
- package/dist/avatar.mjs +41 -0
- package/dist/avatar.mjs.map +1 -0
- package/dist/badge.d.mts +123 -0
- package/dist/badge.d.ts +123 -0
- package/dist/badge.js +151 -0
- package/dist/badge.js.map +1 -0
- package/dist/badge.mjs +10 -0
- package/dist/badge.mjs.map +1 -0
- package/dist/box.d.mts +36 -0
- package/dist/box.d.ts +36 -0
- package/dist/box.js +199 -0
- package/dist/box.js.map +1 -0
- package/dist/box.mjs +14 -0
- package/dist/box.mjs.map +1 -0
- package/dist/button.d.mts +230 -52
- package/dist/button.d.ts +230 -52
- package/dist/button.js +392 -60
- package/dist/button.js.map +1 -1
- package/dist/button.mjs +14 -8
- package/dist/card.d.mts +47 -0
- package/dist/card.d.ts +47 -0
- package/dist/card.js +135 -0
- package/dist/card.js.map +1 -0
- package/dist/card.mjs +24 -0
- package/dist/card.mjs.map +1 -0
- package/dist/chart.d.mts +40 -0
- package/dist/chart.d.ts +40 -0
- package/dist/chart.js +1234 -0
- package/dist/chart.js.map +1 -0
- package/dist/chart.mjs +10 -0
- package/dist/chart.mjs.map +1 -0
- package/dist/checkbox.d.mts +62 -0
- package/dist/checkbox.d.ts +62 -0
- package/dist/checkbox.js +299 -0
- package/dist/checkbox.js.map +1 -0
- package/dist/checkbox.mjs +14 -0
- package/dist/checkbox.mjs.map +1 -0
- package/dist/chip.d.mts +96 -0
- package/dist/chip.d.ts +96 -0
- package/dist/chip.js +112 -0
- package/dist/chip.js.map +1 -0
- package/dist/chip.mjs +10 -0
- package/dist/chip.mjs.map +1 -0
- package/dist/chunk-24XDGNJ6.mjs +1450 -0
- package/dist/chunk-24XDGNJ6.mjs.map +1 -0
- package/dist/chunk-27KYFU7R.mjs +30 -0
- package/dist/chunk-27KYFU7R.mjs.map +1 -0
- package/dist/chunk-2FFLT5VP.mjs +7 -0
- package/dist/chunk-2FFLT5VP.mjs.map +1 -0
- package/dist/chunk-2ZZJTBTE.mjs +148 -0
- package/dist/chunk-2ZZJTBTE.mjs.map +1 -0
- package/dist/chunk-3DQINB57.mjs +15 -0
- package/dist/chunk-3DQINB57.mjs.map +1 -0
- package/dist/chunk-3VUAM2GY.mjs +52 -0
- package/dist/chunk-3VUAM2GY.mjs.map +1 -0
- package/dist/chunk-4Q54P737.mjs +19 -0
- package/dist/chunk-4Q54P737.mjs.map +1 -0
- package/dist/chunk-4RPFRNXG.mjs +62 -0
- package/dist/chunk-4RPFRNXG.mjs.map +1 -0
- package/dist/chunk-56TI2ZBT.mjs +114 -0
- package/dist/chunk-56TI2ZBT.mjs.map +1 -0
- package/dist/chunk-6REEQBJI.mjs +62 -0
- package/dist/chunk-6REEQBJI.mjs.map +1 -0
- package/dist/chunk-AAH2O24U.mjs +325 -0
- package/dist/chunk-AAH2O24U.mjs.map +1 -0
- package/dist/chunk-B7DAB22K.mjs +16 -0
- package/dist/chunk-B7DAB22K.mjs.map +1 -0
- package/dist/chunk-BGB7JHIU.mjs +222 -0
- package/dist/chunk-BGB7JHIU.mjs.map +1 -0
- package/dist/chunk-CRYIEYZZ.mjs +756 -0
- package/dist/chunk-CRYIEYZZ.mjs.map +1 -0
- package/dist/chunk-CWFWRZWU.mjs +23 -0
- package/dist/chunk-CWFWRZWU.mjs.map +1 -0
- package/dist/chunk-DELCADNF.mjs +1926 -0
- package/dist/chunk-DELCADNF.mjs.map +1 -0
- package/dist/chunk-E3I2VDHZ.mjs +292 -0
- package/dist/chunk-E3I2VDHZ.mjs.map +1 -0
- package/dist/chunk-EEH7HACG.mjs +249 -0
- package/dist/chunk-EEH7HACG.mjs.map +1 -0
- package/dist/chunk-EKPULYPU.mjs +497 -0
- package/dist/chunk-EKPULYPU.mjs.map +1 -0
- package/dist/chunk-EW4DTFH3.mjs +69 -0
- package/dist/chunk-EW4DTFH3.mjs.map +1 -0
- package/dist/chunk-FJ6ZGZIA.mjs +43 -0
- package/dist/chunk-FJ6ZGZIA.mjs.map +1 -0
- package/dist/chunk-HE7MY3RT.mjs +23 -0
- package/dist/chunk-HE7MY3RT.mjs.map +1 -0
- package/dist/chunk-HR3A4H4E.mjs +1289 -0
- package/dist/chunk-HR3A4H4E.mjs.map +1 -0
- package/dist/chunk-I5JWS4Z7.mjs +91 -0
- package/dist/chunk-I5JWS4Z7.mjs.map +1 -0
- package/dist/chunk-IN3O4R7Q.mjs +932 -0
- package/dist/chunk-IN3O4R7Q.mjs.map +1 -0
- package/dist/chunk-JIU5GVM7.mjs +414 -0
- package/dist/chunk-JIU5GVM7.mjs.map +1 -0
- package/dist/chunk-JWANK42G.mjs +170 -0
- package/dist/chunk-JWANK42G.mjs.map +1 -0
- package/dist/chunk-MDAUF7IL.mjs +9 -0
- package/dist/chunk-MDAUF7IL.mjs.map +1 -0
- package/dist/chunk-MI64T62E.mjs +26 -0
- package/dist/chunk-MI64T62E.mjs.map +1 -0
- package/dist/chunk-NJYNJLT7.mjs +172 -0
- package/dist/chunk-NJYNJLT7.mjs.map +1 -0
- package/dist/chunk-NLBDBJ3R.mjs +97 -0
- package/dist/chunk-NLBDBJ3R.mjs.map +1 -0
- package/dist/chunk-OGNGPI3M.mjs +333 -0
- package/dist/chunk-OGNGPI3M.mjs.map +1 -0
- package/dist/chunk-OJV6V7YZ.mjs +552 -0
- package/dist/chunk-OJV6V7YZ.mjs.map +1 -0
- package/dist/chunk-ONQMRE2G.mjs +26 -0
- package/dist/chunk-ONQMRE2G.mjs.map +1 -0
- package/dist/chunk-OP6LKXPA.mjs +75 -0
- package/dist/chunk-OP6LKXPA.mjs.map +1 -0
- package/dist/chunk-QFF3HTHL.mjs +14 -0
- package/dist/chunk-QFF3HTHL.mjs.map +1 -0
- package/dist/chunk-QKGCW37O.mjs +1175 -0
- package/dist/chunk-QKGCW37O.mjs.map +1 -0
- package/dist/chunk-R5MKQN6D.mjs +227 -0
- package/dist/chunk-R5MKQN6D.mjs.map +1 -0
- package/dist/chunk-RXBQ7KXF.mjs +652 -0
- package/dist/chunk-RXBQ7KXF.mjs.map +1 -0
- package/dist/chunk-S6EZVRZC.mjs +161 -0
- package/dist/chunk-S6EZVRZC.mjs.map +1 -0
- package/dist/chunk-SGCUDWO3.mjs +396 -0
- package/dist/chunk-SGCUDWO3.mjs.map +1 -0
- package/dist/chunk-SRWPHN2N.mjs +188 -0
- package/dist/chunk-SRWPHN2N.mjs.map +1 -0
- package/dist/chunk-T34IULP5.mjs +242 -0
- package/dist/chunk-T34IULP5.mjs.map +1 -0
- package/dist/chunk-T4X375IG.mjs +100 -0
- package/dist/chunk-T4X375IG.mjs.map +1 -0
- package/dist/chunk-T6AMRENK.mjs +376 -0
- package/dist/chunk-T6AMRENK.mjs.map +1 -0
- package/dist/chunk-TDRA5EZI.mjs +325 -0
- package/dist/chunk-TDRA5EZI.mjs.map +1 -0
- package/dist/chunk-UDREPVEY.mjs +356 -0
- package/dist/chunk-UDREPVEY.mjs.map +1 -0
- package/dist/chunk-UGMRJMFZ.mjs +172 -0
- package/dist/chunk-UGMRJMFZ.mjs.map +1 -0
- package/dist/chunk-UMJ5SCIQ.mjs +438 -0
- package/dist/chunk-UMJ5SCIQ.mjs.map +1 -0
- package/dist/chunk-UTVSYS6S.mjs +270 -0
- package/dist/chunk-UTVSYS6S.mjs.map +1 -0
- package/dist/chunk-V26V2S3W.mjs +197 -0
- package/dist/chunk-V26V2S3W.mjs.map +1 -0
- package/dist/chunk-VYD3PDBB.mjs +38 -0
- package/dist/chunk-VYD3PDBB.mjs.map +1 -0
- package/dist/chunk-WYYP3Y34.mjs +55 -0
- package/dist/chunk-WYYP3Y34.mjs.map +1 -0
- package/dist/chunk-XIMFP6RB.mjs +161 -0
- package/dist/chunk-XIMFP6RB.mjs.map +1 -0
- package/dist/chunk-XJ2SXC2Q.mjs +558 -0
- package/dist/chunk-XJ2SXC2Q.mjs.map +1 -0
- package/dist/chunk-Y74ALKBL.mjs +565 -0
- package/dist/chunk-Y74ALKBL.mjs.map +1 -0
- package/dist/chunk-ZG3NQI77.mjs +353 -0
- package/dist/chunk-ZG3NQI77.mjs.map +1 -0
- package/dist/chunk-ZVFYOXDE.mjs +297 -0
- package/dist/chunk-ZVFYOXDE.mjs.map +1 -0
- package/dist/collapse.d.mts +10 -0
- package/dist/collapse.d.ts +10 -0
- package/dist/collapse.js +53 -0
- package/dist/collapse.js.map +1 -0
- package/dist/collapse.mjs +10 -0
- package/dist/collapse.mjs.map +1 -0
- package/dist/datePicker.d.mts +133 -0
- package/dist/datePicker.d.ts +133 -0
- package/dist/datePicker.js +482 -0
- package/dist/datePicker.js.map +1 -0
- package/dist/datePicker.mjs +29 -0
- package/dist/datePicker.mjs.map +1 -0
- package/dist/displayFile.d.mts +95 -0
- package/dist/displayFile.d.ts +95 -0
- package/dist/displayFile.js +357 -0
- package/dist/displayFile.js.map +1 -0
- package/dist/displayFile.mjs +19 -0
- package/dist/displayFile.mjs.map +1 -0
- package/dist/divider.d.mts +9 -0
- package/dist/divider.d.ts +9 -0
- package/dist/divider.js +52 -0
- package/dist/divider.js.map +1 -0
- package/dist/divider.mjs +10 -0
- package/dist/divider.mjs.map +1 -0
- package/dist/fileUploader.d.mts +86 -0
- package/dist/fileUploader.d.ts +86 -0
- package/dist/fileUploader.js +722 -0
- package/dist/fileUploader.js.map +1 -0
- package/dist/fileUploader.mjs +16 -0
- package/dist/fileUploader.mjs.map +1 -0
- package/dist/flowMap.d.mts +353 -0
- package/dist/flowMap.d.ts +353 -0
- package/dist/flowMap.js +94806 -0
- package/dist/flowMap.js.map +1 -0
- package/dist/flowMap.mjs +94585 -0
- package/dist/flowMap.mjs.map +1 -0
- package/dist/form.d.mts +84 -0
- package/dist/form.d.ts +84 -0
- package/dist/form.js +144 -0
- package/dist/form.js.map +1 -0
- package/dist/form.mjs +24 -0
- package/dist/form.mjs.map +1 -0
- package/dist/icons.d.mts +160 -0
- package/dist/icons.d.ts +160 -0
- package/dist/icons.js +540 -0
- package/dist/icons.js.map +1 -0
- package/dist/icons.mjs +306 -0
- package/dist/icons.mjs.map +1 -0
- package/dist/image.d.mts +49 -0
- package/dist/image.d.ts +49 -0
- package/dist/image.js +1348 -0
- package/dist/image.js.map +1 -0
- package/dist/image.mjs +19 -0
- package/dist/image.mjs.map +1 -0
- package/dist/index.d.ts +46 -0
- package/dist/index.js +20198 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +912 -0
- package/dist/index.mjs.map +1 -0
- package/dist/input.d.mts +195 -0
- package/dist/input.d.ts +195 -0
- package/dist/input.js +1101 -0
- package/dist/input.js.map +1 -0
- package/dist/input.mjs +32 -0
- package/dist/input.mjs.map +1 -0
- package/dist/jsonEditor.d.mts +13 -0
- package/dist/jsonEditor.d.ts +13 -0
- package/dist/jsonEditor.js +247 -0
- package/dist/jsonEditor.js.map +1 -0
- package/dist/jsonEditor.mjs +9 -0
- package/dist/jsonEditor.mjs.map +1 -0
- package/dist/list.d.mts +83 -0
- package/dist/list.d.ts +83 -0
- package/dist/list.js +564 -0
- package/dist/list.js.map +1 -0
- package/dist/list.mjs +39 -0
- package/dist/list.mjs.map +1 -0
- package/dist/loading.d.mts +48 -0
- package/dist/loading.d.ts +48 -0
- package/dist/loading.js +383 -0
- package/dist/loading.js.map +1 -0
- package/dist/loading.mjs +23 -0
- package/dist/loading.mjs.map +1 -0
- package/dist/markdown.d.mts +14 -0
- package/dist/markdown.d.ts +14 -0
- package/dist/markdown.js +25927 -0
- package/dist/markdown.js.map +1 -0
- package/dist/markdown.mjs +25623 -0
- package/dist/markdown.mjs.map +1 -0
- package/dist/menu.d.mts +368 -0
- package/dist/menu.d.ts +368 -0
- package/dist/menu.js +1571 -0
- package/dist/menu.js.map +1 -0
- package/dist/menu.mjs +43 -0
- package/dist/menu.mjs.map +1 -0
- package/dist/modal.d.mts +90 -0
- package/dist/modal.d.ts +90 -0
- package/dist/modal.js +883 -0
- package/dist/modal.js.map +1 -0
- package/dist/modal.mjs +25 -0
- package/dist/modal.mjs.map +1 -0
- package/dist/overlay.d.mts +2 -0
- package/dist/overlay.d.ts +2 -0
- package/dist/overlay.js +46 -0
- package/dist/overlay.js.map +1 -0
- package/dist/overlay.mjs +10 -0
- package/dist/overlay.mjs.map +1 -0
- package/dist/paper.d.mts +38 -0
- package/dist/paper.d.ts +38 -0
- package/dist/paper.js +90 -0
- package/dist/paper.js.map +1 -0
- package/dist/paper.mjs +12 -0
- package/dist/paper.mjs.map +1 -0
- package/dist/patterns.d.mts +133 -0
- package/dist/patterns.d.ts +133 -0
- package/dist/patterns.js +483 -0
- package/dist/patterns.js.map +1 -0
- package/dist/patterns.mjs +46 -0
- package/dist/patterns.mjs.map +1 -0
- package/dist/process.d.mts +125 -0
- package/dist/process.d.ts +125 -0
- package/dist/process.js +1471 -0
- package/dist/process.js.map +1 -0
- package/dist/process.mjs +30 -0
- package/dist/process.mjs.map +1 -0
- package/dist/progress.d.mts +44 -0
- package/dist/progress.d.ts +44 -0
- package/dist/progress.js +94 -0
- package/dist/progress.js.map +1 -0
- package/dist/progress.mjs +14 -0
- package/dist/progress.mjs.map +1 -0
- package/dist/resizablePanel.d.mts +297 -0
- package/dist/resizablePanel.d.ts +297 -0
- package/dist/resizablePanel.js +122 -0
- package/dist/resizablePanel.js.map +1 -0
- package/dist/resizablePanel.mjs +22 -0
- package/dist/resizablePanel.mjs.map +1 -0
- package/dist/scrollToLoad.d.mts +41 -0
- package/dist/scrollToLoad.d.ts +41 -0
- package/dist/scrollToLoad.js +256 -0
- package/dist/scrollToLoad.js.map +1 -0
- package/dist/scrollToLoad.mjs +16 -0
- package/dist/scrollToLoad.mjs.map +1 -0
- package/dist/select.d.mts +50 -0
- package/dist/select.d.ts +50 -0
- package/dist/select.js +426 -0
- package/dist/select.js.map +1 -0
- package/dist/select.mjs +24 -0
- package/dist/select.mjs.map +1 -0
- package/dist/skeleton.d.mts +13 -0
- package/dist/skeleton.d.ts +13 -0
- package/dist/skeleton.js +68 -0
- package/dist/skeleton.js.map +1 -0
- package/dist/skeleton.mjs +11 -0
- package/dist/skeleton.mjs.map +1 -0
- package/dist/slider.d.mts +65 -0
- package/dist/slider.d.ts +65 -0
- package/dist/slider.js +106 -0
- package/dist/slider.js.map +1 -0
- package/dist/slider.mjs +10 -0
- package/dist/slider.mjs.map +1 -0
- package/dist/stepper.d.mts +98 -0
- package/dist/stepper.d.ts +98 -0
- package/dist/stepper.js +313 -0
- package/dist/stepper.js.map +1 -0
- package/dist/stepper.mjs +38 -0
- package/dist/stepper.mjs.map +1 -0
- package/dist/switch.d.mts +151 -0
- package/dist/switch.d.ts +151 -0
- package/dist/switch.js +289 -0
- package/dist/switch.js.map +1 -0
- package/dist/switch.mjs +17 -0
- package/dist/switch.mjs.map +1 -0
- package/dist/tab.d.mts +182 -0
- package/dist/tab.d.ts +182 -0
- package/dist/tab.js +1418 -0
- package/dist/tab.js.map +1 -0
- package/dist/tab.mjs +34 -0
- package/dist/tab.mjs.map +1 -0
- package/dist/table.d.mts +720 -0
- package/dist/table.d.ts +720 -0
- package/dist/table.js +10882 -0
- package/dist/table.js.map +1 -0
- package/dist/table.mjs +63 -0
- package/dist/table.mjs.map +1 -0
- package/dist/theme.d.mts +30 -4
- package/dist/theme.d.ts +30 -4
- package/dist/theme.js +3210 -170
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +52 -230
- package/dist/theme.mjs.map +1 -1
- package/dist/timeline.d.mts +30 -0
- package/dist/timeline.d.ts +30 -0
- package/dist/timeline.js +273 -0
- package/dist/timeline.js.map +1 -0
- package/dist/timeline.mjs +14 -0
- package/dist/timeline.mjs.map +1 -0
- package/dist/toggleButtonGroup.d.mts +125 -0
- package/dist/toggleButtonGroup.d.ts +125 -0
- package/dist/toggleButtonGroup.js +190 -0
- package/dist/toggleButtonGroup.js.map +1 -0
- package/dist/toggleButtonGroup.mjs +15 -0
- package/dist/toggleButtonGroup.mjs.map +1 -0
- package/dist/tooltip.d.mts +13 -0
- package/dist/tooltip.d.ts +13 -0
- package/dist/tooltip.js +56 -0
- package/dist/tooltip.js.map +1 -0
- package/dist/tooltip.mjs +10 -0
- package/dist/tooltip.mjs.map +1 -0
- package/dist/typography.d.mts +21 -23
- package/dist/typography.d.ts +21 -23
- package/dist/typography.js +37 -63
- package/dist/typography.js.map +1 -1
- package/dist/typography.mjs +2 -1
- package/dist/useForm.d.mts +588 -0
- package/dist/useForm.d.ts +588 -0
- package/dist/useForm.js +8743 -0
- package/dist/useForm.js.map +1 -0
- package/dist/useForm.mjs +45 -0
- package/dist/useForm.mjs.map +1 -0
- package/dist/useSearch.d.mts +126 -0
- package/dist/useSearch.d.ts +126 -0
- package/dist/useSearch.js +1125 -0
- package/dist/useSearch.js.map +1 -0
- package/dist/useSearch.mjs +42 -0
- package/dist/useSearch.mjs.map +1 -0
- package/dist/variablesRenderer.d.mts +45 -0
- package/dist/variablesRenderer.d.ts +45 -0
- package/dist/variablesRenderer.js +511 -0
- package/dist/variablesRenderer.js.map +1 -0
- package/dist/variablesRenderer.mjs +21 -0
- package/dist/variablesRenderer.mjs.map +1 -0
- package/package.json +109 -15
- package/dist/chunk-PKADXEAD.mjs +0 -116
- package/dist/chunk-PKADXEAD.mjs.map +0 -1
- package/dist/chunk-YGBJCPUS.mjs +0 -88
- package/dist/chunk-YGBJCPUS.mjs.map +0 -1
- package/dist/theme.css +0 -44
- package/dist/theme.css.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/input.d.mts
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import * as _mui_material_TextField from '@mui/material/TextField';
|
|
4
|
+
import _mui_material_TextField__default from '@mui/material/TextField';
|
|
5
|
+
export { default as TextField } from '@mui/material/TextField';
|
|
6
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
+
import InputBase, { InputBaseProps } from '@mui/material/InputBase';
|
|
8
|
+
import { PaperProps } from '@mui/material/Paper';
|
|
9
|
+
import { BoxProps } from '@mui/material/Box';
|
|
10
|
+
import _mui_material_IconButton from '@mui/material/IconButton';
|
|
11
|
+
import { TooltipProps } from '@mui/material/Tooltip';
|
|
12
|
+
import PhoneInput from 'react-phone-number-input';
|
|
13
|
+
|
|
14
|
+
type Props$3 = {
|
|
15
|
+
margin?: 'dense' | 'normal' | 'none';
|
|
16
|
+
inputProps?: [string, React.Dispatch<React.SetStateAction<string>>];
|
|
17
|
+
lineHeight?: string;
|
|
18
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
19
|
+
label?: string;
|
|
20
|
+
} & React.ComponentProps<typeof _mui_material_TextField__default>;
|
|
21
|
+
type PopperInputRef = {
|
|
22
|
+
getValue: () => string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* A Input component that uses Popper to display the input field.
|
|
26
|
+
*
|
|
27
|
+
* has get value method if ref is provided.
|
|
28
|
+
*
|
|
29
|
+
* [Doc](https://mui.com/material-ui/api/text-field/)
|
|
30
|
+
*/
|
|
31
|
+
declare const PopperInput: React$1.ForwardRefExoticComponent<Omit<Props$3, "ref"> & React$1.RefAttributes<PopperInputRef>>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* A wrapper for Mui Paper
|
|
35
|
+
*/
|
|
36
|
+
declare function MuiPaper(props: PaperProps): react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
type Props$2 = {
|
|
39
|
+
children: React__default.ReactNode;
|
|
40
|
+
title?: string;
|
|
41
|
+
error?: boolean;
|
|
42
|
+
pyPx?: number;
|
|
43
|
+
pxPx?: number;
|
|
44
|
+
} & BoxProps;
|
|
45
|
+
/**
|
|
46
|
+
* A Mui TextField like Box with a title and a border.
|
|
47
|
+
*
|
|
48
|
+
* Props options:
|
|
49
|
+
*
|
|
50
|
+
* @property {ReactNode} children - Whatever go inside the box.
|
|
51
|
+
* @property {string} title - The left top title.
|
|
52
|
+
* @property {string} error - change border-color to red.
|
|
53
|
+
* @property {number} pyPx - padding top and bottom.
|
|
54
|
+
* @property {number} pxPx - padding left and right.
|
|
55
|
+
* @property {Record<string, unknown>} ...rest - Box props to the outer box.
|
|
56
|
+
* @example
|
|
57
|
+
* ### Example
|
|
58
|
+
* ```js
|
|
59
|
+
* const B = () => (
|
|
60
|
+
* <BorderBox title="title" error={false} ref={ref}>
|
|
61
|
+
* something inside
|
|
62
|
+
* </BorderBox>)
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
declare const BorderBox: React__default.ForwardRefExoticComponent<Omit<Props$2, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
66
|
+
|
|
67
|
+
type IconButtonProps = React.ComponentProps<typeof _mui_material_IconButton>;
|
|
68
|
+
type Props$1 = {
|
|
69
|
+
/** The Icon to render */
|
|
70
|
+
children: React.ReactNode;
|
|
71
|
+
/** The title of the tooltip */
|
|
72
|
+
title?: string;
|
|
73
|
+
/**
|
|
74
|
+
* The color theme of the entire component.
|
|
75
|
+
* @default 'secondary' (from theme)
|
|
76
|
+
*/
|
|
77
|
+
color?: IconButtonProps['color'];
|
|
78
|
+
/**
|
|
79
|
+
* The size of the component.
|
|
80
|
+
* @default 'small' (from theme)
|
|
81
|
+
*/
|
|
82
|
+
size?: IconButtonProps['size'];
|
|
83
|
+
selected?: boolean;
|
|
84
|
+
slotProps?: {
|
|
85
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
86
|
+
};
|
|
87
|
+
} & Omit<IconButtonProps, "color" | "size">;
|
|
88
|
+
/**
|
|
89
|
+
* A MuiIconButton wrapped in a MuiTooltip.
|
|
90
|
+
* Default props like `size` and `color` are handled by the theme.
|
|
91
|
+
*/
|
|
92
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<Omit<Props$1, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
93
|
+
|
|
94
|
+
type buttonOptions = {
|
|
95
|
+
icon: React__default.ReactNode;
|
|
96
|
+
} & Omit<React__default.ComponentProps<typeof IconButton>, "children" | "size">;
|
|
97
|
+
type Props = {
|
|
98
|
+
multiline?: boolean;
|
|
99
|
+
rows?: number;
|
|
100
|
+
margin?: 'dense' | 'normal' | 'none';
|
|
101
|
+
size?: 'small' | 'medium';
|
|
102
|
+
label?: string;
|
|
103
|
+
value?: string;
|
|
104
|
+
placeholder?: string;
|
|
105
|
+
inputProps?: Record<string, unknown>;
|
|
106
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
107
|
+
startButtons?: buttonOptions[];
|
|
108
|
+
endButtons?: buttonOptions[];
|
|
109
|
+
br?: number;
|
|
110
|
+
haveBorder?: boolean;
|
|
111
|
+
borderTitle?: React__default.ComponentProps<typeof Wrapper>["title"];
|
|
112
|
+
/** Optional custom input component (e.g. raw phone input) */
|
|
113
|
+
InputComponent?: React__default.ElementType;
|
|
114
|
+
/** Props forwarded to the custom input component */
|
|
115
|
+
inputComponentProps?: Record<string, unknown>;
|
|
116
|
+
slotProps?: {
|
|
117
|
+
input?: Partial<React__default.ComponentProps<typeof InputBase>["slotProps"]>;
|
|
118
|
+
paper?: Partial<React__default.ComponentProps<typeof MuiPaper>>;
|
|
119
|
+
wrapper?: Partial<React__default.ComponentProps<typeof BorderBox>>;
|
|
120
|
+
};
|
|
121
|
+
} & InputBaseProps;
|
|
122
|
+
/**
|
|
123
|
+
* A input component stacked with buttons on the left and right side.
|
|
124
|
+
*
|
|
125
|
+
* [Doc](https://mui.com/material-ui/api/text-field/)
|
|
126
|
+
*/
|
|
127
|
+
declare const StackInput: React__default.ForwardRefExoticComponent<Omit<Props, "ref"> & React__default.RefAttributes<unknown>>;
|
|
128
|
+
|
|
129
|
+
declare function Wrapper(p: {
|
|
130
|
+
children: React__default.ReactNode;
|
|
131
|
+
haveBorder: boolean;
|
|
132
|
+
title?: React__default.ComponentProps<typeof BorderBox>["title"];
|
|
133
|
+
} & React__default.ComponentProps<typeof BorderBox>): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
134
|
+
|
|
135
|
+
declare function TelPhoneInput(p: React__default.ComponentProps<typeof PhoneInput> & {
|
|
136
|
+
error?: boolean;
|
|
137
|
+
iconComponent?: React__default.ElementType;
|
|
138
|
+
}): react_jsx_runtime.JSX.Element;
|
|
139
|
+
|
|
140
|
+
declare const textFieldTheme: {
|
|
141
|
+
readonly defaultProps: {
|
|
142
|
+
readonly size: "small";
|
|
143
|
+
};
|
|
144
|
+
readonly styleOverrides: {
|
|
145
|
+
readonly root: {
|
|
146
|
+
readonly "& fieldset": {
|
|
147
|
+
readonly borderColor: "var(--mui-palette-text-secondary)";
|
|
148
|
+
};
|
|
149
|
+
readonly "& .MuiOutlinedInput-root.Mui-focused:not(.Mui-error) fieldset": {
|
|
150
|
+
readonly borderColor: "var(--mui-palette-text-secondary)";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
declare const inputBaseTheme: {
|
|
156
|
+
readonly styleOverrides: {
|
|
157
|
+
readonly root: {
|
|
158
|
+
readonly "&.MuiInputBase-root::after": {
|
|
159
|
+
readonly borderColor: "var(--mui-palette-text-secondary)";
|
|
160
|
+
};
|
|
161
|
+
readonly "&.MuiInputBase-root::before": {
|
|
162
|
+
readonly borderColor: "var(--mui-palette-text-secondary)";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* A TextField Variant
|
|
170
|
+
*
|
|
171
|
+
* `variant="standard"`
|
|
172
|
+
*
|
|
173
|
+
* [Doc](https://mui.com/material-ui/api/text-field/)
|
|
174
|
+
*/
|
|
175
|
+
declare const LineInput: React$1.ForwardRefExoticComponent<(Omit<{
|
|
176
|
+
multiline?: boolean;
|
|
177
|
+
rows?: number;
|
|
178
|
+
margin?: "dense" | "normal" | "none";
|
|
179
|
+
size?: "small" | "medium";
|
|
180
|
+
label?: string;
|
|
181
|
+
} & _mui_material_TextField.FilledTextFieldProps, "ref"> | Omit<{
|
|
182
|
+
multiline?: boolean;
|
|
183
|
+
rows?: number;
|
|
184
|
+
margin?: "dense" | "normal" | "none";
|
|
185
|
+
size?: "small" | "medium";
|
|
186
|
+
label?: string;
|
|
187
|
+
} & _mui_material_TextField.OutlinedTextFieldProps, "ref"> | Omit<{
|
|
188
|
+
multiline?: boolean;
|
|
189
|
+
rows?: number;
|
|
190
|
+
margin?: "dense" | "normal" | "none";
|
|
191
|
+
size?: "small" | "medium";
|
|
192
|
+
label?: string;
|
|
193
|
+
} & _mui_material_TextField.StandardTextFieldProps, "ref">) & React$1.RefAttributes<HTMLInputElement>>;
|
|
194
|
+
|
|
195
|
+
export { LineInput, PopperInput, type PopperInputRef, StackInput, TelPhoneInput, inputBaseTheme, textFieldTheme };
|
package/dist/input.d.ts
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import * as _mui_material_TextField from '@mui/material/TextField';
|
|
4
|
+
import _mui_material_TextField__default from '@mui/material/TextField';
|
|
5
|
+
export { default as TextField } from '@mui/material/TextField';
|
|
6
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
+
import InputBase, { InputBaseProps } from '@mui/material/InputBase';
|
|
8
|
+
import { PaperProps } from '@mui/material/Paper';
|
|
9
|
+
import { BoxProps } from '@mui/material/Box';
|
|
10
|
+
import _mui_material_IconButton from '@mui/material/IconButton';
|
|
11
|
+
import { TooltipProps } from '@mui/material/Tooltip';
|
|
12
|
+
import PhoneInput from 'react-phone-number-input';
|
|
13
|
+
|
|
14
|
+
type Props$3 = {
|
|
15
|
+
margin?: 'dense' | 'normal' | 'none';
|
|
16
|
+
inputProps?: [string, React.Dispatch<React.SetStateAction<string>>];
|
|
17
|
+
lineHeight?: string;
|
|
18
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
19
|
+
label?: string;
|
|
20
|
+
} & React.ComponentProps<typeof _mui_material_TextField__default>;
|
|
21
|
+
type PopperInputRef = {
|
|
22
|
+
getValue: () => string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* A Input component that uses Popper to display the input field.
|
|
26
|
+
*
|
|
27
|
+
* has get value method if ref is provided.
|
|
28
|
+
*
|
|
29
|
+
* [Doc](https://mui.com/material-ui/api/text-field/)
|
|
30
|
+
*/
|
|
31
|
+
declare const PopperInput: React$1.ForwardRefExoticComponent<Omit<Props$3, "ref"> & React$1.RefAttributes<PopperInputRef>>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* A wrapper for Mui Paper
|
|
35
|
+
*/
|
|
36
|
+
declare function MuiPaper(props: PaperProps): react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
type Props$2 = {
|
|
39
|
+
children: React__default.ReactNode;
|
|
40
|
+
title?: string;
|
|
41
|
+
error?: boolean;
|
|
42
|
+
pyPx?: number;
|
|
43
|
+
pxPx?: number;
|
|
44
|
+
} & BoxProps;
|
|
45
|
+
/**
|
|
46
|
+
* A Mui TextField like Box with a title and a border.
|
|
47
|
+
*
|
|
48
|
+
* Props options:
|
|
49
|
+
*
|
|
50
|
+
* @property {ReactNode} children - Whatever go inside the box.
|
|
51
|
+
* @property {string} title - The left top title.
|
|
52
|
+
* @property {string} error - change border-color to red.
|
|
53
|
+
* @property {number} pyPx - padding top and bottom.
|
|
54
|
+
* @property {number} pxPx - padding left and right.
|
|
55
|
+
* @property {Record<string, unknown>} ...rest - Box props to the outer box.
|
|
56
|
+
* @example
|
|
57
|
+
* ### Example
|
|
58
|
+
* ```js
|
|
59
|
+
* const B = () => (
|
|
60
|
+
* <BorderBox title="title" error={false} ref={ref}>
|
|
61
|
+
* something inside
|
|
62
|
+
* </BorderBox>)
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
declare const BorderBox: React__default.ForwardRefExoticComponent<Omit<Props$2, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
66
|
+
|
|
67
|
+
type IconButtonProps = React.ComponentProps<typeof _mui_material_IconButton>;
|
|
68
|
+
type Props$1 = {
|
|
69
|
+
/** The Icon to render */
|
|
70
|
+
children: React.ReactNode;
|
|
71
|
+
/** The title of the tooltip */
|
|
72
|
+
title?: string;
|
|
73
|
+
/**
|
|
74
|
+
* The color theme of the entire component.
|
|
75
|
+
* @default 'secondary' (from theme)
|
|
76
|
+
*/
|
|
77
|
+
color?: IconButtonProps['color'];
|
|
78
|
+
/**
|
|
79
|
+
* The size of the component.
|
|
80
|
+
* @default 'small' (from theme)
|
|
81
|
+
*/
|
|
82
|
+
size?: IconButtonProps['size'];
|
|
83
|
+
selected?: boolean;
|
|
84
|
+
slotProps?: {
|
|
85
|
+
tooltip?: Omit<TooltipProps, "children">;
|
|
86
|
+
};
|
|
87
|
+
} & Omit<IconButtonProps, "color" | "size">;
|
|
88
|
+
/**
|
|
89
|
+
* A MuiIconButton wrapped in a MuiTooltip.
|
|
90
|
+
* Default props like `size` and `color` are handled by the theme.
|
|
91
|
+
*/
|
|
92
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<Omit<Props$1, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
93
|
+
|
|
94
|
+
type buttonOptions = {
|
|
95
|
+
icon: React__default.ReactNode;
|
|
96
|
+
} & Omit<React__default.ComponentProps<typeof IconButton>, "children" | "size">;
|
|
97
|
+
type Props = {
|
|
98
|
+
multiline?: boolean;
|
|
99
|
+
rows?: number;
|
|
100
|
+
margin?: 'dense' | 'normal' | 'none';
|
|
101
|
+
size?: 'small' | 'medium';
|
|
102
|
+
label?: string;
|
|
103
|
+
value?: string;
|
|
104
|
+
placeholder?: string;
|
|
105
|
+
inputProps?: Record<string, unknown>;
|
|
106
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
107
|
+
startButtons?: buttonOptions[];
|
|
108
|
+
endButtons?: buttonOptions[];
|
|
109
|
+
br?: number;
|
|
110
|
+
haveBorder?: boolean;
|
|
111
|
+
borderTitle?: React__default.ComponentProps<typeof Wrapper>["title"];
|
|
112
|
+
/** Optional custom input component (e.g. raw phone input) */
|
|
113
|
+
InputComponent?: React__default.ElementType;
|
|
114
|
+
/** Props forwarded to the custom input component */
|
|
115
|
+
inputComponentProps?: Record<string, unknown>;
|
|
116
|
+
slotProps?: {
|
|
117
|
+
input?: Partial<React__default.ComponentProps<typeof InputBase>["slotProps"]>;
|
|
118
|
+
paper?: Partial<React__default.ComponentProps<typeof MuiPaper>>;
|
|
119
|
+
wrapper?: Partial<React__default.ComponentProps<typeof BorderBox>>;
|
|
120
|
+
};
|
|
121
|
+
} & InputBaseProps;
|
|
122
|
+
/**
|
|
123
|
+
* A input component stacked with buttons on the left and right side.
|
|
124
|
+
*
|
|
125
|
+
* [Doc](https://mui.com/material-ui/api/text-field/)
|
|
126
|
+
*/
|
|
127
|
+
declare const StackInput: React__default.ForwardRefExoticComponent<Omit<Props, "ref"> & React__default.RefAttributes<unknown>>;
|
|
128
|
+
|
|
129
|
+
declare function Wrapper(p: {
|
|
130
|
+
children: React__default.ReactNode;
|
|
131
|
+
haveBorder: boolean;
|
|
132
|
+
title?: React__default.ComponentProps<typeof BorderBox>["title"];
|
|
133
|
+
} & React__default.ComponentProps<typeof BorderBox>): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
134
|
+
|
|
135
|
+
declare function TelPhoneInput(p: React__default.ComponentProps<typeof PhoneInput> & {
|
|
136
|
+
error?: boolean;
|
|
137
|
+
iconComponent?: React__default.ElementType;
|
|
138
|
+
}): react_jsx_runtime.JSX.Element;
|
|
139
|
+
|
|
140
|
+
declare const textFieldTheme: {
|
|
141
|
+
readonly defaultProps: {
|
|
142
|
+
readonly size: "small";
|
|
143
|
+
};
|
|
144
|
+
readonly styleOverrides: {
|
|
145
|
+
readonly root: {
|
|
146
|
+
readonly "& fieldset": {
|
|
147
|
+
readonly borderColor: "var(--mui-palette-text-secondary)";
|
|
148
|
+
};
|
|
149
|
+
readonly "& .MuiOutlinedInput-root.Mui-focused:not(.Mui-error) fieldset": {
|
|
150
|
+
readonly borderColor: "var(--mui-palette-text-secondary)";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
declare const inputBaseTheme: {
|
|
156
|
+
readonly styleOverrides: {
|
|
157
|
+
readonly root: {
|
|
158
|
+
readonly "&.MuiInputBase-root::after": {
|
|
159
|
+
readonly borderColor: "var(--mui-palette-text-secondary)";
|
|
160
|
+
};
|
|
161
|
+
readonly "&.MuiInputBase-root::before": {
|
|
162
|
+
readonly borderColor: "var(--mui-palette-text-secondary)";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* A TextField Variant
|
|
170
|
+
*
|
|
171
|
+
* `variant="standard"`
|
|
172
|
+
*
|
|
173
|
+
* [Doc](https://mui.com/material-ui/api/text-field/)
|
|
174
|
+
*/
|
|
175
|
+
declare const LineInput: React$1.ForwardRefExoticComponent<(Omit<{
|
|
176
|
+
multiline?: boolean;
|
|
177
|
+
rows?: number;
|
|
178
|
+
margin?: "dense" | "normal" | "none";
|
|
179
|
+
size?: "small" | "medium";
|
|
180
|
+
label?: string;
|
|
181
|
+
} & _mui_material_TextField.FilledTextFieldProps, "ref"> | Omit<{
|
|
182
|
+
multiline?: boolean;
|
|
183
|
+
rows?: number;
|
|
184
|
+
margin?: "dense" | "normal" | "none";
|
|
185
|
+
size?: "small" | "medium";
|
|
186
|
+
label?: string;
|
|
187
|
+
} & _mui_material_TextField.OutlinedTextFieldProps, "ref"> | Omit<{
|
|
188
|
+
multiline?: boolean;
|
|
189
|
+
rows?: number;
|
|
190
|
+
margin?: "dense" | "normal" | "none";
|
|
191
|
+
size?: "small" | "medium";
|
|
192
|
+
label?: string;
|
|
193
|
+
} & _mui_material_TextField.StandardTextFieldProps, "ref">) & React$1.RefAttributes<HTMLInputElement>>;
|
|
194
|
+
|
|
195
|
+
export { LineInput, PopperInput, type PopperInputRef, StackInput, TelPhoneInput, inputBaseTheme, textFieldTheme };
|