Skip to content

Commit

Permalink
Merge branch 'feat/calendar' of https://github.com/Stremio/stremio-web
Browse files Browse the repository at this point in the history
…into feat/calendar
  • Loading branch information
tymmesyde committed Jul 5, 2024
2 parents b6eef9a + 13aeae0 commit 971c393
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/common/Chips/Chip/Chip.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@
background-color: transparent;
user-select: none;
overflow: hidden;
opacity: 0.6;

&:hover {
background-color: var(--overlay-color);
transition: background-color 0.1s ease-out;
opacity: 1;
}

&.active {
font-weight: 700;
opacity: 1;
background-color: var(--quaternary-accent-color);
transition: background-color 0.1s ease-in;
}
Expand Down
6 changes: 6 additions & 0 deletions src/common/PaginationInput/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
.icon {
display: block;
color: var(--primary-foreground-color);
opacity: 0.7;
transition: opacity 0.2s ease-in-out;

&:hover {
opacity: 1;
}
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/routes/Calendar/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

import React, { useState } from 'react';
import { MainNavBars, PaginationInput, useProfile, withCoreSuspender } from 'stremio/common';
import Table from './Table';
import List from './List';
import Placeholder from './Placeholder';
import useCalendar from './useCalendar';
import useSelectableInputs from './useSelectableInputs';
import Table from './Table/Table';
import List from './List/List';
import Placeholder from './Placeholder/Placeholder';
import styles from './Calendar.less';

type Props = {
Expand Down
5 changes: 5 additions & 0 deletions src/routes/Calendar/List/Item/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Copyright (C) 2017-2024 Smart code 203358507

import Item from './Item';

export default Item;
2 changes: 1 addition & 1 deletion src/routes/Calendar/List/List.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (C) 2017-2024 Smart code 203358507

import React, { useMemo } from 'react';
import Item from './Item/Item';
import Item from './Item';
import styles from './List.less';

type Props = {
Expand Down
5 changes: 5 additions & 0 deletions src/routes/Calendar/List/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Copyright (C) 2017-2024 Smart code 203358507

import List from './List';

export default List;
5 changes: 5 additions & 0 deletions src/routes/Calendar/Placeholder/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Copyright (C) 2017-2024 Smart code 203358507

import Placeholder from './Placeholder';

export default Placeholder;
5 changes: 5 additions & 0 deletions src/routes/Calendar/Table/Cell/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Copyright (C) 2017-2024 Smart code 203358507

import Cell from './Cell';

export default Cell;
5 changes: 5 additions & 0 deletions src/routes/Calendar/Table/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Copyright (C) 2017-2024 Smart code 203358507

import Table from './Table';

export default Table;

0 comments on commit 971c393

Please sign in to comment.