Skip to content

Commit 81a7fed

Browse files
committed
[recover]
1 parent 20ce395 commit 81a7fed

File tree

168 files changed

+1880
-4886
lines changed

Some content is hidden

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

168 files changed

+1880
-4886
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "10:00"
8+
open-pull-requests-limit: 10

.github/workflows/node.js.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [16.x]
20+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v2
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
cache: 'npm'
29+
- run: npm ci
30+

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"npm": "8.1.2"
88
},
99
"dependencies": {
10-
"@dropzone-ui/react": "^6.4.2",
10+
"@dropzone-ui/react": "^6.5.1",
1111
"@dynamicss/dynamicss": "^2.1.0",
1212
"@emotion/react": "^11.6.0",
1313
"@emotion/styled": "^11.6.0",

src/Components/CodeGenerator/InteractiveCode.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ import {
1111
import React, { Fragment, useEffect, useState } from "react";
1212
import Autocomplete from "@mui/material/Autocomplete";
1313
import TextField from "@mui/material/TextField";
14-
/* import {
14+
import {
1515
Dropzone,
1616
FileItem,
1717
FullScreenPreview,
1818
VideoPreview,
19-
} from "@dropzone-ui/react"; */
20-
import { Dropzone, FileItem, FullScreenPreview, VideoPreview,} from "../../dropzone-ui";
19+
} from "@dropzone-ui/react";
20+
//import { Dropzone, FileItem, FullScreenPreview, VideoPreview,} from "../../dropzone-ui";
2121
import "./InteractiveCode.scss";
2222
import InteractiveGeneratedCode from "./InteractiveGeneratedCode";
2323
import ElevationSlider from "../../Pages/Components/FileItemProps/ElevationSlider";
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
import * as React from "react";
2+
import {
3+
Cancel,
4+
CheckCircle,
5+
Clean,
6+
Clear,
7+
Close,
8+
DoDisturb,
9+
Info,
10+
Person,
11+
PhotoCamera,
12+
PlayIcon,
13+
Remove,
14+
RemoveOutline,
15+
UploadDone,
16+
UploadError,
17+
UploadingProcess,
18+
ViewGrid,
19+
ViewList,
20+
Visibility,
21+
} from "../../mega-dropzone-ui/icons";
22+
23+
const IconList = (props) => {
24+
return (
25+
<div
26+
style={{
27+
width: "100%",
28+
height:"100%",
29+
display: "flex",
30+
flexWrap: "wrap",
31+
}}
32+
>
33+
<Cancel />
34+
<CheckCircle />
35+
<Clean />
36+
<Clear/>
37+
<Close />
38+
<DoDisturb />
39+
<Info />
40+
<Person />
41+
<PhotoCamera />
42+
<PlayIcon />
43+
<Remove />
44+
<RemoveOutline />
45+
<UploadDone />
46+
<UploadError />
47+
<UploadingProcess />
48+
<Visibility />
49+
<ViewGrid />
50+
<ViewList />
51+
</div>
52+
);
53+
};
54+
export default IconList;
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
import { Button } from "@mui/material";
2+
import * as React from "react";
3+
import FullScreen from "../../mega-dropzone-ui/previews/FullScreen/FullScreen";
4+
import ImagePreview from "../../mega-dropzone-ui/previews/ImagePreview/ImagePreview";
5+
6+
const Previews = (props) => {
7+
const [openFullscreen, setOpenFullScreen] = React.useState(false);
8+
const [openFullscreen2, setOpenFullScreen2] = React.useState(false);
9+
return (
10+
<div
11+
style={{
12+
width: "100%",
13+
height: "100%",
14+
display: "flex",
15+
flexWrap: "wrap",
16+
}}
17+
>
18+
<Button variant="contained" onClick={() => setOpenFullScreen(true)}>
19+
open1
20+
</Button>
21+
22+
<Button variant="contained" onClick={() => setOpenFullScreen2(true)}>
23+
open2
24+
</Button>
25+
26+
<ImagePreview
27+
alt="al anternative text"
28+
src="https://smedia.istockphoto.com/photos/hot-air-balloons-flying-over-the-botan-canyon-in-turkey-picture-id1297349747?b=1&k=20&m=1297349747&s=170667a&w=0&h=oH31fJty_4xWl_JQ4OIQWZKP8C6ji9Mz7L4XmEnbqRU=" />
29+
30+
<FullScreen
31+
open={openFullscreen}
32+
onClose={() => {
33+
setOpenFullScreen(false);
34+
}}
35+
>
36+
<div
37+
style={{
38+
position: "relative",
39+
color: "white",
40+
width: "100%",
41+
height: "100%",
42+
border: "1px dashed white",
43+
padding: "4%",
44+
}}
45+
>
46+
{" "}
47+
lo que seaaalo que seaaalo que seaaalo que seaaalo que seaaalo que
48+
seaaalo que seaaalo que seaaalo que seaaalo que seaaa
49+
</div>
50+
{/* <ImagePreview src="https://media.istockphoto.com/photos/hot-air-balloons-flying-over-the-botan-canyon-in-turkey-picture-id1297349747?b=1&k=20&m=1297349747&s=170667a&w=0&h=oH31fJty_4xWl_JQ4OIQWZKP8C6ji9Mz7L4XmEnbqRU=" /> */}
51+
</FullScreen>
52+
53+
<FullScreen
54+
open={openFullscreen2}
55+
onClose={() => {
56+
setOpenFullScreen2(false);
57+
}}
58+
>
59+
<ImagePreview src="https://media.istockphoto.com/photos/hot-air-balloons-flying-over-the-botan-canyon-in-turkey-picture-id1297349747?b=1&k=20&m=1297349747&s=170667a&w=0&h=oH31fJty_4xWl_JQ4OIQWZKP8C6ji9Mz7L4XmEnbqRU=" />
60+
</FullScreen>
61+
</div>
62+
);
63+
};
64+
export default Previews;

src/Pages/Lab/Lab.jsx

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,33 @@
11
import * as React from "react";
2+
import IconList from "../../Components/Dui_IconsList/IconList";
3+
import Previews from "../../Components/Dui_Previews/Previews";
24

3-
const Lab = props =>{
4-
return(
5-
<div>
6-
This is the lab
7-
</div>
8-
)
9-
}
10-
export default Lab;
5+
const Lab = (props) => {
6+
return (
7+
<div
8+
style={{
9+
width: "100%",
10+
height: "100%",
11+
display: "flex",
12+
flexDirection: "column",
13+
justifyContent: "stretch",
14+
alignContent: "center",
15+
//flexWrap: "wrap",
16+
}}
17+
>
18+
<h1>Lab</h1>
19+
<h2>Icons:</h2>
20+
<IconList />
21+
<h2>Previews:</h2>
22+
23+
<Previews />
24+
<h2>FileItem:</h2>
25+
<br />
26+
<h2>Avatar:</h2>
27+
<br />
28+
<h2>Dropzone:</h2>
29+
<br />
30+
</div>
31+
);
32+
};
33+
export default Lab;

0 commit comments

Comments
 (0)