@vitessce/feature-list 3.0.0 → 3.1.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.
@@ -0,0 +1,6 @@
1
+ export const FEATURELIST_SORT_OPTIONS = [
2
+ 'alphabetical',
3
+ 'original',
4
+ ];
5
+
6
+ export const ALT_COLNAME = 'Alternate ID';
@@ -173,7 +173,7 @@ export default function SelectableTable(props) {
173
173
  <input
174
174
  id={`${inputUuid}_${data[index][idKey]}`}
175
175
  type="checkbox"
176
- className={clsx(classes.radioOrCheckbox, isCheckingMultiple ? classes.checkbox : classes.radio)}
176
+ className={clsx(classes.radioOrCheckbox, isCheckingMultiple ? classes.tableCheckbox : classes.tableRadio)}
177
177
  name={inputUuid}
178
178
  value={data[index][idKey]}
179
179
  onChange={handleInputChange}
@@ -1,9 +1,9 @@
1
+ import { describe, it, expect, afterEach } from 'vitest';
1
2
  import '@testing-library/jest-dom';
2
3
  import {
3
4
  cleanup, render, screen,
4
5
  } from '@testing-library/react';
5
6
  import userEvent from '@testing-library/user-event';
6
- import { afterEach } from 'vitest';
7
7
  import React from 'react';
8
8
 
9
9
  import SelectableTable from './SelectableTable.js';
@@ -66,10 +66,10 @@ export const useStyles = makeStyles(theme => ({
66
66
  backgroundClip: 'unset',
67
67
  },
68
68
  },
69
- radio: {
69
+ tableRadio: {
70
70
  borderRadius: '50%',
71
71
  },
72
- checkbox: {
72
+ tableCheckbox: {
73
73
  borderRadius: '2px',
74
74
  },
75
75
  }));