Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ffe5663

Browse files
authoredApr 3, 2024··
Merge pull request #795 from raheeliftikhar5/upgrade-sdk-and-comps-version
Upgrade sdk/comps version + Added custom_components file in webpack sdk bundle
2 parents ad59ea1 + 879c916 commit ffe5663

File tree

13 files changed

+11060
-25
lines changed

13 files changed

+11060
-25
lines changed
 

‎client/packages/lowcoder-comps/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lowcoder-comps",
3-
"version": "0.0.27",
3+
"version": "0.0.28",
44
"type": "module",
55
"license": "MIT",
66
"dependencies": {

‎client/packages/lowcoder-design/src/components/ScrollBar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React from "react";
22
import SimpleBar from "simplebar-react";
3-
import 'simplebar-react/dist/simplebar.min.css';
43
import styled from "styled-components";
54
import { DebouncedFunc } from 'lodash'; // Assuming you're using lodash's DebouncedFunc type
65

6+
// import 'simplebar-react/dist/simplebar.min.css';
77

88
const ScrollBarWrapper = styled.div<{ $hideplaceholder?: boolean }>`
99
min-height: 0;

‎client/packages/lowcoder-sdk-webpack-bundle/LICENSE

+661
Large diffs are not rendered by default.

‎client/packages/lowcoder-sdk-webpack-bundle/index.html

-18
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,6 @@ <h1>App 1</h1>
3030
/>
3131
<div class="lowcoder-module-display"></div>
3232
</div>
33-
<!--* App 1 End *-->
34-
<h1>App 2</h1>
35-
<!--* App 2 Start *-->
36-
<div class="lowcoder-module-container">
37-
<input type="hidden" class="module-id" value="644d3a19b5af567870e62c2a" />
38-
<input
39-
type="hidden"
40-
class="module-input"
41-
value='{"moduleInput1":"test"}'
42-
/>
43-
<input
44-
type="hidden"
45-
class="locoder-backend-url"
46-
value="https://api-service.lowcoder.cloud"
47-
/>
48-
<div class="lowcoder-module-display"></div>
49-
</div>
50-
<!--* App 2 End ** -->
5133

5234
<!--* Required Bundle Script ** -->
5335
<script src="./bundle.js"></script>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# The following redirect is intended for use with most SPAs that handle
2+
# routing internally.
3+
[[redirects]]
4+
from = "/*"
5+
to = "/index.html"
6+
status = 200
7+
8+
[[headers]]
9+
# Define which paths this specific [[headers]] block will cover.
10+
for = "/*"
11+
[headers.values]
12+
Access-Control-Allow-Origin = "*"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width,initial-scale=1" />
7+
<script src="./index_custom_component_files/babel.min.js"></script>
8+
<title>Custom Component</title>
9+
<script
10+
defer="defer"
11+
src="./index_custom_component_files/runtime.351a1318.js"
12+
></script>
13+
<script
14+
defer="defer"
15+
src="./index_custom_component_files/main.ca18aca8.js"
16+
></script>
17+
</head>
18+
<body></body>
19+
</html>

‎client/packages/lowcoder-sdk-webpack-bundle/src/custom_component/index_custom_component_files/babel.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)