Browse Source

Addressing review comments.

master
mike12345567 5 years ago
parent
commit
d2c738ab33
  1. 19
      packages/bbui/src/InlineAlert/InlineAlert.svelte
  2. 858
      packages/builder/yarn.lock

19
packages/bbui/src/InlineAlert/InlineAlert.svelte

@ -24,13 +24,7 @@
}
</script>
<div
style="--spectrum-semantic-negative-border-color: #e34850;
--spectrum-semantic-positive-border-color: #2d9d78;
--spectrum-semantic-positive-icon-color: #2d9d78;
--spectrum-semantic-negative-icon-color: #e34850;"
class="spectrum-InLineAlert spectrum-InLineAlert--{type}"
>
<div class="spectrum-InLineAlert spectrum-InLineAlert--{type}">
<svg
class="spectrum-Icon spectrum-Icon--sizeM spectrum-InLineAlert-icon"
focusable="false"
@ -42,7 +36,16 @@
<div class="spectrum-InLineAlert-content">{message}</div>
{#if onConfirm}
<div class="spectrum-InLineAlert-footer">
<Button on:click={onConfirm}>OK</Button>
<Button secondary on:click={onConfirm}>OK</Button>
</div>
{/if}
</div>
<style>
.spectrum-InLineAlert {
--spectrum-semantic-negative-border-color: #e34850;
--spectrum-semantic-positive-border-color: #2d9d78;
--spectrum-semantic-positive-icon-color: #2d9d78;
--spectrum-semantic-negative-icon-color: #e34850;
}
</style>

858
packages/builder/yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save