@universal-tennis/ui-shared 0.1.3 → 0.1.5

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.
Files changed (71) hide show
  1. package/.storybook/preview.js +1 -0
  2. package/.storybook/variables.css +12 -0
  3. package/dist/components.d.ts +3 -0
  4. package/dist/components.js +3 -1
  5. package/dist/components.js.map +1 -1
  6. package/dist/stories/assets/css/variables.css +2 -0
  7. package/dist/stories/atoms/Button/Button.d.ts +1 -0
  8. package/dist/stories/atoms/Button/Button.js.map +1 -1
  9. package/dist/stories/atoms/Typography/Typography.d.ts +38 -0
  10. package/dist/stories/atoms/Typography/Typography.js +38 -0
  11. package/dist/stories/atoms/Typography/Typography.js.map +1 -1
  12. package/dist/stories/molecules/Cards/Cards.stories.d.ts +1 -0
  13. package/dist/stories/molecules/Cards/Cards.stories.js +24 -0
  14. package/dist/stories/molecules/Cards/Cards.stories.js.map +1 -1
  15. package/dist/stories/molecules/Cards/ContactCard.d.ts +1 -7
  16. package/dist/stories/molecules/Cards/ContactCard.js.map +1 -1
  17. package/dist/stories/molecules/Cards/DrawCard.d.ts +3 -0
  18. package/dist/stories/molecules/Cards/DrawCard.js +66 -0
  19. package/dist/stories/molecules/Cards/DrawCard.js.map +1 -0
  20. package/dist/stories/molecules/Cards/TeamCard.d.ts +1 -5
  21. package/dist/stories/molecules/Cards/TeamCard.js.map +1 -1
  22. package/dist/stories/molecules/Cards/sharedTypes.d.ts +31 -0
  23. package/dist/stories/molecules/Cards/sharedTypes.js +3 -0
  24. package/dist/stories/molecules/Cards/sharedTypes.js.map +1 -0
  25. package/dist/stories/organisms/Modals/FullPageModal.d.ts +4 -0
  26. package/dist/stories/organisms/Modals/FullPageModal.js +37 -0
  27. package/dist/stories/organisms/Modals/FullPageModal.js.map +1 -0
  28. package/dist/stories/{oraganisms/SortableTable.stories.d.ts → organisms/Modals/Modals.stories.d.ts} +1 -1
  29. package/dist/stories/organisms/Modals/Modals.stories.js +73 -0
  30. package/dist/stories/organisms/Modals/Modals.stories.js.map +1 -0
  31. package/dist/stories/organisms/Modals/sharedTypes.d.ts +11 -0
  32. package/dist/stories/organisms/Modals/sharedTypes.js +2 -0
  33. package/dist/stories/organisms/Modals/sharedTypes.js.map +1 -0
  34. package/dist/stories/organisms/Tables/DrawCardTable.d.ts +3 -0
  35. package/dist/stories/organisms/Tables/DrawCardTable.js +40 -0
  36. package/dist/stories/organisms/Tables/DrawCardTable.js.map +1 -0
  37. package/dist/stories/{oraganisms → organisms/Tables}/SortableTable.d.ts +1 -1
  38. package/dist/stories/{oraganisms → organisms/Tables}/SortableTable.js +4 -2
  39. package/dist/stories/organisms/Tables/SortableTable.js.map +1 -0
  40. package/dist/stories/organisms/Tables/Tables.stories.d.ts +6 -0
  41. package/dist/stories/organisms/Tables/Tables.stories.js +57 -0
  42. package/dist/stories/organisms/Tables/Tables.stories.js.map +1 -0
  43. package/dist/stories/organisms/Tables/mockData.d.ts +35 -0
  44. package/dist/stories/{oraganisms/SortableTable.stories.js → organisms/Tables/mockData.js} +26 -25
  45. package/dist/stories/organisms/Tables/mockData.js.map +1 -0
  46. package/dist/stories/organisms/Tables/sharedTypes.d.ts +7 -0
  47. package/dist/stories/organisms/Tables/sharedTypes.js +2 -0
  48. package/dist/stories/organisms/Tables/sharedTypes.js.map +1 -0
  49. package/dist/types/tableDataTypes.d.ts +9 -9
  50. package/package.json +1 -1
  51. package/src/components.jsx +3 -1
  52. package/src/stories/assets/css/variables.css +2 -0
  53. package/src/stories/atoms/Button/Button.tsx +1 -0
  54. package/src/stories/atoms/Typography/Typography.tsx +42 -0
  55. package/src/stories/molecules/Cards/Cards.stories.tsx +30 -13
  56. package/src/stories/molecules/Cards/ContactCard.tsx +1 -7
  57. package/src/stories/molecules/Cards/DrawCard.tsx +101 -0
  58. package/src/stories/molecules/Cards/TeamCard.tsx +1 -5
  59. package/src/stories/molecules/Cards/sharedTypes.ts +37 -0
  60. package/src/stories/organisms/Modals/FullPageModal.tsx +70 -0
  61. package/src/stories/organisms/Modals/Modals.stories.tsx +137 -0
  62. package/src/stories/organisms/Modals/sharedTypes.ts +12 -0
  63. package/src/stories/organisms/Tables/DrawCardTable.tsx +56 -0
  64. package/src/stories/{oraganisms → organisms/Tables}/SortableTable.tsx +5 -3
  65. package/src/stories/organisms/Tables/Tables.stories.tsx +66 -0
  66. package/src/stories/{oraganisms/SortableTable.stories.tsx → organisms/Tables/mockData.tsx} +30 -35
  67. package/src/stories/organisms/Tables/sharedTypes.ts +8 -0
  68. package/src/types/tableDataTypes.ts +9 -9
  69. package/workflows/package-release-1.yml +4 -1
  70. package/dist/stories/oraganisms/SortableTable.js.map +0 -1
  71. package/dist/stories/oraganisms/SortableTable.stories.js.map +0 -1
@@ -0,0 +1,137 @@
1
+ import React from 'react';
2
+ import InputLabel from '@mui/material/InputLabel';
3
+ import FormControl from '@mui/material/FormControl';
4
+ import Checkbox from '@mui/material/Checkbox';
5
+ import Select from '@mui/material/Select';
6
+ import MenuItem from '@mui/material/MenuItem';
7
+ import Typography from 'stories/atoms/Typography/Typography';
8
+ import Button from 'stories/atoms/Button/Button';
9
+ import Box from '@mui/material/Box';
10
+ import Grid from '@mui/material/Grid';
11
+ import Paper from '@mui/material/Paper';
12
+ import Pagination from '@mui/material/Pagination';
13
+ import FullPageModal from './FullPageModal';
14
+ import SortableTable from '../Tables/SortableTable';
15
+ import {
16
+ MOCK_HEAD_CELLS, mockRowComponent, MOCK_TABLE_DATA
17
+ } from '../Tables/mockData';
18
+
19
+ import { FullPageModalType } from './sharedTypes';
20
+
21
+ // Fake data for rendering sections
22
+ const conferences = [{ id: 1, name: 'philly' }, { id: 2, name: 'NJ' }, { id: 3, name: 'PA' }];
23
+ const sessions = [{ sessionId: 1, sessionName: 'philly' }, { sessionId: 2, sessionName: 'NJ' }, { sessionId: 3, sessionName: 'PA' }];
24
+ const selectedSessionIds = [1];
25
+ const teamsToAdd = [{ id: 1, name: 'test', sessionName: 'test' }];
26
+ const selectedTeamIds = [1];
27
+
28
+ const InputSelections = [
29
+ <FormControl sx={{ width: 300, mr: 3 }}>
30
+ <InputLabel id="conference-select">Select Conference</InputLabel>
31
+ <Select
32
+ value={1 || ''}
33
+ label="Select Conference"
34
+ labelId="conference-select"
35
+ >
36
+ {conferences?.map((option) => (
37
+ <MenuItem key={option.id} value={option.id}>
38
+ {option.name}
39
+ </MenuItem>
40
+ ))}
41
+ </Select>
42
+ </FormControl>,
43
+ <FormControl sx={{ width: 300 }}>
44
+ <InputLabel id="session-select">test</InputLabel>
45
+ <Select
46
+ value={selectedSessionIds}
47
+ label="sample"
48
+ multiple
49
+ labelId="session-select"
50
+ >
51
+ {sessions?.map((option) => (
52
+ <MenuItem key={option.sessionId} value={option.sessionId}>
53
+ <Checkbox checked={selectedSessionIds?.indexOf(option.sessionId) > -1} />
54
+ <Typography>{option.sessionName}</Typography>
55
+ </MenuItem>
56
+ ))}
57
+ <Box mt={1} boxShadow="0px -3px 3px #00000024" display="flex" justifyContent="center" pt={1} px={1}>
58
+ <Button category="primary-extended">
59
+ Apply
60
+ </Button>
61
+ </Box>
62
+ </Select>
63
+ </FormControl>
64
+ ];
65
+
66
+ const MainComponent = (
67
+ <Grid container>
68
+ <Grid item borderRight={1} lg={10}>
69
+ <Box p={6}>
70
+ <Box display="flex" alignItems="center">
71
+ {InputSelections && InputSelections.map((select) => (
72
+ select
73
+ ))}
74
+ </Box>
75
+ </Box>
76
+ <Box p={6}>
77
+ <SortableTable
78
+ headCells={MOCK_HEAD_CELLS}
79
+ sortOrder="asc"
80
+ sortByProperty="player"
81
+ title="Player Table"
82
+ tableData={MOCK_TABLE_DATA}
83
+ // @ts-ignore
84
+ rowComponent={mockRowComponent}
85
+ />
86
+ <Pagination variant="text" color="primary" page={1} count={10} />
87
+ </Box>
88
+ </Grid>
89
+
90
+ <Grid item lg={2}>
91
+ <Box p={6}>
92
+ <Typography variant="h5">{`${teamsToAdd.length} selected teams`}</Typography>
93
+ <Typography>{`This session allows a max of ${1} teams`}</Typography>
94
+ {teamsToAdd.map((team) => (
95
+ <Paper key={team.id} sx={{ my: 1 }}>
96
+ <Box p={2} display="flex">
97
+ <Checkbox
98
+ color="primary"
99
+ checked={selectedTeamIds.indexOf(team.id) !== -1}
100
+ />
101
+ <Box ml={1}>
102
+ <Typography>{team.name}</Typography>
103
+ <Typography>{team.sessionName}</Typography>
104
+ </Box>
105
+ </Box>
106
+ </Paper>
107
+ ))}
108
+ </Box>
109
+ </Grid>
110
+ </Grid>
111
+ );
112
+
113
+ // Default
114
+ export default {
115
+ title: 'Organisms/Modals',
116
+ };
117
+
118
+ // Templates
119
+ function FullPageModalTemplate(args: FullPageModalType) {
120
+ return (
121
+ <FullPageModal {...args}>
122
+ {MainComponent}
123
+ </FullPageModal>
124
+ );
125
+ }
126
+
127
+ // Stories
128
+ export const FullPage = FullPageModalTemplate.bind({});
129
+ FullPage.args = {
130
+ isOpen: true,
131
+ onClose: () => {},
132
+ pageTitle: 'Sample Page',
133
+ bottomCTAText: 'Add here!',
134
+ handleBottomCTAClick: () => {},
135
+ isBottomCTAdisabled: false,
136
+ // PagePopupModal,
137
+ };
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ export type FullPageModalType = {
4
+ isOpen: boolean;
5
+ onClose: VoidFunction;
6
+ pageTitle: string;
7
+ children?:ReactNode;
8
+ bottomCTAText?: string;
9
+ handleBottomCTAClick?: VoidFunction;
10
+ isBottomCTAdisabled?: boolean;
11
+ PagePopupModal?: ReactNode;
12
+ }
@@ -0,0 +1,56 @@
1
+ import React from 'react';
2
+ import Box from '@mui/material/Box';
3
+ import { styled } from '@mui/material/styles';
4
+ import Grid from '@mui/material/Grid';
5
+ import Typography from '../../atoms/Typography/Typography';
6
+ import { DrawCardTableProps } from './sharedTypes';
7
+
8
+ const StyledHeader = styled(Grid)({
9
+ alignItems: 'center',
10
+ justifyContent: 'center',
11
+ display: 'flex',
12
+ });
13
+
14
+ const GridSections = styled(Box)({
15
+ display: 'flex',
16
+ alignItems: 'center',
17
+ padding: '8px'
18
+ });
19
+
20
+ export default function DrawCardTable({
21
+ headerRows,
22
+ tableRows,
23
+ ...props
24
+ }: DrawCardTableProps) {
25
+ const totalColumns = Math.floor(12 / headerRows.length);
26
+
27
+ const formatTableRows = tableRows.map((row, index) => {
28
+ const rowSectionsWidth = `${100 / tableRows[index].length}%`;
29
+ const sectionAmount = tableRows[index].length;
30
+
31
+ return (
32
+ <Grid key={index} xs={totalColumns}>
33
+ {[...Array(sectionAmount)].map((section, idx) => (
34
+ <GridSections key={idx} sx={{ height: rowSectionsWidth }}>
35
+ {row[idx]}
36
+ </GridSections>
37
+ ))}
38
+ </Grid>
39
+ );
40
+ });
41
+
42
+ return (
43
+ <Box {...props} sx={{ flexGrow: 1 }} aria-label="draw table">
44
+ <Grid container sx={{ height: '60px' }}>
45
+ {headerRows.map((row) => (
46
+ <StyledHeader key={row.name} xs={totalColumns}>
47
+ <Typography category="secondary" size="small-medium-cap">{row.name}</Typography>
48
+ </StyledHeader>
49
+ ))}
50
+ </Grid>
51
+ <Grid container>
52
+ {formatTableRows}
53
+ </Grid>
54
+ </Box>
55
+ );
56
+ }
@@ -11,7 +11,7 @@ import Toolbar from "@mui/material/Toolbar";
11
11
  import Paper from "@mui/material/Paper";
12
12
 
13
13
  import { TableData } from "types/tableDataTypes";
14
- import Typography from '../atoms/Typography/Typography';
14
+ import Typography from '../../atoms/Typography/Typography';
15
15
 
16
16
  type Order = 'asc' | 'desc';
17
17
  type OrderProperty = string | number;
@@ -29,7 +29,7 @@ export type SortableTableProps = {
29
29
  sortByProperty: OrderProperty;
30
30
  rowComponent: ComponentType<{rowData: TableData, labelId: string}>;
31
31
  title?: string;
32
- onOrderPropertyChange: (property: OrderProperty) => VoidFunction
32
+ onOrderPropertyChange?: (property: OrderProperty) => VoidFunction
33
33
  }
34
34
 
35
35
  function SortableTable({
@@ -45,7 +45,9 @@ function SortableTable({
45
45
 
46
46
  const handleRequestSort = (property: OrderProperty) => (event: SyntheticEvent) => {
47
47
  event.preventDefault();
48
- onOrderPropertyChange(property);
48
+ if (onOrderPropertyChange) {
49
+ onOrderPropertyChange(property);
50
+ }
49
51
  };
50
52
 
51
53
  return (
@@ -0,0 +1,66 @@
1
+ import React from 'react';
2
+ import DrawCard from '../../molecules/Cards/DrawCard';
3
+ import DrawCardTable from './DrawCardTable';
4
+ import { DrawCardTableProps } from './sharedTypes';
5
+ import {
6
+ MOCK_HEAD_CELLS, mockRowComponent, MOCK_TABLE_DATA, SAMPLE_CARD_DATA
7
+ } from './mockData';
8
+
9
+ const onOrderPropertyChange = () => {};
10
+
11
+ // Default
12
+ export default {
13
+ title: 'Organisms/Tables',
14
+ };
15
+
16
+ // Templates
17
+ function DrawCardTableTemplate(args: DrawCardTableProps) {
18
+ return <DrawCardTable {...args} />;
19
+ }
20
+
21
+ const headerRows = [
22
+ { name: 'Round 1' },
23
+ { name: 'Quarterfinal' },
24
+ { name: 'SemiFinal' },
25
+ ];
26
+
27
+ const tableRows = [
28
+ [
29
+ <DrawCard {...SAMPLE_CARD_DATA} />,
30
+ <DrawCard {...SAMPLE_CARD_DATA} />,
31
+ <DrawCard {...SAMPLE_CARD_DATA} />,
32
+ <DrawCard {...SAMPLE_CARD_DATA} />,
33
+ <DrawCard {...SAMPLE_CARD_DATA} />,
34
+ <DrawCard {...SAMPLE_CARD_DATA} />,
35
+ <DrawCard {...SAMPLE_CARD_DATA} />,
36
+ <DrawCard {...SAMPLE_CARD_DATA} />,
37
+ ],
38
+ [
39
+ <DrawCard {...SAMPLE_CARD_DATA} />,
40
+ <DrawCard {...SAMPLE_CARD_DATA} />,
41
+ <DrawCard {...SAMPLE_CARD_DATA} />,
42
+ <DrawCard {...SAMPLE_CARD_DATA} />,
43
+ ],
44
+ [
45
+ <DrawCard {...SAMPLE_CARD_DATA} />,
46
+ <DrawCard {...SAMPLE_CARD_DATA} />,
47
+ ],
48
+ ];
49
+
50
+ // Stories
51
+ export const DrawTable = DrawCardTableTemplate.bind({});
52
+ DrawTable.args = {
53
+ headerRows,
54
+ tableRows,
55
+ };
56
+
57
+ export const SortableTable = DrawCardTableTemplate.bind({});
58
+ SortableTable.args = {
59
+ headCells: MOCK_HEAD_CELLS,
60
+ sortOrder: 'asc',
61
+ sortByProperty: 'player',
62
+ title: 'Player Table',
63
+ tableData: MOCK_TABLE_DATA,
64
+ rowComponent: mockRowComponent,
65
+ onOrderPropertyChange,
66
+ };
@@ -1,30 +1,18 @@
1
1
  import React from 'react';
2
2
  import { TableRow, TableCell, Typography } from '@mui/material';
3
3
 
4
- import SortableTable, { SortableTableProps } from './SortableTable';
5
-
6
- // Default
7
- export default {
8
- title: 'Organisms/SortableTable',
9
- };
10
-
11
- // Templates
12
- function SortableTableTemplate(args: SortableTableProps) {
13
- return <SortableTable {...args} />;
14
- }
15
-
16
4
  interface RowData {
17
5
  player: string;
18
6
  team: string;
19
7
  session: string;
20
- }
8
+ }
21
9
 
22
10
  interface RowProps {
23
11
  rowData: RowData,
24
12
  labelId: string;
25
- }
26
-
27
- const rowComponent = ({ rowData, labelId }: RowProps) => {
13
+ }
14
+
15
+ export const mockRowComponent = ({ rowData, labelId }: RowProps) => {
28
16
  const { player, session, team } = rowData;
29
17
  return (
30
18
  <TableRow>
@@ -46,53 +34,60 @@ const rowComponent = ({ rowData, labelId }: RowProps) => {
46
34
 
47
35
  );
48
36
  };
49
-
50
- const headCells = [
37
+
38
+ export const MOCK_HEAD_CELLS = [
51
39
  { id: 'player', label: 'Player Name', isSortingDisabled: false },
52
40
  { id: 'team', label: 'Team Name', isSortingDisabled: true },
53
41
  { id: 'session', label: 'Session', isSortingDisabled: false }];
54
-
55
- const tableData = [
42
+
43
+ export const MOCK_TABLE_DATA = [
56
44
  {
45
+ id: 1,
57
46
  player: 'John Smith',
58
47
  team: 'Mavericks',
59
48
  session: 'NorCal Adults',
60
49
  },
61
50
  {
51
+ id: 2,
62
52
  player: 'Megan Brown',
63
53
  team: 'Mini Mavericks',
64
54
  session: 'SoCal Juniors',
65
55
  },
66
56
  {
57
+ id: 3,
67
58
  player: 'George Fox',
68
59
  team: 'Grey Foxes',
69
60
  session: 'North Bay Junios',
70
61
  },
71
62
  {
63
+ id: 4,
72
64
  player: 'Alison Green',
73
65
  team: 'Lions',
74
66
  session: 'Outer Bay UTR 2-5',
75
67
  },
76
68
  {
69
+ id: 5,
77
70
  player: 'Linda Belinda',
78
71
  team: 'Green Hornets',
79
72
  session: 'Tri-State UTR 1-3',
80
73
  },
81
74
  ];
82
75
 
83
- const onOrderPropertyChange = () => {};
84
-
85
- // Stories
86
-
87
- const args = {
88
- headCells,
89
- sortOrder: 'asc',
90
- sortByProperty: 'player',
91
- title: 'Player Table',
92
- tableData,
93
- rowComponent,
94
- onOrderPropertyChange,
76
+ export const SAMPLE_CARD_DATA = {
77
+ options: [
78
+ {
79
+ id: 1,
80
+ label: 'Team 1',
81
+ },
82
+ {
83
+ id: 2,
84
+ label: 'Team 2',
85
+ }
86
+ ],
87
+ selectedOptions: {
88
+ optionOne: 1,
89
+ optionTwo: 2,
90
+ },
91
+ dateLabel: 'Dec 20 at 9:00am',
92
+ locationLabel: 'Taube Tennis Center',
95
93
  };
96
-
97
- export const DefaultTable = SortableTableTemplate.bind({});
98
- DefaultTable.args = args;
@@ -0,0 +1,8 @@
1
+ import React, { ReactNode } from 'react';
2
+
3
+ export type DrawCardTableProps = {
4
+ headerRows: {
5
+ name: string;
6
+ }[],
7
+ tableRows: ReactNode[][];
8
+ }
@@ -23,15 +23,15 @@ export interface Captain {
23
23
 
24
24
  export interface AddTeamsData {
25
25
  id: number;
26
- name: string;
27
- teamMemberCount: number;
28
- captains: Array<Captain>;
29
- sessionId: number;
30
- sessionName: string;
31
- sessionStartDateUtc: string;
32
- sessionEndDateUtc: string;
33
- wins: number;
34
- losses: number;
26
+ name?: string;
27
+ teamMemberCount?: number;
28
+ captains?: Array<Captain>;
29
+ sessionId?: number;
30
+ sessionName?: string;
31
+ sessionStartDateUtc?: string;
32
+ sessionEndDateUtc?: string;
33
+ wins?: number;
34
+ losses?: number;
35
35
  rank?: number;
36
36
  isSelected?: boolean;
37
37
  record?: string;
@@ -1,7 +1,10 @@
1
1
  trigger:
2
2
  tags:
3
3
  include:
4
- - '*'
4
+ - '0/*'
5
+ branches:
6
+ include:
7
+ - 'master'
5
8
 
6
9
  pool:
7
10
  vmImage: ubuntu-latest
@@ -1 +0,0 @@
1
- {"version":3,"file":"SortableTable.js","sourceRoot":"","sources":["../../../src/stories/oraganisms/SortableTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAChD,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAChD,OAAO,cAAc,MAAM,8BAA8B,CAAC;AAC1D,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAChD,OAAO,WAAW,MAAM,wBAAwB,CAAC;AACjD,OAAO,cAAc,MAAM,8BAA8B,CAAC;AAC1D,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAC5C,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAGxC,OAAO,UAAU,MAAM,gCAAgC,CAAC;AAqBxD,SAAS,aAAa,CAAC,EACrB,SAAS,EACT,SAAS,EACT,YAAY,EACZ,SAAS,EACT,cAAc,EACd,KAAK,GAAG,EAAE,EACV,qBAAqB,GACF;IACnB,MAAM,QAAQ,GAAG,YAAY,CAAC;IAE9B,MAAM,iBAAiB,GAAG,CAAC,QAAuB,EAAE,EAAE,CAAC,CAAC,KAAqB,EAAE,EAAE;QAC/E,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC,CAAC;IAEF,OAAO,CACH,oBAAC,KAAK,IAAC,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,EAAE;QAC9B,KAAK,IAAI,CAC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AAE;oBAC7D,MAAM,OAAO,GAAG,SAAS,KAAK,EAAE,CAAC;oBACjC,OAAO,CACH,oBAAC,QAAQ,IACL,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,OAAO,EAAE,IAAI,EACb,OAAO,EAAE,OAAO,GAClB,CACL,CAAC;gBACJ,CAAC,CAAC,CACM,CACR,CACK,CACb,CACX,CAAC;AACJ,CAAC;AAED,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SortableTable.stories.js","sourceRoot":"","sources":["../../../src/stories/oraganisms/SortableTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhE,OAAO,aAAqC,MAAM,iBAAiB,CAAC;AAEpE,UAAU;AACV,eAAe;IACb,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,YAAY;AACZ,SAAS,qBAAqB,CAAC,IAAwB;IACrD,OAAO,oBAAC,aAAa,oBAAK,IAAI,EAAI,CAAC;AACrC,CAAC;AAaD,MAAM,YAAY,GAAG,CAAC,EAAE,OAAO,EAAE,OAAO,EAAY,EAAE,EAAE;IACtD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;IAC1C,OAAO,CACH,oBAAC,QAAQ;QACL,oBAAC,SAAS,IACN,SAAS,EAAC,IAAI,EACd,EAAE,EAAE,OAAO,EACX,KAAK,EAAC,KAAK,EACX,OAAO,EAAC,QAAQ;YAEhB,oBAAC,UAAU,QAAE,MAAM,CAAc,CACzB;QACZ,oBAAC,SAAS,IAAC,KAAK,EAAC,MAAM;YACnB,oBAAC,UAAU,QAAE,IAAI,CAAc,CACvB;QACZ,oBAAC,SAAS,IAAC,KAAK,EAAC,MAAM;YACnB,oBAAC,UAAU,QAAE,OAAO,CAAc,CAC1B,CACL,CAEd,CAAC;AACJ,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