dce-reactkit 4.1.5 → 4.1.7

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.
@@ -22,6 +22,8 @@ declare enum LogAction {
22
22
  Resume = "Resume",
23
23
  Jump = "Jump",
24
24
  Post = "Post",
25
+ Like = "Like",
26
+ Dislike = "Dislike",
25
27
  Unknown = "Unknown"
26
28
  }
27
29
  export default LogAction;
package/dist/index.d.ts CHANGED
@@ -1177,6 +1177,8 @@ declare enum LogAction {
1177
1177
  Resume = "Resume",
1178
1178
  Jump = "Jump",
1179
1179
  Post = "Post",
1180
+ Like = "Like",
1181
+ Dislike = "Dislike",
1180
1182
  Unknown = "Unknown"
1181
1183
  }
1182
1184
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "4.1.5",
3
+ "version": "4.1.7",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -421,7 +421,7 @@ const SimpleDateChooser: React.FC<Props> = (props) => {
421
421
  {/* Month Chooser */}
422
422
  <select
423
423
  aria-label={`month for ${ariaLabel}`}
424
- className="custom-select d-inline-block mr-1"
424
+ className="custom-select form-select d-inline-block mr-1"
425
425
  style={{ width: 'auto' }}
426
426
  id={`SimpleDateChooser-${name}-month`}
427
427
  value={`${month}-${year}`}
@@ -442,7 +442,7 @@ const SimpleDateChooser: React.FC<Props> = (props) => {
442
442
  {/* Day Chooser */}
443
443
  <select
444
444
  aria-label={`day for ${ariaLabel}`}
445
- className="custom-select d-inline-block"
445
+ className="custom-select form-select d-inline-block"
446
446
  style={{ width: 'auto' }}
447
447
  id={`SimpleDateChooser-${name}-day`}
448
448
  value={day}
@@ -167,7 +167,7 @@ const SimpleTimeChooser: React.FC<Props> = (props) => {
167
167
  {/* Time Chooser */}
168
168
  <select
169
169
  aria-label={`time for ${ariaLabel}`}
170
- className="custom-select d-inline-block"
170
+ className="custom-select form-select d-inline-block"
171
171
  style={{ width: 'auto' }}
172
172
  id={`SimpleTimeChooser-${name}-time`}
173
173
  value={selectedTimeMin}
@@ -41,6 +41,10 @@ enum LogAction {
41
41
  Jump = 'Jump',
42
42
  // Post a submission/message/etc. into the target
43
43
  Post = 'Post',
44
+ // Like something
45
+ Like = 'Like',
46
+ // Dislike something
47
+ Dislike = 'Dislike',
44
48
  // Unknown action
45
49
  Unknown = 'Unknown',
46
50
  }