@popmenu/admin-ui 0.10.1 → 0.12.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.
@@ -1 +1,172 @@
1
+ export declare const adminDarkOptions: {
2
+ overrides: {};
3
+ props: {
4
+ MuiCard: {
5
+ elevation: number;
6
+ };
7
+ MuiTooltip: {
8
+ title: string;
9
+ placement: string;
10
+ };
11
+ MuiPaper: {
12
+ elevation: number;
13
+ };
14
+ MuiAppBar: {
15
+ position: string;
16
+ };
17
+ MuiInputBase: {
18
+ color: string;
19
+ };
20
+ MuiInputLabel: {
21
+ color: string;
22
+ };
23
+ };
24
+ status: {
25
+ disabled: {
26
+ opacity: number;
27
+ };
28
+ };
29
+ zIndex: {
30
+ mobileStepper: number;
31
+ appBar: number;
32
+ drawer: number;
33
+ modal: number;
34
+ snackbar: number;
35
+ tooltip: number;
36
+ };
37
+ placeholder: string;
38
+ themeName: string;
39
+ palette: {
40
+ type: string;
41
+ secondary: {
42
+ main: string;
43
+ };
44
+ surface: {
45
+ light: string;
46
+ main: string;
47
+ dark: string;
48
+ };
49
+ primary: {
50
+ light: string;
51
+ main: string;
52
+ dark: string;
53
+ contrastText: string;
54
+ gradientStart: string;
55
+ gradientEnd: string;
56
+ };
57
+ info: {
58
+ light: string;
59
+ main: string;
60
+ dark: string;
61
+ };
62
+ success: {
63
+ light: string;
64
+ main: string;
65
+ dark: string;
66
+ contrastText: string;
67
+ };
68
+ error: {
69
+ light: string;
70
+ main: string;
71
+ dark: string;
72
+ };
73
+ warning: {
74
+ light: string;
75
+ main: string;
76
+ dark: string;
77
+ };
78
+ blue: {
79
+ light: string;
80
+ main: string;
81
+ dark: string;
82
+ };
83
+ green: {
84
+ light: string;
85
+ main: string;
86
+ dark: string;
87
+ };
88
+ purple: {
89
+ light: string;
90
+ main: string;
91
+ dark: string;
92
+ };
93
+ red: {
94
+ light: string;
95
+ main: string;
96
+ dark: string;
97
+ };
98
+ yellow: {
99
+ light: string;
100
+ main: string;
101
+ dark: string;
102
+ };
103
+ gray: {
104
+ light: string;
105
+ main: string;
106
+ dark: string;
107
+ };
108
+ white: {
109
+ main: string;
110
+ };
111
+ };
112
+ breakpoints: {
113
+ values: {
114
+ xs: number;
115
+ sm: number;
116
+ md: number;
117
+ lg: number;
118
+ xl: number;
119
+ };
120
+ };
121
+ typography: {
122
+ htmlFontSize: number;
123
+ fontFamily: string;
124
+ h1: {
125
+ fontWeight: number;
126
+ fontSize: string;
127
+ lineHeight: string;
128
+ };
129
+ h2: {
130
+ fontWeight: number;
131
+ fontSize: string;
132
+ lineHeight: string;
133
+ };
134
+ h3: {
135
+ fontWeight: number;
136
+ fontSize: string;
137
+ lineHeight: string;
138
+ };
139
+ h4: {
140
+ fontWeight: number;
141
+ fontSize: string;
142
+ lineHeight: string;
143
+ };
144
+ h5: {
145
+ fontWeight: number;
146
+ fontSize: string;
147
+ lineHeight: string;
148
+ };
149
+ h6: {
150
+ fontWeight: number;
151
+ fontSize: string;
152
+ lineHeight: string;
153
+ };
154
+ body1: {
155
+ fontWeight: number;
156
+ fontSize: string;
157
+ lineHeight: string;
158
+ };
159
+ body2: {
160
+ fontWeight: number;
161
+ fontSize: string;
162
+ lineHeight: string;
163
+ };
164
+ button: {
165
+ fontWeight: number;
166
+ fontSize: string;
167
+ lineHeight: string;
168
+ textTransform: string;
169
+ };
170
+ };
171
+ };
1
172
  export declare const adminDark: import("@material-ui/core/styles/createTheme").Theme;
@@ -1 +1,174 @@
1
+ export declare const adminLightOptions: {
2
+ overrides: {};
3
+ props: {
4
+ MuiCard: {
5
+ elevation: number;
6
+ };
7
+ MuiTooltip: {
8
+ title: string;
9
+ placement: string;
10
+ };
11
+ MuiPaper: {
12
+ elevation: number;
13
+ };
14
+ MuiAppBar: {
15
+ position: string;
16
+ };
17
+ MuiInputBase: {
18
+ color: string;
19
+ };
20
+ MuiInputLabel: {
21
+ color: string;
22
+ };
23
+ };
24
+ status: {
25
+ disabled: {
26
+ opacity: number;
27
+ };
28
+ };
29
+ zIndex: {
30
+ mobileStepper: number;
31
+ appBar: number;
32
+ drawer: number;
33
+ modal: number;
34
+ snackbar: number;
35
+ tooltip: number;
36
+ };
37
+ placeholder: string;
38
+ themeName: string;
39
+ palette: {
40
+ type: string;
41
+ secondary: {
42
+ light: string;
43
+ main: string;
44
+ dark: string;
45
+ };
46
+ surface: {
47
+ light: string;
48
+ main: string;
49
+ dark: string;
50
+ };
51
+ primary: {
52
+ light: string;
53
+ main: string;
54
+ dark: string;
55
+ contrastText: string;
56
+ gradientStart: string;
57
+ gradientEnd: string;
58
+ };
59
+ info: {
60
+ light: string;
61
+ main: string;
62
+ dark: string;
63
+ };
64
+ success: {
65
+ light: string;
66
+ main: string;
67
+ dark: string;
68
+ contrastText: string;
69
+ };
70
+ error: {
71
+ light: string;
72
+ main: string;
73
+ dark: string;
74
+ };
75
+ warning: {
76
+ light: string;
77
+ main: string;
78
+ dark: string;
79
+ };
80
+ blue: {
81
+ light: string;
82
+ main: string;
83
+ dark: string;
84
+ };
85
+ green: {
86
+ light: string;
87
+ main: string;
88
+ dark: string;
89
+ };
90
+ purple: {
91
+ light: string;
92
+ main: string;
93
+ dark: string;
94
+ };
95
+ red: {
96
+ light: string;
97
+ main: string;
98
+ dark: string;
99
+ };
100
+ yellow: {
101
+ light: string;
102
+ main: string;
103
+ dark: string;
104
+ };
105
+ gray: {
106
+ light: string;
107
+ main: string;
108
+ dark: string;
109
+ };
110
+ white: {
111
+ main: string;
112
+ };
113
+ };
114
+ breakpoints: {
115
+ values: {
116
+ xs: number;
117
+ sm: number;
118
+ md: number;
119
+ lg: number;
120
+ xl: number;
121
+ };
122
+ };
123
+ typography: {
124
+ htmlFontSize: number;
125
+ fontFamily: string;
126
+ h1: {
127
+ fontWeight: number;
128
+ fontSize: string;
129
+ lineHeight: string;
130
+ };
131
+ h2: {
132
+ fontWeight: number;
133
+ fontSize: string;
134
+ lineHeight: string;
135
+ };
136
+ h3: {
137
+ fontWeight: number;
138
+ fontSize: string;
139
+ lineHeight: string;
140
+ };
141
+ h4: {
142
+ fontWeight: number;
143
+ fontSize: string;
144
+ lineHeight: string;
145
+ };
146
+ h5: {
147
+ fontWeight: number;
148
+ fontSize: string;
149
+ lineHeight: string;
150
+ };
151
+ h6: {
152
+ fontWeight: number;
153
+ fontSize: string;
154
+ lineHeight: string;
155
+ };
156
+ body1: {
157
+ fontWeight: number;
158
+ fontSize: string;
159
+ lineHeight: string;
160
+ };
161
+ body2: {
162
+ fontWeight: number;
163
+ fontSize: string;
164
+ lineHeight: string;
165
+ };
166
+ button: {
167
+ fontWeight: number;
168
+ fontSize: string;
169
+ lineHeight: string;
170
+ textTransform: string;
171
+ };
172
+ };
173
+ };
1
174
  export declare const adminLight: import("@material-ui/core/styles/createTheme").Theme;
@@ -32,6 +32,19 @@ export declare const adminThemeZIndex: {
32
32
  */
33
33
  export declare const adminThemeDefaultProps: {
34
34
  props: {
35
+ MuiCard: {
36
+ elevation: number;
37
+ };
38
+ MuiTooltip: {
39
+ title: string;
40
+ placement: string;
41
+ };
42
+ MuiPaper: {
43
+ elevation: number;
44
+ };
45
+ MuiAppBar: {
46
+ position: string;
47
+ };
35
48
  MuiInputBase: {
36
49
  color: string;
37
50
  };
@@ -1,2 +1,2 @@
1
- export { adminLight } from './adminLightTheme';
2
- export { adminDark } from './adminDarkTheme';
1
+ export { adminLight, adminLightOptions } from './adminLightTheme';
2
+ export { adminDark, adminDarkOptions } from './adminDarkTheme';
@@ -0,0 +1,3 @@
1
+ export declare const adminOverrides: {
2
+ overrides: {};
3
+ };
@@ -2,37 +2,31 @@ export declare const adminThemeTypography: {
2
2
  htmlFontSize: number;
3
3
  fontFamily: string;
4
4
  h1: {
5
- fontFamily: string;
6
5
  fontWeight: number;
7
6
  fontSize: string;
8
7
  lineHeight: string;
9
8
  };
10
9
  h2: {
11
- fontFamily: string;
12
10
  fontWeight: number;
13
11
  fontSize: string;
14
12
  lineHeight: string;
15
13
  };
16
14
  h3: {
17
- fontFamily: string;
18
15
  fontWeight: number;
19
16
  fontSize: string;
20
17
  lineHeight: string;
21
18
  };
22
19
  h4: {
23
- fontFamily: string;
24
20
  fontWeight: number;
25
21
  fontSize: string;
26
22
  lineHeight: string;
27
23
  };
28
24
  h5: {
29
- fontFamily: string;
30
25
  fontWeight: number;
31
26
  fontSize: string;
32
27
  lineHeight: string;
33
28
  };
34
29
  h6: {
35
- fontFamily: string;
36
30
  fontWeight: number;
37
31
  fontSize: string;
38
32
  lineHeight: string;
@@ -47,4 +41,10 @@ export declare const adminThemeTypography: {
47
41
  fontSize: string;
48
42
  lineHeight: string;
49
43
  };
44
+ button: {
45
+ fontWeight: number;
46
+ fontSize: string;
47
+ lineHeight: string;
48
+ textTransform: string;
49
+ };
50
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popmenu/admin-ui",
3
- "version": "0.10.1",
3
+ "version": "0.12.0",
4
4
  "license": "MIT",
5
5
  "author": "Popmenu Design System Team",
6
6
  "description": "React components specifically for the MyPop web app.",
@@ -30,5 +30,5 @@
30
30
  "devDependencies": {
31
31
  "@types/classnames": "^2.3.1"
32
32
  },
33
- "gitHead": "130721079f83dab64348b96f7261047c4a2895b6"
33
+ "gitHead": "37aa8b72465c2d79effdb01a8435dec337de0501"
34
34
  }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { IconButtonProps } from './IconButtonProps';
3
- export declare const IconButton: React.ForwardRefExoticComponent<Pick<IconButtonProps, "className" | "style" | "classes" | "innerRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "disableFocusRipple" | "edge" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "icon" | "variant"> & React.RefAttributes<HTMLButtonElement>>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { IconButtonProps as MuiIconButtonProps } from '@material-ui/core';
3
- export interface IconButtonProps extends Omit<MuiIconButtonProps, 'size'> {
4
- icon: React.FC<React.SVGProps<SVGSVGElement>>;
5
- variant?: 'primary' | 'secondary' | 'tertiary';
6
- }
@@ -1,2 +0,0 @@
1
- import { IconButtonProps } from './IconButtonProps';
2
- export declare const useIconButtonStyles: (props: IconButtonProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -1,2 +0,0 @@
1
- export { IconButton as default } from './IconButton';
2
- export { IconButtonProps } from './IconButtonProps';