@lowdefy/client 0.0.0-experimental-20240111121545 → 0.0.0-experimental-20240115131502
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.
- package/dist/BrandTag.js +2 -2
- package/package.json +6 -6
package/dist/BrandTag.js
CHANGED
|
@@ -22,7 +22,7 @@ const containerStyle = {
|
|
|
22
22
|
const brandStyle = {
|
|
23
23
|
flex: '0 1 auto',
|
|
24
24
|
contentAlign: 'middle',
|
|
25
|
-
padding:
|
|
25
|
+
padding: 4,
|
|
26
26
|
background: '#1990FF',
|
|
27
27
|
borderRadius: 6,
|
|
28
28
|
margin: 4
|
|
@@ -40,7 +40,7 @@ const textStyle = {
|
|
|
40
40
|
};
|
|
41
41
|
const checkEntitlement = async ({ setShowBranding })=>{
|
|
42
42
|
const license = await (await fetch('/api/license')).json();
|
|
43
|
-
setShowBranding(!license.entitlements.includes
|
|
43
|
+
setShowBranding(!license.entitlements.includes('NO_BRANDING'));
|
|
44
44
|
};
|
|
45
45
|
const BrandTag = ()=>{
|
|
46
46
|
const [showBranding, setShowBranding] = useState(false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/client",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-20240115131502",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lowdefy Client",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@ant-design/icons": "4.8.0",
|
|
37
|
-
"@lowdefy/block-utils": "0.0.0-experimental-
|
|
38
|
-
"@lowdefy/engine": "0.0.0-experimental-
|
|
39
|
-
"@lowdefy/helpers": "0.0.0-experimental-
|
|
40
|
-
"@lowdefy/layout": "0.0.0-experimental-
|
|
37
|
+
"@lowdefy/block-utils": "0.0.0-experimental-20240115131502",
|
|
38
|
+
"@lowdefy/engine": "0.0.0-experimental-20240115131502",
|
|
39
|
+
"@lowdefy/helpers": "0.0.0-experimental-20240115131502",
|
|
40
|
+
"@lowdefy/layout": "0.0.0-experimental-20240115131502",
|
|
41
41
|
"classnames": "2.3.2",
|
|
42
42
|
"react": "18.2.0",
|
|
43
43
|
"react-dom": "18.2.0"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@emotion/jest": "11.10.5",
|
|
47
47
|
"@jest/globals": "28.1.3",
|
|
48
|
-
"@lowdefy/jest-yaml-transform": "0.0.0-experimental-
|
|
48
|
+
"@lowdefy/jest-yaml-transform": "0.0.0-experimental-20240115131502",
|
|
49
49
|
"@swc/cli": "0.1.63",
|
|
50
50
|
"@swc/core": "1.3.99",
|
|
51
51
|
"@swc/jest": "0.2.29",
|