@auth0/quantum-product 1.6.7 → 1.7.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.
Files changed (90) hide show
  1. package/chip/chip-overrides.js +73 -43
  2. package/chip/chip.d.ts +2 -2
  3. package/chip/chip.js +22 -30
  4. package/esm/chip/chip-overrides.js +73 -43
  5. package/esm/chip/chip.js +22 -30
  6. package/esm/floating-panel/floating-panel.js +13 -8
  7. package/esm/index.js +1 -1
  8. package/esm/panel/index.js +6 -0
  9. package/esm/panel/panel/index.js +2 -0
  10. package/esm/panel/panel/panel-classes.js +20 -0
  11. package/esm/panel/panel/panel.js +106 -0
  12. package/esm/{panel-layout → panel}/panel-body/panel-body.js +7 -6
  13. package/esm/panel/panel-context.js +13 -0
  14. package/esm/panel/panel-footer/panel-footer.js +8 -9
  15. package/esm/panel/panel-header/panel-header-classes.js +11 -0
  16. package/esm/panel/panel-header/panel-header.js +22 -17
  17. package/esm/panel/panel-layout/index.js +1 -0
  18. package/esm/panel/panel-layout/panel-layout-classes.js +6 -0
  19. package/esm/{panel-layout → panel/panel-layout}/panel-layout.js +20 -17
  20. package/esm/paper/index.js +1 -1
  21. package/esm/sidebar/sidebar-new.js +1 -1
  22. package/esm/sidebar/sidebar-old.js +1 -1
  23. package/esm/theme/create-theme.js +2 -2
  24. package/esm/theme/default-theme.js +2 -2
  25. package/esm/utils/capitalize.js +1 -0
  26. package/esm/utils/index.js +1 -0
  27. package/floating-panel/floating-panel.d.ts +3 -7
  28. package/floating-panel/floating-panel.js +14 -9
  29. package/index.d.ts +1 -1
  30. package/index.js +1 -1
  31. package/package.json +1 -1
  32. package/panel/index.d.ts +7 -0
  33. package/panel/index.js +25 -0
  34. package/{panel-layout → panel}/panel/index.d.ts +1 -0
  35. package/panel/panel/index.js +7 -0
  36. package/panel/panel/panel-classes.d.ts +5 -0
  37. package/panel/panel/panel-classes.js +24 -0
  38. package/panel/panel/panel.d.ts +35 -0
  39. package/panel/panel/panel.js +132 -0
  40. package/panel/panel-body/panel-body.d.ts +12 -0
  41. package/{panel-layout → panel}/panel-body/panel-body.js +9 -8
  42. package/panel/panel-context.d.ts +35 -0
  43. package/panel/panel-context.js +40 -0
  44. package/panel/panel-footer/panel-footer.d.ts +11 -10
  45. package/panel/panel-footer/panel-footer.js +9 -10
  46. package/panel/panel-header/panel-header-classes.d.ts +5 -0
  47. package/panel/panel-header/panel-header-classes.js +15 -0
  48. package/panel/panel-header/panel-header.d.ts +21 -11
  49. package/panel/panel-header/panel-header.js +23 -18
  50. package/panel/panel-layout/index.d.ts +2 -0
  51. package/panel/panel-layout/index.js +5 -0
  52. package/panel/panel-layout/panel-layout-classes.d.ts +5 -0
  53. package/panel/panel-layout/panel-layout-classes.js +10 -0
  54. package/panel/panel-layout/panel-layout.d.ts +18 -0
  55. package/{panel-layout → panel/panel-layout}/panel-layout.js +20 -17
  56. package/paper/index.d.ts +1 -1
  57. package/paper/index.js +2 -1
  58. package/sidebar/sidebar-new.js +1 -1
  59. package/sidebar/sidebar-old.js +1 -1
  60. package/theme/create-theme.js +1 -1
  61. package/theme/default-theme.js +1 -1
  62. package/utils/capitalize.d.ts +1 -0
  63. package/utils/capitalize.js +5 -0
  64. package/utils/index.d.ts +1 -0
  65. package/utils/index.js +3 -1
  66. package/esm/panel/panel-content/index.js +0 -1
  67. package/esm/panel/panel-content/panel-content.js +0 -41
  68. package/esm/panel-layout/index.js +0 -4
  69. package/esm/panel-layout/panel/index.js +0 -1
  70. package/esm/panel-layout/panel/panel.js +0 -39
  71. package/esm/panel-layout/panel-title/index.js +0 -1
  72. package/esm/panel-layout/panel-title/panel-title.js +0 -36
  73. package/panel/panel-content/index.d.ts +0 -2
  74. package/panel/panel-content/index.js +0 -5
  75. package/panel/panel-content/panel-content.d.ts +0 -7
  76. package/panel/panel-content/panel-content.js +0 -67
  77. package/panel-layout/index.d.ts +0 -8
  78. package/panel-layout/index.js +0 -11
  79. package/panel-layout/panel/index.js +0 -5
  80. package/panel-layout/panel/panel.d.ts +0 -8
  81. package/panel-layout/panel/panel.js +0 -65
  82. package/panel-layout/panel-body/panel-body.d.ts +0 -6
  83. package/panel-layout/panel-layout.d.ts +0 -8
  84. package/panel-layout/panel-title/index.d.ts +0 -2
  85. package/panel-layout/panel-title/index.js +0 -5
  86. package/panel-layout/panel-title/panel-title.d.ts +0 -12
  87. package/panel-layout/panel-title/panel-title.js +0 -62
  88. /package/esm/{panel-layout → panel}/panel-body/index.js +0 -0
  89. /package/{panel-layout → panel}/panel-body/index.d.ts +0 -0
  90. /package/{panel-layout → panel}/panel-body/index.js +0 -0
@@ -1,41 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import * as React from 'react';
24
- import { styled } from '../../styled';
25
- export var panelContentComponentName = 'QuantumPanelContent';
26
- var Root = styled('div', {
27
- name: panelContentComponentName,
28
- slot: 'Root',
29
- })(function (_a) {
30
- var theme = _a.theme;
31
- return ({
32
- overflowY: 'auto',
33
- flex: '1 0 0',
34
- padding: theme.spacing(3),
35
- paddingTop: theme.spacing(2),
36
- });
37
- });
38
- export var PanelContent = React.forwardRef(function (_a) {
39
- var children = _a.children, ref = _a.ref, rootProps = __rest(_a, ["children", "ref"]);
40
- return (React.createElement(Root, __assign({ ref: ref }, rootProps), children));
41
- });
@@ -1,4 +0,0 @@
1
- export { PanelLayout } from './panel-layout';
2
- export { Panel } from './panel';
3
- export { PanelBody } from './panel-body';
4
- export { PanelTitle } from './panel-title';
@@ -1 +0,0 @@
1
- export { Panel } from './panel';
@@ -1,39 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import { Grid } from '@mui/material';
24
- import * as React from 'react';
25
- import { styled } from '../../styled';
26
- var panelComponentName = 'QuantumPanel';
27
- export var Root = styled(Grid, {
28
- name: panelComponentName,
29
- slot: 'Root',
30
- })(function (_a) {
31
- var theme = _a.theme, position = _a.position;
32
- var borderDivider = "1px solid ".concat(theme.tokens.color_border_default);
33
- var positionBorder = position === 'start' ? { borderRight: borderDivider } : position === 'end' ? { borderLeft: borderDivider } : {};
34
- return __assign({ backgroundColor: theme.tokens.color_bg_layer, overflow: 'hidden', display: 'flex', flexDirection: 'column' }, positionBorder);
35
- });
36
- export var Panel = React.forwardRef(function (props, ref) {
37
- var position = props.position, children = props.children, rootProps = __rest(props, ["position", "children"]);
38
- return (React.createElement(Root, __assign({ ref: ref, position: position }, rootProps), children));
39
- });
@@ -1 +0,0 @@
1
- export { PanelTitle } from './panel-title';
@@ -1,36 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import * as React from 'react';
24
- import { styled } from '../../styled';
25
- var panelTitleComponentName = 'QuantumPanelTitle';
26
- export var Root = styled('div', {
27
- name: panelTitleComponentName,
28
- slot: 'Root',
29
- })(function (_a) {
30
- var theme = _a.theme;
31
- return { padding: theme.spacing(3) };
32
- });
33
- export var PanelTitle = React.forwardRef(function (props, ref) {
34
- var children = props.children, rootProps = __rest(props, ["children"]);
35
- return (React.createElement(Root, __assign({ ref: ref }, rootProps), children));
36
- });
@@ -1,2 +0,0 @@
1
- export { PanelContent } from './panel-content';
2
- export type { IPanelContentProps } from './panel-content';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PanelContent = void 0;
4
- var panel_content_1 = require("./panel-content");
5
- Object.defineProperty(exports, "PanelContent", { enumerable: true, get: function () { return panel_content_1.PanelContent; } });
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export declare const panelContentComponentName = "QuantumPanelContent";
3
- export interface IPanelContentProps {
4
- ref?: React.Ref<HTMLDivElement>;
5
- children?: React.ReactNode;
6
- }
7
- export declare const PanelContent: React.ForwardRefExoticComponent<Pick<IPanelContentProps, "children"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,67 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
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
- };
36
- var __rest = (this && this.__rest) || function (s, e) {
37
- var t = {};
38
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
- t[p] = s[p];
40
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
- t[p[i]] = s[p[i]];
44
- }
45
- return t;
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.PanelContent = exports.panelContentComponentName = void 0;
49
- var React = __importStar(require("react"));
50
- var styled_1 = require("../../styled");
51
- exports.panelContentComponentName = 'QuantumPanelContent';
52
- var Root = (0, styled_1.styled)('div', {
53
- name: exports.panelContentComponentName,
54
- slot: 'Root',
55
- })(function (_a) {
56
- var theme = _a.theme;
57
- return ({
58
- overflowY: 'auto',
59
- flex: '1 0 0',
60
- padding: theme.spacing(3),
61
- paddingTop: theme.spacing(2),
62
- });
63
- });
64
- exports.PanelContent = React.forwardRef(function (_a) {
65
- var children = _a.children, ref = _a.ref, rootProps = __rest(_a, ["children", "ref"]);
66
- return (React.createElement(Root, __assign({ ref: ref }, rootProps), children));
67
- });
@@ -1,8 +0,0 @@
1
- export { PanelLayout } from './panel-layout';
2
- export type { IPanelLayoutProps } from './panel-layout';
3
- export { Panel } from './panel';
4
- export type { IPanelProps } from './panel';
5
- export { PanelBody } from './panel-body';
6
- export type { IPanelBodyProps } from './panel-body';
7
- export { PanelTitle } from './panel-title';
8
- export type { IPanelTitleProps } from './panel-title';
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PanelTitle = exports.PanelBody = exports.Panel = exports.PanelLayout = void 0;
4
- var panel_layout_1 = require("./panel-layout");
5
- Object.defineProperty(exports, "PanelLayout", { enumerable: true, get: function () { return panel_layout_1.PanelLayout; } });
6
- var panel_1 = require("./panel");
7
- Object.defineProperty(exports, "Panel", { enumerable: true, get: function () { return panel_1.Panel; } });
8
- var panel_body_1 = require("./panel-body");
9
- Object.defineProperty(exports, "PanelBody", { enumerable: true, get: function () { return panel_body_1.PanelBody; } });
10
- var panel_title_1 = require("./panel-title");
11
- Object.defineProperty(exports, "PanelTitle", { enumerable: true, get: function () { return panel_title_1.PanelTitle; } });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Panel = void 0;
4
- var panel_1 = require("./panel");
5
- Object.defineProperty(exports, "Panel", { enumerable: true, get: function () { return panel_1.Panel; } });
@@ -1,8 +0,0 @@
1
- import { GridProps } from '@mui/material';
2
- import * as React from 'react';
3
- export interface IPanelProps extends GridProps {
4
- position?: any;
5
- children?: React.ReactChild | React.ReactChild[];
6
- }
7
- export declare const Root: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").GridTypeMap<{}, "div">>, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme> & IPanelProps, never>;
8
- export declare const Panel: React.ForwardRefExoticComponent<Pick<IPanelProps, "p" | "slot" | "style" | "title" | "color" | "border" | "boxShadow" | "hidden" | "left" | "right" | "bottom" | "top" | "flex" | "wrap" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "columns" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "typography" | "spacing" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "container" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "item" | "rowSpacing" | "zeroMinWidth"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,65 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
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
- };
36
- var __rest = (this && this.__rest) || function (s, e) {
37
- var t = {};
38
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
- t[p] = s[p];
40
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
- t[p[i]] = s[p[i]];
44
- }
45
- return t;
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.Panel = exports.Root = void 0;
49
- var material_1 = require("@mui/material");
50
- var React = __importStar(require("react"));
51
- var styled_1 = require("../../styled");
52
- var panelComponentName = 'QuantumPanel';
53
- exports.Root = (0, styled_1.styled)(material_1.Grid, {
54
- name: panelComponentName,
55
- slot: 'Root',
56
- })(function (_a) {
57
- var theme = _a.theme, position = _a.position;
58
- var borderDivider = "1px solid ".concat(theme.tokens.color_border_default);
59
- var positionBorder = position === 'start' ? { borderRight: borderDivider } : position === 'end' ? { borderLeft: borderDivider } : {};
60
- return __assign({ backgroundColor: theme.tokens.color_bg_layer, overflow: 'hidden', display: 'flex', flexDirection: 'column' }, positionBorder);
61
- });
62
- exports.Panel = React.forwardRef(function (props, ref) {
63
- var position = props.position, children = props.children, rootProps = __rest(props, ["position", "children"]);
64
- return (React.createElement(exports.Root, __assign({ ref: ref, position: position }, rootProps), children));
65
- });
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- export interface IPanelBodyProps {
3
- children?: React.ReactChild;
4
- }
5
- export declare const Root: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
6
- export declare const PanelBody: React.ForwardRefExoticComponent<IPanelBodyProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { GridProps } from '@mui/material';
3
- export interface IPanelLayoutProps extends GridProps {
4
- startPanel?: React.ReactChild;
5
- endPanel?: React.ReactChild;
6
- children?: React.ReactChild;
7
- }
8
- export declare const PanelLayout: React.ForwardRefExoticComponent<Pick<IPanelLayoutProps, "p" | "slot" | "style" | "title" | "color" | "border" | "boxShadow" | "hidden" | "left" | "right" | "bottom" | "top" | "flex" | "wrap" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "columns" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "typography" | "spacing" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "container" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "item" | "rowSpacing" | "zeroMinWidth" | "startPanel" | "endPanel"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,2 +0,0 @@
1
- export { PanelTitle } from './panel-title';
2
- export type { IPanelTitleProps } from './panel-title';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PanelTitle = void 0;
4
- var panel_title_1 = require("./panel-title");
5
- Object.defineProperty(exports, "PanelTitle", { enumerable: true, get: function () { return panel_title_1.PanelTitle; } });
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import { IStyledComponentProps } from '../../styled';
3
- export declare type IPanelTitleProps = IStyledComponentProps<{
4
- props: {
5
- children?: React.ReactChild;
6
- };
7
- defaultComponent: 'div';
8
- }>;
9
- export declare const Root: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
10
- export declare const PanelTitle: React.ForwardRefExoticComponent<{
11
- children?: React.ReactChild | undefined;
12
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "children"> & import("../../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,62 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
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
- };
36
- var __rest = (this && this.__rest) || function (s, e) {
37
- var t = {};
38
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
- t[p] = s[p];
40
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
- t[p[i]] = s[p[i]];
44
- }
45
- return t;
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.PanelTitle = exports.Root = void 0;
49
- var React = __importStar(require("react"));
50
- var styled_1 = require("../../styled");
51
- var panelTitleComponentName = 'QuantumPanelTitle';
52
- exports.Root = (0, styled_1.styled)('div', {
53
- name: panelTitleComponentName,
54
- slot: 'Root',
55
- })(function (_a) {
56
- var theme = _a.theme;
57
- return { padding: theme.spacing(3) };
58
- });
59
- exports.PanelTitle = React.forwardRef(function (props, ref) {
60
- var children = props.children, rootProps = __rest(props, ["children"]);
61
- return (React.createElement(exports.Root, __assign({ ref: ref }, rootProps), children));
62
- });
File without changes
File without changes
File without changes