@astral/ui 0.2.6-beta.2 → 0.3.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/{types → esm}/index.d.ts +0 -0
- package/{types → esm}/src/Badge/Badge.d.ts +0 -0
- package/{types → esm}/src/Badge/index.d.ts +0 -0
- package/{types → esm}/src/Badge/styled.d.ts +0 -0
- package/{types → esm}/src/Badge/types.d.ts +0 -0
- package/{types → esm}/src/Button/Button.d.ts +0 -0
- package/{types → esm}/src/Button/index.d.ts +0 -0
- package/{types → esm}/src/Button/styled.d.ts +0 -0
- package/{types → esm}/src/Button/types.d.ts +0 -0
- package/{types → esm}/src/ButtonBase/ButtonBase.d.ts +0 -0
- package/{types → esm}/src/ButtonBase/constants.d.ts +0 -0
- package/{types → esm}/src/ButtonBase/index.d.ts +0 -0
- package/{types → esm}/src/ButtonBase/styled.d.ts +0 -0
- package/{types → esm}/src/ButtonBase/types.d.ts +0 -0
- package/{types → esm}/src/Checkbox/Checkbox.d.ts +0 -0
- package/{types → esm}/src/Checkbox/icons.d.ts +0 -0
- package/{types → esm}/src/Checkbox/index.d.ts +0 -0
- package/{types → esm}/src/Checkbox/styled.d.ts +0 -0
- package/{types → esm}/src/Checkbox/types.d.ts +0 -0
- package/{types → esm}/src/CircularProgress/CircularProgress.d.ts +0 -0
- package/{types → esm}/src/CircularProgress/constants.d.ts +0 -0
- package/{types → esm}/src/CircularProgress/index.d.ts +0 -0
- package/{types → esm}/src/CircularProgress/styled.d.ts +0 -0
- package/{types → esm}/src/CircularProgress/types.d.ts +0 -0
- package/{types → esm}/src/FormControlLabel/FormControlLabel.d.ts +0 -0
- package/{types → esm}/src/FormControlLabel/index.d.ts +0 -0
- package/{types → esm}/src/FormControlLabel/styled.d.ts +0 -0
- package/{types → esm}/src/FormControlLabel/types.d.ts +0 -0
- package/{types → esm}/src/FormHelperText/FormHelperText.d.ts +0 -0
- package/{types → esm}/src/FormHelperText/index.d.ts +0 -0
- package/{types → esm}/src/FormHelperText/styled.d.ts +0 -0
- package/{types → esm}/src/FormHelperText/types.d.ts +0 -0
- package/{types → esm}/src/GlobalStyles/GlobalStyles.d.ts +0 -0
- package/{types → esm}/src/GlobalStyles/index.d.ts +0 -0
- package/{types → esm}/src/Grid/Grid.d.ts +0 -0
- package/{types → esm}/src/Grid/index.d.ts +0 -0
- package/{types → esm}/src/Grid/styled.d.ts +0 -0
- package/{types → esm}/src/Grid/types.d.ts +0 -0
- package/{types → esm}/src/IconButton/IconButton.d.ts +0 -0
- package/{types → esm}/src/IconButton/index.d.ts +0 -0
- package/{types → esm}/src/IconButton/styled.d.ts +0 -0
- package/{types → esm}/src/Menu/Menu.d.ts +0 -0
- package/{types → esm}/src/Menu/index.d.ts +0 -0
- package/{types → esm}/src/MenuItem/MenuItem.d.ts +0 -0
- package/{types → esm}/src/MenuItem/index.d.ts +0 -0
- package/{types → esm}/src/MenuList/MenuList.d.ts +0 -0
- package/{types → esm}/src/MenuList/index.d.ts +0 -0
- package/{types → esm}/src/MenuList/styled.d.ts +0 -0
- package/{types → esm}/src/MenuList/types.d.ts +0 -0
- package/{types → esm}/src/Radio/Icon.d.ts +0 -0
- package/{types → esm}/src/Radio/Radio.d.ts +0 -0
- package/{types → esm}/src/Radio/index.d.ts +0 -0
- package/{types → esm}/src/Radio/styled.d.ts +0 -0
- package/{types → esm}/src/Radio/types.d.ts +0 -0
- package/{types → esm}/src/RadioGroup/RadioGroup.d.ts +0 -0
- package/{types → esm}/src/Tag/Tag.d.ts +0 -0
- package/{types → esm}/src/Tag/constants.d.ts +0 -0
- package/{types → esm}/src/Tag/index.d.ts +0 -0
- package/{types → esm}/src/Tag/styled.d.ts +0 -0
- package/{types → esm}/src/Tag/types.d.ts +0 -0
- package/esm/src/TextField/TextField.d.ts +4 -0
- package/esm/src/TextField/TextField.js +4 -4
- package/{types → esm}/src/TextField/index.d.ts +0 -0
- package/{types → esm}/src/TextField/types.d.ts +0 -0
- package/{types → esm}/src/ThemeProvider/ThemeProvider.d.ts +0 -0
- package/{types → esm}/src/ThemeProvider/index.d.ts +0 -0
- package/{types → esm}/src/Typography/Typography.d.ts +0 -0
- package/{types → esm}/src/Typography/index.d.ts +0 -0
- package/{types → esm}/src/index.d.ts +0 -0
- package/{types → esm}/src/styles/index.d.ts +0 -0
- package/{types → esm}/src/styles/styled/index.d.ts +0 -0
- package/{types → esm}/src/styles/styled/styled.d.ts +0 -0
- package/{types → esm}/src/styles/styled/types.d.ts +0 -0
- package/{types → esm}/src/theme/__tests__/BaseTheme.test.d.ts +0 -0
- package/{types → esm}/src/theme/baseTheme.d.ts +0 -0
- package/{types → esm}/src/theme/components/MuiFormHelperText.d.ts +0 -0
- package/{types → esm}/src/theme/components/MuiFormLabel.d.ts +0 -0
- package/{types → esm}/src/theme/components/MuiInputBase.d.ts +0 -0
- package/{types → esm}/src/theme/components/MuiInputLabel.d.ts +0 -0
- package/{types → esm}/src/theme/components/MuiOutlinedInput.d.ts +0 -0
- package/{types → esm}/src/theme/components/MuiTypography.d.ts +0 -0
- package/{types → esm}/src/theme/components/components.d.ts +0 -0
- package/{types → esm}/src/theme/components/index.d.ts +0 -0
- package/{types → esm}/src/theme/constants.d.ts +0 -0
- package/{types → esm}/src/theme/elevation.d.ts +0 -0
- package/{types → esm}/src/theme/hooks/index.d.ts +0 -0
- package/{types → esm}/src/theme/hooks/useTheme/index.d.ts +0 -0
- package/{types → esm}/src/theme/index.d.ts +0 -0
- package/{types → esm}/src/theme/palette/brandPalette.d.ts +0 -0
- package/{types → esm}/src/theme/palette/index.d.ts +0 -0
- package/{types → esm}/src/theme/palette/palette.d.ts +0 -0
- package/{types → esm}/src/theme/shape.d.ts +0 -0
- package/{types → esm}/src/theme/typography.d.ts +0 -0
- package/node/index.d.ts +1 -0
- package/{cjs → node}/index.js +0 -0
- package/node/src/Badge/Badge.d.ts +4 -0
- package/{cjs → node}/src/Badge/Badge.js +0 -0
- package/node/src/Badge/index.d.ts +2 -0
- package/{cjs → node}/src/Badge/index.js +0 -0
- package/node/src/Badge/styled.d.ts +50 -0
- package/{cjs → node}/src/Badge/styled.js +0 -0
- package/node/src/Badge/types.d.ts +5 -0
- package/{cjs → node}/src/Badge/types.js +0 -0
- package/node/src/Button/Button.d.ts +3 -0
- package/{cjs → node}/src/Button/Button.js +0 -0
- package/node/src/Button/index.d.ts +2 -0
- package/{cjs → node}/src/Button/index.js +0 -0
- package/node/src/Button/styled.d.ts +13 -0
- package/{cjs → node}/src/Button/styled.js +0 -0
- package/node/src/Button/types.d.ts +7 -0
- package/{cjs → node}/src/Button/types.js +0 -0
- package/node/src/ButtonBase/ButtonBase.d.ts +3 -0
- package/{cjs → node}/src/ButtonBase/ButtonBase.js +0 -0
- package/node/src/ButtonBase/constants.d.ts +22 -0
- package/{cjs → node}/src/ButtonBase/constants.js +0 -0
- package/node/src/ButtonBase/index.d.ts +3 -0
- package/{cjs → node}/src/ButtonBase/index.js +0 -0
- package/node/src/ButtonBase/styled.d.ts +27 -0
- package/{cjs → node}/src/ButtonBase/styled.js +0 -0
- package/node/src/ButtonBase/types.d.ts +11 -0
- package/{cjs → node}/src/ButtonBase/types.js +0 -0
- package/node/src/Checkbox/Checkbox.d.ts +3 -0
- package/{cjs → node}/src/Checkbox/Checkbox.js +0 -0
- package/node/src/Checkbox/icons.d.ts +5 -0
- package/{cjs → node}/src/Checkbox/icons.js +0 -0
- package/node/src/Checkbox/index.d.ts +2 -0
- package/{cjs → node}/src/Checkbox/index.js +0 -0
- package/node/src/Checkbox/styled.d.ts +4 -0
- package/{cjs → node}/src/Checkbox/styled.js +0 -0
- package/node/src/Checkbox/types.d.ts +2 -0
- package/{cjs → node}/src/Checkbox/types.js +0 -0
- package/node/src/CircularProgress/CircularProgress.d.ts +4 -0
- package/{cjs → node}/src/CircularProgress/CircularProgress.js +0 -0
- package/node/src/CircularProgress/constants.d.ts +8 -0
- package/{cjs → node}/src/CircularProgress/constants.js +0 -0
- package/node/src/CircularProgress/index.d.ts +2 -0
- package/{cjs → node}/src/CircularProgress/index.js +0 -0
- package/node/src/CircularProgress/styled.d.ts +7 -0
- package/{cjs → node}/src/CircularProgress/styled.js +0 -0
- package/node/src/CircularProgress/types.d.ts +8 -0
- package/{cjs → node}/src/CircularProgress/types.js +0 -0
- package/node/src/FormControlLabel/FormControlLabel.d.ts +3 -0
- package/{cjs → node}/src/FormControlLabel/FormControlLabel.js +0 -0
- package/node/src/FormControlLabel/index.d.ts +2 -0
- package/{cjs → node}/src/FormControlLabel/index.js +0 -0
- package/node/src/FormControlLabel/styled.d.ts +3 -0
- package/{cjs → node}/src/FormControlLabel/styled.js +0 -0
- package/node/src/FormControlLabel/types.d.ts +2 -0
- package/{cjs → node}/src/FormControlLabel/types.js +0 -0
- package/node/src/FormHelperText/FormHelperText.d.ts +4 -0
- package/{cjs → node}/src/FormHelperText/FormHelperText.js +0 -0
- package/node/src/FormHelperText/index.d.ts +1 -0
- package/{cjs → node}/src/FormHelperText/index.js +0 -0
- package/node/src/FormHelperText/styled.d.ts +41 -0
- package/{cjs → node}/src/FormHelperText/styled.js +0 -0
- package/node/src/FormHelperText/types.d.ts +6 -0
- package/{cjs → node}/src/FormHelperText/types.js +0 -0
- package/node/src/GlobalStyles/GlobalStyles.d.ts +3 -0
- package/{cjs → node}/src/GlobalStyles/GlobalStyles.js +0 -0
- package/node/src/GlobalStyles/index.d.ts +1 -0
- package/{cjs → node}/src/GlobalStyles/index.js +0 -0
- package/node/src/Grid/Grid.d.ts +3 -0
- package/{cjs → node}/src/Grid/Grid.js +0 -0
- package/node/src/Grid/index.d.ts +2 -0
- package/{cjs → node}/src/Grid/index.js +0 -0
- package/node/src/Grid/styled.d.ts +13 -0
- package/{cjs → node}/src/Grid/styled.js +0 -0
- package/node/src/Grid/types.d.ts +30 -0
- package/{cjs → node}/src/Grid/types.js +0 -0
- package/node/src/IconButton/IconButton.d.ts +3 -0
- package/{cjs → node}/src/IconButton/IconButton.js +0 -0
- package/node/src/IconButton/index.d.ts +1 -0
- package/{cjs → node}/src/IconButton/index.js +0 -0
- package/node/src/IconButton/styled.d.ts +19 -0
- package/{cjs → node}/src/IconButton/styled.js +0 -0
- package/node/src/Menu/Menu.d.ts +3 -0
- package/{cjs → node}/src/Menu/Menu.js +0 -0
- package/node/src/Menu/index.d.ts +1 -0
- package/{cjs → node}/src/Menu/index.js +0 -0
- package/node/src/MenuItem/MenuItem.d.ts +3 -0
- package/{cjs → node}/src/MenuItem/MenuItem.js +0 -0
- package/node/src/MenuItem/index.d.ts +1 -0
- package/{cjs → node}/src/MenuItem/index.js +0 -0
- package/node/src/MenuList/MenuList.d.ts +3 -0
- package/{cjs → node}/src/MenuList/MenuList.js +0 -0
- package/node/src/MenuList/index.d.ts +2 -0
- package/{cjs → node}/src/MenuList/index.js +0 -0
- package/node/src/MenuList/styled.d.ts +20 -0
- package/{cjs → node}/src/MenuList/styled.js +0 -0
- package/node/src/MenuList/types.d.ts +2 -0
- package/{cjs → node}/src/MenuList/types.js +0 -0
- package/node/src/Radio/Icon.d.ts +3 -0
- package/{cjs → node}/src/Radio/Icon.js +0 -0
- package/node/src/Radio/Radio.d.ts +4 -0
- package/{cjs → node}/src/Radio/Radio.js +0 -0
- package/node/src/Radio/index.d.ts +2 -0
- package/{cjs → node}/src/Radio/index.js +0 -0
- package/node/src/Radio/styled.d.ts +4 -0
- package/{cjs → node}/src/Radio/styled.js +0 -0
- package/node/src/Radio/types.d.ts +2 -0
- package/{cjs → node}/src/Radio/types.js +0 -0
- package/node/src/RadioGroup/RadioGroup.d.ts +2 -0
- package/{cjs → node}/src/RadioGroup/RadioGroup.js +0 -0
- package/node/src/Tag/Tag.d.ts +3 -0
- package/{cjs → node}/src/Tag/Tag.js +0 -0
- package/node/src/Tag/constants.d.ts +21 -0
- package/{cjs → node}/src/Tag/constants.js +0 -0
- package/node/src/Tag/index.d.ts +2 -0
- package/{cjs → node}/src/Tag/index.js +0 -0
- package/node/src/Tag/styled.d.ts +26 -0
- package/{cjs → node}/src/Tag/styled.js +0 -0
- package/node/src/Tag/types.d.ts +12 -0
- package/{cjs → node}/src/Tag/types.js +0 -0
- package/node/src/TextField/TextField.d.ts +4 -0
- package/{cjs → node}/src/TextField/TextField.js +3 -4
- package/node/src/TextField/index.d.ts +2 -0
- package/{cjs → node}/src/TextField/index.js +0 -0
- package/node/src/TextField/types.d.ts +6 -0
- package/{cjs → node}/src/TextField/types.js +0 -0
- package/node/src/ThemeProvider/ThemeProvider.d.ts +7 -0
- package/{cjs → node}/src/ThemeProvider/ThemeProvider.js +0 -0
- package/node/src/ThemeProvider/index.d.ts +1 -0
- package/{cjs → node}/src/ThemeProvider/index.js +0 -0
- package/node/src/Typography/Typography.d.ts +8 -0
- package/{cjs → node}/src/Typography/Typography.js +0 -0
- package/node/src/Typography/index.d.ts +1 -0
- package/{cjs → node}/src/Typography/index.js +0 -0
- package/node/src/index.d.ts +18 -0
- package/{cjs → node}/src/index.js +0 -0
- package/node/src/styles/index.d.ts +1 -0
- package/{cjs → node}/src/styles/index.js +0 -0
- package/node/src/styles/styled/index.d.ts +1 -0
- package/{cjs → node}/src/styles/styled/index.js +0 -0
- package/node/src/styles/styled/styled.d.ts +2 -0
- package/{cjs → node}/src/styles/styled/styled.js +0 -0
- package/node/src/styles/styled/types.d.ts +48 -0
- package/{cjs → node}/src/styles/styled/types.js +0 -0
- package/node/src/theme/__tests__/BaseTheme.test.d.ts +1 -0
- package/{cjs → node}/src/theme/__tests__/BaseTheme.test.js +0 -0
- package/node/src/theme/baseTheme.d.ts +28 -0
- package/{cjs → node}/src/theme/baseTheme.js +0 -0
- package/node/src/theme/components/MuiFormHelperText.d.ts +4 -0
- package/{cjs → node}/src/theme/components/MuiFormHelperText.js +0 -0
- package/node/src/theme/components/MuiFormLabel.d.ts +4 -0
- package/{cjs → node}/src/theme/components/MuiFormLabel.js +0 -0
- package/node/src/theme/components/MuiInputBase.d.ts +4 -0
- package/{cjs → node}/src/theme/components/MuiInputBase.js +0 -0
- package/node/src/theme/components/MuiInputLabel.d.ts +4 -0
- package/{cjs → node}/src/theme/components/MuiInputLabel.js +0 -0
- package/node/src/theme/components/MuiOutlinedInput.d.ts +4 -0
- package/{cjs → node}/src/theme/components/MuiOutlinedInput.js +0 -0
- package/node/src/theme/components/MuiTypography.d.ts +21 -0
- package/{cjs → node}/src/theme/components/MuiTypography.js +0 -0
- package/node/src/theme/components/components.d.ts +21 -0
- package/{cjs → node}/src/theme/components/components.js +0 -0
- package/node/src/theme/components/index.d.ts +1 -0
- package/{cjs → node}/src/theme/components/index.js +0 -0
- package/node/src/theme/constants.d.ts +9 -0
- package/{cjs → node}/src/theme/constants.js +0 -0
- package/node/src/theme/elevation.d.ts +8 -0
- package/{cjs → node}/src/theme/elevation.js +0 -0
- package/node/src/theme/hooks/index.d.ts +1 -0
- package/{cjs → node}/src/theme/hooks/index.js +0 -0
- package/node/src/theme/hooks/useTheme/index.d.ts +2 -0
- package/{cjs → node}/src/theme/hooks/useTheme/index.js +0 -0
- package/node/src/theme/index.d.ts +6 -0
- package/{cjs → node}/src/theme/index.js +0 -0
- package/node/src/theme/palette/brandPalette.d.ts +15 -0
- package/{cjs → node}/src/theme/palette/brandPalette.js +0 -0
- package/node/src/theme/palette/index.d.ts +2 -0
- package/{cjs → node}/src/theme/palette/index.js +0 -0
- package/node/src/theme/palette/palette.d.ts +29 -0
- package/{cjs → node}/src/theme/palette/palette.js +0 -0
- package/node/src/theme/shape.d.ts +6 -0
- package/{cjs → node}/src/theme/shape.js +0 -0
- package/node/src/theme/typography.d.ts +19 -0
- package/{cjs → node}/src/theme/typography.js +0 -0
- package/package.json +6 -13
- package/types/src/TextField/TextField.d.ts +0 -4
package/{types → esm}/index.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
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TextFieldProps } from './types';
|
|
3
|
+
export declare const TextField: import("react").ForwardRefExoticComponent<Pick<TextFieldProps, "disabled" | "focused" | "error" | "multiline" | "fullWidth" | "hiddenLabel" | "color" | "translate" | "margin" | "success" | "required" | "classes" | "className" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "label" | "select" | "key" | "variant" | "autoComplete" | "autoFocus" | "inputProps" | "inputRef" | "name" | "rows" | "maxRows" | "minRows" | "size" | "type" | "value" | "SelectProps" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export default TextField;
|
|
@@ -21,10 +21,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import { useMemo } from 'react';
|
|
24
|
+
import { forwardRef, useMemo } from 'react';
|
|
25
25
|
import MuiTextField from '@mui/material/TextField';
|
|
26
26
|
import { FormHelperText } from '../FormHelperText';
|
|
27
|
-
export var TextField = function (props) {
|
|
27
|
+
export var TextField = forwardRef(function (props, ref) {
|
|
28
28
|
var variant = props.variant, success = props.success, error = props.error, colorProp = props.color, helperTextProp = props.helperText, restProps = __rest(props, ["variant", "success", "error", "color", "helperText"]);
|
|
29
29
|
var color = useMemo(function () {
|
|
30
30
|
if (success) {
|
|
@@ -41,6 +41,6 @@ export var TextField = function (props) {
|
|
|
41
41
|
}
|
|
42
42
|
return helperTextProp;
|
|
43
43
|
}, [helperTextProp, success, error]);
|
|
44
|
-
return (_jsx(MuiTextField, __assign({ variant: "outlined", error: error, color: color, helperText: helperText }, restProps), void 0));
|
|
45
|
-
};
|
|
44
|
+
return (_jsx(MuiTextField, __assign({ ref: ref, variant: "outlined", error: error, color: color, helperText: helperText }, restProps), void 0));
|
|
45
|
+
});
|
|
46
46
|
export default TextField;
|
|
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/node/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/{cjs → node}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Theme } from '../theme';
|
|
3
|
+
import { BadgeColor, BadgeProps } from './types';
|
|
4
|
+
export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
|
|
5
|
+
classes?: (Partial<import("@mui/material").BadgeUnstyledClasses> & {
|
|
6
|
+
colorPrimary?: string | undefined;
|
|
7
|
+
colorSecondary?: string | undefined;
|
|
8
|
+
colorError?: string | undefined;
|
|
9
|
+
colorInfo?: string | undefined;
|
|
10
|
+
colorSuccess?: string | undefined;
|
|
11
|
+
colorWarning?: string | undefined;
|
|
12
|
+
anchorOriginTopRightRectangular?: string | undefined;
|
|
13
|
+
anchorOriginBottomRightRectangular?: string | undefined;
|
|
14
|
+
anchorOriginTopLeftRectangular?: string | undefined;
|
|
15
|
+
anchorOriginBottomLeftRectangular?: string | undefined;
|
|
16
|
+
anchorOriginTopRightCircular?: string | undefined;
|
|
17
|
+
anchorOriginBottomRightCircular?: string | undefined;
|
|
18
|
+
anchorOriginTopLeftCircular?: string | undefined;
|
|
19
|
+
anchorOriginBottomLeftCircular?: string | undefined;
|
|
20
|
+
overlapRectangular?: string | undefined;
|
|
21
|
+
overlapCircular?: string | undefined;
|
|
22
|
+
}) | undefined;
|
|
23
|
+
color?: "primary" | "secondary" | "default" | "error" | "warning" | "info" | "success" | undefined;
|
|
24
|
+
overlap?: "circular" | "rectangular" | undefined;
|
|
25
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
26
|
+
variant?: "standard" | "dot" | undefined;
|
|
27
|
+
} & {
|
|
28
|
+
anchorOrigin?: import("@mui/material").BadgeOrigin | undefined;
|
|
29
|
+
components?: {
|
|
30
|
+
Root?: import("react").ElementType<any> | undefined;
|
|
31
|
+
Badge?: import("react").ElementType<any> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
componentsProps?: {
|
|
34
|
+
root?: (import("react").HTMLAttributes<HTMLSpanElement> & import("@mui/material").BadgeUnstyledComponentsPropsOverrides) | undefined;
|
|
35
|
+
badge?: (import("react").HTMLAttributes<HTMLSpanElement> & import("@mui/material").BadgeUnstyledComponentsPropsOverrides) | undefined;
|
|
36
|
+
} | undefined;
|
|
37
|
+
badgeContent?: import("react").ReactNode;
|
|
38
|
+
children?: import("react").ReactNode;
|
|
39
|
+
classes?: Partial<import("@mui/material").BadgeUnstyledClasses> | undefined;
|
|
40
|
+
invisible?: boolean | undefined;
|
|
41
|
+
max?: number | undefined;
|
|
42
|
+
showZero?: boolean | undefined;
|
|
43
|
+
variant?: string | undefined;
|
|
44
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
45
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
46
|
+
}, "components" | "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "componentsProps" | "invisible" | "anchorOrigin" | "overlap" | "badgeContent" | "max" | "showZero"> & {
|
|
47
|
+
theme?: Theme | undefined;
|
|
48
|
+
} & Omit<BadgeProps, "color"> & {
|
|
49
|
+
customColor: BadgeColor;
|
|
50
|
+
}, {}, {}>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Theme } from '../theme';
|
|
3
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "color" | "variant" | "size"> & {
|
|
4
|
+
color?: "primary" | "error" | "warning" | "success" | undefined;
|
|
5
|
+
variant?: "link" | "light" | "text" | "contained" | undefined;
|
|
6
|
+
size?: "large" | "medium" | undefined;
|
|
7
|
+
} & {
|
|
8
|
+
theme?: Theme | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
loading?: boolean | undefined;
|
|
11
|
+
startIcon?: import("react").ReactNode;
|
|
12
|
+
endIcon?: import("react").ReactNode;
|
|
13
|
+
}, {}, {}>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum ButtonColors {
|
|
2
|
+
ERROR = "error",
|
|
3
|
+
SUCCESS = "success",
|
|
4
|
+
WARNING = "warning",
|
|
5
|
+
PRIMARY = "primary"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ButtonVariants {
|
|
8
|
+
CONTAINED = "contained",
|
|
9
|
+
LIGHT = "light",
|
|
10
|
+
TEXT = "text",
|
|
11
|
+
LINK = "link"
|
|
12
|
+
}
|
|
13
|
+
export declare enum ButtonSizes {
|
|
14
|
+
MEDIUM = "medium",
|
|
15
|
+
LARGE = "large"
|
|
16
|
+
}
|
|
17
|
+
export declare enum ButtonStates {
|
|
18
|
+
DEFAULT = "default",
|
|
19
|
+
ACTIVE = "active",
|
|
20
|
+
FOCUS = "focus",
|
|
21
|
+
HOVER = "hover"
|
|
22
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Theme } from '../theme';
|
|
3
|
+
import { BaseButtonProps, ButtonColor, ButtonSize, ButtonState, ButtonVariant } from './types';
|
|
4
|
+
declare type StyledButtonBaseThemeProps = {
|
|
5
|
+
customColor?: ButtonColor;
|
|
6
|
+
customVariant?: ButtonVariant;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
theme: Theme;
|
|
9
|
+
};
|
|
10
|
+
export declare const getColor: ({ theme, customVariant, customColor, buttonState, }: StyledButtonBaseThemeProps & {
|
|
11
|
+
buttonState: ButtonState;
|
|
12
|
+
}) => string;
|
|
13
|
+
export declare const getBgColor: ({ customColor, customVariant, buttonState, theme, }: StyledButtonBaseThemeProps & {
|
|
14
|
+
buttonState: ButtonState;
|
|
15
|
+
}) => string;
|
|
16
|
+
export declare const getButtonHeight: ({ size, }: StyledButtonBaseThemeProps) => string;
|
|
17
|
+
export declare const getButtonPadding: ({ size, theme, }: StyledButtonBaseThemeProps) => string;
|
|
18
|
+
export declare const getDisabledBgColor: ({ theme, customVariant, }: StyledButtonBaseThemeProps) => string;
|
|
19
|
+
export declare const StyledButtonBase: import("@emotion/styled").StyledComponent<Pick<import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps & Omit<any, keyof import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps> & {
|
|
20
|
+
component?: import("react").ElementType<any> | undefined;
|
|
21
|
+
}, string | number | symbol> & import("react").RefAttributes<any> & {
|
|
22
|
+
theme?: Theme | undefined;
|
|
23
|
+
} & Omit<BaseButtonProps, "color" | "variant"> & {
|
|
24
|
+
customColor?: "primary" | "error" | "warning" | "success" | undefined;
|
|
25
|
+
customVariant?: "link" | "light" | "text" | "contained" | undefined;
|
|
26
|
+
}, {}, {}>;
|
|
27
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ButtonUnstyledProps } from '@mui/base/ButtonUnstyled';
|
|
2
|
+
import { ButtonColors, ButtonSizes, ButtonStates, ButtonVariants } from './constants';
|
|
3
|
+
export declare type ButtonColor = `${ButtonColors}`;
|
|
4
|
+
export declare type ButtonVariant = `${ButtonVariants}`;
|
|
5
|
+
export declare type ButtonSize = `${ButtonSizes}`;
|
|
6
|
+
export declare type ButtonState = `${ButtonStates}`;
|
|
7
|
+
export declare type BaseButtonProps = Omit<ButtonUnstyledProps, 'color' | 'variant' | 'size'> & {
|
|
8
|
+
color?: ButtonColor;
|
|
9
|
+
variant?: ButtonVariant;
|
|
10
|
+
size?: ButtonSize;
|
|
11
|
+
};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SvgIconProps } from '@mui/material';
|
|
3
|
+
export declare const DefaultIcon: React.FunctionComponent<SvgIconProps>;
|
|
4
|
+
export declare const CheckedIcon: React.FunctionComponent<SvgIconProps>;
|
|
5
|
+
export declare const IndeterminateIcon: React.FunctionComponent<SvgIconProps>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Theme } from '../theme';
|
|
2
|
+
import { CircularProgressProps } from './types';
|
|
3
|
+
export declare const StyledCircularProgress: import("@emotion/styled").StyledComponent<import("@mui/material").CircularProgressProps & {
|
|
4
|
+
theme?: Theme | undefined;
|
|
5
|
+
} & Omit<CircularProgressProps, "color" | "size"> & {
|
|
6
|
+
customColor?: "primary" | "inverted" | undefined;
|
|
7
|
+
}, {}, {}>;
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CircularProgressProps as MuiCircularProgressProps } from '@mui/material';
|
|
2
|
+
import { CircularProgressColors, CircularProgressSizes } from './constants';
|
|
3
|
+
export declare type CircularProgressColor = `${CircularProgressColors}`;
|
|
4
|
+
export declare type CircularProgressSize = `${CircularProgressSizes}`;
|
|
5
|
+
export declare type CircularProgressProps = Omit<MuiCircularProgressProps, 'color' | 'size'> & {
|
|
6
|
+
color?: CircularProgressColor;
|
|
7
|
+
size?: CircularProgressSize;
|
|
8
|
+
};
|
|
File without changes
|
|
File without changes
|