-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
146 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
8 changes: 3 additions & 5 deletions
8
...ages/form-render-react/src/index.style.ts → ...es/form-render-react/src/index.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
import { cij } from './cssinjs' | ||
|
||
export const formRender = cij` | ||
.formRender { | ||
--schema-render-color-description: #999; | ||
--schema-render-color-required-mark: #ff4d4f; | ||
--schema-render-color-warning: #faad14; | ||
--schema-render-color-error: #ff4d4f; | ||
|
||
font-size: 16px; | ||
font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'; | ||
` | ||
font-size: 16px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import FormRender from './FormRender' | ||
export { cij } from './cssinjs' | ||
|
||
export default FormRender | ||
|
||
|
56 changes: 27 additions & 29 deletions
56
...eact/src/itemLayouts/Horizontal/styles.ts → ...c/itemLayouts/Horizontal/index.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,57 @@ | ||
import { cij } from '../../cssinjs' | ||
|
||
export const main = cij` | ||
.main { | ||
display: flex; | ||
align-items: center; | ||
` | ||
} | ||
|
||
export const header = cij` | ||
flex: 0 0 100px; | ||
justify-content: flex-end; | ||
.header { | ||
display: flex; | ||
align-items: center; | ||
margin-right: 15px; | ||
justify-content: flex-end; | ||
flex: 0 0 100px; | ||
height: max-content; | ||
` | ||
margin-right: 15px; | ||
} | ||
|
||
export const title = cij` | ||
.title { | ||
word-break: break-all; | ||
` | ||
} | ||
|
||
export const mark = cij` | ||
.mark { | ||
margin-right: 4px; | ||
color: var(--schema-render-color-required-mark); | ||
position: relative; | ||
top: 2px; | ||
` | ||
} | ||
|
||
export const titleTooltip = cij` | ||
.titleTooltip { | ||
margin-left: 4px; | ||
position: relative; | ||
top: 1px; | ||
` | ||
} | ||
|
||
export const body = cij` | ||
.body { | ||
flex-grow: 1; | ||
` | ||
} | ||
|
||
export const footer = cij` | ||
word-break: break-all; | ||
.footer { | ||
padding-left: 115px; | ||
word-break: break-all; | ||
} | ||
|
||
&:empty { | ||
display: none; | ||
} | ||
` | ||
.footer:empty { | ||
display: none; | ||
} | ||
|
||
export const description = cij` | ||
.description { | ||
margin-top: 6px; | ||
color: var(--schema-render-color-description); | ||
` | ||
} | ||
|
||
export const errorMsg = cij` | ||
.errorMsg { | ||
margin-top: 6px; | ||
color: var(--schema-render-color-error); | ||
` | ||
} | ||
|
||
export const warningMsg = cij` | ||
.warningMsg { | ||
color: var(--schema-render-color-warning); | ||
` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 19 additions & 21 deletions
40
...-react/src/itemLayouts/Vertical/styles.ts → ...src/itemLayouts/Vertical/index.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,40 @@ | ||
import { cij } from '../../cssinjs' | ||
|
||
export const header = cij` | ||
.header { | ||
margin-bottom: 8px; | ||
` | ||
} | ||
|
||
export const title = cij` | ||
.title { | ||
word-break: break-all; | ||
` | ||
} | ||
|
||
export const mark = cij` | ||
.mark { | ||
margin-right: 4px; | ||
color: var(--schema-render-color-required-mark); | ||
position: relative; | ||
top: 2px; | ||
` | ||
} | ||
|
||
export const titleTooltip = cij` | ||
.titleTooltip { | ||
margin-left: 4px; | ||
` | ||
} | ||
|
||
export const footer = cij` | ||
.footer { | ||
word-break: break-all; | ||
} | ||
|
||
&:empty { | ||
display: none; | ||
} | ||
` | ||
.footer:empty { | ||
display: none; | ||
} | ||
|
||
export const description = cij` | ||
.description{ | ||
margin-top: 8px; | ||
color: var(--schema-render-color-description); | ||
` | ||
} | ||
|
||
export const errorMsg = cij` | ||
.errorMsg{ | ||
margin-top: 8px; | ||
color: var(--schema-render-color-error); | ||
` | ||
} | ||
|
||
export const warningMsg = cij` | ||
.warningMsg { | ||
color: var(--schema-render-color-warning); | ||
` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
declare module '*.module.css' |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.