sprintify-ui 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
1
  @charset "UTF-8";.spinner[data-v-7d66ba2e]{animation:rotate-7d66ba2e 1s linear infinite;-webkit-animation:rotate-7d66ba2e 1s linear infinite;-moz-animation:rotate-7d66ba2e 1s linear infinite}@keyframes rotate-7d66ba2e{to{transform:rotate(360deg)}}.path[data-v-7d66ba2e]{stroke-dasharray:170;stroke-dashoffset:20}.th[data-v-c943591d]{background-color:rgb(248 250 252 / var(--tw-bg-opacity));position:sticky;top:0px;z-index:10;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity));--tw-bg-opacity: .75;--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}/*!
2
2
  * Pikaday
3
3
  * Copyright © 2014 David Bushell | BSD & MIT license | https://dbushell.com/
4
- */.pika-single{z-index:9999;display:block;position:relative;color:#333;background:#fff;border:1px solid #ccc;border-bottom-color:#bbb;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.pika-single:before,.pika-single:after{content:" ";display:table}.pika-single:after{clear:both}.pika-single.is-hidden{display:none}.pika-single.is-bound{position:absolute;box-shadow:0 5px 15px -5px #00000080}.pika-lendar{float:left;width:240px;margin:8px}.pika-title{position:relative;text-align:center}.pika-label{display:inline-block;position:relative;z-index:9999;overflow:hidden;margin:0;padding:5px 3px;font-size:14px;line-height:20px;font-weight:700;background-color:#fff}.pika-title select{cursor:pointer;position:absolute;z-index:9998;margin:0;left:0;top:5px;opacity:0}.pika-prev,.pika-next{display:block;cursor:pointer;position:relative;outline:none;border:0;padding:0;width:20px;height:30px;text-indent:20px;white-space:nowrap;overflow:hidden;background-color:transparent;background-position:center center;background-repeat:no-repeat;background-size:75% 75%;opacity:.5}.pika-prev:hover,.pika-next:hover{opacity:1}.pika-prev,.is-rtl .pika-next{float:left;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==)}.pika-next,.is-rtl .pika-prev{float:right;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=)}.pika-select{display:inline-block}.pika-table{width:100%;border-collapse:collapse;border-spacing:0;border:0}.pika-table th,.pika-table td{width:14.285714285714286%;padding:0}.pika-table th{color:#999;font-size:12px;line-height:25px;font-weight:700;text-align:center}.pika-button{cursor:pointer;display:block;box-sizing:border-box;-moz-box-sizing:border-box;outline:none;border:0;margin:0;width:100%;padding:5px;color:#666;font-size:12px;line-height:15px;text-align:right;background:#f5f5f5;height:initial}.pika-week{font-size:11px;color:#999}.is-today .pika-button{color:#3af;font-weight:700}.is-selected .pika-button,.has-event .pika-button{color:#fff;font-weight:700;background:#33aaff;box-shadow:inset 0 1px 3px #178fe5;border-radius:3px}.has-event .pika-button{background:#005da9;box-shadow:inset 0 1px 3px #0076c9}.is-disabled .pika-button,.is-inrange .pika-button{background:#D5E9F7}.is-startrange .pika-button{color:#fff;background:#6CB31D;box-shadow:none;border-radius:3px}.is-endrange .pika-button{color:#fff;background:#33aaff;box-shadow:none;border-radius:3px}.is-disabled .pika-button{pointer-events:none;cursor:default;color:#999;opacity:.3}.is-outside-current-month .pika-button{color:#999;opacity:.3}.is-selection-disabled{pointer-events:none;cursor:default}.pika-button:hover,.pika-row.pick-whole-week:hover .pika-button{color:#fff;background:#ff8000;box-shadow:none;border-radius:3px}.pika-table abbr{border-bottom:none;cursor:help}.pikaday-white{--backgroundColor: #ffffff;--textColor: #718096;--currentDateTextColor: #3182ce;--selectedDateBackgroundColor: #3182ce;--selectedDateTextColor: #ffffff;--labelTextColor: #4a5568;--weekDaysTextColor: #a0aec0;font-family:inherit;background-color:var(--backgroundColor);padding:.5rem;z-index:2000;margin:6px 0 0;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border-radius:.5rem}.pikaday-white .pika-title{width:100%;text-align:center;display:flex;justify-content:flex-start;margin-bottom:5px}.pikaday-white .pika-prev,.pikaday-white .pika-next{position:absolute;outline:none;padding:0;width:26px;height:26px;top:-1px;display:inline-block;margin-top:0;cursor:pointer;text-indent:-9999px;white-space:nowrap;overflow:hidden;background-color:transparent;background-position:center center;background-repeat:no-repeat;opacity:.7}.pikaday-white .pika-prev:hover,.pikaday-white .pika-next:hover{opacity:1}.pikaday-white .pika-prev{right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0aec0'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 19l-7-7 7-7'%3E%3C/path%3E%3C/svg%3E")}.pikaday-white .pika-next{right:2px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0aec0'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'%3E%3C/path%3E%3C/svg%3E")}.pika-prev.is-disabled,.pika-next.is-disabled{cursor:default;opacity:.2}.pikaday-white .pika-label{margin-right:.375rem;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity));padding:.25rem .5rem;font-size:14px;font-weight:500;line-height:1}.pikaday-white .pika-label{position:relative}.pikaday-white .pika-select-month,.pikaday-white .pika-select-year{width:100%;cursor:pointer;position:absolute;z-index:9998;margin:0;left:0;top:0;opacity:0;padding:0}.pikaday-white table{width:100%;border-collapse:collapse}.pikaday-white table th{width:2em;height:2em;font-weight:400;color:var(--weekDaysTextColor);text-align:center}.pikaday-white table th abbr{text-decoration:none}.pikaday-white table td{padding:1px}.pikaday-white table td button{width:2em;height:2em;text-align:center;border-radius:9999px;background-color:var(--backgroundColor)}.pikaday-white table td button:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.pikaday-white table td.is-today button{color:var(--currentDateTextColor)}.pikaday-white table td.is-selected button{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));font-weight:400}.pikaday-white table td button{color:var(--textColor)}.btn{position:relative;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:.375rem;border-width:1px;padding:.625rem 1rem;text-align:center;font-size:.875rem;line-height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.btn:focus-visible{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-offset-width: 2px}.btn:disabled{cursor:not-allowed;opacity:.5}.btn{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.btn:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.btn:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.btn:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.btn.btn-xs{padding:.25rem .5rem;font-size:.75rem;line-height:1rem}.btn.btn-sm{padding:.5rem .75rem;font-size:.875rem;line-height:1rem}.btn.btn-md{padding:.625rem 1rem;font-size:.875rem;line-height:1.25rem}.btn.btn-lg{padding:.75rem 1.25rem;font-size:1rem;line-height:1.5rem}.btn.btn-xl{padding:1rem 1.5rem;font-size:1rem;line-height:1.5rem}.btn-default{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.btn-default:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.btn-default:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.btn-default:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.btn.btn-primary{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn.btn-primary:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.btn.btn-primary:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.btn.btn-primary:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.btn.btn-secondary{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity))}.btn.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.btn.btn-secondary:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.btn.btn-secondary:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.btn.btn-secondary-outline{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity))}.btn.btn-secondary-outline:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.btn.btn-secondary-outline:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.btn.btn-secondary-outline:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.btn.btn-slate-100{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.btn.btn-slate-100:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.btn.btn-slate-100:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity))}.btn.btn-slate-100:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.btn.btn-slate-100-outline{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.btn.btn-slate-100-outline:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.btn.btn-slate-100-outline:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity))}.btn.btn-slate-100-outline:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.btn.btn-slate-200{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.btn.btn-slate-200:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.btn.btn-slate-200:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity))}.btn.btn-slate-200:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.btn.btn-slate-200-outline{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.btn.btn-slate-200-outline:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.btn.btn-slate-200-outline:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity))}.btn.btn-slate-200-outline:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.btn.btn-white{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.btn.btn-white:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.btn.btn-white:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.btn.btn-white:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.btn.btn-white-outline{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.btn.btn-white-outline:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.btn.btn-white-outline:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.btn.btn-white-outline:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.btn.btn-white-outline-primary{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.btn.btn-white-outline-primary:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.btn.btn-white-outline-primary:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.btn.btn-white-outline-primary:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.btn.btn-black{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn.btn-black:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.btn.btn-black:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(15 23 42 / var(--tw-ring-opacity))}.btn.btn-black:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.btn.btn-danger{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn.btn-danger:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.btn.btn-danger:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(252 165 165 / var(--tw-ring-opacity))}.btn.btn-danger:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.btn.btn-warning{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity))}.btn.btn-warning:hover{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.btn.btn-warning:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 224 71 / var(--tw-ring-opacity))}.btn.btn-warning:hover:disabled{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.form-input-label{display:block;font-size:.875rem;line-height:1.25rem;line-height:1.25;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.form-input-error{font-size:.875rem;line-height:1.25rem;line-height:1.25;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}input::-moz-placeholder,textarea::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(148 163 184 / var(--tw-placeholder-opacity))}input::placeholder,textarea::placeholder{--tw-placeholder-opacity: 1;color:rgb(148 163 184 / var(--tw-placeholder-opacity))}
4
+ */.pika-single{z-index:9999;display:block;position:relative;color:#333;background:#fff;border:1px solid #ccc;border-bottom-color:#bbb;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.pika-single:before,.pika-single:after{content:" ";display:table}.pika-single:after{clear:both}.pika-single.is-hidden{display:none}.pika-single.is-bound{position:absolute;box-shadow:0 5px 15px -5px #00000080}.pika-lendar{float:left;width:240px;margin:8px}.pika-title{position:relative;text-align:center}.pika-label{display:inline-block;position:relative;z-index:9999;overflow:hidden;margin:0;padding:5px 3px;font-size:14px;line-height:20px;font-weight:700;background-color:#fff}.pika-title select{cursor:pointer;position:absolute;z-index:9998;margin:0;left:0;top:5px;opacity:0}.pika-prev,.pika-next{display:block;cursor:pointer;position:relative;outline:none;border:0;padding:0;width:20px;height:30px;text-indent:20px;white-space:nowrap;overflow:hidden;background-color:transparent;background-position:center center;background-repeat:no-repeat;background-size:75% 75%;opacity:.5}.pika-prev:hover,.pika-next:hover{opacity:1}.pika-prev,.is-rtl .pika-next{float:left;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==)}.pika-next,.is-rtl .pika-prev{float:right;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=)}.pika-select{display:inline-block}.pika-table{width:100%;border-collapse:collapse;border-spacing:0;border:0}.pika-table th,.pika-table td{width:14.285714285714286%;padding:0}.pika-table th{color:#999;font-size:12px;line-height:25px;font-weight:700;text-align:center}.pika-button{cursor:pointer;display:block;box-sizing:border-box;-moz-box-sizing:border-box;outline:none;border:0;margin:0;width:100%;padding:5px;color:#666;font-size:12px;line-height:15px;text-align:right;background:#f5f5f5;height:initial}.pika-week{font-size:11px;color:#999}.is-today .pika-button{color:#3af;font-weight:700}.is-selected .pika-button,.has-event .pika-button{color:#fff;font-weight:700;background:#33aaff;box-shadow:inset 0 1px 3px #178fe5;border-radius:3px}.has-event .pika-button{background:#005da9;box-shadow:inset 0 1px 3px #0076c9}.is-disabled .pika-button,.is-inrange .pika-button{background:#D5E9F7}.is-startrange .pika-button{color:#fff;background:#6CB31D;box-shadow:none;border-radius:3px}.is-endrange .pika-button{color:#fff;background:#33aaff;box-shadow:none;border-radius:3px}.is-disabled .pika-button{pointer-events:none;cursor:default;color:#999;opacity:.3}.is-outside-current-month .pika-button{color:#999;opacity:.3}.is-selection-disabled{pointer-events:none;cursor:default}.pika-button:hover,.pika-row.pick-whole-week:hover .pika-button{color:#fff;background:#ff8000;box-shadow:none;border-radius:3px}.pika-table abbr{border-bottom:none;cursor:help}.pikaday-white{--backgroundColor: #ffffff;--textColor: #718096;--currentDateTextColor: #3182ce;--selectedDateBackgroundColor: #3182ce;--selectedDateTextColor: #ffffff;--labelTextColor: #4a5568;--weekDaysTextColor: #a0aec0;font-family:inherit;background-color:var(--backgroundColor);padding:.5rem;z-index:2000;margin:6px 0 0;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border-radius:.5rem}.pikaday-white .pika-title{width:100%;text-align:center;display:flex;justify-content:flex-start;margin-bottom:5px}.pikaday-white .pika-prev,.pikaday-white .pika-next{position:absolute;outline:none;padding:0;width:26px;height:26px;top:-1px;display:inline-block;margin-top:0;cursor:pointer;text-indent:-9999px;white-space:nowrap;overflow:hidden;background-color:transparent;background-position:center center;background-repeat:no-repeat;opacity:.7}.pikaday-white .pika-prev:hover,.pikaday-white .pika-next:hover{opacity:1}.pikaday-white .pika-prev{right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0aec0'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 19l-7-7 7-7'%3E%3C/path%3E%3C/svg%3E")}.pikaday-white .pika-next{right:2px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0aec0'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'%3E%3C/path%3E%3C/svg%3E")}.pika-prev.is-disabled,.pika-next.is-disabled{cursor:default;opacity:.2}.pikaday-white .pika-label{margin-right:.375rem;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity));padding:.25rem .5rem;font-size:14px;font-weight:500;line-height:1}.pikaday-white .pika-label{position:relative}.pikaday-white .pika-select-month,.pikaday-white .pika-select-year{width:100%;cursor:pointer;position:absolute;z-index:9998;margin:0;left:0;top:0;opacity:0;padding:0}.pikaday-white table{width:100%;border-collapse:collapse}.pikaday-white table th{width:2em;height:2em;font-weight:400;color:var(--weekDaysTextColor);text-align:center}.pikaday-white table th abbr{text-decoration:none}.pikaday-white table td{padding:1px}.pikaday-white table td button{width:2em;height:2em;text-align:center;border-radius:9999px;background-color:var(--backgroundColor)}.pikaday-white table td button:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.pikaday-white table td.is-today button{color:var(--currentDateTextColor)}.pikaday-white table td.is-selected button{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));font-weight:400}.pikaday-white table td button{color:var(--textColor)}input::-moz-placeholder,textarea::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(148 163 184 / var(--tw-placeholder-opacity))}input::placeholder,textarea::placeholder{--tw-placeholder-opacity: 1;color:rgb(148 163 184 / var(--tw-placeholder-opacity))}
@@ -0,0 +1,274 @@
1
+ const plugin = require('tailwindcss/plugin');
2
+
3
+ module.exports = plugin(
4
+ function ({ addComponents, theme }) {
5
+ addComponents({
6
+ '.btn': {
7
+ position: 'relative',
8
+ display: 'inline-block',
9
+ cursor: 'pointer',
10
+ 'user-select': 'none',
11
+ color: theme('colors.slate.600'),
12
+ 'background-color': theme('colors.white'),
13
+ 'border-color': theme('colors.slate.300'),
14
+ 'border-width': '1px',
15
+ 'border-radius': theme('borderRadius.md'),
16
+ padding: theme('spacing.[2.5]') + ' ' + theme('spacing.4'),
17
+ 'text-align': 'center',
18
+ 'font-size': theme('fontSize.sm'),
19
+ 'line-height': theme('lineHeight.5'),
20
+ 'transition-property':
21
+ 'color, background-color, border-color, text-decoration-color, fill, stroke',
22
+ 'transition-timing-function': 'cubic-bezier(0.4, 0, 0.2, 1)',
23
+ 'transition-duration': '100ms',
24
+ '&:enabled:hover': {
25
+ 'background-color': theme('colors.slate.100'),
26
+ },
27
+ '&:focus': {
28
+ outline: '2px solid transparent',
29
+ 'outline-offset': '2px',
30
+ '--tw-ring-color': theme('colors.primary.500'),
31
+ '--tw-ring-offset-width': '2px',
32
+ '--tw-ring-offset-shadow':
33
+ 'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)',
34
+ '--tw-ring-shadow':
35
+ 'var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)',
36
+ 'box-shadow':
37
+ 'var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)',
38
+ },
39
+ '&:disabled': {
40
+ cursor: 'not-allowed',
41
+ opacity: '0.5',
42
+ },
43
+ },
44
+ // Sizes
45
+ '.btn-xs': {
46
+ 'font-size': theme('fontSize.xs'),
47
+ 'line-height': theme('lineHeight.4'),
48
+ padding: theme('spacing.1') + ' ' + theme('spacing.2'),
49
+ },
50
+ '.btn-sm': {
51
+ 'font-size': theme('fontSize.sm'),
52
+ 'line-height': theme('lineHeight.4'),
53
+ padding: theme('spacing.2') + ' ' + theme('spacing.3'),
54
+ },
55
+ '.btn-md': {
56
+ 'font-size': theme('fontSize.sm'),
57
+ 'line-height': theme('lineHeight.5'),
58
+ padding: theme('spacing.[2.5]') + ' ' + theme('spacing.4'),
59
+ },
60
+ '.btn-lg': {
61
+ 'font-size': theme('fontSize.base'),
62
+ 'line-height': theme('lineHeight.5'),
63
+ padding: theme('spacing.3') + ' ' + theme('spacing.5'),
64
+ },
65
+ '.btn-xl': {
66
+ 'font-size': theme('fontSize.base'),
67
+ 'line-height': theme('lineHeight.5'),
68
+ padding: theme('spacing.4') + ' ' + theme('spacing.6'),
69
+ },
70
+ // Colors
71
+ '.btn-primary': {
72
+ color: theme('colors.white'),
73
+ 'background-color': theme('colors.primary.500'),
74
+ 'border-color': 'transparent',
75
+ '&:enabled:hover': {
76
+ 'background-color': theme('colors.primary.400'),
77
+ },
78
+ '&:focus': {
79
+ '--tw-ring-color': theme('colors.primary.500'),
80
+ },
81
+ },
82
+ '.btn-secondary': {
83
+ color: theme('colors.primary.700'),
84
+ 'background-color': theme('colors.primary.200'),
85
+ 'border-color': 'transparent',
86
+ '&:enabled:hover': {
87
+ 'background-color': theme('colors.primary.100'),
88
+ },
89
+ '&:focus': {
90
+ '--tw-ring-color': theme('colors.primary.500'),
91
+ },
92
+ },
93
+ '.btn-secondary-outline': {
94
+ color: theme('colors.primary.700'),
95
+ 'background-color': theme('colors.primary.200'),
96
+ 'border-color': theme('colors.primary.300'),
97
+ '&:enabled:hover': {
98
+ 'background-color': theme('colors.primary.100'),
99
+ },
100
+ '&:focus': {
101
+ '--tw-ring-color': theme('colors.primary.500'),
102
+ },
103
+ },
104
+ '.btn-success': {
105
+ color: theme('colors.white'),
106
+ 'background-color': theme('colors.green.600'),
107
+ 'border-color': 'transparent',
108
+ '&:enabled:hover': {
109
+ 'background-color': theme('colors.green.500'),
110
+ },
111
+ '&:focus': {
112
+ '--tw-ring-color': theme('colors.green.500'),
113
+ },
114
+ },
115
+ '.btn-success-outline': {
116
+ color: theme('colors.green.700'),
117
+ 'background-color': theme('colors.green.200'),
118
+ 'border-color': theme('colors.green.300'),
119
+ '&:enabled:hover': {
120
+ 'background-color': theme('colors.green.100'),
121
+ },
122
+ '&:focus': {
123
+ '--tw-ring-color': theme('colors.green.500'),
124
+ },
125
+ },
126
+ '.btn-warning': {
127
+ color: theme('colors.yellow.900'),
128
+ 'background-color': theme('colors.yellow.400'),
129
+ 'border-color': 'transparent',
130
+ '&:enabled:hover': {
131
+ 'background-color': theme('colors.yellow.300'),
132
+ },
133
+ '&:focus': {
134
+ '--tw-ring-color': theme('colors.yellow.300'),
135
+ },
136
+ },
137
+ '.btn-warning-outline': {
138
+ color: theme('colors.yellow.900'),
139
+ 'background-color': theme('colors.yellow.200'),
140
+ 'border-color': theme('colors.yellow.400'),
141
+ '&:enabled:hover': {
142
+ 'background-color': theme('colors.yellow.100'),
143
+ },
144
+ '&:focus': {
145
+ '--tw-ring-color': theme('colors.yellow.300'),
146
+ },
147
+ },
148
+ '.btn-danger': {
149
+ color: theme('colors.white'),
150
+ 'background-color': theme('colors.red.600'),
151
+ 'border-color': 'transparent',
152
+ '&:enabled:hover': {
153
+ 'background-color': theme('colors.red.500'),
154
+ },
155
+ '&:focus': {
156
+ '--tw-ring-color': theme('colors.red.500'),
157
+ },
158
+ },
159
+ '.btn-danger-outline': {
160
+ color: theme('colors.red.700'),
161
+ 'background-color': theme('colors.red.200'),
162
+ 'border-color': theme('colors.red.300'),
163
+ '&:enabled:hover': {
164
+ 'background-color': theme('colors.red.100'),
165
+ },
166
+ '&:focus': {
167
+ '--tw-ring-color': theme('colors.red.500'),
168
+ },
169
+ },
170
+ '.btn-white': {
171
+ 'background-color': theme('colors.white'),
172
+ 'border-color': 'transparent',
173
+ '&:enabled:hover': {
174
+ 'background-color': theme('colors.slate.100'),
175
+ },
176
+ '&:focus': {
177
+ '--tw-ring-color': theme('colors.slate.200'),
178
+ },
179
+ },
180
+ '.btn-black': {
181
+ color: theme('colors.white'),
182
+ 'background-color': theme('colors.slate.900'),
183
+ 'border-color': 'transparent',
184
+ '&:enabled:hover': {
185
+ 'background-color': theme('colors.slate.700'),
186
+ },
187
+ '&:focus': {
188
+ '--tw-ring-color': theme('colors.slate.600'),
189
+ },
190
+ },
191
+ '.btn-slate-100': {
192
+ 'background-color': theme('colors.slate.100'),
193
+ 'border-color': 'transparent',
194
+ '&:enabled:hover': {
195
+ 'background-color': theme('colors.slate.50'),
196
+ },
197
+ '&:focus': {
198
+ '--tw-ring-color': theme('colors.slate.200'),
199
+ },
200
+ },
201
+ '.btn-slate-100-outline': {
202
+ 'background-color': theme('colors.slate.100'),
203
+ 'border-color': theme('colors.slate.200'),
204
+ '&:enabled:hover': {
205
+ 'background-color': theme('colors.slate.50'),
206
+ },
207
+ '&:focus': {
208
+ '--tw-ring-color': theme('colors.slate.200'),
209
+ },
210
+ },
211
+ '.btn-slate-200': {
212
+ 'background-color': theme('colors.slate.200'),
213
+ 'border-color': 'transparent',
214
+ '&:enabled:hover': {
215
+ 'background-color': theme('colors.slate.100'),
216
+ },
217
+ '&:focus': {
218
+ '--tw-ring-color': theme('colors.slate.200'),
219
+ },
220
+ },
221
+ '.btn-slate-200-outline': {
222
+ 'background-color': theme('colors.slate.200'),
223
+ 'border-color': theme('colors.slate.300'),
224
+ '&:enabled:hover': {
225
+ 'background-color': theme('colors.slate.100'),
226
+ },
227
+ '&:focus': {
228
+ '--tw-ring-color': theme('colors.slate.200'),
229
+ },
230
+ },
231
+ });
232
+ },
233
+ {
234
+ theme: {
235
+ extend: {
236
+ zIndex: {
237
+ status: '20',
238
+ menu: '30',
239
+ modal: '40',
240
+ notifications: '50',
241
+ loading: '100',
242
+ },
243
+ animation: {
244
+ shake: 'shake 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both',
245
+ shimmer: 'shimmer 2s infinite both',
246
+ },
247
+ keyframes: {
248
+ shimmer: {
249
+ '100%': {
250
+ transform: 'translateX(100%)',
251
+ },
252
+ },
253
+ shake: {
254
+ '0%, 100%': {
255
+ transform: 'translateX(0)',
256
+ },
257
+ '10%, 30%, 50%, 70%': {
258
+ transform: 'translateX(-10px)',
259
+ },
260
+ '20%, 40%, 60%': {
261
+ transform: 'translateX(10px)',
262
+ },
263
+ '80%': {
264
+ transform: 'translateX(8px)',
265
+ },
266
+ '90%': {
267
+ transform: 'translateX(-8px)',
268
+ },
269
+ },
270
+ },
271
+ },
272
+ },
273
+ }
274
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "docs:dev": "vitepress dev docs",
@@ -43,7 +43,6 @@
43
43
  "@tailwindcss/line-clamp": "^0.4.2",
44
44
  "@tailwindcss/typography": "^0.5.8",
45
45
  "@types/luxon": "^3.1.0",
46
- "@types/node": "^17.0.45",
47
46
  "@types/object-hash": "^2.2.1",
48
47
  "@types/pikaday": "^1.7.6",
49
48
  "@types/qs": "^6.9.7",
@@ -95,6 +94,7 @@
95
94
  ".": {
96
95
  "import": "./dist/sprintify-ui.es.js"
97
96
  },
98
- "./dist/style.css": "./dist/style.css"
97
+ "./dist/style.css": "./dist/style.css",
98
+ "./tailwindcss": "./dist/tailwindcss/index.js"
99
99
  }
100
100
  }
@@ -1,13 +1,4 @@
1
-
2
- .form-input-label {
3
- @apply block text-sm leading-tight text-slate-600;
4
- }
5
-
6
- .form-input-error {
7
- @apply text-sm leading-tight text-red-600;
8
- }
9
-
10
- /** Placehoder color */
1
+ /** Placeholder color */
11
2
 
12
3
  input,
13
4
  textarea {
@@ -1,3 +1,2 @@
1
1
  @import './pikaday.css';
2
- @import './button.css';
3
2
  @import './form.css';
@@ -1,5 +1,3 @@
1
- @import "tailwindcss/base";
2
-
3
- @import "tailwindcss/components";
4
-
5
- @import "tailwindcss/utilities";
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
@@ -7,7 +7,6 @@ export default {
7
7
  args: {
8
8
  labelKey: 'label',
9
9
  valueKey: 'value',
10
- inputClass: 'w-full border-slate-300',
11
10
  options: [
12
11
  { label: 'Dark Vader', value: 'dark_vader' },
13
12
  { label: 'Darth Maul', value: 'darth_maul' },
@@ -8,7 +8,6 @@ export default {
8
8
  url: 'https://effettandem.com/api/content/articles',
9
9
  labelKey: 'title',
10
10
  valueKey: 'id',
11
- inputClass: 'w-full border-slate-300',
12
11
  disabled: false,
13
12
  },
14
13
  decorators: [() => ({ template: '<div class="mb-36"><story/></div>' })],
@@ -7,7 +7,6 @@ export default {
7
7
  args: {
8
8
  url: 'https://effettandem.com/api/content/articles',
9
9
  field: 'title',
10
- inputClass: 'w-full border-slate-300',
11
10
  },
12
11
  decorators: [() => ({ template: '<div class="mb-36"><story/></div>' })],
13
12
  };
@@ -5,8 +5,11 @@ const colors = [
5
5
  'btn-secondary',
6
6
  'btn-secondary-outline',
7
7
  'btn-success',
8
+ 'btn-success-outline',
8
9
  'btn-warning',
10
+ 'btn-warning-outline',
9
11
  'btn-danger',
12
+ 'btn-danger-outline',
10
13
  'btn-white',
11
14
  'btn-slate-100',
12
15
  'btn-slate-100-outline',
@@ -41,7 +44,7 @@ const Template = (args) => ({
41
44
 
42
45
  export const Demo = Template.bind({});
43
46
  Demo.args = {
44
- class: 'btn-primary btn-base',
47
+ class: '',
45
48
  };
46
49
 
47
50
  export const Loading = Template.bind({});
@@ -55,8 +58,13 @@ export const Colors = (args) => ({
55
58
  return { args, colors };
56
59
  },
57
60
  template: `
61
+ <p class="text-xs text-slate-600 leading-tight mb-1">btn</p>
62
+ <BaseButton class="btn">
63
+ Click here
64
+ </BaseButton>
65
+ <div class="mb-4"></div>
58
66
  <div v-for="color in colors" :key="color" class="mb-4">
59
- <p class="text-xs text-slate-600 leading-tight mb-1">{{ color }}</p>
67
+ <p class="text-xs text-slate-600 leading-tight mb-1">btn {{ color }}</p>
60
68
  <BaseButton :class="color">
61
69
  Click here
62
70
  </BaseButton>
@@ -71,7 +79,7 @@ export const Sizes = (args) => ({
71
79
  },
72
80
  template: `
73
81
  <div v-for="size in sizes" :key="size" class="mb-4">
74
- <p class="text-xs text-slate-600 leading-tight mb-1">{{ size }}</p>
82
+ <p class="text-xs text-slate-600 leading-tight mb-1">btn {{ size }}</p>
75
83
  <BaseButton class="btn-primary" :class="size">
76
84
  Click here
77
85
  </BaseButton>
@@ -21,33 +21,28 @@ const Template = (args) => ({
21
21
  export const Demo = Template.bind({});
22
22
  Demo.args = {
23
23
  modelValue: '2023-01-01',
24
- inputClass: 'border-slate-300',
25
24
  };
26
25
 
27
26
  export const YearRange = Template.bind({});
28
27
  YearRange.args = {
29
28
  modelValue: '1980-11-16',
30
- inputClass: 'border-slate-300',
31
29
  yearRange: [1920, 2020],
32
30
  };
33
31
 
34
32
  export const MinDate = Template.bind({});
35
33
  MinDate.args = {
36
34
  modelValue: '2022-11-16',
37
- inputClass: 'border-slate-300',
38
35
  minDate: DateTime.fromISO('2022-11-10').toJSDate(),
39
36
  };
40
37
 
41
38
  export const MaxDate = Template.bind({});
42
39
  MaxDate.args = {
43
40
  modelValue: '2022-11-16',
44
- inputClass: 'border-slate-300',
45
41
  maxDate: DateTime.fromISO('2022-11-20').toJSDate(),
46
42
  };
47
43
 
48
44
  export const Disabled = Template.bind({});
49
45
  Disabled.args = {
50
46
  modelValue: '2022-11-16',
51
- inputClass: 'border-slate-300',
52
47
  disabled: true,
53
48
  };
@@ -0,0 +1,41 @@
1
+ import BaseDateSelect from './BaseDateSelect.vue';
2
+
3
+ export default {
4
+ title: 'Form/BaseDateSelect',
5
+ component: BaseDateSelect,
6
+ argTypes: {},
7
+ };
8
+
9
+ const Template = (args) => ({
10
+ components: { BaseDateSelect },
11
+ setup() {
12
+ return { args };
13
+ },
14
+ template: `
15
+ <BaseDateSelect v-bind="args">
16
+ </BaseDateSelect>
17
+ `,
18
+ });
19
+
20
+ export const Demo = Template.bind({});
21
+ Demo.args = {
22
+ modelValue: '2021-01-01',
23
+ };
24
+
25
+ export const MinYear = Template.bind({});
26
+ MinYear.args = {
27
+ modelValue: '2022-11-16',
28
+ minYear: 1980,
29
+ };
30
+
31
+ export const MaxYear = Template.bind({});
32
+ MaxYear.args = {
33
+ modelValue: '2002-11-16',
34
+ maxYear: 2010,
35
+ };
36
+
37
+ export const Disabled = Template.bind({});
38
+ Disabled.args = {
39
+ modelValue: '2022-11-16',
40
+ disabled: true,
41
+ };
@@ -80,7 +80,7 @@
80
80
  <button
81
81
  type="button"
82
82
  :disabled="disabled"
83
- class="mt-1 appearance-none border-transparent bg-transparent text-sm text-slate-700 underline outline-none"
83
+ class="mt-1 appearance-none border-transparent bg-transparent text-sm text-slate-700 underline outline-none disabled:cursor-not-allowed disabled:opacity-50"
84
84
  @click="clear()"
85
85
  >
86
86
  <span>{{ $t('sui.clear') }}</span>
@@ -0,0 +1,35 @@
1
+ import BaseBadge from './BaseBadge.vue';
2
+ import BaseDescriptionList from './BaseDescriptionList.vue';
3
+ import BaseDescriptionListItem from './BaseDescriptionListItem.vue';
4
+
5
+ export default {
6
+ title: 'Components/BaseDescriptionList',
7
+ component: BaseDescriptionList,
8
+ argTypes: {},
9
+ };
10
+
11
+ const Template = (args) => ({
12
+ components: { BaseDescriptionList, BaseDescriptionListItem, BaseBadge },
13
+ setup() {
14
+ return { args };
15
+ },
16
+ template: `
17
+ <BaseDescriptionList v-bind="args">
18
+ <BaseDescriptionListItem>
19
+ <template #left>Full name</template>
20
+ <template #right>Full name</template>
21
+ </BaseDescriptionListItem>
22
+ <BaseDescriptionListItem>
23
+ <template #left>Age</template>
24
+ <template #right>66 years old</template>
25
+ </BaseDescriptionListItem>
26
+ <BaseDescriptionListItem>
27
+ <template #left>Role</template>
28
+ <template #right><BaseBadge color="indigo">admin</BaseBadge></template>
29
+ </BaseDescriptionListItem>
30
+ </BaseDescriptionList>
31
+ `,
32
+ });
33
+
34
+ export const Demo = Template.bind({});
35
+ Demo.args = {};
@@ -8,4 +8,6 @@
8
8
  </BaseCard>
9
9
  </template>
10
10
 
11
- <script lang="ts" setup></script>
11
+ <script lang="ts" setup>
12
+ import BaseCard from './BaseCard.vue';
13
+ </script>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="relative isolate overflow-hidden rounded" :class="[background]">
3
3
  <div
4
- class="absolute inset-0 -translate-x-full animate-[shimmer_2s_infinite] border-t border-white/80 bg-gradient-to-r from-transparent via-white/80 to-transparent"
4
+ class="animate-shimmer absolute inset-0 -translate-x-full border-t border-white/80 bg-gradient-to-r from-transparent via-white/80 to-transparent"
5
5
  :style="{
6
6
  animationDelay: delay,
7
7
  }"