@pie-lib/rubric 0.3.7-next.324 → 0.3.7-next.333
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/CHANGELOG.md +238 -0
- package/lib/point-menu.js +0 -1
- package/lib/point-menu.js.map +1 -1
- package/package.json +4 -4
- package/src/point-menu.jsx +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,244 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.4.22](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.21...@pie-lib/rubric@0.4.22) (2022-05-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.4.21](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.20...@pie-lib/rubric@0.4.21) (2022-05-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [0.4.20](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.19...@pie-lib/rubric@0.4.20) (2022-05-10)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [0.4.19](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.18...@pie-lib/rubric@0.4.19) (2022-05-09)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## [0.4.18](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.17...@pie-lib/rubric@0.4.18) (2022-05-03)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## [0.4.17](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.16...@pie-lib/rubric@0.4.17) (2022-05-03)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* add an alias for editable-html in rubric to prevent overriding the npm package ([d81bf53](https://github.com/pie-framework/pie-lib/commit/d81bf53961c8306bf39e2be27a9e8bf528d2ce9c))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## [0.4.16](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.15...@pie-lib/rubric@0.4.16) (2022-04-28)
|
|
58
|
+
|
|
59
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## [0.4.15](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.14...@pie-lib/rubric@0.4.15) (2022-04-12)
|
|
66
|
+
|
|
67
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## [0.4.14](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.13...@pie-lib/rubric@0.4.14) (2022-03-21)
|
|
74
|
+
|
|
75
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## [0.4.13](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.12...@pie-lib/rubric@0.4.13) (2022-03-08)
|
|
82
|
+
|
|
83
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## [0.4.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.11...@pie-lib/rubric@0.4.12) (2022-03-07)
|
|
90
|
+
|
|
91
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## [0.4.11](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.10...@pie-lib/rubric@0.4.11) (2022-03-07)
|
|
98
|
+
|
|
99
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
## [0.4.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.9...@pie-lib/rubric@0.4.10) (2022-02-21)
|
|
106
|
+
|
|
107
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## [0.4.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.8...@pie-lib/rubric@0.4.9) (2022-02-21)
|
|
114
|
+
|
|
115
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
## [0.4.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.7...@pie-lib/rubric@0.4.8) (2022-02-04)
|
|
122
|
+
|
|
123
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
## [0.4.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.6...@pie-lib/rubric@0.4.7) (2022-02-03)
|
|
130
|
+
|
|
131
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## [0.4.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.5...@pie-lib/rubric@0.4.6) (2022-01-24)
|
|
138
|
+
|
|
139
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
## [0.4.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.4...@pie-lib/rubric@0.4.5) (2022-01-10)
|
|
146
|
+
|
|
147
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## [0.4.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.3...@pie-lib/rubric@0.4.4) (2021-12-22)
|
|
154
|
+
|
|
155
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
## [0.4.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.2...@pie-lib/rubric@0.4.3) (2021-12-13)
|
|
162
|
+
|
|
163
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
## [0.4.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.1...@pie-lib/rubric@0.4.2) (2021-11-29)
|
|
170
|
+
|
|
171
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
## [0.4.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.4.0...@pie-lib/rubric@0.4.1) (2021-10-04)
|
|
178
|
+
|
|
179
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
# [0.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.3.12...@pie-lib/rubric@0.4.0) (2021-10-04)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Features
|
|
189
|
+
|
|
190
|
+
* **rubric:** Added Studio support: Treat 'null' as null value for sample answer PD-1313 ([ce71c81](https://github.com/pie-framework/pie-lib/commit/ce71c81))
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
## [0.3.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.3.11...@pie-lib/rubric@0.3.12) (2021-09-20)
|
|
197
|
+
|
|
198
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
## [0.3.11](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.3.10...@pie-lib/rubric@0.3.11) (2021-09-20)
|
|
205
|
+
|
|
206
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
## [0.3.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.3.9...@pie-lib/rubric@0.3.10) (2021-09-20)
|
|
213
|
+
|
|
214
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
## [0.3.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.3.8...@pie-lib/rubric@0.3.9) (2021-09-16)
|
|
221
|
+
|
|
222
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
## [0.3.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.3.7...@pie-lib/rubric@0.3.8) (2021-09-08)
|
|
229
|
+
|
|
230
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
## [0.3.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.3.6...@pie-lib/rubric@0.3.7) (2021-09-08)
|
|
237
|
+
|
|
238
|
+
**Note:** Version bump only for package @pie-lib/rubric
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
6
244
|
## [0.3.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/rubric@0.3.5...@pie-lib/rubric@0.3.6) (2021-08-30)
|
|
7
245
|
|
|
8
246
|
**Note:** Version bump only for package @pie-lib/rubric
|
package/lib/point-menu.js
CHANGED
package/lib/point-menu.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"point-menu.js","names":["IconMenu","props","event","setState","open","anchorEl","currentTarget","state","undefined","opts","onClick","classes","keys","Object","handleMenuClick","key","handleRequestClose","iconColor","handleClick","icon","transform","vertical","horizontal","map","k","index","React","Component","PropTypes","object","func","isRequired","PointMenu","onChange","showSampleAnswer","sampleText","
|
|
1
|
+
{"version":3,"file":"point-menu.js","names":["IconMenu","props","event","setState","open","anchorEl","currentTarget","state","undefined","opts","onClick","classes","keys","Object","handleMenuClick","key","handleRequestClose","iconColor","handleClick","icon","transform","vertical","horizontal","map","k","index","React","Component","PropTypes","object","func","isRequired","PointMenu","onChange","showSampleAnswer","sampleText","sample","bool"],"sources":["../src/point-menu.jsx"],"sourcesContent":["import Menu from '@material-ui/core/Menu';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport MoreVertIcon from '@material-ui/icons/MoreVert';\nimport MoreHorizIcon from '@material-ui/icons/MoreHoriz';\nimport IconButton from '@material-ui/core/IconButton';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nexport class IconMenu extends React.Component {\n static propTypes = {\n opts: PropTypes.object,\n onClick: PropTypes.func.isRequired,\n classes: PropTypes.object.isRequired\n };\n\n constructor(props) {\n super(props);\n this.state = {\n anchorEl: undefined,\n open: false\n };\n }\n\n handleClick = event => this.setState({ open: true, anchorEl: event.currentTarget });\n\n handleRequestClose = () => this.setState({ open: false });\n\n render() {\n const { opts, onClick, classes } = this.props;\n const { open, anchorEl } = this.state;\n const keys = Object.keys(opts) || [];\n\n const handleMenuClick = key => () => {\n onClick(key);\n this.handleRequestClose();\n };\n\n const iconColor = open ? 'inherit' : 'disabled';\n\n return (\n <div>\n <div onClick={this.handleClick}>\n <IconButton className={classes.icon}>\n {open ? <MoreVertIcon color={iconColor} /> : <MoreHorizIcon color={iconColor} />}\n </IconButton>\n </div>\n <Menu\n id=\"point-menu\"\n anchorEl={anchorEl}\n open={open}\n onClose={this.handleRequestClose}\n style={{ transform: 'translate(-15px, -15px)' }}\n transformOrigin={{\n vertical: 'center',\n horizontal: 'right'\n }}\n >\n {keys.map((k, index) => (\n <MenuItem key={index} onClick={handleMenuClick(k)}>\n {opts[k]}\n </MenuItem>\n ))}\n </Menu>\n </div>\n );\n }\n}\n\nexport default class PointMenu extends React.Component {\n static propTypes = {\n onChange: PropTypes.func.isRequired,\n classes: PropTypes.object.isRequired,\n showSampleAnswer: PropTypes.bool.isRequired\n };\n\n static defaultProps = {\n classes: {}\n };\n\n render() {\n const { onChange, classes, showSampleAnswer } = this.props;\n const sampleText = showSampleAnswer ? 'Provide Sample Response' : 'Remove Sample Response';\n\n return (\n <IconMenu\n onClick={key => onChange(key)}\n opts={{\n sample: sampleText\n }}\n classes={classes}\n />\n );\n }\n}\n"],"mappings":";;;;;;;;;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,EAAEL,qBAAA,CAAUE,IAAV,CAAeC,UADR;EAEjBpB,OAAO,EAAEiB,qBAAA,CAAUC,MAAV,CAAiBE,UAFT;EAGjBG,gBAAgB,EAAEN,qBAAA,CAAUS,IAAV,CAAeN;AAHhB,C;;gBADAC,S,kBAOG;EACpBrB,OAAO,EAAE;AADW,C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/rubric",
|
|
3
|
-
"version": "0.3.7-next.
|
|
3
|
+
"version": "0.3.7-next.333+9e77aef6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.3",
|
|
11
11
|
"@material-ui/icons": "^3.0.2",
|
|
12
|
-
"@pie-lib/editable-html": "^7.17.4-next.
|
|
12
|
+
"@pie-lib/editable-html": "^7.17.4-next.333+9e77aef6",
|
|
13
13
|
"debug": "^4.1.1",
|
|
14
|
-
"editable-html": "npm:@pie-lib/editable-html@^7.
|
|
14
|
+
"editable-html": "npm:@pie-lib/editable-html@^7.21.0",
|
|
15
15
|
"lodash": "^4.17.11",
|
|
16
16
|
"prop-types": "^15.7.2",
|
|
17
17
|
"react": "^16.8.1",
|
|
18
18
|
"react-beautiful-dnd": "^11.0.2",
|
|
19
19
|
"react-dom": "^16.9.0"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "9e77aef6241de40777005d2ab73f57e4e45fb744"
|
|
22
22
|
}
|