dce-reactkit 3.7.22 → 3.7.25

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/dist/cjs/index.js CHANGED
@@ -1303,7 +1303,7 @@ const AppWrapper = (props) => {
1303
1303
  : `
1304
1304
  .tooltip-inner {
1305
1305
  background-color: black;
1306
- color: black;
1306
+ color: white;
1307
1307
  border: 0.1rem solid white;
1308
1308
  pointer-events: none;
1309
1309
  }
@@ -5,7 +5,7 @@
5
5
  import React from 'react';
6
6
  import Variant from '../types/Variant';
7
7
  type Props = {
8
- text: string;
8
+ text: React.ReactNode;
9
9
  onSelected: () => void;
10
10
  ariaLabel: string;
11
11
  title?: string;
package/dist/esm/index.js CHANGED
@@ -1276,7 +1276,7 @@ const AppWrapper = (props) => {
1276
1276
  : `
1277
1277
  .tooltip-inner {
1278
1278
  background-color: black;
1279
- color: black;
1279
+ color: white;
1280
1280
  border: 0.1rem solid white;
1281
1281
  pointer-events: none;
1282
1282
  }
@@ -5,7 +5,7 @@
5
5
  import React from 'react';
6
6
  import Variant from '../types/Variant';
7
7
  type Props = {
8
- text: string;
8
+ text: React.ReactNode;
9
9
  onSelected: () => void;
10
10
  ariaLabel: string;
11
11
  title?: string;
package/dist/index.d.ts CHANGED
@@ -204,7 +204,7 @@ declare const TabBox: React$1.FC<Props$i>;
204
204
  */
205
205
 
206
206
  type Props$h = {
207
- text: string;
207
+ text: React$1.ReactNode;
208
208
  onSelected: () => void;
209
209
  ariaLabel: string;
210
210
  title?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.7.22",
3
+ "version": "3.7.25",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -675,7 +675,7 @@ const AppWrapper: React.FC<Props> = (props: Props): React.ReactElement => {
675
675
  : `
676
676
  .tooltip-inner {
677
677
  background-color: black;
678
- color: black;
678
+ color: white;
679
679
  border: 0.1rem solid white;
680
680
  pointer-events: none;
681
681
  }
@@ -21,7 +21,7 @@ import { isDarkModeOn } from '../client/initClient';
21
21
 
22
22
  type Props = {
23
23
  // Text of the button
24
- text: string,
24
+ text: React.ReactNode,
25
25
  // Handler for when this item is selected (not called if already selected)
26
26
  onSelected: () => void,
27
27
  // Aria label