Merge branch 'develop' into fix-loading

This commit is contained in:
Sam 2021-08-26 09:20:23 +02:00 committed by GitHub
commit fd7b2925bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 79 additions and 324 deletions

View File

@ -33,14 +33,13 @@ const AlertBlock = ({ blockId, events, methods, properties }) => {
banner={properties.banner}
closable={properties.closable}
closeText={properties.closeText}
description={<RenderHtml html={properties.description} methods={methods} />}
description={
properties.description && <RenderHtml html={properties.description} methods={methods} />
}
id={blockId}
message={
properties.message ? (
<RenderHtml html={properties.message} methods={methods} />
) : (
!properties.description && <div style={{ height: '1.5175em' }}></div>
)
(properties.message && <RenderHtml html={properties.message} methods={methods} />) ||
(!properties.description && <div style={{ height: '1.5175em' }}></div>)
}
onClose={() => methods.triggerEvent({ name: 'onClose' })}
showIcon={properties.showIcon === false ? false : true}

View File

@ -8,16 +8,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "default",
"message": <div
style={
@ -43,16 +34,7 @@ Array [
"banner": undefined,
"closable": true,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.closable: true",
"message": <RenderHtml
html="Message closable true"
@ -82,16 +64,7 @@ Array [
"banner": undefined,
"closable": true,
"closeText": "Close Text",
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.closeText: Close Text",
"message": <RenderHtml
html="Message closable true"
@ -121,16 +94,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"icon": <IconBlock
basePath=""
blockId="properties.icon object_icon"
@ -192,16 +156,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"icon": <IconBlock
basePath=""
blockId="properties.icon string_icon"
@ -257,16 +212,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.message",
"message": <RenderHtml
html="Alert message - Completed!"
@ -296,16 +242,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: error",
"message": <RenderHtml
html="Alert message - error!"
@ -335,16 +272,7 @@ Array [
"banner": true,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: error banner: true",
"message": <RenderHtml
html="Alert message - error!"
@ -374,16 +302,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: error showIcon: false",
"message": <RenderHtml
html="Alert message - error!"
@ -413,16 +332,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: info",
"message": <RenderHtml
html="Alert message - info!"
@ -452,16 +362,7 @@ Array [
"banner": true,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: info banner: true",
"message": <RenderHtml
html="Alert message - info!"
@ -491,16 +392,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: info showIcon: false",
"message": <RenderHtml
html="Alert message - info!"
@ -530,16 +422,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: success",
"message": <RenderHtml
html="Alert message - success!"
@ -569,16 +452,7 @@ Array [
"banner": true,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: success banner: true",
"message": <RenderHtml
html="Alert message - success!"
@ -608,16 +482,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: success showIcon: false",
"message": <RenderHtml
html="Alert message - success!"
@ -647,16 +512,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: warning",
"message": <RenderHtml
html="Alert message - warning!"
@ -686,16 +542,7 @@ Array [
"banner": true,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: warning banner: true",
"message": <RenderHtml
html="Alert message - warning!"
@ -725,16 +572,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "properties.type: warning showIcon: false",
"message": <RenderHtml
html="Alert message - warning!"
@ -1594,16 +1432,7 @@ Array [
"banner": undefined,
"closable": undefined,
"closeText": undefined,
"description": <RenderHtml
methods={
Object {
"makeCssClass": [MockFunction],
"registerEvent": [Function],
"registerMethod": [Function],
"triggerEvent": [Function],
}
}
/>,
"description": undefined,
"id": "with message uses html",
"message": <RenderHtml
html=<div style="background:green;">

View File

@ -2,7 +2,7 @@
exports[`Render default - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description"
className="ant-alert ant-alert-info"
data-show={true}
>
<span
@ -20,10 +20,7 @@ exports[`Render default - value[0] 1`] = `
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"
/>
</svg>
</span>
@ -40,15 +37,13 @@ exports[`Render default - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.closable: true - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description ant-alert-closable"
className="ant-alert ant-alert-info ant-alert-closable"
data-show={true}
>
<span
@ -66,10 +61,7 @@ exports[`Render properties.closable: true - value[0] 1`] = `
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"
/>
</svg>
</span>
@ -82,9 +74,7 @@ exports[`Render properties.closable: true - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
<button
className="ant-alert-close-icon"
onClick={[Function]}
@ -116,7 +106,7 @@ exports[`Render properties.closable: true - value[0] 1`] = `
exports[`Render properties.closeText: Close Text - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description ant-alert-closable"
className="ant-alert ant-alert-info ant-alert-closable"
data-show={true}
>
<span
@ -134,10 +124,7 @@ exports[`Render properties.closeText: Close Text - value[0] 1`] = `
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"
/>
</svg>
</span>
@ -150,9 +137,7 @@ exports[`Render properties.closeText: Close Text - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
<button
className="ant-alert-close-icon"
onClick={[Function]}
@ -170,7 +155,7 @@ exports[`Render properties.closeText: Close Text - value[0] 1`] = `
exports[`Render properties.icon object - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description"
className="ant-alert ant-alert-info"
data-show={true}
>
<span
@ -204,15 +189,13 @@ exports[`Render properties.icon object - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.icon string - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description"
className="ant-alert ant-alert-info"
data-show={true}
>
<span
@ -246,15 +229,13 @@ exports[`Render properties.icon string - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.message - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description"
className="ant-alert ant-alert-info"
data-show={true}
>
<span
@ -272,10 +253,7 @@ exports[`Render properties.message - value[0] 1`] = `
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"
/>
</svg>
</span>
@ -288,15 +266,13 @@ exports[`Render properties.message - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: error - value[0] 1`] = `
<div
className="ant-alert ant-alert-error ant-alert-with-description"
className="ant-alert ant-alert-error"
data-show={true}
>
<span
@ -314,10 +290,7 @@ exports[`Render properties.type: error - value[0] 1`] = `
width="1em"
>
<path
d="M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"
/>
<path
d="M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"
/>
</svg>
</span>
@ -330,15 +303,13 @@ exports[`Render properties.type: error - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: error banner: true - value[0] 1`] = `
<div
className="ant-alert ant-alert-error ant-alert-with-description ant-alert-banner"
className="ant-alert ant-alert-error ant-alert-banner"
data-show={true}
>
<span
@ -356,10 +327,7 @@ exports[`Render properties.type: error banner: true - value[0] 1`] = `
width="1em"
>
<path
d="M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"
/>
<path
d="M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"
/>
</svg>
</span>
@ -372,15 +340,13 @@ exports[`Render properties.type: error banner: true - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: error showIcon: false - value[0] 1`] = `
<div
className="ant-alert ant-alert-error ant-alert-with-description ant-alert-no-icon"
className="ant-alert ant-alert-error ant-alert-no-icon"
data-show={true}
>
<span
@ -392,15 +358,13 @@ exports[`Render properties.type: error showIcon: false - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: info - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description"
className="ant-alert ant-alert-info"
data-show={true}
>
<span
@ -418,10 +382,7 @@ exports[`Render properties.type: info - value[0] 1`] = `
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"
/>
</svg>
</span>
@ -434,15 +395,13 @@ exports[`Render properties.type: info - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: info banner: true - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description ant-alert-banner"
className="ant-alert ant-alert-info ant-alert-banner"
data-show={true}
>
<span
@ -460,10 +419,7 @@ exports[`Render properties.type: info banner: true - value[0] 1`] = `
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"
/>
</svg>
</span>
@ -476,15 +432,13 @@ exports[`Render properties.type: info banner: true - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: info showIcon: false - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description ant-alert-no-icon"
className="ant-alert ant-alert-info ant-alert-no-icon"
data-show={true}
>
<span
@ -496,15 +450,13 @@ exports[`Render properties.type: info showIcon: false - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: success - value[0] 1`] = `
<div
className="ant-alert ant-alert-success ant-alert-with-description"
className="ant-alert ant-alert-success"
data-show={true}
>
<span
@ -522,10 +474,7 @@ exports[`Render properties.type: success - value[0] 1`] = `
width="1em"
>
<path
d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"
/>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"
/>
</svg>
</span>
@ -538,15 +487,13 @@ exports[`Render properties.type: success - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: success banner: true - value[0] 1`] = `
<div
className="ant-alert ant-alert-success ant-alert-with-description ant-alert-banner"
className="ant-alert ant-alert-success ant-alert-banner"
data-show={true}
>
<span
@ -564,10 +511,7 @@ exports[`Render properties.type: success banner: true - value[0] 1`] = `
width="1em"
>
<path
d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"
/>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"
/>
</svg>
</span>
@ -580,15 +524,13 @@ exports[`Render properties.type: success banner: true - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: success showIcon: false - value[0] 1`] = `
<div
className="ant-alert ant-alert-success ant-alert-with-description ant-alert-no-icon"
className="ant-alert ant-alert-success ant-alert-no-icon"
data-show={true}
>
<span
@ -600,15 +542,13 @@ exports[`Render properties.type: success showIcon: false - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: warning - value[0] 1`] = `
<div
className="ant-alert ant-alert-warning ant-alert-with-description"
className="ant-alert ant-alert-warning"
data-show={true}
>
<span
@ -626,10 +566,7 @@ exports[`Render properties.type: warning - value[0] 1`] = `
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"
/>
</svg>
</span>
@ -642,15 +579,13 @@ exports[`Render properties.type: warning - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: warning banner: true - value[0] 1`] = `
<div
className="ant-alert ant-alert-warning ant-alert-with-description ant-alert-banner"
className="ant-alert ant-alert-warning ant-alert-banner"
data-show={true}
>
<span
@ -668,10 +603,7 @@ exports[`Render properties.type: warning banner: true - value[0] 1`] = `
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"
/>
</svg>
</span>
@ -684,15 +616,13 @@ exports[`Render properties.type: warning banner: true - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
exports[`Render properties.type: warning showIcon: false - value[0] 1`] = `
<div
className="ant-alert ant-alert-warning ant-alert-with-description ant-alert-no-icon"
className="ant-alert ant-alert-warning ant-alert-no-icon"
data-show={true}
>
<span
@ -704,9 +634,7 @@ exports[`Render properties.type: warning showIcon: false - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;
@ -1508,7 +1436,7 @@ exports[`Render with description uses html - value[0] 1`] = `
exports[`Render with message uses html - value[0] 1`] = `
<div
className="ant-alert ant-alert-info ant-alert-with-description"
className="ant-alert ant-alert-info"
data-show={true}
>
<span
@ -1526,10 +1454,7 @@ exports[`Render with message uses html - value[0] 1`] = `
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
<path
d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"
/>
</svg>
</span>
@ -1542,9 +1467,7 @@ exports[`Render with message uses html - value[0] 1`] = `
</span>
<span
className="ant-alert-description"
>
</span>
/>
</div>
`;

View File

@ -625,6 +625,9 @@
- id: _gte
type: MenuLink
pageId: _gte
- id: _hash
type: MenuLink
pageId: _hash
- id: _if
type: MenuLink
pageId: _if

View File

@ -169,6 +169,7 @@
- _ref: operators/_global.yaml
- _ref: operators/_gt.yaml
- _ref: operators/_gte.yaml
- _ref: operators/_hash.yaml
- _ref: operators/_if.yaml
- _ref: operators/_if_none.yaml
- _ref: operators/_index.yaml