Compare commits

..

No commits in common. 'main' and 'v0.1.0' have entirely different histories.
main ... v0.1.0

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
{ {
"name": "@tiny-components/confirm", "name": "@tiny-components/confirm",
"version": "0.1.1", "version": "0.1.0",
"description": "confirm or cancel", "description": "confirm or cancel",
"repository": { "repository": {
"type": "git", "type": "git",

@ -3,7 +3,7 @@
<div class="modal__inner"> <div class="modal__inner">
<div class="modal__title center"> <div class="modal__title center">
<svg class="icon fill-text-contrast"> <svg class="icon fill-text-contrast">
<use xlink:href="symbol-defs.svg#icon-circle-warning" /> <use xlink:href="/symbol-defs.svg#icon-circle-warning" />
</svg> </svg>
<div if={ state.title }> <div if={ state.title }>
{ state.title } { state.title }
@ -15,12 +15,12 @@
<div class="modal__footer"> <div class="modal__footer">
<button class="button button--outline button--danger" type="button" onclick={ () => { handleCancel() }}> <button class="button button--outline button--danger" type="button" onclick={ () => { handleCancel() }}>
<svg class="icon fill-danger"> <svg class="icon fill-danger">
<use xlink:href="symbol-defs.svg#icon-close" /> <use xlink:href="/symbol-defs.svg#icon-close" />
</svg> </svg>
</button> </button>
<button class="button button--outline button--success" type="button" onclick={ () => { handleConfirm() }}> <button class="button button--outline button--success" type="button" onclick={ () => { handleConfirm() }}>
<svg class="icon fill-success"> <svg class="icon fill-success">
<use xlink:href="symbol-defs.svg#icon-check" /> <use xlink:href="/symbol-defs.svg#icon-check" />
</svg> </svg>
</button> </button>
</div> </div>

@ -2,7 +2,7 @@
<div> <div>
<button class="button button--outline button--danger" type="button" onclick={ () => { handleOpen() }}> <button class="button button--outline button--danger" type="button" onclick={ () => { handleOpen() }}>
<svg class="icon fill-danger m-right-3"> <svg class="icon fill-danger m-right-3">
<use xlink:href="symbol-defs.svg#icon-close" /> <use xlink:href="/symbol-defs.svg#icon-close" />
</svg> </svg>
Click me! Click me!
</button> </button>

Loading…
Cancel
Save