@auth0/quantum-product 1.8.0 → 1.10.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/accordion/accordion.d.ts +20 -2
- package/alert/alert.d.ts +1 -1
- package/alert/alert.js +1 -1
- package/app-bar/app-bar-button/app-bar-button.d.ts +0 -4
- package/app-bar/app-bar-button/app-bar-button.js +3 -3
- package/app-bar/app-bar-icon-button/app-bar-icon-button.d.ts +0 -5
- package/app-bar/app-bar-icon-button/app-bar-icon-button.js +4 -4
- package/app-layout/app-layout-classes.d.ts +1 -1
- package/autocomplete/autocomplete-overrides.js +1 -1
- package/avatar/avatar.d.ts +1 -1
- package/avatar-block/avatar-block-classes.d.ts +1 -1
- package/avatar-block/avatar-block.d.ts +2 -2
- package/banner/banner.d.ts +0 -1
- package/banner/banner.js +3 -3
- package/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/button/button-overrides.js +3 -3
- package/card/card.d.ts +0 -2
- package/card/card.js +3 -3
- package/checkbox/checkbox.d.ts +1 -1
- package/checkbox-field/checkbox-field.d.ts +1 -1
- package/chip/chip.d.ts +1 -1
- package/code/code.d.ts +0 -1
- package/code/code.js +3 -3
- package/content/content.js +2 -1
- package/copy-button/copy-button.d.ts +1 -26
- package/danger-zone/danger-zone-item/danger-zone-item.d.ts +0 -3
- package/danger-zone/danger-zone-item/danger-zone-item.js +7 -7
- package/danger-zone/danger-zone-item-action/danger-zone-item-action.d.ts +1 -2
- package/danger-zone/danger-zone-item-action/danger-zone-item-action.js +3 -3
- package/description-block/description-block.d.ts +1 -2
- package/description-block/description-block.js +3 -3
- package/dialog/dialog-content/dialog-content-overrides.js +0 -3
- package/dialog/dialog-title/dialog-title.d.ts +1 -2
- package/dialog/dialog-title/dialog-title.js +3 -3
- package/dialog/dialog.d.ts +2 -3
- package/dialog/dialog.js +3 -3
- package/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.d.ts +1 -1
- package/dropdown-menu/dropdown-menu-list/dropdown-menu-list.d.ts +1 -1
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.d.ts +1 -1
- package/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/empty-state/empty-state.d.ts +0 -1
- package/empty-state/empty-state.js +3 -3
- package/esm/alert/alert.js +2 -2
- package/esm/app-bar/app-bar-button/app-bar-button.js +1 -1
- package/esm/app-bar/app-bar-icon-button/app-bar-icon-button.js +2 -2
- package/esm/autocomplete/autocomplete-overrides.js +1 -1
- package/esm/banner/banner.js +1 -1
- package/esm/button/button-overrides.js +3 -3
- package/esm/card/card.js +1 -1
- package/esm/code/code.js +1 -1
- package/esm/content/content.js +2 -1
- package/esm/danger-zone/danger-zone-item/danger-zone-item.js +3 -3
- package/esm/danger-zone/danger-zone-item-action/danger-zone-item-action.js +1 -1
- package/esm/description-block/description-block.js +1 -1
- package/esm/dialog/dialog-content/dialog-content-overrides.js +0 -3
- package/esm/dialog/dialog-title/dialog-title.js +1 -1
- package/esm/dialog/dialog.js +1 -1
- package/esm/empty-state/empty-state.js +1 -1
- package/esm/field-set/field-set-classes.js +1 -0
- package/esm/field-set/field-set.js +12 -2
- package/esm/floating-panel/floating-panel.js +1 -1
- package/esm/form/form-label/form-label-overrides.js +1 -1
- package/esm/foundations/token-tables.js +3 -3
- package/esm/gallery-layout/gallery-layout.js +1 -1
- package/esm/icon/index.js +381 -34
- package/esm/icon-button/icon-button.js +1 -1
- package/esm/input/input-label/input-label-overrides.js +1 -1
- package/esm/input/input.js +1 -1
- package/esm/label/label.js +35 -1
- package/esm/link/link.js +1 -1
- package/esm/logo/logo.js +1 -1
- package/esm/page/page-header/page-header-classes.js +1 -0
- package/esm/page/page-header/page-header.js +11 -2
- package/esm/panel/panel-header/panel-header.js +4 -1
- package/esm/sidebar/sidebar-link/sidebar-link.js +16 -23
- package/esm/stack-layout/stack-layout.js +1 -1
- package/esm/styles/classes.js +3 -3
- package/esm/switch/switch.js +1 -1
- package/esm/tabs/tab/tab-override.js +2 -2
- package/esm/tabs/tab/tab.js +13 -2
- package/esm/test-utils.js +1 -0
- package/esm/theme/create-components.js +17 -5
- package/expansion-panel/expansion-panel.d.ts +2 -2
- package/field-set/field-set-classes.d.ts +1 -1
- package/field-set/field-set-classes.js +1 -0
- package/field-set/field-set.d.ts +5 -4
- package/field-set/field-set.js +12 -2
- package/floating-panel/floating-panel.d.ts +0 -2
- package/floating-panel/floating-panel.js +3 -3
- package/form/form-control-label/form-control-label-classes.d.ts +1 -1
- package/form/form-control-label/form-control-label.d.ts +1 -1
- package/form/form-field/form-field.d.ts +1 -1
- package/form/form-label/form-label-overrides.js +1 -1
- package/foundations/token-tables.js +2 -2
- package/gallery-layout/gallery-layout.d.ts +0 -1
- package/gallery-layout/gallery-layout.js +3 -3
- package/icon/index.d.ts +366 -34
- package/icon/index.js +400 -68
- package/icon-button/icon-button.js +1 -1
- package/image-preview-field/image-preview-field.d.ts +1 -1
- package/input/input-adornment/input-adornment.d.ts +1 -1
- package/input/input-label/input-label-overrides.js +1 -1
- package/input/input.d.ts +1 -7
- package/input/input.js +3 -3
- package/label/label.d.ts +11 -2
- package/label/label.js +58 -1
- package/link/link.js +1 -1
- package/logo/logo.d.ts +1 -5
- package/logo/logo.js +3 -3
- package/package.json +7 -7
- package/page/page-header/page-header-classes.d.ts +1 -1
- package/page/page-header/page-header-classes.js +1 -0
- package/page/page-header/page-header.d.ts +3 -1
- package/page/page-header/page-header.js +11 -2
- package/panel/panel/panel.d.ts +1 -1
- package/panel/panel-header/panel-header.js +4 -1
- package/promo-banner/promo-banner.d.ts +1 -1
- package/radio/radio.d.ts +1 -1
- package/radio-field/radio-field.d.ts +1 -1
- package/select/select-field/select-field.d.ts +1 -1
- package/selectable-card/selectable-card-group/selectable-card-group.d.ts +1 -1
- package/sidebar/sidebar-link/sidebar-link.d.ts +5 -2
- package/sidebar/sidebar-link/sidebar-link.js +16 -23
- package/sidebar/sidebar-new.d.ts +1 -1
- package/sidebar/sidebar-old.d.ts +1 -1
- package/sidebar/sidebar.d.ts +1 -1
- package/stack-layout/stack-layout.d.ts +0 -1
- package/stack-layout/stack-layout.js +3 -3
- package/stepper/step-label/step-label.d.ts +1 -1
- package/styles/classes.d.ts +3 -3
- package/styles/classes.js +6 -9
- package/switch/switch-field/switch-field.d.ts +1 -1
- package/switch/switch.d.ts +1 -1
- package/switch/switch.js +1 -1
- package/table/table-sort-label/index.d.ts +1 -1
- package/tabs/tab/tab-override.js +2 -2
- package/tabs/tab/tab.d.ts +6 -2
- package/tabs/tab/tab.js +13 -2
- package/test-utils.d.ts +1 -1
- package/test-utils.js +1 -0
- package/text-field/text-field.d.ts +1 -1
- package/theme/create-components.js +17 -5
- package/toast/toast.d.ts +1 -1
- package/use-media-query/index.d.ts +1 -1
- package/esm/icon/apis.js +0 -34
- package/esm/icon/application-plus.js +0 -30
- package/esm/icon/arrows-h.js +0 -31
- package/esm/icon/border-pill.js +0 -29
- package/esm/icon/border-rounded.js +0 -29
- package/esm/icon/border-sharp.js +0 -29
- package/esm/icon/bot.js +0 -33
- package/esm/icon/browsers.js +0 -32
- package/esm/icon/bug.js +0 -38
- package/esm/icon/building.js +0 -30
- package/esm/icon/cash.js +0 -29
- package/esm/icon/clipboard-check.js +0 -31
- package/esm/icon/enterprise.js +0 -29
- package/esm/icon/feather-icons.js +0 -294
- package/esm/icon/folder-cancel.js +0 -30
- package/esm/icon/font.js +0 -29
- package/esm/icon/help.js +0 -29
- package/esm/icon/hooks.js +0 -34
- package/esm/icon/hosted-pages.js +0 -33
- package/esm/icon/id-tag.js +0 -34
- package/esm/icon/integration.js +0 -33
- package/esm/icon/layout-bottom.js +0 -29
- package/esm/icon/layout-center.js +0 -29
- package/esm/icon/layout-left.js +0 -29
- package/esm/icon/layout-right.js +0 -29
- package/esm/icon/layout-top.js +0 -29
- package/esm/icon/megaphone.js +0 -30
- package/esm/icon/page-background.js +0 -30
- package/esm/icon/paint-brush.js +0 -29
- package/esm/icon/paint.js +0 -29
- package/esm/icon/recovery-code.js +0 -30
- package/esm/icon/web-authn.js +0 -29
- package/esm/icon/webauthn-platform.js +0 -29
- package/esm/icon/widget.js +0 -29
- package/icon/apis.d.ts +0 -2
- package/icon/apis.js +0 -61
- package/icon/application-plus.d.ts +0 -2
- package/icon/application-plus.js +0 -57
- package/icon/arrows-h.d.ts +0 -2
- package/icon/arrows-h.js +0 -58
- package/icon/border-pill.d.ts +0 -2
- package/icon/border-pill.js +0 -56
- package/icon/border-rounded.d.ts +0 -2
- package/icon/border-rounded.js +0 -56
- package/icon/border-sharp.d.ts +0 -2
- package/icon/border-sharp.js +0 -56
- package/icon/bot.d.ts +0 -2
- package/icon/bot.js +0 -60
- package/icon/browsers.d.ts +0 -2
- package/icon/browsers.js +0 -59
- package/icon/bug.d.ts +0 -2
- package/icon/bug.js +0 -65
- package/icon/building.d.ts +0 -2
- package/icon/building.js +0 -57
- package/icon/cash.d.ts +0 -2
- package/icon/cash.js +0 -56
- package/icon/clipboard-check.d.ts +0 -2
- package/icon/clipboard-check.js +0 -58
- package/icon/enterprise.d.ts +0 -2
- package/icon/enterprise.js +0 -56
- package/icon/feather-icons.d.ts +0 -284
- package/icon/feather-icons.js +0 -302
- package/icon/folder-cancel.d.ts +0 -2
- package/icon/folder-cancel.js +0 -57
- package/icon/font.d.ts +0 -2
- package/icon/font.js +0 -56
- package/icon/help.d.ts +0 -2
- package/icon/help.js +0 -56
- package/icon/hooks.d.ts +0 -2
- package/icon/hooks.js +0 -61
- package/icon/hosted-pages.d.ts +0 -2
- package/icon/hosted-pages.js +0 -60
- package/icon/id-tag.d.ts +0 -2
- package/icon/id-tag.js +0 -61
- package/icon/integration.d.ts +0 -2
- package/icon/integration.js +0 -60
- package/icon/layout-bottom.d.ts +0 -2
- package/icon/layout-bottom.js +0 -56
- package/icon/layout-center.d.ts +0 -2
- package/icon/layout-center.js +0 -56
- package/icon/layout-left.d.ts +0 -2
- package/icon/layout-left.js +0 -56
- package/icon/layout-right.d.ts +0 -2
- package/icon/layout-right.js +0 -56
- package/icon/layout-top.d.ts +0 -2
- package/icon/layout-top.js +0 -56
- package/icon/megaphone.d.ts +0 -2
- package/icon/megaphone.js +0 -57
- package/icon/page-background.d.ts +0 -2
- package/icon/page-background.js +0 -57
- package/icon/paint-brush.d.ts +0 -2
- package/icon/paint-brush.js +0 -56
- package/icon/paint.d.ts +0 -2
- package/icon/paint.js +0 -56
- package/icon/recovery-code.d.ts +0 -2
- package/icon/recovery-code.js +0 -57
- package/icon/web-authn.d.ts +0 -2
- package/icon/web-authn.js +0 -56
- package/icon/webauthn-platform.d.ts +0 -2
- package/icon/webauthn-platform.js +0 -56
- package/icon/widget.d.ts +0 -2
- package/icon/widget.js +0 -56
package/input/input.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { OutlinedInputProps } from '@mui/material/OutlinedInput';
|
|
3
|
-
import { IStyledOwnerStateProps } from '../styled';
|
|
4
3
|
export interface IInputProps extends Omit<OutlinedInputProps, 'variant' | 'notched' | 'labelWidth' | 'color'> {
|
|
5
4
|
min?: number;
|
|
6
5
|
max?: number;
|
|
@@ -15,9 +14,4 @@ export interface IInputProps extends Omit<OutlinedInputProps, 'variant' | 'notch
|
|
|
15
14
|
}
|
|
16
15
|
export declare type IMaskedInputProps = Pick<IInputProps, 'disabled' | 'placeholder' | 'defaultValue' | 'value'>;
|
|
17
16
|
export declare const getMaskedInputProps: (masked: boolean | undefined, inputProps: Pick<IInputProps, 'masked' | 'value' | 'defaultValue'>) => IMaskedInputProps;
|
|
18
|
-
export declare const
|
|
19
|
-
muiName: string;
|
|
20
|
-
}, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & IStyledOwnerStateProps<{
|
|
21
|
-
code?: boolean | undefined;
|
|
22
|
-
}>, never>;
|
|
23
|
-
export declare const Input: React.ForwardRefExoticComponent<Pick<IInputProps, "code" | "label" | "slot" | "style" | "title" | "type" | "error" | "disabled" | "hidden" | "size" | "icon" | "translate" | "margin" | "className" | "classes" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "fullWidth" | "endAdornment" | "components" | "componentsProps" | "max" | "autoFocus" | "name" | "value" | "required" | "multiline" | "autoComplete" | "disableInjectingGlobalStyles" | "inputComponent" | "inputProps" | "inputRef" | "readOnly" | "renderSuffix" | "rows" | "maxRows" | "minRows" | "startAdornment" | "min" | "actions" | "masked" | "suffix"> & React.RefAttributes<unknown>>;
|
|
17
|
+
export declare const Input: React.ForwardRefExoticComponent<Pick<IInputProps, "code" | "label" | "slot" | "style" | "title" | "type" | "error" | "disabled" | "hidden" | "size" | "icon" | "translate" | "margin" | "className" | "classes" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "components" | "componentsProps" | "slotProps" | "slots" | "max" | "value" | "autoFocus" | "name" | "fullWidth" | "required" | "rows" | "min" | "endAdornment" | "multiline" | "readOnly" | "autoComplete" | "disableInjectingGlobalStyles" | "inputComponent" | "inputProps" | "inputRef" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment" | "actions" | "masked" | "suffix"> & React.RefAttributes<unknown>>;
|
package/input/input.js
CHANGED
|
@@ -48,7 +48,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
48
48
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
49
|
};
|
|
50
50
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
-
exports.Input = exports.
|
|
51
|
+
exports.Input = exports.getMaskedInputProps = void 0;
|
|
52
52
|
var React = __importStar(require("react"));
|
|
53
53
|
var OutlinedInput_1 = __importDefault(require("@mui/material/OutlinedInput"));
|
|
54
54
|
var input_actions_1 = require("./input-actions");
|
|
@@ -66,7 +66,7 @@ var getMaskedInputProps = function (masked, inputProps) {
|
|
|
66
66
|
return maskedProps;
|
|
67
67
|
};
|
|
68
68
|
exports.getMaskedInputProps = getMaskedInputProps;
|
|
69
|
-
|
|
69
|
+
var Root = (0, styled_1.styled)(OutlinedInput_1.default, { slot: 'Root', name: 'QuantumInput' })(function (_a) {
|
|
70
70
|
var theme = _a.theme, multiline = _a.multiline, ownerState = _a.ownerState;
|
|
71
71
|
return __assign({}, (ownerState.code && __assign(__assign({}, theme.typography.code1), { lineHeight: !multiline ? theme.typography.input.lineHeight : undefined })));
|
|
72
72
|
});
|
|
@@ -80,5 +80,5 @@ exports.Input = React.forwardRef(function (props, ref) {
|
|
|
80
80
|
var startAdornment = startAdornmentProp || (icon && React.createElement(input_adornment_1.InputAdornment, { position: "start" }, icon));
|
|
81
81
|
var maskedProps = (0, exports.getMaskedInputProps)(masked, rootProps);
|
|
82
82
|
var inputProps = __assign({ min: min, max: max, readOnly: readOnly }, inputPropsProp);
|
|
83
|
-
return (React.createElement(
|
|
83
|
+
return (React.createElement(Root, __assign({ ownerState: { code: code }, size: size, disabled: disabled || readOnly, multiline: multiline, endAdornment: endAdornment, startAdornment: startAdornment, inputProps: inputProps }, rootProps, maskedProps, { ref: ref })));
|
|
84
84
|
});
|
package/label/label.d.ts
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
3
|
export declare const labelComponentName: "QuantumLabel";
|
|
4
4
|
export interface ILabelComponentProps {
|
|
5
5
|
color?: 'default' | 'primary' | 'warning' | 'danger' | 'success' | 'info';
|
|
6
6
|
variant?: 'default' | 'outlined' | 'filled';
|
|
7
|
+
/**
|
|
8
|
+
* Availability of the feature. Displays as a label after the title.
|
|
9
|
+
*/
|
|
10
|
+
productReleaseStage?: 'beta' | 'earlyAccess' | 'generalAvailability' | 'deprecated';
|
|
11
|
+
/**
|
|
12
|
+
* If true will abbreviate the "Early Access" label to "Early"
|
|
13
|
+
* @default true
|
|
14
|
+
*/
|
|
15
|
+
productReleaseStageAbbr?: boolean;
|
|
7
16
|
}
|
|
8
17
|
export declare type ILabelProps = IStyledComponentProps<{
|
|
9
18
|
props: ILabelComponentProps;
|
|
10
19
|
defaultComponent: 'span';
|
|
11
20
|
}>;
|
|
12
|
-
export declare const Label: React.ForwardRefExoticComponent<
|
|
21
|
+
export declare const Label: React.ForwardRefExoticComponent<ILabelComponentProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref" | keyof ILabelComponentProps> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLSpanElement>>;
|
package/label/label.js
CHANGED
|
@@ -10,11 +10,64 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
};
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
13
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
37
|
exports.Label = exports.labelComponentName = void 0;
|
|
38
|
+
var React = __importStar(require("react"));
|
|
15
39
|
var styled_1 = require("../styled");
|
|
16
40
|
exports.labelComponentName = 'QuantumLabel';
|
|
17
|
-
|
|
41
|
+
var getReleaseStageLabelProps = function (productReleaseStage, productReleaseStageAbbr) {
|
|
42
|
+
var labelProps = {
|
|
43
|
+
color: 'default',
|
|
44
|
+
variant: 'default',
|
|
45
|
+
};
|
|
46
|
+
switch (productReleaseStage) {
|
|
47
|
+
case 'new':
|
|
48
|
+
case 'generalAvailability':
|
|
49
|
+
labelProps.variant = 'filled';
|
|
50
|
+
labelProps.children = 'New';
|
|
51
|
+
labelProps.color = 'primary';
|
|
52
|
+
break;
|
|
53
|
+
case 'beta':
|
|
54
|
+
labelProps.children = 'Beta';
|
|
55
|
+
labelProps.color = 'primary';
|
|
56
|
+
break;
|
|
57
|
+
case 'first':
|
|
58
|
+
case 'early':
|
|
59
|
+
case 'earlyAccess':
|
|
60
|
+
labelProps.color = 'primary';
|
|
61
|
+
productReleaseStageAbbr ? (labelProps.children = 'Early') : (labelProps.children = 'Early Access');
|
|
62
|
+
break;
|
|
63
|
+
case 'deprecated':
|
|
64
|
+
labelProps.color = 'warning';
|
|
65
|
+
labelProps.children = 'Deprecated';
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
return labelProps;
|
|
69
|
+
};
|
|
70
|
+
var StyledLabel = (0, styled_1.styled)('span', {
|
|
18
71
|
name: exports.labelComponentName,
|
|
19
72
|
slot: 'Root',
|
|
20
73
|
shouldForwardProp: function (prop) { return (0, styled_1.rootShouldForwardProp)(prop) && prop !== 'color' && prop !== 'variant'; },
|
|
@@ -70,3 +123,7 @@ exports.Label = (0, styled_1.styled)('span', {
|
|
|
70
123
|
color: theme.tokens.color_fg_on_state_danger,
|
|
71
124
|
})))));
|
|
72
125
|
});
|
|
126
|
+
exports.Label = React.forwardRef(function (props, ref) {
|
|
127
|
+
var productReleaseStage = props.productReleaseStage, _a = props.productReleaseStageAbbr, productReleaseStageAbbr = _a === void 0 ? true : _a;
|
|
128
|
+
return (React.createElement(StyledLabel, __assign({ ref: ref }, getReleaseStageLabelProps(productReleaseStage, productReleaseStageAbbr), props)));
|
|
129
|
+
});
|
package/link/link.js
CHANGED
package/logo/logo.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IStyledComponentProps
|
|
2
|
+
import { IStyledComponentProps } from '../styled';
|
|
3
3
|
import { LogoClasses } from './logo-classes';
|
|
4
4
|
export declare type LogoSize = 'xsmall' | 'small' | 'medium';
|
|
5
5
|
export declare type LogoColor = 'default' | 'dark' | 'light' | 'white' | 'decorative';
|
|
6
|
-
export declare const Root: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & IStyledOwnerStateProps<{
|
|
7
|
-
size?: LogoSize | undefined;
|
|
8
|
-
color: LogoColor;
|
|
9
|
-
}>, never>;
|
|
10
6
|
export declare type ILogoProps = IStyledComponentProps<{
|
|
11
7
|
props: {
|
|
12
8
|
color?: 'default' | 'dark' | 'light' | 'white' | 'decorative';
|
package/logo/logo.js
CHANGED
|
@@ -48,7 +48,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
48
48
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
49
|
};
|
|
50
50
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
-
exports.Logo =
|
|
51
|
+
exports.Logo = void 0;
|
|
52
52
|
var React = __importStar(require("react"));
|
|
53
53
|
var styled_1 = require("../styled");
|
|
54
54
|
var image_1 = require("../image");
|
|
@@ -56,7 +56,7 @@ var classes_1 = require("../styles/classes");
|
|
|
56
56
|
var logo_classes_1 = require("./logo-classes");
|
|
57
57
|
var clsx_1 = __importDefault(require("../utils/clsx"));
|
|
58
58
|
var use_theme_props_1 = require("../theme/use-theme-props");
|
|
59
|
-
|
|
59
|
+
var Root = (0, styled_1.styled)('div', {
|
|
60
60
|
name: logo_classes_1.logoComponentName,
|
|
61
61
|
slot: 'Root',
|
|
62
62
|
})(function (_a) {
|
|
@@ -107,6 +107,6 @@ exports.Logo = React.forwardRef(function (inProps, ref) {
|
|
|
107
107
|
});
|
|
108
108
|
var classes = useUtilityClasses(props);
|
|
109
109
|
var size = props.size, color = props.color, className = props.className, iconSrc = props.iconSrc, rootProps = __rest(props, ["size", "color", "className", "iconSrc"]);
|
|
110
|
-
return (React.createElement(
|
|
110
|
+
return (React.createElement(Root, __assign({ ref: ref, className: (0, clsx_1.default)(classes.root, className), ownerState: { size: size, color: color } }, rootProps), iconSrc ? (React.createElement(LogoImage, { src: iconSrc, ownerState: { size: size }, fit: "contain", alt: "Logo" })) : (React.createElement(StyledSvg, { fill: "currentColor", viewBox: "0 0 53 64", className: classes.svg, ownerState: { size: size } },
|
|
111
111
|
React.createElement("path", { d: "M3.372 27.782c10.475-1.728 18.686-10.4 20.407-20.892l.577-5.043c.143-.802-.4-1.918-1.412-1.838C15.03.628 7.56 3.243 3.406 4.943A5.488 5.488 0 000 10.027v16.451c0 .973.874 1.717 1.834 1.563l1.538-.252v-.006zM28.831 6.89c1.726 10.492 9.938 19.164 20.407 20.893l1.537.252c.96.16 1.835-.584 1.835-1.563v-16.45a5.488 5.488 0 00-3.406-5.084C45.044 3.232 37.58.622 29.666.004c-1.018-.08-1.538 1.048-1.418 1.837l.577 5.043.006.006zM49.23 32.39C34.915 35.219 28.27 44.75 28.27 62.79c0 .905.897 1.535 1.651 1.031 6.584-4.447 21.07-16.056 22.562-30.577.057-1.826-2.223-.968-3.252-.853zM3.377 32.39c14.315 2.828 20.961 12.359 20.961 30.4 0 .905-.897 1.535-1.651 1.031C16.103 59.374 1.617 47.765.125 33.244c-.057-1.826 2.223-.968 3.252-.853z" })))));
|
|
112
112
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auth0/quantum-product",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"main": "./index.js",
|
|
12
12
|
"types": "./index.d.ts",
|
|
13
13
|
"dependencies": {
|
|
14
|
+
"@auth0/quantum-icons": "^1.0.0",
|
|
14
15
|
"@auth0/quantum-tokens": "^1.1.5",
|
|
15
|
-
"@mui/material": "5.8
|
|
16
|
-
"@mui/styles": "5.8
|
|
17
|
-
"@mui/system": "5.8
|
|
18
|
-
"@mui/utils": "5.8
|
|
16
|
+
"@mui/material": "5.15.8",
|
|
17
|
+
"@mui/styles": "5.15.8",
|
|
18
|
+
"@mui/system": "5.15.8",
|
|
19
|
+
"@mui/utils": "5.15.8",
|
|
19
20
|
"clsx": "^1.2.1",
|
|
20
|
-
"md5": "^2.3.0"
|
|
21
|
-
"react-feather": "^2.0.10"
|
|
21
|
+
"md5": "^2.3.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "*",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const pageHeaderComponentName: "QuantumPageHeader";
|
|
2
2
|
export declare function getPageHeaderUtilityClass(slot: string): string;
|
|
3
|
-
export declare const pageHeaderClasses: Record<"title" | "metadata" | "content" | "root" | "avatar" | "actions" | "description" | "avatarBlock", string>;
|
|
3
|
+
export declare const pageHeaderClasses: Record<"title" | "metadata" | "content" | "root" | "avatar" | "availabilityLabel" | "actions" | "description" | "avatarBlock", string>;
|
|
4
4
|
export declare type PageHeaderClasses = typeof pageHeaderClasses;
|
|
5
5
|
export declare type PageHeaderClassKey = keyof PageHeaderClasses;
|
|
@@ -2,11 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import { IAvatarBlockProps } from '../../avatar-block';
|
|
3
3
|
import { IPageContextValue } from '../page-context';
|
|
4
4
|
import { IRowLayoutProps } from '../../row-layout';
|
|
5
|
+
import { ILabelProps } from '../../label';
|
|
5
6
|
import { ITextProps } from '../../text';
|
|
6
7
|
import { PageHeaderClasses } from './page-header-classes';
|
|
7
8
|
export declare type IPageHeaderOwnerState = Partial<IPageContextValue>;
|
|
8
9
|
export declare const Actions: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
9
|
-
export interface IPageHeaderProps extends Omit<IRowLayoutProps, 'title'>, Pick<IAvatarBlockProps, 'titleTypographyProps' | 'descriptionTypographyProps'> {
|
|
10
|
+
export interface IPageHeaderProps extends Omit<IRowLayoutProps, 'title'>, Pick<IAvatarBlockProps, 'titleTypographyProps' | 'descriptionTypographyProps'>, Pick<ILabelProps, 'productReleaseStage' | 'productReleaseStageAbbr'> {
|
|
10
11
|
title: React.ReactNode;
|
|
11
12
|
metadata?: React.ReactNode;
|
|
12
13
|
metadataTypographyProps?: Partial<ITextProps> & {
|
|
@@ -21,5 +22,6 @@ export interface IPageHeaderProps extends Omit<IRowLayoutProps, 'title'>, Pick<I
|
|
|
21
22
|
fullWidth?: boolean;
|
|
22
23
|
compact?: boolean;
|
|
23
24
|
startActions?: React.ReactNode;
|
|
25
|
+
productReleaseStage?: 'beta' | 'generalAvailability' | 'earlyAccess' | 'deprecated';
|
|
24
26
|
}
|
|
25
27
|
export declare const PageHeader: React.ForwardRefExoticComponent<IPageHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -55,6 +55,7 @@ var avatar_block_1 = require("../../avatar-block");
|
|
|
55
55
|
var page_context_1 = require("../page-context");
|
|
56
56
|
var row_layout_1 = require("../../row-layout");
|
|
57
57
|
var styled_1 = require("../../styled");
|
|
58
|
+
var label_1 = require("../../label");
|
|
58
59
|
var classes_1 = require("../../styles/classes");
|
|
59
60
|
var text_1 = require("../../text");
|
|
60
61
|
var stack_layout_1 = require("../../stack-layout");
|
|
@@ -85,6 +86,12 @@ exports.Actions = (0, styled_1.styled)('div', {
|
|
|
85
86
|
gap: theme.spacing(2),
|
|
86
87
|
});
|
|
87
88
|
});
|
|
89
|
+
var AvailabilityLabel = (0, styled_1.styled)(label_1.Label, { name: page_header_classes_1.pageHeaderComponentName, slot: 'AvailabilityLabel' })(function (_a) {
|
|
90
|
+
var theme = _a.theme;
|
|
91
|
+
return ({
|
|
92
|
+
marginLeft: theme.spacing(1),
|
|
93
|
+
});
|
|
94
|
+
});
|
|
88
95
|
var StyledStackLayout = (0, styled_1.styled)(stack_layout_1.StackLayout, { name: page_header_classes_1.pageHeaderComponentName, slot: 'StackLayout' })(function (_a) {
|
|
89
96
|
var theme = _a.theme, ownerState = _a.ownerState;
|
|
90
97
|
return ({
|
|
@@ -94,7 +101,7 @@ var StyledStackLayout = (0, styled_1.styled)(stack_layout_1.StackLayout, { name:
|
|
|
94
101
|
});
|
|
95
102
|
exports.PageHeader = React.forwardRef(function (props, ref) {
|
|
96
103
|
var _a = (0, page_context_1.usePageContext)(), fullWidthContext = _a.fullWidth, compactContext = _a.compact;
|
|
97
|
-
var breadcrumbs = props.breadcrumbs, startActions = props.startActions, className = props.className, fullWidthProp = props.fullWidth, compactProp = props.compact, title = props.title, _b = props.titleTypographyProps, titleTypographyProps = _b === void 0 ? {} : _b, description = props.description, _c = props.descriptionTypographyProps, descriptionTypographyProps = _c === void 0 ? {} : _c, metadata = props.metadata, _d = props.metadataTypographyProps, metadataTypographyProps = _d === void 0 ? {} : _d, actions = props.actions, avatar = props.avatar, children = props.children, rootProps = __rest(props, ["breadcrumbs", "startActions", "className", "fullWidth", "compact", "title", "titleTypographyProps", "description", "descriptionTypographyProps", "metadata", "metadataTypographyProps", "actions", "avatar", "children"]);
|
|
104
|
+
var breadcrumbs = props.breadcrumbs, startActions = props.startActions, className = props.className, fullWidthProp = props.fullWidth, compactProp = props.compact, title = props.title, _b = props.titleTypographyProps, titleTypographyProps = _b === void 0 ? {} : _b, description = props.description, _c = props.descriptionTypographyProps, descriptionTypographyProps = _c === void 0 ? {} : _c, metadata = props.metadata, _d = props.metadataTypographyProps, metadataTypographyProps = _d === void 0 ? {} : _d, actions = props.actions, avatar = props.avatar, children = props.children, productReleaseStage = props.productReleaseStage, productReleaseStageAbbr = props.productReleaseStageAbbr, rootProps = __rest(props, ["breadcrumbs", "startActions", "className", "fullWidth", "compact", "title", "titleTypographyProps", "description", "descriptionTypographyProps", "metadata", "metadataTypographyProps", "actions", "avatar", "children", "productReleaseStage", "productReleaseStageAbbr"]);
|
|
98
105
|
var classes = (0, classes_1.useMergedClasses)(page_header_classes_1.pageHeaderClasses, page_header_classes_1.getPageHeaderUtilityClass, props.classes);
|
|
99
106
|
var fullWidth = fullWidthProp || fullWidthContext;
|
|
100
107
|
var compact = compactProp || compactContext;
|
|
@@ -106,6 +113,8 @@ exports.PageHeader = React.forwardRef(function (props, ref) {
|
|
|
106
113
|
React.createElement(avatar_block_1.AvatarBlock, { size: compact ? 'medium' : 'large', classes: {
|
|
107
114
|
root: classes.avatarBlock,
|
|
108
115
|
avatar: classes.avatar,
|
|
109
|
-
}, avatar: avatar && React.createElement(avatar_1.AvatarContext.Provider, { value: { size: 'large' } }, avatar), titleTypographyProps: __assign({ variant: compact ? 'h5' : 'h3', component: 'h1', className: classes.title }, titleTypographyProps), title:
|
|
116
|
+
}, avatar: avatar && React.createElement(avatar_1.AvatarContext.Provider, { value: { size: 'large' } }, avatar), titleTypographyProps: __assign({ variant: compact ? 'h5' : 'h3', component: 'h1', className: classes.title }, titleTypographyProps), title: React.createElement(React.Fragment, null,
|
|
117
|
+
title,
|
|
118
|
+
!!productReleaseStage && (React.createElement(AvailabilityLabel, { className: classes.availabilityLabel, productReleaseStageAbbr: false, productReleaseStage: productReleaseStage }))), description: metadata, descriptionTypographyProps: __assign({ component: 'div', className: classes.metadata }, metadataTypographyProps), TitleBlockProps: { gutter: 0.5 }, endAdornment: !!actions && (React.createElement(exports.Actions, { className: classes.actions, sx: { flex: 'none' } }, actions)) }))),
|
|
110
119
|
!!description && (React.createElement(text_1.Text, __assign({ variant: "body2", color: "textSecondary", component: "p", className: classes.description }, descriptionTypographyProps), description))));
|
|
111
120
|
});
|
package/panel/panel/panel.d.ts
CHANGED
|
@@ -32,4 +32,4 @@ export declare const Panel: React.ForwardRefExoticComponent<Partial<IPanelOwnerS
|
|
|
32
32
|
classes?: Partial<Record<"fixed" | "content" | "open" | "root" | "sizeSmall" | "sizeMedium" | "sizeLarge" | "closeButton" | "variantFloating" | "variantPersistent" | "variantPermanent" | "placementStart" | "placementEnd", string>> | undefined;
|
|
33
33
|
closeIconButtonProps?: Partial<IIconButtonProps<"button", {}>> | undefined;
|
|
34
34
|
PanelHeaderProps?: Partial<IPanelHeaderProps> | undefined;
|
|
35
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "size" | "classes" | "children" | "variant" | "onClose" | "placement" | "
|
|
35
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "size" | "classes" | "children" | "variant" | "onClose" | "placement" | "offsetTop" | "isOpen" | "isFixed" | "closeIconButtonProps" | "PanelHeaderProps"> & import("../../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -58,13 +58,16 @@ var Root = (0, styled_1.styled)('div')(function (_a) {
|
|
|
58
58
|
var theme = _a.theme, ownerState = _a.ownerState;
|
|
59
59
|
return ({
|
|
60
60
|
display: 'flex',
|
|
61
|
+
alignItems: 'flex-start',
|
|
61
62
|
padding: theme.spacing(3, ownerState.isCloseButtonVisible ? 9 : 3, 2, 3),
|
|
62
63
|
gap: theme.spacing(2),
|
|
63
64
|
flexGrow: 0,
|
|
64
65
|
flexShrink: 0,
|
|
65
66
|
});
|
|
66
67
|
});
|
|
67
|
-
var Content = (0, styled_1.styled)('div')({
|
|
68
|
+
var Content = (0, styled_1.styled)('div')({
|
|
69
|
+
flex: 1,
|
|
70
|
+
});
|
|
68
71
|
var EndAdornment = (0, styled_1.styled)('div')(function (_a) {
|
|
69
72
|
var theme = _a.theme;
|
|
70
73
|
return ({
|
|
@@ -18,4 +18,4 @@ export interface IPromoBannerProps extends Omit<IPaperProps, 'title'> {
|
|
|
18
18
|
image?: Pick<IImageProps, 'src' | 'alt'>;
|
|
19
19
|
classes?: Partial<PromoBannerClasses>;
|
|
20
20
|
}
|
|
21
|
-
export declare const PromoBanner: React.ForwardRefExoticComponent<Pick<IPromoBannerProps, "slot" | "style" | "title" | "image" | "color" | "action" | "hidden" | "square" | "translate" | "className" | "classes" | "children" | "elevation" | "sx" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "description" | "imagePosition" | "actionSecondary" | "imageFullWidth"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export declare const PromoBanner: React.ForwardRefExoticComponent<Pick<IPromoBannerProps, "slot" | "style" | "title" | "image" | "color" | "action" | "hidden" | "square" | "translate" | "className" | "classes" | "children" | "elevation" | "sx" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "component" | "description" | "imagePosition" | "actionSecondary" | "imageFullWidth"> & React.RefAttributes<HTMLDivElement>>;
|
package/radio/radio.d.ts
CHANGED
|
@@ -10,4 +10,4 @@ export interface IRadioProps extends Omit<RadioProps, 'color' | 'size' | 'classe
|
|
|
10
10
|
decoration?: React.ReactNode;
|
|
11
11
|
classes?: Partial<RadioClasses>;
|
|
12
12
|
}
|
|
13
|
-
export declare const Radio: React.ForwardRefExoticComponent<Pick<IRadioProps, "form" | "slot" | "style" | "title" | "action" | "disabled" | "hidden" | "icon" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "
|
|
13
|
+
export declare const Radio: React.ForwardRefExoticComponent<Pick<IRadioProps, "form" | "slot" | "style" | "title" | "action" | "disabled" | "hidden" | "icon" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "value" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "disableFocusRipple" | "noWrap" | "component" | "required" | "edge" | "decoration" | "readOnly" | "inputProps" | "inputRef" | "checked" | "checkedIcon" | "helperText" | "labelPlacement" | "HelperTextProps"> & React.RefAttributes<HTMLButtonElement | HTMLLabelElement>>;
|
|
@@ -8,4 +8,4 @@ export declare type IRadioFieldProps = QuantumRadioGroupProps & IFormFieldProps
|
|
|
8
8
|
export declare type IRadioProps = QuantumRadioProps & {
|
|
9
9
|
label: React.ReactNode;
|
|
10
10
|
};
|
|
11
|
-
export declare const RadioField: React.ForwardRefExoticComponent<Pick<IRadioFieldProps, "label" | "slot" | "style" | "title" | "color" | "error" | "disabled" | "hidden" | "size" | "row" | "translate" | "margin" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "
|
|
11
|
+
export declare const RadioField: React.ForwardRefExoticComponent<Pick<IRadioFieldProps, "label" | "slot" | "style" | "title" | "color" | "error" | "disabled" | "hidden" | "size" | "row" | "translate" | "margin" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "value" | "name" | "fullWidth" | "component" | "focused" | "hiddenLabel" | "required" | "readOnly" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "options" | "ErrorHelperTextProps" | "RadioGroupProps"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IFormFieldProps } from '../../form';
|
|
3
3
|
import { ISelectProps } from '../select';
|
|
4
|
-
export interface ISelectFieldProps<ValueType = any> extends Omit<IFormFieldProps, 'onChange' | 'onBlur' | 'onFocus' | 'onKeyUp' | 'onKeyDown' | 'children' | 'margin' | 'ref' | 'prefix'>, Omit<ISelectProps<ValueType>, 'error' | 'classes' | 'ref'> {
|
|
4
|
+
export interface ISelectFieldProps<ValueType = any> extends Omit<IFormFieldProps, 'onChange' | 'onBlur' | 'onFocus' | 'onKeyUp' | 'onKeyDown' | 'children' | 'margin' | 'ref' | 'prefix'>, Omit<ISelectProps<ValueType>, 'error' | 'classes' | 'ref' | 'onInvalid'> {
|
|
5
5
|
SelectProps?: ISelectProps;
|
|
6
6
|
size?: 'small' | 'medium';
|
|
7
7
|
}
|
|
@@ -7,4 +7,4 @@ export interface ISelectableCardGroupProps extends Omit<IFormFieldProps, 'classe
|
|
|
7
7
|
RadioGroupProps?: IRadioGroupProps;
|
|
8
8
|
classes?: Partial<SelectableCardGroupClasses>;
|
|
9
9
|
}
|
|
10
|
-
export declare const SelectableCardGroup: React.ForwardRefExoticComponent<Pick<ISelectableCardGroupProps, "label" | "slot" | "style" | "title" | "error" | "disabled" | "hidden" | "size" | "translate" | "margin" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "
|
|
10
|
+
export declare const SelectableCardGroup: React.ForwardRefExoticComponent<Pick<ISelectableCardGroupProps, "label" | "slot" | "style" | "title" | "error" | "disabled" | "hidden" | "size" | "translate" | "margin" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "value" | "name" | "fullWidth" | "orientation" | "component" | "focused" | "hiddenLabel" | "required" | "readOnly" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "ErrorHelperTextProps" | "RadioGroupProps"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { OverridableComponent, OverrideProps } from '../../overridable-component';
|
|
3
|
+
import { ILabelProps } from '../../label';
|
|
3
4
|
import { IStyledCommonProps } from '../../styled';
|
|
4
5
|
import { SidebarLinkClasses } from './sidebar-link-classes';
|
|
5
6
|
export interface ISidebarLinkTypeMap<AdditionalProps = {}, DefaultComponent extends React.ElementType = 'a'> {
|
|
6
|
-
props: AdditionalProps & IStyledCommonProps & {
|
|
7
|
+
props: AdditionalProps & Pick<ILabelProps, 'productReleaseStage'> & IStyledCommonProps & {
|
|
7
8
|
/**
|
|
8
9
|
* Override or extend the styles applied to the component.
|
|
9
10
|
*/
|
|
@@ -24,10 +25,12 @@ export interface ISidebarLinkTypeMap<AdditionalProps = {}, DefaultComponent exte
|
|
|
24
25
|
* Icon displayed at the end of the link
|
|
25
26
|
*/
|
|
26
27
|
endIcon?: React.ReactNode;
|
|
28
|
+
/** @deprecated use productReleaseStage instead */
|
|
29
|
+
featureAvailability?: 'default' | 'beta' | 'first' | 'new' | 'early';
|
|
27
30
|
/**
|
|
28
31
|
* Availability of the feature. Displays as a label after the title.
|
|
29
32
|
*/
|
|
30
|
-
|
|
33
|
+
productReleaseStage?: Exclude<ILabelProps['productReleaseStage'], 'deprecated'>;
|
|
31
34
|
/**
|
|
32
35
|
* Link Variant
|
|
33
36
|
* @default "primary"
|