Skip to content

Commit 91a6154

Browse files
committed
Merge remote-tracking branch 'origin/develop' into dap-4805
2 parents 5470dbd + 03d9c2e commit 91a6154

File tree

65 files changed

+4402
-437
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+4402
-437
lines changed

.github/workflows/near-rewards.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: NEAR Protocol Rewards Tracking
2+
on:
3+
schedule:
4+
- cron: '0 */12 * * *' # Every 12 hours
5+
workflow_dispatch: # Manual trigger
6+
push:
7+
branches: [ develop ] # Start on develop branch updates
8+
9+
jobs:
10+
calculate-rewards:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
issues: read
15+
pull-requests: read
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: '18'
21+
22+
- name: Calculate Rewards
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
GITHUB_REPO: ${{ github.repository }}
26+
run: npx near-protocol-rewards calculate

apps/extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mweb/extension",
3-
"version": "1.5.0-alpha.6",
3+
"version": "1.5.0-alpha.9",
44
"description": "Bridge to the Mutable Web",
55
"scripts": {
66
"build": "cross-env NODE_OPTIONS=--max-old-space-size=6144 webpack --config webpack.prod.js",

apps/extension/src/contentscript/multitable-panel/assets/styles-dropdown.tsx

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,3 +424,69 @@ export const AuthorMutation = styled.div`
424424
display: inline-flex;
425425
align-items: center;
426426
`
427+
428+
// version
429+
430+
export const DropdownContainer = styled.div<{ $expanded?: boolean }>`
431+
position: absolute;
432+
width: 100%;
433+
width: 50px;
434+
height: auto;
435+
top: 24px;
436+
left: 2px;
437+
padding: 2px;
438+
border-radius: 4px;
439+
background: #fff;
440+
display: flex;
441+
flex-direction: column;
442+
z-index: 2;
443+
444+
box-shadow: ${({ $expanded }) =>
445+
$expanded
446+
? `0px 3px 7px 0px #2222221A,
447+
0px 12px 12px 0px #22222217,
448+
0px 27px 16px 0px #2222220D,
449+
0px 48px 19px 0px #22222203,
450+
0px 76px 21px 0px #22222200`
451+
: 'none'};
452+
453+
cursor: pointer;
454+
`
455+
456+
export const SpanStyled = styled.span<{ $isWhite?: boolean }>`
457+
display: flex;
458+
align-items: center;
459+
gap: 2px;
460+
position: relative;
461+
top: ${({ $isWhite }) => ($isWhite ? `0` : '-6px')};
462+
cursor: pointer;
463+
left: ${({ $isWhite }) => ($isWhite ? `0` : '2px')};
464+
justify-content: center;
465+
padding: 2px 0;
466+
padding-left: 4px;
467+
width: 100%;
468+
height: 100%;
469+
border-radius: 4px;
470+
font-size: 10px;
471+
font-weight: 400;
472+
text-align: left;
473+
color: #ffffff;
474+
background: ${({ $isWhite }) => ($isWhite ? `#FFFFFF` : '#384bff')};
475+
476+
svg path {
477+
stroke: ${({ $isWhite }) => ($isWhite ? ` #7a818b` : '#FFFFFF')};
478+
}
479+
`
480+
481+
export const DropdownItem = styled.div<{ $isActiveVersion?: boolean }>`
482+
font-size: 10px;
483+
font-weight: 400;
484+
text-align: right;
485+
color: ${({ $isActiveVersion }) => ($isActiveVersion ? `#384BFF` : '#7a818b')};
486+
padding: 4px;
487+
488+
&:hover {
489+
background: #1879ce1a;
490+
color: #384bff;
491+
}
492+
`

0 commit comments

Comments
 (0)