Skip to content

Commit a8ced81

Browse files
committed
v1.1.6
feat: expose ref methods feat: refactor bottom res list feat(listView): make listView and moduleComp compatible feat: data change responder feat: snowflake fix: signature event change, table td height fix: can not input space in header format
1 parent eee0de4 commit a8ced81

File tree

86 files changed

+904
-517
lines changed

Some content is hidden

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

86 files changed

+904
-517
lines changed

client/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.5
1+
1.1.6

client/config/test/jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ const globals = {};
66
buildVars.forEach(({ name, defaultValue }) => {
77
globals[name] = process.env[name] || defaultValue;
88
});
9-
const isEE = process.env.REACT_APP_EDITION === "enterprise";
9+
const edition = process.env.REACT_APP_EDITION;
10+
const isEEGlobal = edition === "enterprise-global";
11+
const isEE = edition === "enterprise" || isEEGlobal;
1012
const dirname = currentDirName(import.meta.url);
1113

1214
export default {

client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"scripts": {
1313
"start": "yarn workspace openblocks start",
1414
"start:ee": "REACT_APP_EDITION=enterprise yarn workspace openblocks start",
15+
"start:ee-global": "REACT_APP_EDITION=enterprise-global yarn workspace openblocks start",
1516
"build": "yarn node ./scripts/build.js",
1617
"test": "jest",
1718
"prepare": "yarn workspace openblocks prepare",

client/packages/openblocks-design/src/components/audio.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CSSProperties } from "react";
2-
import { RefObject } from "react";
2+
import { Ref } from "react";
33
import ReactPlayer from "react-player";
44
import styled from "styled-components";
55

@@ -14,7 +14,7 @@ export function TacoAudio(props: {
1414
onEnded?: () => void;
1515
className?: string;
1616
style?: CSSProperties;
17-
audioRef?: RefObject<any>;
17+
audioRef?: Ref<ReactPlayer>;
1818
autoPlay?: boolean;
1919
loop?: boolean;
2020
}) {

client/packages/openblocks-design/src/components/eventHandler.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ const EventContent = styled.div`
5151

5252
const EventTitle = styled.div`
5353
${labelCss};
54+
line-height: normal;
5455
flex: 0 0 30%;
5556
margin-right: 8px;
5657
overflow: hidden;

client/packages/openblocks-design/src/components/form.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Form, Input, InputProps, Radio, Select, InputNumber, InputNumberProps } from "antd";
1+
import { Form, Input, InputNumber, InputNumberProps, InputProps, Radio, Select } from "antd";
22
import { ReactNode } from "react";
33
import { CheckBox } from "./checkBox";
44
import { CustomSelect } from "./customSelect";
@@ -72,6 +72,7 @@ const FormCheckbox = styled(CheckBox)`
7272

7373
const StartIcon = styled(Star)`
7474
margin-right: 4px;
75+
flex-shrink: 0;
7576
`;
7677
const LabelDiv = styled.div<{ width?: number }>`
7778
display: flex;
@@ -129,7 +130,7 @@ export const FormSection = styled.div<{ size?: FormSize }>`
129130

130131
export interface FormItemProps extends AntdFormItemProps {
131132
disabled?: boolean;
132-
label?: string;
133+
label?: ReactNode;
133134
required?: boolean;
134135
placeholder?: string;
135136
help?: ReactNode;
Lines changed: 7 additions & 0 deletions
Loading
Lines changed: 18 additions & 0 deletions
Loading
Lines changed: 9 additions & 0 deletions
Loading

client/packages/openblocks-design/src/icons/icon-signature.svg

Lines changed: 7 additions & 8 deletions
Loading

0 commit comments

Comments
 (0)