workflow icons added

replace icons with spectrum workflow icons 4.0.0

- design icons replaced
- nav items replaced

to do
- portal
- data grid
- automation canvas
This commit is contained in:
Joe 2024-12-09 09:32:51 +00:00
parent 799e44c0d8
commit f811d28d0b
159 changed files with 390 additions and 397 deletions

View File

@ -28,7 +28,7 @@
"dist" "dist"
], ],
"dependencies": { "dependencies": {
"@adobe/spectrum-css-workflow-icons": "1.2.1", "@adobe/spectrum-css-workflow-icons": "4.0.0",
"@budibase/shared-core": "0.0.0", "@budibase/shared-core": "0.0.0",
"@budibase/string-templates": "0.0.0", "@budibase/string-templates": "0.0.0",
"@spectrum-css/accordion": "3.0.24", "@spectrum-css/accordion": "3.0.24",

View File

@ -53,7 +53,7 @@
aria-hidden="true" aria-hidden="true"
aria-label={icon} aria-label={icon}
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
{/if} {/if}
{#if $$slots} {#if $$slots}

View File

@ -27,7 +27,7 @@
focusable="false" focusable="false"
aria-hidden="true" aria-hidden="true"
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
<div class="spectrum-Toast-body"> <div class="spectrum-Toast-body">
<div class="spectrum-Toast-content row-content"> <div class="spectrum-Toast-content row-content">

View File

@ -54,7 +54,7 @@
aria-hidden="true" aria-hidden="true"
aria-label={icon} aria-label={icon}
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
{/if} {/if}
{#if $$slots && !reverse} {#if $$slots && !reverse}

View File

@ -24,7 +24,7 @@
<Button <Button
bind:ref={anchor} bind:ref={anchor}
{size} {size}
icon="ChevronDown" icon="chevron-down-size300"
{quiet} {quiet}
primary={quiet} primary={quiet}
cta={!quiet} cta={!quiet}

View File

@ -22,7 +22,7 @@
<div class="property-group-name" on:click={onHeaderClick}> <div class="property-group-name" on:click={onHeaderClick}>
<div class="name">{name}</div> <div class="name">{name}</div>
{#if collapsible} {#if collapsible}
<Icon size="S" name={show ? "Remove" : "Add"} /> <Icon size="S" name={show ? "remove" : "add"} />
{/if} {/if}
</div> </div>
{/if} {/if}

View File

@ -90,7 +90,7 @@
</div> </div>
<div class="align arrow-alignment"> <div class="align arrow-alignment">
<Icon name="ChevronDown" /> <Icon name="chevron-down-size300" />
</div> </div>
</FancyField> </FancyField>

View File

@ -41,7 +41,7 @@
focusable="false" focusable="false"
aria-hidden="true" aria-hidden="true"
> >
<use xlink:href="#spectrum-icon-18-Alert" /> <use xlink:href="#icon-Alert" />
</svg> </svg>
{/if} {/if}
<input <input

View File

@ -13,7 +13,7 @@
enableTime={false} enableTime={false}
/> />
<div class="arrow"> <div class="arrow">
<Icon name="ChevronRight" /> <Icon name="chevron-right" />
</div> </div>
<CoreDatePicker <CoreDatePicker
value={toDate} value={toDate}

View File

@ -197,14 +197,14 @@
class:visible={selectedImageIdx > 0} class:visible={selectedImageIdx > 0}
on:click={navigateLeft} on:click={navigateLeft}
> >
<Icon name="ChevronLeft" /> <Icon name="chevron-left" />
</div> </div>
<div <div
class="nav right" class="nav right"
class:visible={selectedImageIdx < fileCount - 1} class:visible={selectedImageIdx < fileCount - 1}
on:click={navigateRight} on:click={navigateRight}
> >
<Icon name="ChevronRight" /> <Icon name="chevron-right" />
</div> </div>
{#if maximum !== 1} {#if maximum !== 1}
<div class="footer">File {selectedImageIdx + 1} of {fileCount}</div> <div class="footer">File {selectedImageIdx + 1} of {fileCount}</div>

View File

@ -114,9 +114,7 @@
hbsValue.length ? removeVariable() : openPopover() hbsValue.length ? removeVariable() : openPopover()
}} }}
> >
<use <use xlink:href={`#icon-${!hbsValue.length ? "Key" : "Close"}`} />
xlink:href={`#spectrum-icon-18-${!hbsValue.length ? "Key" : "Close"}`}
/>
</svg> </svg>
<input <input
@ -190,7 +188,7 @@
focusable="false" focusable="false"
aria-hidden="true" aria-hidden="true"
> >
<use xlink:href="#spectrum-icon-18-Add" /> <use xlink:href="#icon-Add" />
</svg> </svg>
<div class="primary-text">Add Variable</div> <div class="primary-text">Add Variable</div>
</div> </div>
@ -201,7 +199,7 @@
focusable="false" focusable="false"
aria-hidden="true" aria-hidden="true"
> >
<use xlink:href="#spectrum-icon-18-ArrowUp" /> <use xlink:href="#icon-order-one-up" />
</svg> </svg>
<div class="primary-text">Upgrade plan</div> <div class="primary-text">Upgrade plan</div>
</div> </div>

View File

@ -235,7 +235,7 @@
{#if option.tag} {#if option.tag}
<span class="option-tag"> <span class="option-tag">
<Tags> <Tags>
<Tag icon="LockClosed">{option.tag}</Tag> <Tag icon="lock">{option.tag}</Tag>
</Tags> </Tags>
</span> </span>
{/if} {/if}

View File

@ -120,7 +120,7 @@
style="color: {iconData?.color}" style="color: {iconData?.color}"
focusable="false" focusable="false"
> >
<use xlink:href="#spectrum-icon-18-{iconData?.icon}" /> <use xlink:href="#icon-{iconData?.icon}" />
</svg> </svg>
{/if} {/if}
<input <input

View File

@ -52,7 +52,7 @@
focusable="false" focusable="false"
aria-hidden="true" aria-hidden="true"
> >
<use xlink:href="#spectrum-icon-18-Magnify" /> <use xlink:href="#icon-search" />
</svg> </svg>
<input <input
{disabled} {disabled}

View File

@ -21,7 +21,7 @@
<div class="error">{error}</div> <div class="error">{error}</div>
{:else if helpText} {:else if helpText}
<div class="helpText"> <div class="helpText">
<Icon name="HelpOutline" /> <span>{helpText}</span> <Icon name="help-circle" /> <span>{helpText}</span>
</div> </div>
{/if} {/if}
</div> </div>

View File

@ -5,7 +5,7 @@
TooltipType, TooltipType,
} from "../Tooltip/AbsTooltip.svelte" } from "../Tooltip/AbsTooltip.svelte"
export let name = "Add" export let name = "add"
export let hidden = false export let hidden = false
export let size = "M" export let size = "M"
export let hoverable = false export let hoverable = false
@ -45,7 +45,7 @@
> >
<use <use
style="pointer-events: none;" style="pointer-events: none;"
xlink:href="#spectrum-icon-18-{name}" xlink:href="#icon-{name.toLowerCase()}"
/> />
</svg> </svg>
</div> </div>

View File

@ -30,7 +30,7 @@
"Sandbox", "Sandbox",
"Project", "Project",
"Organisations", "Organisations",
"Magnify", "search",
"Launch", "Launch",
"Car", "Car",
"Camera", "Camera",

View File

@ -34,7 +34,7 @@
focusable="false" focusable="false"
aria-hidden="true" aria-hidden="true"
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
<div class="spectrum-InLineAlert-header">{header}</div> <div class="spectrum-InLineAlert-header">{header}</div>
<slot> <slot>

View File

@ -44,7 +44,7 @@
<div class="list-item__right"> <div class="list-item__right">
<slot name="right" /> <slot name="right" />
{#if showArrow} {#if showArrow}
<Icon name="ChevronRight" /> <Icon name="chevron-right" />
{/if} {/if}
</div> </div>
</a> </a>

View File

@ -21,7 +21,7 @@
focusable="false" focusable="false"
aria-hidden="true" aria-hidden="true"
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
{/if} {/if}
<div class="spectrum-Toast-body" class:actionBody={!!action}> <div class="spectrum-Toast-body" class:actionBody={!!action}>

View File

@ -38,7 +38,7 @@
focusable="false" focusable="false"
aria-hidden="true" aria-hidden="true"
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
{/if} {/if}
<slot /> <slot />

View File

@ -370,7 +370,7 @@
class="spectrum-Icon spectrum-Table-autoIcon" class="spectrum-Icon spectrum-Table-autoIcon"
focusable="false" focusable="false"
> >
<use xlink:href="#spectrum-icon-18-MagicWand" /> <use xlink:href="#icon-MagicWand" />
</svg> </svg>
{/if} {/if}
{#if sortColumn === field} {#if sortColumn === field}
@ -388,7 +388,7 @@
focusable="false" focusable="false"
on:click={e => editColumn(e, field)} on:click={e => editColumn(e, field)}
> >
<use xlink:href="#spectrum-icon-18-Edit" /> <use xlink:href="#icon-edit" />
</svg> </svg>
{/if} {/if}
</div> </div>
@ -462,7 +462,7 @@
class="spectrum-Icon spectrum-Icon--sizeXXL" class="spectrum-Icon spectrum-Icon--sizeXXL"
focusable="false" focusable="false"
> >
<use xlink:href="#spectrum-icon-18-Table" /> <use xlink:href="#icon-table" />
</svg> </svg>
<div>{placeholderText}</div> <div>{placeholderText}</div>
</div> </div>

View File

@ -84,7 +84,7 @@
aria-hidden="true" aria-hidden="true"
aria-label="Folder" aria-label="Folder"
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
{/if} {/if}
<span class="spectrum-Tabs-itemLabel">{title}</span> <span class="spectrum-Tabs-itemLabel">{title}</span>
@ -110,7 +110,7 @@
aria-hidden="true" aria-hidden="true"
aria-label="Folder" aria-label="Folder"
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
{/if} {/if}
<span class="spectrum-Tabs-itemLabel">{title}</span> <span class="spectrum-Tabs-itemLabel">{title}</span>

View File

@ -26,7 +26,7 @@
aria-hidden="true" aria-hidden="true"
aria-label="Tag" aria-label="Tag"
> >
<use xlink:href="#spectrum-icon-24-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
{/if} {/if}
<span class="spectrum-Tags-itemLabel"><slot /></span> <span class="spectrum-Tags-itemLabel"><slot /></span>

View File

@ -17,7 +17,7 @@
class:icon-small={size === "M" || size === "S"} class:icon-small={size === "M" || size === "S"}
on:focus on:focus
> >
<Icon name="InfoOutline" size="S" {disabled} hoverable /> <Icon name="info-circle" size="S" {disabled} hoverable />
</div> </div>
</AbsTooltip> </AbsTooltip>
</div> </div>

View File

@ -28,7 +28,7 @@
aria-hidden="true" aria-hidden="true"
aria-label="Layers" aria-label="Layers"
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
{/if} {/if}
<span class="spectrum-TreeView-itemLabel">{title}</span> <span class="spectrum-TreeView-itemLabel">{title}</span>

View File

@ -1,5 +1,5 @@
import SpectrumUIIcons from "@spectrum-css/icon/dist/spectrum-css-icons.svg?raw" import SpectrumUIIcons from "@spectrum-css/icon/dist/spectrum-css-icons.svg?raw"
import SpectrumWorkflowIcons from "@adobe/spectrum-css-workflow-icons/dist/spectrum-icons.svg?raw" import SpectrumWorkflowIcons from "@adobe/spectrum-css-workflow-icons/dist/assets/svg-spriteSheet/icons.svg?raw"
export default () => { export default () => {
loadIconSet("Spectrum UI Icons", SpectrumUIIcons) loadIconSet("Spectrum UI Icons", SpectrumUIIcons)

View File

@ -181,7 +181,7 @@
{#if isDisabled && !syncAutomationsEnabled && !triggerAutomationRunEnabled && lockedFeatures.includes(action.stepId)} {#if isDisabled && !syncAutomationsEnabled && !triggerAutomationRunEnabled && lockedFeatures.includes(action.stepId)}
<div class="tag-color"> <div class="tag-color">
<Tags> <Tags>
<Tag icon="LockClosed">Premium</Tag> <Tag icon="lock">Premium</Tag>
</Tags> </Tags>
</div> </div>
{:else if isDisabled} {:else if isDisabled}

View File

@ -160,7 +160,7 @@
tooltipPosition={TooltipPosition.Top} tooltipPosition={TooltipPosition.Top}
hoverable hoverable
disabled={branchIdx == 0} disabled={branchIdx == 0}
name="ArrowLeft" name="chevron-left"
/> />
<Icon <Icon
on:click={() => { on:click={() => {
@ -175,7 +175,7 @@
tooltipPosition={TooltipPosition.Top} tooltipPosition={TooltipPosition.Top}
hoverable hoverable
disabled={isLast} disabled={isLast}
name="ArrowRight" name="chevron-right"
/> />
</div> </div>
</FlowItemHeader> </FlowItemHeader>
@ -193,7 +193,7 @@
</PropField> </PropField>
<div class="footer"> <div class="footer">
<Icon <Icon
name="InfoOutline" name="info-circle"
size="S" size="S"
color="var(--spectrum-global-color-gray-700)" color="var(--spectrum-global-color-gray-700)"
/> />

View File

@ -85,8 +85,8 @@
<div class="zoom"> <div class="zoom">
<div class="group"> <div class="group">
<ActionButton icon="Add" quiet on:click={draggable.zoomIn} /> <ActionButton icon="zoom-in" quiet on:click={draggable.zoomIn} />
<ActionButton icon="Remove" quiet on:click={draggable.zoomOut} /> <ActionButton icon="zoom-out" quiet on:click={draggable.zoomOut} />
</div> </div>
</div> </div>
@ -101,7 +101,6 @@
</div> </div>
<div class="controls"> <div class="controls">
<Button <Button
icon={"Play"}
cta cta
disabled={!automation?.definition?.trigger} disabled={!automation?.definition?.trigger}
on:click={() => { on:click={() => {
@ -111,7 +110,11 @@
Run test Run test
</Button> </Button>
<div class="buttons"> <div class="buttons">
<Icon disabled={!$automationStore.testResults} size="M" name="Multiple" /> <Icon
disabled={!$automationStore.testResults}
size="M"
name="list-multi-select"
/>
<div <div
class:disabled={!$automationStore.testResults} class:disabled={!$automationStore.testResults}
on:click={() => { on:click={() => {

View File

@ -234,7 +234,7 @@
style="color:var(--spectrum-global-color-gray-700);" style="color:var(--spectrum-global-color-gray-700);"
focusable="false" focusable="false"
> >
<use xlink:href="#spectrum-icon-18-Reuse" /> <use xlink:href="#icon-refresh" />
</svg> </svg>
<div class="iconAlign"> <div class="iconAlign">
<Detail size="S">Looping</Detail> <Detail size="S">Looping</Detail>
@ -243,17 +243,15 @@
<div class="blockTitle"> <div class="blockTitle">
<AbsTooltip type="negative" text="Remove looping"> <AbsTooltip type="negative" text="Remove looping">
<Icon <Icon on:click={removeLooping} hoverable name="delete" />
on:click={removeLooping}
hoverable
name="DeleteOutline"
/>
</AbsTooltip> </AbsTooltip>
<div style="margin-left: 10px;" on:click={() => {}}> <div style="margin-left: 10px;" on:click={() => {}}>
<Icon <Icon
hoverable hoverable
name={showLooping ? "ChevronDown" : "ChevronUp"} name={showLooping
? "chevron-down-size300"
: "chevron-right"}
/> />
</div> </div>
</div> </div>
@ -324,7 +322,7 @@
<InfoDisplay <InfoDisplay
title={triggerInfo.title} title={triggerInfo.title}
body="This trigger is tied to your '{triggerInfo.tableName}' table" body="This trigger is tied to your '{triggerInfo.tableName}' table"
icon="InfoOutline" icon="info-circle"
/> />
{/if} {/if}
</Layout> </Layout>

View File

@ -17,7 +17,7 @@
{#if !block.branchNode} {#if !block.branchNode}
<Icon <Icon
hoverable hoverable
name="Branch3" name="share-android"
on:click={() => { on:click={() => {
dispatch("branch") dispatch("branch")
}} }}
@ -29,7 +29,7 @@
{/if} {/if}
<Icon <Icon
hoverable hoverable
name="AddCircle" name="add-circle"
on:click={() => { on:click={() => {
actionModal.show() actionModal.show()
}} }}

View File

@ -128,7 +128,7 @@
style="color:var(--spectrum-global-color-gray-700);" style="color:var(--spectrum-global-color-gray-700);"
focusable="false" focusable="false"
> >
<use xlink:href="#spectrum-icon-18-{block.icon}" /> <use xlink:href="#icon-{block.icon}" />
</svg> </svg>
{/if} {/if}
<div class="iconAlign"> <div class="iconAlign">
@ -186,7 +186,7 @@
dispatch("toggle") dispatch("toggle")
}} }}
hoverable hoverable
name={open ? "ChevronUp" : "ChevronDown"} name={open ? "chevron-down-size300" : "chevron-right"}
/> />
</div> </div>
{/if} {/if}
@ -201,12 +201,12 @@
{#if !showTestStatus} {#if !showTestStatus}
{#if !isHeaderTrigger && !isLooped && !isBranch && (block?.features?.[Features.LOOPING] || !block.features)} {#if !isHeaderTrigger && !isLooped && !isBranch && (block?.features?.[Features.LOOPING] || !block.features)}
<AbsTooltip type="info" text="Add looping"> <AbsTooltip type="info" text="Add looping">
<Icon on:click={addLooping} hoverable name="RotateCW" /> <Icon on:click={addLooping} hoverable name="rotate-cw" />
</AbsTooltip> </AbsTooltip>
{/if} {/if}
{#if !isHeaderTrigger} {#if !isHeaderTrigger}
<AbsTooltip type="negative" text="Delete step"> <AbsTooltip type="negative" text="Delete step">
<Icon on:click={deleteStep} hoverable name="DeleteOutline" /> <Icon on:click={deleteStep} hoverable name="delete" />
</AbsTooltip> </AbsTooltip>
{/if} {/if}
{/if} {/if}
@ -220,7 +220,7 @@
dispatch("toggle") dispatch("toggle")
}} }}
hoverable hoverable
name={open ? "ChevronUp" : "ChevronDown"} name={open ? "chevron-down-size300" : "chevron-right"}
/> />
{/if} {/if}
</div> </div>
@ -228,7 +228,7 @@
<div class="error-container"> <div class="error-container">
<AbsTooltip type="negative" text={automationNameError}> <AbsTooltip type="negative" text={automationNameError}>
<div class="error-icon"> <div class="error-icon">
<Icon size="S" name="Alert" /> <Icon size="S" name="alert-triangle" />
</div> </div>
</AbsTooltip> </AbsTooltip>
</div> </div>

View File

@ -61,7 +61,7 @@
{#if isBranch} {#if isBranch}
<div class="split-branch-btn"> <div class="split-branch-btn">
<ActionButton <ActionButton
icon="AddCircle" icon="add-circle"
on:click={() => { on:click={() => {
automationStore.actions.branchAutomation(pathToCurrentNode, automation) automationStore.actions.branchAutomation(pathToCurrentNode, automation)
}} }}

View File

@ -119,7 +119,7 @@
selectedBy={$userSelectedResourceMap[automation._id]} selectedBy={$userSelectedResourceMap[automation._id]}
disabled={automation.disabled} disabled={automation.disabled}
> >
<Icon on:click={openContextMenu} size="S" hoverable name="MoreSmallList" /> <Icon on:click={openContextMenu} size="S" hoverable name="more" />
</NavItem> </NavItem>
<ConfirmDialog <ConfirmDialog

View File

@ -61,7 +61,7 @@
target="_blank" target="_blank"
href="https://docs.budibase.com/docs/automation-steps" href="https://docs.budibase.com/docs/automation-steps"
> >
<Icon name="InfoOutline" /> <Icon name="info-circle" />
<span>Learn about automations</span> <span>Learn about automations</span>
</a> </a>
</ModalContent> </ModalContent>

View File

@ -695,7 +695,7 @@
"_blank" "_blank"
)} )}
size="XS" size="XS"
name="InfoOutline" name="info-circle"
/> />
{/if} {/if}
</div> </div>

View File

@ -302,7 +302,7 @@
bind:this={popoverAnchor} bind:this={popoverAnchor}
> >
<ActionButton <ActionButton
icon="Add" icon="add"
fullWidth fullWidth
on:click={() => { on:click={() => {
customPopover.show() customPopover.show()

View File

@ -92,7 +92,7 @@
/> />
</div> </div>
{/each} {/each}
<Button quiet secondary icon="Add" on:click={addField}>Add field</Button> <Button quiet secondary icon="add" on:click={addField}>Add field</Button>
</div> </div>
<style> <style>

View File

@ -71,7 +71,7 @@
target="_blank" target="_blank"
href="https://docs.budibase.com/docs/trigger" href="https://docs.budibase.com/docs/trigger"
> >
<Icon name="InfoOutline" /> <Icon name="info-circle" />
<span>Learn about webhooks</span> <span>Learn about webhooks</span>
</a> </a>
</ModalContent> </ModalContent>

View File

@ -52,7 +52,7 @@
<DetailPopover title="Import data" bind:this={popover}> <DetailPopover title="Import data" bind:this={popover}>
<svelte:fragment slot="anchor" let:open> <svelte:fragment slot="anchor" let:open>
<ActionButton <ActionButton
icon="DataUpload" icon="upload"
quiet quiet
on:click={openPopover} on:click={openPopover}
{disabled} {disabled}

View File

@ -128,7 +128,7 @@
<DetailPopover title="Select access role" {showPopover}> <DetailPopover title="Select access role" {showPopover}>
<svelte:fragment slot="anchor" let:open> <svelte:fragment slot="anchor" let:open>
<ActionButton <ActionButton
icon="LockClosed" icon="lock"
selected={open || highlight} selected={open || highlight}
quiet quiet
accentColor={highlight ? "#ff0000" : null} accentColor={highlight ? "#ff0000" : null}

View File

@ -193,7 +193,7 @@
relationshipPanelAnchor = e.currentTarget relationshipPanelAnchor = e.currentTarget
}} }}
size="S" size="S"
icon="ChevronRight" icon="chevron-right"
quiet quiet
selected={relationshipFieldName === column.name} selected={relationshipFieldName === column.name}
/> />

View File

@ -136,7 +136,7 @@
<div> <div>
<ListItem <ListItem
title="Row is created" title="Row is created"
icon="TableRowAddBottom" icon="add"
hoverable hoverable
on:click={() => createAutomation(TriggerStepID.ROW_SAVED)} on:click={() => createAutomation(TriggerStepID.ROW_SAVED)}
iconColor="var(--spectrum-global-color-gray-600)" iconColor="var(--spectrum-global-color-gray-600)"
@ -145,7 +145,7 @@
<div> <div>
<ListItem <ListItem
title="Row is updated" title="Row is updated"
icon="Refresh" icon="refresh"
hoverable hoverable
on:click={() => createAutomation(TriggerStepID.ROW_UPDATED)} on:click={() => createAutomation(TriggerStepID.ROW_UPDATED)}
iconColor="var(--spectrum-global-color-gray-600)" iconColor="var(--spectrum-global-color-gray-600)"

View File

@ -29,7 +29,7 @@
<DetailPopover title="Screens" bind:this={popover}> <DetailPopover title="Screens" bind:this={popover}>
<svelte:fragment slot="anchor" let:open> <svelte:fragment slot="anchor" let:open>
<ActionButton <ActionButton
icon="WebPage" icon="web-page"
selected={open || screenCount} selected={open || screenCount}
quiet quiet
accentColor="#364800" accentColor="#364800"
@ -52,7 +52,7 @@
</List> </List>
{/if} {/if}
<div> <div>
<Button secondary icon="WebPage" on:click={generateScreen}> <Button secondary icon="web-page" on:click={generateScreen}>
Generate app screen Generate app screen
</Button> </Button>
</div> </div>

View File

@ -12,7 +12,7 @@
</script> </script>
<div bind:this={anchor}> <div bind:this={anchor}>
<ActionButton on:click={() => (open = true)} icon="Help" quiet> <ActionButton on:click={() => (open = true)} icon="help-circle" quiet>
Why can't I edit this table? Why can't I edit this table?
</ActionButton> </ActionButton>
</div> </div>

View File

@ -190,7 +190,7 @@
<DetailPopover bind:this={popover} title="Configure calculations" width={480}> <DetailPopover bind:this={popover} title="Configure calculations" width={480}>
<svelte:fragment slot="anchor" let:open> <svelte:fragment slot="anchor" let:open>
<ActionButton icon="WebPage" quiet on:click={openPopover} selected={open}> <ActionButton icon="web-page" quiet on:click={openPopover} selected={open}>
Configure calculations{count ? `: ${count}` : ""} Configure calculations{count ? `: ${count}` : ""}
</ActionButton> </ActionButton>
</svelte:fragment> </svelte:fragment>
@ -231,7 +231,7 @@
<div class="buttons"> <div class="buttons">
<ActionButton <ActionButton
quiet quiet
icon="Add" icon="add"
on:click={addCalc} on:click={addCalc}
disabled={calculations.length >= 5} disabled={calculations.length >= 5}
> >

View File

@ -645,7 +645,7 @@
type="info" type="info"
text={"Rich text includes support for images, link"} text={"Rich text includes support for images, link"}
> >
<Icon size="XS" name="InfoOutline" /> <Icon size="XS" name="info-circle" />
</AbsTooltip> </AbsTooltip>
</div> </div>
@ -698,7 +698,7 @@
? null ? null
: "We recommend not changing how timezones are handled for existing columns, as existing data will not be updated"} : "We recommend not changing how timezones are handled for existing columns, as existing data will not be updated"}
> >
<Icon size="XS" name="InfoOutline" /> <Icon size="XS" name="info-circle" />
</AbsTooltip> </AbsTooltip>
</div> </div>
<Toggle <Toggle

View File

@ -161,7 +161,7 @@
{/each} {/each}
</div> </div>
<div on:click={addNewInput} class="add-option"> <div on:click={addNewInput} class="add-option">
<Icon name="Add" /> <Icon name="add" />
<div>Add option</div> <div>Add option</div>
</div> </div>
</div> </div>

View File

@ -67,7 +67,7 @@
/> />
</div> </div>
{#if datasource._id !== BUDIBASE_INTERNAL_DB_ID} {#if datasource._id !== BUDIBASE_INTERNAL_DB_ID}
<Icon on:click={openContextMenu} size="S" hoverable name="MoreSmallList" /> <Icon on:click={openContextMenu} size="S" hoverable name="more" />
{/if} {/if}
</NavItem> </NavItem>
<UpdateDatasourceModal {datasource} bind:this={editModal} /> <UpdateDatasourceModal {datasource} bind:this={editModal} />

View File

@ -68,7 +68,7 @@
<div class="hierarchy-items-container"> <div class="hierarchy-items-container">
{#if showAppUsersTable} {#if showAppUsersTable}
<NavItem <NavItem
icon="UserGroup" icon="user-group"
text={appUsersTableName} text={appUsersTableName}
selected={$isActive("./table/:tableId") && selected={$isActive("./table/:tableId") &&
$tables.selected?._id === TableNames.USERS} $tables.selected?._id === TableNames.USERS}
@ -77,7 +77,7 @@
/> />
{/if} {/if}
<NavItem <NavItem
icon="UserAdmin" icon="users-lock"
text="Manage roles" text="Manage roles"
selected={$isActive("./roles")} selected={$isActive("./roles")}
on:click={() => $goto("./roles")} on:click={() => $goto("./roles")}

View File

@ -87,7 +87,7 @@
on:click={() => goto(`./query/${query._id}`)} on:click={() => goto(`./query/${query._id}`)}
selectedBy={$userSelectedResourceMap[query._id]} selectedBy={$userSelectedResourceMap[query._id]}
> >
<Icon size="S" hoverable name="MoreSmallList" on:click={openContextMenu} /> <Icon size="S" hoverable name="more" on:click={openContextMenu} />
</NavItem> </NavItem>
<ConfirmDialog <ConfirmDialog

View File

@ -11,12 +11,12 @@
<div class="control top-right"> <div class="control top-right">
<div class="group"> <div class="group">
<ActionButton <ActionButton
icon="Add" icon="zoom-in"
quiet quiet
on:click={() => flow.zoomIn({ duration: ZoomDuration })} on:click={() => flow.zoomIn({ duration: ZoomDuration })}
/> />
<ActionButton <ActionButton
icon="Remove" icon="zoom-out"
quiet quiet
on:click={() => flow.zoomOut({ duration: ZoomDuration })} on:click={() => flow.zoomOut({ duration: ZoomDuration })}
/> />
@ -24,7 +24,7 @@
<Button secondary on:click={layoutAndFit}>Auto layout</Button> <Button secondary on:click={layoutAndFit}>Auto layout</Button>
</div> </div>
<div class="control bottom-right"> <div class="control bottom-right">
<Button icon="Add" cta on:click={createRole}>Add role</Button> <Button icon="add" cta on:click={createRole}>Add role</Button>
</div> </div>
<style> <style>

View File

@ -61,7 +61,7 @@
on:click on:click
> >
{#if table._id !== TableNames.USERS} {#if table._id !== TableNames.USERS}
<Icon s on:click={openContextMenu} hoverable name="MoreSmallList" /> <Icon s on:click={openContextMenu} hoverable name="more" />
{/if} {/if}
</NavItem> </NavItem>
<EditModal {table} bind:this={editModal} /> <EditModal {table} bind:this={editModal} />

View File

@ -84,7 +84,7 @@
{ {
type: "Support", type: "Support",
name: "Raise Github Discussion", name: "Raise Github Discussion",
icon: "Help", icon: "help-circle",
action: () => action: () =>
window.open(`https://github.com/Budibase/budibase/discussions/new`), window.open(`https://github.com/Budibase/budibase/discussions/new`),
}, },
@ -130,7 +130,7 @@
...$sortedScreens.map(screen => ({ ...$sortedScreens.map(screen => ({
type: "Screen", type: "Screen",
name: screen.routing.route, name: screen.routing.route,
icon: "WebPage", icon: "web-page",
action: () => { action: () => {
$goto(`./design/${screen._id}/${screen._id}-screen`) $goto(`./design/${screen._id}/${screen._id}-screen`)
}, },

View File

@ -54,7 +54,7 @@ const toSpectrumIcon = name => {
aria-label="${name}-section-icon" aria-label="${name}-section-icon"
style="color:var(--spectrum-global-color-gray-700)" style="color:var(--spectrum-global-color-gray-700)"
> >
<use style="pointer-events: none;" xlink:href="#spectrum-icon-18-${name}" /> <use style="pointer-events: none;" xlink:href="#icon-${name}" />
</svg>` </svg>`
} }

View File

@ -68,7 +68,7 @@
class="addButton" class="addButton"
class:rotate={search} class:rotate={search}
> >
<Icon name="Add" hoverable hoverColor="var(--ink)" /> <Icon name="add" hoverable hoverColor="var(--ink)" />
</div> </div>
</div> </div>

View File

@ -104,7 +104,7 @@
class="icon arrow" class="icon arrow"
on:click={onIconClick} on:click={onIconClick}
> >
<Icon size="S" name="ChevronRight" /> <Icon size="S" name="chevron-right" />
</div> </div>
{/if} {/if}

View File

@ -28,7 +28,7 @@
style="color: white" style="color: white"
focusable="false" focusable="false"
> >
<use xlink:href="#spectrum-icon-18-{icon}" /> <use xlink:href="#icon-{icon}" />
</svg> </svg>
</div> </div>
<div class={overlayEnabled ? "template-thumbnail-action-overlay" : ""}> <div class={overlayEnabled ? "template-thumbnail-action-overlay" : ""}>

View File

@ -37,13 +37,13 @@
{#if showButtonGroup} {#if showButtonGroup}
<div class="group"> <div class="group">
<ActionButton <ActionButton
icon="Undo" icon="undo"
quiet quiet
on:click={store.undo} on:click={store.undo}
disabled={!$store.canUndo} disabled={!$store.canUndo}
/> />
<ActionButton <ActionButton
icon="Redo" icon="redo"
quiet quiet
on:click={store.redo} on:click={store.redo}
disabled={!$store.canRedo} disabled={!$store.canRedo}
@ -51,13 +51,13 @@
</div> </div>
{:else} {:else}
<Icon <Icon
name="Undo" name="undo"
hoverable hoverable
on:click={store.undo} on:click={store.undo}
disabled={!$store.canUndo} disabled={!$store.canUndo}
/> />
<Icon <Icon
name="Redo" name="redo"
hoverable hoverable
on:click={store.redo} on:click={store.redo}
disabled={!$store.canRedo} disabled={!$store.canRedo}

View File

@ -52,7 +52,7 @@
JavaScript: "JavaScript", JavaScript: "JavaScript",
} }
const SidePanels = { const SidePanels = {
Bindings: "FlashOn", Bindings: "effects",
Evaluation: "Play", Evaluation: "Play",
Snippets: "Code", Snippets: "Code",
} }

View File

@ -158,7 +158,7 @@
{#if selectedCategory} {#if selectedCategory}
<div class="header"> <div class="header">
<Icon <Icon
name="BackAndroid" name="step-backward"
hoverable hoverable
size="S" size="S"
on:click={() => (selectedCategory = null)} on:click={() => (selectedCategory = null)}
@ -211,7 +211,7 @@
name={categoryIcons[categoryName]} name={categoryIcons[categoryName]}
/> />
<span class="category-name">{categoryName} </span> <span class="category-name">{categoryName} </span>
<span class="category-chevron"><Icon name="ChevronRight" /></span> <span class="category-chevron"><Icon name="chevron-right" /></span>
</li> </li>
{/each} {/each}
</ul> </ul>

View File

@ -73,7 +73,7 @@
/> />
{#if !disabled} {#if !disabled}
<div class="icon" on:click={bindingDrawer.show}> <div class="icon" on:click={bindingDrawer.show}>
<Icon size="S" name="FlashOn" /> <Icon size="S" name="effects" />
</div> </div>
{/if} {/if}
</div> </div>

View File

@ -83,7 +83,7 @@
bindingDrawer.show() bindingDrawer.show()
}} }}
> >
<Icon size="S" name="FlashOn" /> <Icon size="S" name="effects" />
</div> </div>
{/if} {/if}
</div> </div>

View File

@ -178,7 +178,7 @@
bindingDrawer.show() bindingDrawer.show()
}} }}
> >
<Icon size="S" name="FlashOn" /> <Icon size="S" name="effects" />
</div> </div>
{/if} {/if}
</div> </div>

View File

@ -131,7 +131,7 @@
<div class="title"> <div class="title">
Snippets Snippets
<Tags> <Tags>
<Tag icon="LockClosed">Premium</Tag> <Tag icon="lock">Premium</Tag>
</Tags> </Tags>
</div> </div>
{/if} {/if}

View File

@ -163,7 +163,7 @@
<div class="app-action" id="builder-app-users-button"> <div class="app-action" id="builder-app-users-button">
<ActionButton <ActionButton
quiet quiet
icon="UserGroup" icon="user-group"
on:click={() => { on:click={() => {
builderStore.showBuilderSidePanel() builderStore.showBuilderSidePanel()
}} }}
@ -179,7 +179,7 @@
<ActionButton <ActionButton
disabled={$sortedScreens.length === 0} disabled={$sortedScreens.length === 0}
quiet quiet
icon="PlayCircle" icon="play"
on:click={previewApp} on:click={previewApp}
> >
Preview Preview
@ -200,12 +200,14 @@
> >
<div bind:this={appActionPopoverAnchor}> <div bind:this={appActionPopoverAnchor}>
<div class="app-action"> <div class="app-action">
<Icon name={$appPublished ? "GlobeCheck" : "GlobeStrike"} /> <Icon name={$appPublished ? "publish" : "publish-no"} />
<TourWrap stepKeys={[TOUR_STEP_KEYS.BUILDER_APP_PUBLISH]}> <TourWrap stepKeys={[TOUR_STEP_KEYS.BUILDER_APP_PUBLISH]}>
<span class="publish-open" id="builder-app-publish-button"> <span class="publish-open" id="builder-app-publish-button">
Publish Publish
<Icon <Icon
name={appActionPopoverOpen ? "ChevronUp" : "ChevronDown"} name={appActionPopoverOpen
? "chevron-right"
: "chevron-down-size300"}
size="M" size="M"
/> />
</span> </span>
@ -239,7 +241,7 @@
> >
{$appStore.url} {$appStore.url}
{#if $appPublished} {#if $appPublished}
<Icon size="S" name="LinkOut" /> <Icon size="S" name="open-in" />
{/if} {/if}
</span> </span>
</Body> </Body>

View File

@ -58,7 +58,7 @@
</div> </div>
{#if showAddButton} {#if showAddButton}
<div class="add-button" on:click={onClickAddButton}> <div class="add-button" on:click={onClickAddButton}>
<Icon name="Add" /> <Icon name="add" />
</div> </div>
{/if} {/if}
{#if showCloseButton} {#if showCloseButton}

View File

@ -75,7 +75,7 @@
/> />
{/each} {/each}
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<Button icon="AddCircle" secondary on:click={addField}> <Button icon="add-circle" secondary on:click={addField}>
Add Add
{fieldLabel} {fieldLabel}
</Button> </Button>

View File

@ -155,7 +155,7 @@
{/if} {/if}
<div class="column"> <div class="column">
<div class="buttons wide"> <div class="buttons wide">
<Button secondary icon="Add" on:click={addColumn}>Add column</Button> <Button secondary icon="add" on:click={addColumn}>Add column</Button>
<Button secondary quiet on:click={addAllColumns}> <Button secondary quiet on:click={addAllColumns}>
Add all columns Add all columns
</Button> </Button>

View File

@ -32,7 +32,7 @@
<ActionButton <ActionButton
size="S" size="S"
secondary secondary
icon="ChevronLeft" icon="chevron-left"
disabled={currentStep === 0} disabled={currentStep === 0}
on:click={() => { on:click={() => {
stepAction("previousStep") stepAction("previousStep")
@ -44,7 +44,7 @@
size="S" size="S"
secondary secondary
disabled={currentStep === stepCount - 1} disabled={currentStep === stepCount - 1}
icon="ChevronRight" icon="chevron-right"
on:click={() => { on:click={() => {
stepAction("nextStep") stepAction("nextStep")
}} }}

View File

@ -52,7 +52,7 @@
</div> </div>
{/if} {/if}
<div> <div>
<Button icon="AddCircle" size="M" on:click={addOption} secondary> <Button icon="add-circle" size="M" on:click={addOption} secondary>
Add Option Add Option
</Button> </Button>
</div> </div>

View File

@ -9,7 +9,7 @@
<div> <div>
<Tags> <Tags>
<Tag icon="LockClosed">{title}</Tag> <Tag icon="lock">{title}</Tag>
</Tags> </Tags>
</div> </div>

View File

@ -280,7 +280,7 @@
</div> </div>
{/if} {/if}
<div> <div>
<Button secondary icon="Add" on:click={addCondition}> <Button secondary icon="add" on:click={addCondition}>
Add condition Add condition
</Button> </Button>
</div> </div>

View File

@ -378,7 +378,7 @@
</div> </div>
{/if} {/if}
<div class="button"> <div class="button">
<Button secondary icon="Add" on:click={addRule}>Add Rule</Button> <Button secondary icon="add" on:click={addRule}>Add Rule</Button>
</div> </div>
</Layout> </Layout>
</Layout> </Layout>

View File

@ -176,7 +176,7 @@
{#if menuItems?.length > 0 && showMenu} {#if menuItems?.length > 0 && showMenu}
<ActionMenu> <ActionMenu>
<div slot="control" class="control icon"> <div slot="control" class="control icon">
<Icon size="S" hoverable name="MoreSmallList" /> <Icon size="S" hoverable name="more" />
</div> </div>
{#each menuItems as item} {#each menuItems as item}
<MenuItem on:click={() => item.onClick(field)}> <MenuItem on:click={() => item.onClick(field)}>
@ -192,7 +192,7 @@
<div> <div>
<ActionButton <ActionButton
disabled={actionButtonDisabled} disabled={actionButtonDisabled}
icon="Add" icon="add"
secondary secondary
thin thin
outline outline

View File

@ -16,7 +16,7 @@
<Panel <Panel
showCloseButton showCloseButton
closeButtonIcon="RailRightClose" closeButtonIcon="step-forward"
onClickCloseButton={onClose} onClickCloseButton={onClose}
title="Query results" title="Query results"
icon={"SQLQuery"} icon={"SQLQuery"}

View File

@ -139,7 +139,7 @@
query.fields.steps[index].key query.fields.steps[index].key
query.fields.steps[index].key = target query.fields.steps[index].key = target
}} }}
icon="ChevronUp" icon="chevron-up"
/> />
{/if} {/if}
{#if index < query.fields.steps.length - 1} {#if index < query.fields.steps.length - 1}
@ -153,7 +153,7 @@
query.fields.steps[index].key query.fields.steps[index].key
query.fields.steps[index].key = target query.fields.steps[index].key = target
}} }}
icon="ChevronDown" icon="chevron-down-size300"
/> />
{/if} {/if}
</div> </div>
@ -201,7 +201,7 @@
<Icon <Icon
disabled={!editable} disabled={!editable}
hoverable hoverable
name="AddCircle" name="add-circle"
size="S" size="S"
readOnly={!editable} readOnly={!editable}
on:click={() => { on:click={() => {

View File

@ -9,7 +9,7 @@
<a href={url}> <a href={url}>
{text} {text}
</a> </a>
<Icon name="ChevronRight" /> <Icon name="chevron-right" />
</div> </div>
<style> <style>

View File

@ -111,12 +111,7 @@
</Button> </Button>
</div> </div>
<div class="row-action"> <div class="row-action">
<Icon <Icon on:click={openContextMenu} size="S" hoverable name="more" />
on:click={openContextMenu}
size="S"
hoverable
name="MoreSmallList"
/>
</div> </div>
{:else} {:else}
<!-- this can happen if an app builder has app user access to an app --> <!-- this can happen if an app builder has app user access to an app -->

View File

@ -18,29 +18,47 @@
let iconsList = [ let iconsList = [
"Apps", "Apps",
"Actions", "animation",
"ConversionFunnel", "interaction",
"App", "text-numbers",
"Briefcase", "Apps-all",
"Money", "briefcase",
"ShoppingCart", "shopping-cart",
"Form", "radio-button",
"Help", "Help-circle",
"Monitoring",
"Sandbox",
"Project", "Project",
"Organisations", "buildings",
"Magnify", "search",
"Launch", "promote",
"Car", "camera",
"Camera", "bug",
"Bug", "channel",
"Channel", "calendar",
"Calculator", "check-box",
"Calendar", "clock",
"GraphDonut", "collection",
"GraphBarHorizontal", "comment",
"Demographic", "community",
"data",
"email",
"emoji",
"file",
"filmstrip",
"flag",
"heart",
"image",
"lightbulb",
"lighten",
"logo",
"pattern",
"publish",
"ribbon",
"social-network",
"stamp-clone",
"star",
"table",
"template",
"web-page",
] ]
const save = async () => { const save = async () => {
@ -61,9 +79,17 @@
<!-- svelte-ignore a11y-no-static-element-interactions --> <!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-click-events-have-key-events --> <!-- svelte-ignore a11y-click-events-have-key-events -->
<ModalContent title="Edit Icon" confirmText="Save" onConfirm={save}> <ModalContent title="Edit Icon" confirmText="Save" onConfirm={save}>
<div class="color-selection">
<div>
<Label size="XL">Select a color</Label>
</div>
<div class="color-selection-item">
<ColorPicker bind:value={color} on:change={e => (color = e.detail)} />
</div>
</div>
<div class="scrollable-icons"> <div class="scrollable-icons">
<div class="title-spacing"> <div class="title-spacing">
<Label>Select an icon</Label> <Label size="XL">Select an icon</Label>
</div> </div>
<div class="grid"> <div class="grid">
{#each iconsList as item} {#each iconsList as item}
@ -72,50 +98,51 @@
class:selected={item === name} class:selected={item === name}
on:click={() => (name = item)} on:click={() => (name = item)}
> >
<Icon name={item} /> <Icon name={item} {color} size="XL" />
</div> </div>
{/each} {/each}
</div> </div>
</div> </div>
<div class="color-selection">
<div>
<Label>Select a color</Label>
</div>
<div class="color-selection-item">
<ColorPicker bind:value={color} on:change={e => (color = e.detail)} />
</div>
</div>
</ModalContent> </ModalContent>
<style> <style>
.scrollable-icons { .scrollable-icons {
overflow-y: auto; overflow-y: auto;
height: 230px; height: auto;
} }
.grid { .grid {
display: grid; display: grid;
grid-gap: 20px; grid-gap: 10px;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr; grid-template-columns: repeat(7, 1fr);
} }
.color-selection { .color-selection {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 12px;
} }
.color-selection-item { .color-selection-item {
margin-left: 20px; margin-left: 12px;
} }
.title-spacing { .title-spacing {
margin-bottom: 20px; margin-bottom: 12px;
} }
.icon-item { .icon-item {
cursor: pointer; cursor: pointer;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 6px;
border-radius: 8px;
border: 1px solid transparent;
} }
.icon-item.selected { .icon-item.selected {
color: var(--spectrum-global-color-blue-600); background-color: var(--spectrum-global-color-gray-200);
border: 1px solid var(--spectrum-global-color-gray-300);
} }
</style> </style>

View File

@ -15,7 +15,7 @@ const getAppContextMenuItems = ({
callback: onDuplicate, callback: onDuplicate,
}, },
{ {
icon: "Export", icon: "download",
name: "Export latest edited app", name: "Export latest edited app",
keyBind: null, keyBind: null,
visible: true, visible: true,
@ -23,7 +23,7 @@ const getAppContextMenuItems = ({
callback: onExportDev, callback: onExportDev,
}, },
{ {
icon: "Export", icon: "download",
name: "Export latest published app", name: "Export latest published app",
keyBind: null, keyBind: null,
visible: true, visible: true,

View File

@ -761,7 +761,7 @@ const getRoleBindings = () => {
runtimeBinding: `'${role._id}'`, runtimeBinding: `'${role._id}'`,
readableBinding: `Role.${role.uiMetadata.displayName}`, readableBinding: `Role.${role.uiMetadata.displayName}`,
category: "Role", category: "Role",
icon: "UserGroup", icon: "user-group",
display: { type: "string", name: role.uiMetadata.displayName }, display: { type: "string", name: role.uiMetadata.displayName },
} }
}) })

View File

@ -559,7 +559,7 @@
class="header" class="header"
> >
{#if invitingFlow} {#if invitingFlow}
<Icon name="BackAndroid" /> <Icon name="step-backward" />
{/if} {/if}
<Heading size="S">{invitingFlow ? "Invite new user" : "Users"}</Heading> <Heading size="S">{invitingFlow ? "Invite new user" : "Users"}</Heading>
</div> </div>
@ -569,7 +569,7 @@
{/if} {/if}
<Icon <Icon
color="var(--spectrum-global-color-gray-600)" color="var(--spectrum-global-color-gray-600)"
name="RailRightClose" name="step-forward"
hoverable hoverable
on:click={() => { on:click={() => {
builderStore.hideBuilderSidePanel() builderStore.hideBuilderSidePanel()

View File

@ -134,7 +134,7 @@
{#if $appStore.initialised} {#if $appStore.initialised}
<div class="topleftnav"> <div class="topleftnav">
<a href={$url("../../portal/apps")} class="linkWrapper back-to-apps"> <a href={$url("../../portal/apps")} class="linkWrapper back-to-apps">
<Icon size="S" hoverable name="BackAndroid" /> <Icon size="XL" hoverable name="home" />
</a> </a>
<Tabs {selected} size="M"> <Tabs {selected} size="M">
{#each $layout.children as { path, title }} {#each $layout.children as { path, title }}
@ -204,8 +204,7 @@
display: contents; display: contents;
} }
.back-to-apps :global(.icon) { .back-to-apps :global(.icon) {
margin-left: 12px; margin-right: 10px;
margin-right: 12px;
} }
.loading { .loading {
min-height: 100%; min-height: 100%;

View File

@ -57,7 +57,7 @@
class="spectrum-Icon" class="spectrum-Icon"
focusable="false" focusable="false"
> >
<use xlink:href="#spectrum-icon-18-WorkflowAdd" /> <use xlink:href="#icon-add" />
</svg> </svg>
<Heading size="M">You have no automations</Heading> <Heading size="M">You have no automations</Heading>
<Body size="M">Let's fix that. Call the bots!</Body> <Body size="M">Let's fix that. Call the bots!</Body>

View File

@ -70,7 +70,7 @@
/> />
{/if} {/if}
<div> <div>
<ActionButton on:click={() => openConfigModal()} icon="Add" <ActionButton on:click={() => openConfigModal()} icon="add"
>Add authentication</ActionButton >Add authentication</ActionButton
> >
</div> </div>

View File

@ -46,7 +46,7 @@
bindings={restBindings} bindings={restBindings}
/> />
<div> <div>
<ActionButton icon="Add" on:click={() => addHeader.addEntry()}> <ActionButton icon="add" on:click={() => addHeader.addEntry()}>
Add header Add header
</ActionButton> </ActionButton>
</div> </div>

View File

@ -63,7 +63,7 @@
{:else} {:else}
<div class="icon" class:open> <div class="icon" class:open>
<Icon <Icon
name="Add" name="add"
size="L" size="L"
color="var(--spectrum-global-color-gray-600)" color="var(--spectrum-global-color-gray-600)"
/> />
@ -78,7 +78,7 @@
hoverable hoverable
on:click={() => (calculation = false)} on:click={() => (calculation = false)}
selected={!calculation} selected={!calculation}
icon="Rail" icon="step-forward"
/> />
</div> </div>
<div> <div>

View File

@ -205,7 +205,7 @@
<Icon <Icon
on:click={openTableContextMenu} on:click={openTableContextMenu}
hoverable hoverable
name="MoreSmallList" name="more"
color="var(--spectrum-global-color-gray-600)" color="var(--spectrum-global-color-gray-600)"
hoverColor="var(--spectrum-global-color-gray-900)" hoverColor="var(--spectrum-global-color-gray-900)"
/> />
@ -231,7 +231,7 @@
<Icon <Icon
on:click={e => openViewContextMenu(e, view)} on:click={e => openViewContextMenu(e, view)}
hoverable hoverable
name="MoreSmallList" name="more"
color="var(--spectrum-global-color-gray-600)" color="var(--spectrum-global-color-gray-600)"
hoverColor="var(--spectrum-global-color-gray-900)" hoverColor="var(--spectrum-global-color-gray-900)"
/> />
@ -256,7 +256,7 @@
<Icon <Icon
on:click={e => openViewContextMenu(e, view)} on:click={e => openViewContextMenu(e, view)}
hoverable hoverable
name="MoreSmallList" name="more"
color="var(--spectrum-global-color-gray-600)" color="var(--spectrum-global-color-gray-600)"
hoverColor="var(--spectrum-global-color-gray-900)" hoverColor="var(--spectrum-global-color-gray-900)"
/> />
@ -273,7 +273,11 @@
{#if overflowedViews.length} {#if overflowedViews.length}
<ActionMenu align="right" bind:this={overflowMenu}> <ActionMenu align="right" bind:this={overflowMenu}>
<div slot="control" let:open> <div slot="control" let:open>
<ActionButton icon="ChevronDown" quiet selected={open || viewHidden}> <ActionButton
icon="chevron-down-size300"
quiet
selected={open || viewHidden}
>
{overflowedViews.length} more {overflowedViews.length} more
</ActionButton> </ActionButton>
</div> </div>
@ -293,7 +297,7 @@
> >
<MenuItem icon={viewHidden ? "Checkmark" : null}> <MenuItem icon={viewHidden ? "Checkmark" : null}>
{view.name} {view.name}
<Icon slot="right" name="ChevronRight" /> <Icon slot="right" name="chevron-right" />
</MenuItem> </MenuItem>
</a> </a>
</div> </div>

View File

@ -280,7 +280,7 @@
<Body size="S">Add your first condition to get started.</Body> <Body size="S">Add your first condition to get started.</Body>
{/if} {/if}
<div> <div>
<Button secondary icon="Add" on:click={addCondition}> <Button secondary icon="add" on:click={addCondition}>
Add condition Add condition
</Button> </Button>
</div> </div>

View File

@ -3,7 +3,7 @@
export let title export let title
export let body export let body
export let icon = "HelpOutline" export let icon = "help-circle"
export let quiet = false export let quiet = false
export let warning = false export let warning = false
export let error = false export let error = false

View File

@ -94,7 +94,7 @@
</div> </div>
{/if} {/if}
<div> <div>
<ActionButton quiet icon="Add" on:click={addSubLink}> <ActionButton quiet icon="add" on:click={addSubLink}>
Add link Add link
</ActionButton> </ActionButton>
</div> </div>

View File

@ -25,13 +25,13 @@
import { getBindableProperties } from "dataBinding" import { getBindableProperties } from "dataBinding"
const positionOptions = [ const positionOptions = [
{ value: "Top", barIcon: "PaddingTop" }, { value: "Top", barIcon: "web-page" },
{ value: "Left", barIcon: "PaddingLeft" }, { value: "Left", barIcon: "layout" },
] ]
const alignmentOptions = [ const alignmentOptions = [
{ value: "Left", barIcon: "TextAlignLeft" }, { value: "Left", barIcon: "text-align-left" },
{ value: "Center", barIcon: "TextAlignCenter" }, { value: "Center", barIcon: "text-align-center" },
{ value: "Right", barIcon: "TextAlignRight" }, { value: "Right", barIcon: "text-align-right" },
] ]
const widthOptions = ["Max", "Large", "Medium", "Small"] const widthOptions = ["Max", "Large", "Medium", "Small"]

View File

@ -25,7 +25,7 @@
</script> </script>
<div class="info"> <div class="info">
<Icon name="InfoOutline" size="S" /> <Icon name="info-circle" size="S" />
<Body size="S">These settings apply to all screens</Body> <Body size="S">These settings apply to all screens</Body>
</div> </div>
<Layout noPadding gap="S"> <Layout noPadding gap="S">

View File

@ -13,7 +13,7 @@
{#if $selectedScreen} {#if $selectedScreen}
<Panel <Panel
title={$selectedScreen.routing.route} title={$selectedScreen.routing.route}
icon={$selectedScreen.routing.route === "/" ? "Home" : "WebPage"} icon={$selectedScreen.routing.route === "/" ? "Home" : "web-page"}
borderLeft borderLeft
wide wide
> >

View File

@ -289,7 +289,7 @@
class:active={isAddingComponent} class:active={isAddingComponent}
on:click={toggleAddComponent} on:click={toggleAddComponent}
> >
<Icon size="XL" name="Add">Component</Icon> <Icon size="XL" name="add">Component</Icon>
</div> </div>
</div> </div>
<ConfirmDialog <ConfirmDialog

View File

@ -138,7 +138,7 @@
<Icon <Icon
size="S" size="S"
hoverable hoverable
name="MoreSmallList" name="more"
on:click={e => openContextMenu(e, component, opened)} on:click={e => openContextMenu(e, component, opened)}
/> />
</NavItem> </NavItem>

View File

@ -24,23 +24,23 @@ const getContextMenuItems = (component, componentCollapsed) => {
{ {
icon: "Delete", icon: "Delete",
name: "Delete", name: "Delete",
keyBind: "!BackAndroid", keyBind: "",
visible: true, visible: true,
disabled: false, disabled: false,
callback: () => keyboardEvent("Delete"), callback: () => keyboardEvent("Delete"),
}, },
{ {
icon: "ChevronUp", icon: "order-one-up",
name: "Move up", name: "Move up",
keyBind: "Ctrl+!ArrowUp", keyBind: "Ctrl+",
visible: true, visible: true,
disabled: false, disabled: false,
callback: () => keyboardEvent("ArrowUp", true), callback: () => keyboardEvent("ArrowUp", true),
}, },
{ {
icon: "ChevronDown", icon: "order-one-down",
name: "Move down", name: "Move down",
keyBind: "Ctrl+!ArrowDown", keyBind: "Ctrl+",
visible: true, visible: true,
disabled: false, disabled: false,
callback: () => keyboardEvent("ArrowDown", true), callback: () => keyboardEvent("ArrowDown", true),
@ -70,7 +70,7 @@ const getContextMenuItems = (component, componentCollapsed) => {
callback: () => keyboardEvent("c", true), callback: () => keyboardEvent("c", true),
}, },
{ {
icon: "LayersSendToBack", icon: "paste",
name: "Paste", name: "Paste",
keyBind: "Ctrl+V", keyBind: "Ctrl+V",
visible: true, visible: true,
@ -78,7 +78,7 @@ const getContextMenuItems = (component, componentCollapsed) => {
callback: () => keyboardEvent("v", true), callback: () => keyboardEvent("v", true),
}, },
{ {
icon: "Export", icon: "download",
name: "Eject block", name: "Eject block",
keyBind: "Ctrl+E", keyBind: "Ctrl+E",
visible: isBlock && canEject, visible: isBlock && canEject,
@ -86,33 +86,33 @@ const getContextMenuItems = (component, componentCollapsed) => {
callback: () => keyboardEvent("e", true), callback: () => keyboardEvent("e", true),
}, },
{ {
icon: "TreeExpand", icon: "maximize",
name: "Expand", name: "Expand",
keyBind: "!ArrowRight", keyBind: "",
visible: hasChildren, visible: hasChildren,
disabled: !componentCollapsed, disabled: !componentCollapsed,
callback: () => keyboardEvent("ArrowRight", false), callback: () => keyboardEvent("ArrowRight", false),
}, },
{ {
icon: "TreeExpandAll", icon: "maximize",
name: "Expand All", name: "Expand All",
keyBind: "Ctrl+!ArrowRight", keyBind: "Ctrl+",
visible: hasChildren, visible: hasChildren,
disabled: !componentCollapsed, disabled: !componentCollapsed,
callback: () => keyboardEvent("ArrowRight", true), callback: () => keyboardEvent("ArrowRight", true),
}, },
{ {
icon: "TreeCollapse", icon: "minimize",
name: "Collapse", name: "Collapse",
keyBind: "!ArrowLeft", keyBind: "",
visible: hasChildren, visible: hasChildren,
disabled: componentCollapsed, disabled: componentCollapsed,
callback: () => keyboardEvent("ArrowLeft", false), callback: () => keyboardEvent("ArrowLeft", false),
}, },
{ {
icon: "TreeCollapseAll", icon: "minimize",
name: "Collapse All", name: "Collapse All",
keyBind: "Ctrl+!ArrowLeft", keyBind: "Ctrl+",
visible: hasChildren, visible: hasChildren,
disabled: componentCollapsed, disabled: componentCollapsed,
callback: () => keyboardEvent("ArrowLeft", true), callback: () => keyboardEvent("ArrowLeft", true),

View File

@ -27,7 +27,7 @@ const getContextMenuItems = (component, showCopy) => {
callback: () => storeComponentForCopy(false), callback: () => storeComponentForCopy(false),
}, },
{ {
icon: "LayersSendToBack", icon: "paste",
name: "Paste", name: "Paste",
keyBind: "Ctrl+V", keyBind: "Ctrl+V",
visible: true, visible: true,

Some files were not shown because too many files have changed in this diff Show More