@kuntiwar/tonalkit 0.0.0-stage → 1.0.0
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/LICENSE +21 -0
- package/README.md +61 -2
- package/dist/chunk-DKFQD2ME.js +296 -0
- package/dist/chunk-DKFQD2ME.js.map +1 -0
- package/dist/chunk-EH6TVKAU.cjs +296 -0
- package/dist/chunk-EH6TVKAU.cjs.map +1 -0
- package/dist/index.cjs +2501 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1020 -0
- package/dist/index.d.ts +1020 -0
- package/dist/index.js +2501 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +1 -0
- package/dist/theme.cjs +25 -0
- package/dist/theme.cjs.map +1 -0
- package/dist/theme.d.cts +165 -0
- package/dist/theme.d.ts +165 -0
- package/dist/theme.js +25 -0
- package/dist/theme.js.map +1 -0
- package/package.json +70 -4
package/dist/styles.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer tonalkit{:root{--tk-color-primary: #005bc0;--tk-color-on-primary: #ffffff;--tk-color-primary-container: #d8e2ff;--tk-color-on-primary-container: #004493;--tk-color-secondary: #585c7e;--tk-color-on-secondary: #ffffff;--tk-color-secondary-container: #dfe0ff;--tk-color-on-secondary-container: #414465;--tk-color-tertiary: #615789;--tk-color-on-tertiary: #ffffff;--tk-color-tertiary-container: #e7deff;--tk-color-on-tertiary-container: #494070;--tk-color-error: #ba1a1a;--tk-color-on-error: #ffffff;--tk-color-error-container: #ffdad6;--tk-color-on-error-container: #93000a;--tk-color-surface: #f9f9ff;--tk-color-on-surface: #181c25;--tk-color-surface-variant: #dee2f2;--tk-color-on-surface-variant: #424753;--tk-color-surface-dim: #d7d9e6;--tk-color-surface-bright: #f9f9ff;--tk-color-surface-container-lowest: #ffffff;--tk-color-surface-container-low: #f1f3ff;--tk-color-surface-container: #ebedfa;--tk-color-surface-container-high: #e5e8f5;--tk-color-surface-container-highest: #dfe2ef;--tk-color-outline: #727785;--tk-color-outline-variant: #c2c6d6;--tk-color-inverse-surface: #2c303a;--tk-color-inverse-on-surface: #eef0fd;--tk-color-inverse-primary: #adc7ff;--tk-color-surface-tint: #005bc0;--tk-color-scrim: #000000;--tk-color-shadow: #000000;--tk-color-success: #006d43;--tk-color-on-success: #ffffff;--tk-color-success-container: #92f7bc;--tk-color-on-success-container: #002111;--tk-color-warning: #974806;--tk-color-on-warning: #ffffff;--tk-color-warning-container: #ffdbc8;--tk-color-on-warning-container: #321300;--tk-color-info: #005cba;--tk-color-on-info: #ffffff;--tk-color-info-container: #d7e3ff;--tk-color-on-info-container: #001b3f;--tk-font-family: Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-type-display-large: 400 3.5625rem/4rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-display-large: -.015625rem;--tk-type-display-medium: 400 2.8125rem/3.25rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-display-medium: 0rem;--tk-type-display-small: 400 2.25rem/2.75rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-display-small: 0rem;--tk-type-headline-large: 400 2rem/2.5rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-headline-large: 0rem;--tk-type-headline-medium: 400 1.75rem/2.25rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-headline-medium: 0rem;--tk-type-headline-small: 400 1.5rem/2rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-headline-small: 0rem;--tk-type-title-large: 400 1.375rem/1.75rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-title-large: 0rem;--tk-type-title-medium: 500 1rem/1.5rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-title-medium: .009375rem;--tk-type-title-small: 500 .875rem/1.25rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-title-small: .00625rem;--tk-type-body-large: 400 1rem/1.5rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-body-large: .03125rem;--tk-type-body-medium: 400 .875rem/1.25rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-body-medium: .015625rem;--tk-type-body-small: 400 .75rem/1rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-body-small: .025rem;--tk-type-label-large: 500 .875rem/1.25rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-label-large: .00625rem;--tk-type-label-medium: 500 .75rem/1rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-label-medium: .03125rem;--tk-type-label-small: 500 .6875rem/1rem Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;--tk-tracking-label-small: .03125rem;--tk-radius-none: 0;--tk-radius-xs: 4px;--tk-radius-sm: 8px;--tk-radius-md: 12px;--tk-radius-lg: 16px;--tk-radius-xl: 28px;--tk-radius-xxl: 48px;--tk-radius-full: 9999px;--tk-elevation-0: none;--tk-elevation-1: 0 1px 2px rgb(0 0 0 / .3), 0 1px 3px 1px rgb(0 0 0 / .15);--tk-elevation-2: 0 1px 2px rgb(0 0 0 / .3), 0 2px 6px 2px rgb(0 0 0 / .15);--tk-elevation-3: 0 1px 3px rgb(0 0 0 / .3), 0 4px 8px 3px rgb(0 0 0 / .15);--tk-elevation-4: 0 2px 3px rgb(0 0 0 / .3), 0 6px 10px 4px rgb(0 0 0 / .15);--tk-elevation-5: 0 4px 4px rgb(0 0 0 / .3), 0 8px 12px 6px rgb(0 0 0 / .15);--tk-duration-short1: 50ms;--tk-duration-short2: .1s;--tk-duration-short3: .15s;--tk-duration-short4: .2s;--tk-duration-medium1: .25s;--tk-duration-medium2: .3s;--tk-duration-medium3: .35s;--tk-duration-medium4: .4s;--tk-duration-long1: .45s;--tk-duration-long2: .5s;--tk-easing-standard: cubic-bezier(.2, 0, 0, 1);--tk-easing-standard-decelerate: cubic-bezier(0, 0, 0, 1);--tk-easing-standard-accelerate: cubic-bezier(.3, 0, 1, 1);--tk-easing-emphasized: cubic-bezier(.2, 0, 0, 1);--tk-easing-emphasized-decelerate: cubic-bezier(.05, .7, .1, 1);--tk-easing-emphasized-accelerate: cubic-bezier(.3, 0, .8, .15);--tk-z-sticky: 100;--tk-z-drawer: 200;--tk-z-modal: 300;--tk-z-popover: 400;--tk-z-toast: 500;--tk-z-tooltip: 600;--tk-space: 4px}.tk-root{font:var(--tk-type-body-medium);color:var(--tk-color-on-surface);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}.tk-root--surface{background-color:var(--tk-color-surface)}.tk-root,.tk-root *,.tk-root *:before,.tk-root *:after{box-sizing:border-box}.tk-portal{display:contents}.tk-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){.tk-root,.tk-root *,.tk-root *:before,.tk-root *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.tk-c-primary{--tk-c: var(--tk-color-primary);--tk-on-c: var(--tk-color-on-primary);--tk-cc: var(--tk-color-primary-container);--tk-on-cc: var(--tk-color-on-primary-container)}.tk-c-secondary{--tk-c: var(--tk-color-secondary);--tk-on-c: var(--tk-color-on-secondary);--tk-cc: var(--tk-color-secondary-container);--tk-on-cc: var(--tk-color-on-secondary-container)}.tk-c-tertiary{--tk-c: var(--tk-color-tertiary);--tk-on-c: var(--tk-color-on-tertiary);--tk-cc: var(--tk-color-tertiary-container);--tk-on-cc: var(--tk-color-on-tertiary-container)}.tk-c-error{--tk-c: var(--tk-color-error);--tk-on-c: var(--tk-color-on-error);--tk-cc: var(--tk-color-error-container);--tk-on-cc: var(--tk-color-on-error-container)}.tk-c-success{--tk-c: var(--tk-color-success);--tk-on-c: var(--tk-color-on-success);--tk-cc: var(--tk-color-success-container);--tk-on-cc: var(--tk-color-on-success-container)}.tk-c-warning{--tk-c: var(--tk-color-warning);--tk-on-c: var(--tk-color-on-warning);--tk-cc: var(--tk-color-warning-container);--tk-on-cc: var(--tk-color-on-warning-container)}.tk-c-info{--tk-c: var(--tk-color-info);--tk-on-c: var(--tk-color-on-info);--tk-cc: var(--tk-color-info-container);--tk-on-cc: var(--tk-color-on-info-container)}@keyframes tk-rotate{to{transform:rotate(360deg)}}@keyframes tk-fade-in{0%{opacity:0}to{opacity:1}}.tk-container{width:100%;margin-inline:auto;padding-inline:16px}@media(min-width:600px){.tk-container{padding-inline:24px}}@media(min-width:1200px){.tk-container{padding-inline:32px}}.tk-container--disable-gutters{padding-inline:0}.tk-container--sm{max-width:600px}.tk-container--md{max-width:840px}.tk-container--lg{max-width:1200px}.tk-container--xl{max-width:1600px}.tk-container--fluid{max-width:none}.tk-grid{display:grid;grid-template-columns:repeat(var(--tk-grid-cols, 12),minmax(0,1fr));gap:var(--tk-grid-row-gap, 16px) var(--tk-grid-col-gap, 16px)}.tk-stack{display:flex}.tk-stack--row{flex-direction:row}.tk-stack--column{flex-direction:column}.tk-stack--wrap{flex-wrap:wrap}.tk-accordion{display:flex;flex-direction:column;width:100%}.tk-accordion__item{position:relative;background:var(--tk-color-surface)}.tk-accordion--outlined{border:1px solid var(--tk-color-outline-variant);border-radius:var(--tk-radius-md);overflow:hidden}.tk-accordion--outlined .tk-accordion__item+.tk-accordion__item{border-top:1px solid var(--tk-color-outline-variant)}.tk-accordion--filled{gap:2px}.tk-accordion--filled .tk-accordion__item{background:var(--tk-color-surface-container-highest)}.tk-accordion--filled .tk-accordion__item:first-child{border-radius:var(--tk-radius-md) var(--tk-radius-md) 0 0}.tk-accordion--filled .tk-accordion__item:last-child{border-radius:0 0 var(--tk-radius-md) var(--tk-radius-md)}.tk-accordion--elevated{gap:8px}.tk-accordion--elevated .tk-accordion__item{background:var(--tk-color-surface-container-low);border-radius:var(--tk-radius-md);box-shadow:var(--tk-elevation-1);overflow:hidden}.tk-accordion--flush .tk-accordion__item+.tk-accordion__item{border-top:1px solid var(--tk-color-outline-variant)}.tk-accordion--flush .tk-accordion__item{background:transparent}.tk-accordion__heading{margin:0;font:inherit}.tk-accordion__trigger{position:relative;display:flex;align-items:center;gap:16px;width:100%;min-height:56px;padding:12px 16px;border:0;background:none;color:var(--tk-color-on-surface);text-align:start;font:var(--tk-type-title-medium);letter-spacing:var(--tk-tracking-title-medium);cursor:pointer}.tk-accordion__trigger:before{content:"";position:absolute;inset:0;background:currentColor;opacity:0;pointer-events:none;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}.tk-accordion__trigger:hover:before{opacity:.08}.tk-accordion__trigger:active:before{opacity:.1}.tk-accordion__trigger:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:-3px}.tk-accordion__icon{display:inline-flex;color:var(--tk-color-on-surface-variant)}.tk-accordion__titles{display:flex;flex-direction:column;flex:1;min-width:0}.tk-accordion__subtitle{font:var(--tk-type-body-small);color:var(--tk-color-on-surface-variant)}.tk-accordion__chevron{color:var(--tk-color-on-surface-variant);transition:transform var(--tk-duration-medium2) var(--tk-easing-emphasized)}.tk-accordion__item--open>.tk-accordion__heading .tk-accordion__chevron{transform:rotate(180deg)}.tk-accordion__content{padding:0 16px 16px;font:var(--tk-type-body-medium);color:var(--tk-color-on-surface-variant)}.tk-accordion__item--disabled .tk-accordion__trigger{opacity:.38;cursor:not-allowed}.tk-alert{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;border-radius:var(--tk-radius-sm);font:var(--tk-type-body-medium);background:var(--tk-cc);color:var(--tk-on-cc)}.tk-alert--filled{background:var(--tk-c);color:var(--tk-on-c)}.tk-alert--outlined{background:transparent;color:var(--tk-color-on-surface);box-shadow:inset 0 0 0 1px var(--tk-c)}.tk-alert--outlined .tk-alert__icon{color:var(--tk-c)}.tk-alert__icon{display:inline-flex;padding-top:1px;flex:none}.tk-alert__body{flex:1;min-width:0;padding-top:2px}.tk-alert__title{font:var(--tk-type-title-small);margin-bottom:2px}.tk-alert__action{display:flex;align-items:center;flex:none;margin-inline-start:auto}.tk-alert__close{display:inline-flex;flex:none;align-items:center;justify-content:center;width:28px;height:28px;margin:-2px -6px -2px 0;padding:0;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer;opacity:.8}.tk-alert__close:hover{opacity:1;background:color-mix(in srgb,currentColor 10%,transparent)}.tk-alert__close:focus-visible{outline:2px solid currentColor;outline-offset:1px}.tk-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--tk-avatar-size, 40px);height:var(--tk-avatar-size, 40px);border-radius:50%;background:var(--tk-cc, var(--tk-color-secondary-container));color:var(--tk-on-cc, var(--tk-color-on-secondary-container));font-size:calc(var(--tk-avatar-size, 40px) * .4);font-weight:500;line-height:1;user-select:none;vertical-align:middle}.tk-avatar--rounded{border-radius:var(--tk-radius-md)}.tk-avatar__img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.tk-avatar__status{position:absolute;right:0;bottom:0;width:max(8px,24%);height:max(8px,24%);border-radius:50%;box-shadow:0 0 0 2px var(--tk-color-surface);background:var(--tk-color-outline)}.tk-avatar__status--online{background:var(--tk-color-success)}.tk-avatar__status--busy{background:var(--tk-color-error)}.tk-avatar__status--away{background:var(--tk-color-warning)}.tk-avatar-group{display:inline-flex;flex-direction:row}.tk-avatar-group>.tk-avatar{box-shadow:0 0 0 2px var(--tk-color-surface)}.tk-avatar-group>.tk-avatar+.tk-avatar{margin-inline-start:-10px}.tk-avatar--more{background:var(--tk-color-surface-container-highest);color:var(--tk-color-on-surface-variant)}.tk-badge-anchor{position:relative;display:inline-flex;flex:none;vertical-align:middle}.tk-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:var(--tk-radius-full);background:var(--tk-c, var(--tk-color-error));color:var(--tk-on-c, var(--tk-color-on-error));font:var(--tk-type-label-small);line-height:1;white-space:nowrap;transition:transform var(--tk-duration-short3) var(--tk-easing-standard)}.tk-badge--dot{min-width:6px;width:6px;height:6px;padding:0}.tk-badge--hidden{transform:scale(0)}.tk-badge--anchored{position:absolute;z-index:1;transform-origin:center}.tk-badge--top-end{top:0;right:0;transform:translate(50%,-50%)}.tk-badge--top-start{top:0;left:0;transform:translate(-50%,-50%)}.tk-badge--bottom-end{bottom:0;right:0;transform:translate(50%,50%)}.tk-badge--bottom-start{bottom:0;left:0;transform:translate(-50%,50%)}.tk-badge--circular.tk-badge--top-end{top:14%;right:14%}.tk-badge--circular.tk-badge--top-start{top:14%;left:14%}.tk-badge--circular.tk-badge--bottom-end{bottom:14%;right:14%}.tk-badge--circular.tk-badge--bottom-start{bottom:14%;left:14%}.tk-badge--hidden.tk-badge--top-end{transform:translate(50%,-50%) scale(0)}.tk-badge--hidden.tk-badge--top-start{transform:translate(-50%,-50%) scale(0)}.tk-badge--hidden.tk-badge--bottom-end{transform:translate(50%,50%) scale(0)}.tk-badge--hidden.tk-badge--bottom-start{transform:translate(-50%,50%) scale(0)}.tk-breadcrumb{font:var(--tk-type-body-medium)}.tk-breadcrumb__list{display:flex;flex-wrap:wrap;align-items:center;margin:0;padding:0;list-style:none;gap:4px}.tk-breadcrumb__item{display:inline-flex;align-items:center;gap:4px}.tk-breadcrumb__link,.tk-breadcrumb__text,.tk-breadcrumb__current{display:inline-flex;align-items:center;gap:6px;padding:4px 6px;border-radius:var(--tk-radius-xs)}.tk-breadcrumb__link{color:var(--tk-color-primary);text-decoration:none;cursor:pointer}.tk-breadcrumb__link:hover{text-decoration:underline;background:color-mix(in srgb,var(--tk-color-primary) 8%,transparent)}.tk-breadcrumb__link:focus-visible,.tk-breadcrumb__ellipsis:focus-visible{outline:2px solid var(--tk-color-secondary)}.tk-breadcrumb__text{color:var(--tk-color-on-surface-variant)}.tk-breadcrumb__current{color:var(--tk-color-on-surface);font-weight:500}.tk-breadcrumb__sep{display:inline-flex;color:var(--tk-color-on-surface-variant)}.tk-breadcrumb__link svg,.tk-breadcrumb__text svg,.tk-breadcrumb__current svg{width:18px;height:18px}.tk-breadcrumb__ellipsis{padding:0 8px;height:24px;border:0;border-radius:var(--tk-radius-xs);background:var(--tk-color-surface-container-high);color:var(--tk-color-on-surface-variant);cursor:pointer;font:inherit;line-height:1}.tk-breadcrumb__ellipsis:hover{background:var(--tk-color-surface-container-highest)}.tk-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:40px;padding:0 24px;margin:0;border:0;border-radius:var(--tk-radius-full);font:var(--tk-type-label-large);letter-spacing:var(--tk-tracking-label-large);text-decoration:none;white-space:nowrap;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle;background:var(--tk-c);color:var(--tk-on-c);transition:box-shadow var(--tk-duration-short3) var(--tk-easing-standard),background-color var(--tk-duration-short3) var(--tk-easing-standard),border-radius var(--tk-duration-short3) var(--tk-easing-standard)}.tk-btn:before{content:"";position:absolute;inset:0;border-radius:inherit;background:currentColor;opacity:0;pointer-events:none;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}.tk-btn:hover:before{opacity:.08}.tk-btn:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:2px}.tk-btn:focus-visible:before{opacity:.1}.tk-btn:active:before{opacity:.1}.tk-btn:hover.tk-btn--filled,.tk-btn:hover.tk-btn--tonal{box-shadow:var(--tk-elevation-1)}.tk-btn:hover.tk-btn--elevated{box-shadow:var(--tk-elevation-2)}.tk-btn:active{box-shadow:none}.tk-btn--sm{min-height:32px;padding:0 16px;gap:6px}.tk-btn--lg{min-height:56px;padding:0 32px;gap:10px;font:var(--tk-type-title-medium)}.tk-btn--has-start{padding-inline-start:16px}.tk-btn--has-end{padding-inline-end:16px}.tk-btn--sm.tk-btn--has-start{padding-inline-start:12px}.tk-btn--sm.tk-btn--has-end{padding-inline-end:12px}.tk-btn--lg.tk-btn--has-start{padding-inline-start:24px}.tk-btn--lg.tk-btn--has-end{padding-inline-end:24px}.tk-btn--square{border-radius:var(--tk-radius-md)}.tk-btn--full{display:flex;width:100%}.tk-btn--tonal{background:var(--tk-cc);color:var(--tk-on-cc)}.tk-btn--tonal.tk-c-primary{background:var(--tk-color-secondary-container);color:var(--tk-color-on-secondary-container)}.tk-btn--elevated{background:var(--tk-color-surface-container-low);color:var(--tk-c);box-shadow:var(--tk-elevation-1)}.tk-btn--outlined{background:transparent;color:var(--tk-c);box-shadow:inset 0 0 0 1px var(--tk-color-outline)}.tk-btn--outlined:hover{box-shadow:inset 0 0 0 1px var(--tk-color-outline)}.tk-btn--outlined.tk-c-error,.tk-btn--outlined.tk-c-error:hover{box-shadow:inset 0 0 0 1px var(--tk-color-error)}.tk-btn--text{background:transparent;color:var(--tk-c);padding:0 12px}.tk-btn--text.tk-btn--has-start{padding-inline-start:12px}.tk-btn--text.tk-btn--has-end{padding-inline-end:12px}.tk-btn--selected.tk-btn--outlined{background:var(--tk-color-inverse-surface);color:var(--tk-color-inverse-on-surface);box-shadow:none}.tk-btn--selected.tk-btn--filled{background:var(--tk-cc);color:var(--tk-on-cc)}.tk-btn--selected.tk-btn--tonal{background:var(--tk-c);color:var(--tk-on-c)}.tk-btn--icon{width:40px;padding:0}.tk-btn--icon.tk-btn--sm{width:32px}.tk-btn--icon.tk-btn--lg{width:56px;padding:0}.tk-btn--icon.tk-btn--text{padding:0}.tk-btn__icon{display:inline-flex;font-size:0}.tk-btn__icon>svg{width:18px;height:18px}.tk-btn--icon .tk-btn__icon>svg{width:24px;height:24px}.tk-btn--lg .tk-btn__icon>svg{width:24px;height:24px}.tk-btn__spinner{color:inherit}.tk-btn__badge{position:absolute;top:0;right:0;transform:translate(35%,-35%)}.tk-btn--loading{cursor:progress}.tk-btn:disabled,.tk-btn[aria-disabled=true]{cursor:not-allowed;box-shadow:none}.tk-btn:disabled:not(.tk-btn--loading),.tk-btn[aria-disabled=true]:not(.tk-btn--loading){color:color-mix(in srgb,var(--tk-color-on-surface) 38%,transparent);pointer-events:none}.tk-btn:disabled.tk-btn--filled:not(.tk-btn--loading),.tk-btn:disabled.tk-btn--tonal:not(.tk-btn--loading),.tk-btn:disabled.tk-btn--elevated:not(.tk-btn--loading){background:color-mix(in srgb,var(--tk-color-on-surface) 12%,transparent)}.tk-btn:disabled.tk-btn--outlined:not(.tk-btn--loading){box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tk-color-on-surface) 12%,transparent)}.tk-cal{display:inline-flex;flex-direction:column;width:328px;max-width:100%;padding:12px;border-radius:var(--tk-radius-xl);background:var(--tk-color-surface-container-high);color:var(--tk-color-on-surface);font:var(--tk-type-body-medium);user-select:none}.tk-cal--disabled{opacity:.38;pointer-events:none}.tk-cal__header{display:flex;align-items:center;justify-content:space-between;padding:0 0 8px 12px;min-height:48px}.tk-cal__title{display:inline-flex;align-items:center;gap:4px;padding:8px 8px 8px 4px;border:0;border-radius:var(--tk-radius-full);background:none;color:var(--tk-color-on-surface-variant);font:var(--tk-type-title-small);cursor:pointer}.tk-cal__title:hover{background:color-mix(in srgb,var(--tk-color-on-surface-variant) 8%,transparent)}.tk-cal__title:focus-visible,.tk-cal__navbtn:focus-visible,.tk-cal__year:focus-visible,.tk-cal__today:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:1px}.tk-cal__nav{display:flex;gap:0}.tk-cal__navbtn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:none;color:var(--tk-color-on-surface-variant);cursor:pointer}.tk-cal__navbtn:hover:not(:disabled){background:color-mix(in srgb,var(--tk-color-on-surface-variant) 8%,transparent)}.tk-cal__navbtn:disabled{opacity:.38;cursor:default}.tk-cal__row{display:grid;grid-template-columns:repeat(7,1fr)}.tk-cal__weekday{display:flex;align-items:center;justify-content:center;height:40px;font:var(--tk-type-body-large);color:var(--tk-color-on-surface)}.tk-cal__cell{position:relative;display:flex;align-items:center;justify-content:center;height:40px}.tk-cal__cell--range{background:var(--tk-color-secondary-container)}.tk-cal__cell--range-start{background:linear-gradient(90deg,transparent 50%,var(--tk-color-secondary-container) 50%)}.tk-cal__cell--range-end{background:linear-gradient(90deg,var(--tk-color-secondary-container) 50%,transparent 50%)}[dir=rtl] .tk-cal__cell--range-start{background:linear-gradient(270deg,transparent 50%,var(--tk-color-secondary-container) 50%)}[dir=rtl] .tk-cal__cell--range-end{background:linear-gradient(270deg,var(--tk-color-secondary-container) 50%,transparent 50%)}.tk-cal__day{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:none;color:var(--tk-color-on-surface);font:var(--tk-type-body-large);cursor:pointer;-webkit-tap-highlight-color:transparent}.tk-cal__day:hover:not(:disabled):not(.tk-cal__day--selected){background:color-mix(in srgb,var(--tk-color-on-surface) 8%,transparent)}.tk-cal__day:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:-1px;z-index:1}.tk-cal__day--today{box-shadow:inset 0 0 0 1px var(--tk-color-outline)}.tk-cal__day--outside{color:var(--tk-color-on-surface-variant);opacity:.6}.tk-cal__day--selected{background:var(--tk-color-primary);color:var(--tk-color-on-primary);box-shadow:none;opacity:1}.tk-cal__day:disabled{opacity:.38;cursor:not-allowed;text-decoration:line-through}.tk-cal__years{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 0;max-height:280px;overflow-y:auto;padding:4px 0}.tk-cal__year{height:36px;border:0;border-radius:var(--tk-radius-full);background:none;color:var(--tk-color-on-surface);font:var(--tk-type-body-large);cursor:pointer;margin-inline:auto;width:72px}.tk-cal__year:hover{background:color-mix(in srgb,var(--tk-color-on-surface) 8%,transparent)}.tk-cal__year--today{box-shadow:inset 0 0 0 1px var(--tk-color-outline)}.tk-cal__year--selected{background:var(--tk-color-primary);color:var(--tk-color-on-primary);box-shadow:none}.tk-cal__footer{display:flex;justify-content:flex-end;padding-top:8px}.tk-cal__today{padding:8px 16px;border:0;border-radius:var(--tk-radius-full);background:none;color:var(--tk-color-primary);font:var(--tk-type-label-large);cursor:pointer}.tk-cal__today:hover:not(:disabled){background:color-mix(in srgb,var(--tk-color-primary) 8%,transparent)}.tk-cal__today:disabled{opacity:.38}.tk-card{position:relative;display:flex;flex-direction:column;min-width:0;border-radius:var(--tk-radius-md);background:var(--tk-color-surface-container-low);color:var(--tk-color-on-surface);box-shadow:var(--tk-elevation-1);text-decoration:none;overflow:hidden;transition:box-shadow var(--tk-duration-short3) var(--tk-easing-standard)}.tk-card--filled{background:var(--tk-color-surface-container-highest);box-shadow:none}.tk-card--outlined{background:var(--tk-color-surface);box-shadow:inset 0 0 0 1px var(--tk-color-outline-variant)}.tk-card--horizontal{flex-direction:row}.tk-card--interactive{cursor:pointer;-webkit-tap-highlight-color:transparent}.tk-card--interactive:after{content:"";position:absolute;inset:0;background:var(--tk-color-on-surface);opacity:0;pointer-events:none;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}.tk-card--interactive:hover:after{opacity:.08}.tk-card--interactive:active:after{opacity:.1}.tk-card--interactive.tk-card--elevated:hover{box-shadow:var(--tk-elevation-2)}.tk-card--interactive:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:2px}.tk-card__header{display:flex;align-items:center;gap:12px;padding:16px 16px 8px}.tk-card__avatar{flex:none}.tk-card__heading{flex:1;min-width:0}.tk-card__title{font:var(--tk-type-title-medium)}.tk-card__subtitle{font:var(--tk-type-body-medium);color:var(--tk-color-on-surface-variant)}.tk-card__action{flex:none}.tk-card__media{position:relative;width:100%;overflow:hidden;background:var(--tk-color-surface-container-highest)}.tk-card__media img{display:block;width:100%;height:100%;object-fit:cover}.tk-card--horizontal>.tk-card__media{width:40%;height:auto!important;flex:none}.tk-card__content{padding:16px;font:var(--tk-type-body-medium);color:var(--tk-color-on-surface-variant)}.tk-card__header+.tk-card__content{padding-top:8px}.tk-card__actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 16px 16px}.tk-card__actions--end{justify-content:flex-end}.tk-card__actions--between{justify-content:space-between}.tk-check{display:inline-flex;align-items:flex-start;gap:4px;cursor:pointer;font:var(--tk-type-body-large);color:var(--tk-color-on-surface);-webkit-tap-highlight-color:transparent}.tk-check--reverse{flex-direction:row-reverse}.tk-check--disabled{cursor:not-allowed;opacity:.38}.tk-check__control{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;margin:-8px 0;--_on: var(--tk-c, var(--tk-color-primary))}.tk-check__input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit;z-index:1}.tk-check__control:before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--_on);opacity:0;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}.tk-check:hover .tk-check__control:before{opacity:.08}.tk-check__input:focus-visible~.tk-check__box{outline:3px solid var(--tk-color-secondary);outline-offset:3px}.tk-check__input:active~.tk-check__box{transform:scale(.92)}.tk-check__box{position:relative;display:inline-flex;width:18px;height:18px;border-radius:2px;box-shadow:inset 0 0 0 2px var(--tk-color-on-surface-variant);transition:background-color var(--tk-duration-short3) var(--tk-easing-standard),box-shadow var(--tk-duration-short3) var(--tk-easing-standard),transform var(--tk-duration-short2) var(--tk-easing-standard)}.tk-check.tk-c-error .tk-check__box{box-shadow:inset 0 0 0 2px var(--tk-color-error)}.tk-check__input:checked~.tk-check__box,.tk-check__input:indeterminate~.tk-check__box{background:var(--_on);box-shadow:none}.tk-check__mark{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--tk-on-c, var(--tk-color-on-primary));stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.tk-check__tick,.tk-check__dash{stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset var(--tk-duration-short4) var(--tk-easing-standard)}.tk-check__input:checked~.tk-check__box .tk-check__tick{stroke-dashoffset:0}.tk-check__input:indeterminate~.tk-check__box .tk-check__dash{stroke-dashoffset:0}.tk-check__input:indeterminate~.tk-check__box .tk-check__tick{stroke-dashoffset:24}.tk-check__text{display:inline-flex;flex-direction:column;padding-top:6px}.tk-check__desc{font:var(--tk-type-body-small);color:var(--tk-color-on-surface-variant)}.tk-chip{position:relative;display:inline-flex;align-items:center;height:32px;border-radius:var(--tk-radius-sm);box-shadow:inset 0 0 0 1px var(--tk-color-outline-variant);background:transparent;color:var(--tk-color-on-surface-variant);font:var(--tk-type-label-large);letter-spacing:var(--tk-tracking-label-large);vertical-align:middle;max-width:100%;transition:background-color var(--tk-duration-short3) var(--tk-easing-standard),box-shadow var(--tk-duration-short3) var(--tk-easing-standard)}.tk-chip--sm{height:24px;font:var(--tk-type-label-medium)}.tk-chip--elevated{background:var(--tk-color-surface-container-low);box-shadow:var(--tk-elevation-1)}.tk-chip--selected{background:var(--tk-color-secondary-container);color:var(--tk-color-on-secondary-container);box-shadow:none}.tk-chip__main{position:relative;display:inline-flex;align-items:center;gap:8px;min-width:0;height:100%;padding:0 16px;margin:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;border-radius:inherit}button.tk-chip__main{cursor:pointer;-webkit-tap-highlight-color:transparent}.tk-chip--has-leading .tk-chip__main{padding-inline-start:8px}.tk-chip--deletable .tk-chip__main{padding-inline-end:8px}.tk-chip--sm .tk-chip__main{padding:0 10px}.tk-chip__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tk-chip__icon,.tk-chip__avatar{display:inline-flex;flex:none;color:var(--tk-color-primary)}.tk-chip__icon>svg{width:18px;height:18px}.tk-chip__avatar{margin-inline-start:-4px}.tk-chip__avatar .tk-avatar{width:24px;height:24px;font-size:.6875rem}.tk-chip__delete{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-inline-end:6px;padding:0;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer}.tk-chip__main:before,.tk-chip__delete:before{content:"";position:absolute;inset:0;border-radius:inherit;background:currentColor;opacity:0;pointer-events:none;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}button.tk-chip__main:hover:before,.tk-chip__delete:hover:before{opacity:.08}button.tk-chip__main:active:before,.tk-chip__delete:active:before{opacity:.1}.tk-chip__main:focus-visible,.tk-chip__delete:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:1px}.tk-chip--disabled{opacity:.38;pointer-events:none}.tk-collapse{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows var(--tk-duration-medium2) var(--tk-easing-emphasized),visibility 0s linear var(--tk-duration-medium2)}.tk-collapse--open{grid-template-rows:1fr;visibility:visible;transition-delay:0s}.tk-collapse__inner{min-height:0;overflow:hidden}.tk-menu{z-index:var(--tk-z-popover, 400);min-width:200px;max-width:320px;padding:8px 0;border-radius:var(--tk-radius-xs);background:var(--tk-color-surface-container);color:var(--tk-color-on-surface);box-shadow:var(--tk-elevation-2);font:var(--tk-type-label-large);animation:tk-fade-in var(--tk-duration-short3) var(--tk-easing-standard);outline:none}.tk-menu__item{position:relative;display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;cursor:pointer;outline:none;user-select:none}.tk-menu__item:before{content:"";position:absolute;inset:0;background:currentColor;opacity:0;pointer-events:none}.tk-menu__item:hover:before,.tk-menu__item:focus-visible:before,.tk-menu__item:focus:before{opacity:.08}.tk-menu__item:active:before{opacity:.1}.tk-menu__item--danger{color:var(--tk-color-error)}.tk-menu__item--disabled{opacity:.38;cursor:not-allowed}.tk-menu__icon{display:inline-flex;width:24px;height:24px;flex:none;color:var(--tk-color-on-surface-variant)}.tk-menu__item--danger .tk-menu__icon{color:inherit}.tk-menu__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tk-menu__shortcut{flex:none;color:var(--tk-color-on-surface-variant);font:var(--tk-type-label-medium)}.tk-menu__divider{height:1px;margin:8px 0;background:var(--tk-color-outline-variant)}.tk-menu__heading{padding:8px 12px 4px;font:var(--tk-type-label-small);color:var(--tk-color-on-surface-variant);text-transform:uppercase;letter-spacing:.06em}.tk-dialog{padding:24px 0 0}.tk-dialog__header{padding:0 24px;display:flex;flex-direction:column;gap:16px}.tk-dialog--icon .tk-dialog__header{align-items:center;text-align:center}.tk-dialog__icon{display:inline-flex;color:var(--tk-color-secondary)}.tk-dialog__icon>svg{width:24px;height:24px}.tk-dialog__title{margin:0;font:var(--tk-type-headline-small);color:var(--tk-color-on-surface)}.tk-dialog__desc{margin:0;font:var(--tk-type-body-medium);color:var(--tk-color-on-surface-variant)}.tk-dialog__header+.tk-dialog__body{margin-top:16px}.tk-dialog__body{padding:0 24px;overflow-y:auto;font:var(--tk-type-body-medium);color:var(--tk-color-on-surface-variant);min-height:0}.tk-dialog__actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:24px}.tk-divider{display:block;flex:none;width:100%;height:0;margin:0;border:0;border-top:1px solid var(--tk-color-outline-variant);color:var(--tk-color-on-surface-variant)}.tk-divider--vertical{width:0;height:auto;align-self:stretch;border-top:0;border-inline-start:1px solid var(--tk-color-outline-variant)}.tk-divider--inset{margin-inline-start:16px;width:auto}.tk-divider--middle{margin-inline:16px;width:auto}.tk-divider--vertical.tk-divider--inset{margin:16px 0 0}.tk-divider--vertical.tk-divider--middle{margin:16px 0}.tk-divider--labelled{display:flex;align-items:center;gap:16px;height:auto;border:0;font:var(--tk-type-label-medium)}.tk-divider--labelled:before,.tk-divider--labelled:after{content:"";flex:1;border-top:1px solid var(--tk-color-outline-variant)}.tk-divider--labelled.tk-divider--start:before{flex:0 0 16px}.tk-divider--labelled.tk-divider--end:after{flex:0 0 16px}.tk-divider--labelled.tk-divider--vertical{flex-direction:column;width:auto}.tk-divider--labelled.tk-divider--vertical:before,.tk-divider--labelled.tk-divider--vertical:after{border-top:0;border-inline-start:1px solid var(--tk-color-outline-variant)}.tk-upload{display:flex;flex-direction:column;gap:8px;width:100%}.tk-upload__zone{display:flex;flex-direction:column;align-items:center;gap:4px;padding:24px 16px;text-align:center;border-radius:var(--tk-radius-md);border:2px dashed var(--tk-color-outline);background:var(--tk-color-surface-container-lowest);cursor:pointer;transition:background-color var(--tk-duration-short3) var(--tk-easing-standard),border-color var(--tk-duration-short3) var(--tk-easing-standard)}.tk-upload__zone:hover{background:var(--tk-color-surface-container-low)}.tk-upload__zone:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:2px}.tk-upload__zone--drag{border-color:var(--tk-color-primary);background:var(--tk-color-primary-container)}.tk-upload--error .tk-upload__zone{border-color:var(--tk-color-error)}.tk-upload__icon{color:var(--tk-color-primary)}.tk-upload__title{font:var(--tk-type-body-large)}.tk-upload__link{color:var(--tk-color-primary);font-weight:500}.tk-upload__hint,.tk-upload__helper{font:var(--tk-type-body-small);color:var(--tk-color-on-surface-variant)}.tk-upload--error .tk-upload__helper{color:var(--tk-color-error)}.tk-upload__button-row{display:flex;align-items:center;gap:12px}.tk-upload__errors{margin:0;padding:0;list-style:none;font:var(--tk-type-body-small);color:var(--tk-color-error)}.tk-upload__list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}.tk-upload__item{display:flex;align-items:center;gap:12px;padding:8px 8px 8px 12px;border-radius:var(--tk-radius-sm);background:var(--tk-color-surface-container)}.tk-upload__file-icon{color:var(--tk-color-on-surface-variant)}.tk-upload__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--tk-type-body-medium)}.tk-upload__size{flex:none;font:var(--tk-type-body-small);color:var(--tk-color-on-surface-variant)}.tk-upload__remove{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:none;color:var(--tk-color-on-surface-variant);cursor:pointer}.tk-upload__remove:hover{background:color-mix(in srgb,var(--tk-color-on-surface) 8%,transparent)}.tk-upload__remove:focus-visible{outline:2px solid var(--tk-color-primary)}.tk-upload--disabled{opacity:.38;pointer-events:none}.tk-icon{flex:none;display:inline-block;vertical-align:middle;fill:currentColor}.tk-field{display:inline-flex;flex-direction:column;min-width:0;max-width:100%;vertical-align:top;width:240px}.tk-field--full{display:flex;width:100%}.tk-field__container{position:relative;display:flex;align-items:center;min-height:56px;padding:0 16px;gap:12px;border-radius:var(--tk-radius-xs);cursor:text;color:var(--tk-color-on-surface)}.tk-field--sm .tk-field__container{min-height:40px}.tk-field__control{position:relative;flex:1;min-width:0;align-self:stretch;display:flex;align-items:center}.tk-field__input{width:100%;min-width:0;height:100%;margin:0;padding:0;border:0;outline:0;background:transparent;font:var(--tk-type-body-large);letter-spacing:var(--tk-tracking-body-large);color:var(--tk-color-on-surface);caret-color:var(--tk-color-primary);text-overflow:ellipsis}.tk-field__input::placeholder{color:var(--tk-color-on-surface-variant);opacity:0;transition:opacity var(--tk-duration-short3) var(--tk-easing-standard)}.tk-field--float .tk-field__input::placeholder,.tk-field:not(.tk-field--has-label) .tk-field__input::placeholder{opacity:1}.tk-field__input::-ms-reveal{display:none}.tk-field__label{position:absolute;left:0;top:50%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-50%);transform-origin:left top;font:var(--tk-type-body-large);color:var(--tk-color-on-surface-variant);pointer-events:none;transition:top var(--tk-duration-short4) var(--tk-easing-standard),transform var(--tk-duration-short4) var(--tk-easing-standard),color var(--tk-duration-short4) var(--tk-easing-standard),max-width var(--tk-duration-short4) var(--tk-easing-standard)}.tk-field--float .tk-field__label{top:0;transform:translateY(-50%) scale(.75);max-width:133%}.tk-field--focused .tk-field__label{color:var(--tk-color-primary)}.tk-field--error .tk-field__label{color:var(--tk-color-error)}.tk-field__outline{position:absolute;inset:-5px 0 0;margin:0;padding:0 12px;min-width:0;border:1px solid var(--tk-color-outline);border-radius:inherit;pointer-events:none;transition:border-color var(--tk-duration-short3) var(--tk-easing-standard)}.tk-field--outlined:not(.tk-field--has-label) .tk-field__outline{inset:0}.tk-field__legend{display:block;float:unset;width:auto;max-width:.01px;height:11px;padding:0;visibility:hidden;font-size:.75em;white-space:nowrap;transition:max-width var(--tk-duration-short2) var(--tk-easing-standard)}.tk-field__legend>span{display:inline-block;padding:0 5px;opacity:0;visibility:visible}.tk-field--float .tk-field__legend{max-width:100%;transition-delay:40ms}.tk-field--outlined:hover .tk-field__outline{border-color:var(--tk-color-on-surface)}.tk-field--outlined.tk-field--focused .tk-field__outline{border-width:2px;border-color:var(--tk-color-primary);padding:0 11px}.tk-field--outlined.tk-field--error .tk-field__outline{border-color:var(--tk-color-error)}.tk-field--outlined.tk-field--error:hover .tk-field__outline{border-color:var(--tk-color-on-error-container)}.tk-field--filled .tk-field__container{background:var(--tk-color-surface-container-highest);border-radius:var(--tk-radius-xs) var(--tk-radius-xs) 0 0}.tk-field--filled .tk-field__input{padding-top:16px}.tk-field--filled.tk-field--sm .tk-field__input{padding-top:0}.tk-field--filled .tk-field__label{top:50%}.tk-field--filled.tk-field--float .tk-field__label{top:8px;transform:translateY(0) scale(.75)}.tk-field--filled:not(.tk-field--has-label) .tk-field__input{padding-top:0}.tk-field__indicator{position:absolute;inset:auto 0 0;height:1px;background:var(--tk-color-on-surface-variant);transition:height var(--tk-duration-short2) var(--tk-easing-standard),background-color var(--tk-duration-short2) var(--tk-easing-standard)}.tk-field--filled:hover .tk-field__container{background:color-mix(in srgb,var(--tk-color-on-surface) 4%,var(--tk-color-surface-container-highest))}.tk-field--filled.tk-field--focused .tk-field__indicator{height:2px;background:var(--tk-color-primary)}.tk-field--filled.tk-field--error .tk-field__indicator{background:var(--tk-color-error)}.tk-field__adorn{display:inline-flex;align-items:center;flex:none;color:var(--tk-color-on-surface-variant);gap:4px}.tk-field--error .tk-field__adorn--end{color:var(--tk-color-error)}.tk-field__action{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer}.tk-field__action:hover{background:color-mix(in srgb,var(--tk-color-on-surface) 8%,transparent)}.tk-field__action:focus-visible{outline:2px solid var(--tk-color-primary)}.tk-field__footer{display:flex;justify-content:space-between;gap:16px;padding:4px 16px 0;font:var(--tk-type-body-small);color:var(--tk-color-on-surface-variant)}.tk-field--error .tk-field__footer .tk-field__helper{color:var(--tk-color-error)}.tk-field__counter{margin-inline-start:auto;flex:none}.tk-field--disabled{opacity:.38;pointer-events:none}.tk-field--multiline .tk-field__container{align-items:flex-start;padding-block:0}.tk-field--multiline .tk-field__control{align-items:flex-start}.tk-field--multiline .tk-field__label{top:28px}.tk-field--multiline.tk-field--float .tk-field__label{top:0}.tk-field--multiline.tk-field--filled.tk-field--float .tk-field__label{top:8px}.tk-field__textarea{display:block;width:100%;padding:17px 0;resize:vertical;line-height:1.5rem;height:auto}.tk-field--filled .tk-field__textarea{padding-top:26px;padding-bottom:8px}.tk-field__textarea--auto{resize:none;overflow:hidden}.tk-field__tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;padding:12px 0}.tk-field--filled .tk-field__tags{padding-top:22px;padding-bottom:8px}.tk-field__tags .tk-field__input{flex:1 1 80px;width:auto;min-width:80px;height:32px}.tk-spinner{display:inline-block;flex:none;width:var(--tk-spinner-size, 24px);height:var(--tk-spinner-size, 24px);color:var(--tk-c, var(--tk-color-primary));animation:tk-rotate 1.4s linear infinite}.tk-spinner svg{display:block;width:100%;height:100%}.tk-spinner circle{fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-dasharray:80 126;animation:tk-spinner-dash 1.4s ease-in-out infinite}@keyframes tk-spinner-dash{0%{stroke-dasharray:1 126;stroke-dashoffset:0}50%{stroke-dasharray:80 126;stroke-dashoffset:-30}to{stroke-dasharray:80 126;stroke-dashoffset:-124}}.tk-loader{display:inline-flex;align-items:center;gap:12px;color:var(--tk-c, var(--tk-color-primary));--_s: 24px}.tk-loader--sm{--_s: 16px}.tk-loader--lg{--_s: 40px}.tk-loader__label{font:var(--tk-type-body-medium);color:var(--tk-color-on-surface-variant)}.tk-loader__anim{display:inline-flex;align-items:center;justify-content:center;gap:calc(var(--_s) * .18);height:var(--_s);min-width:var(--_s)}.tk-loader__anim i{display:block;background:currentColor}.tk-loader__anim--dots i{width:calc(var(--_s) * .3);height:calc(var(--_s) * .3);border-radius:50%;animation:tk-dots 1.2s ease-in-out infinite both}.tk-loader__anim--dots i:nth-child(2){animation-delay:.16s}.tk-loader__anim--dots i:nth-child(3){animation-delay:.32s}@keyframes tk-dots{0%,80%,to{transform:scale(.4);opacity:.4}40%{transform:scale(1);opacity:1}}.tk-loader__anim--bars i{width:calc(var(--_s) * .18);height:100%;border-radius:2px;animation:tk-bars 1s ease-in-out infinite}.tk-loader__anim--bars i:nth-child(2){animation-delay:.15s}.tk-loader__anim--bars i:nth-child(3){animation-delay:.3s}@keyframes tk-bars{0%,to{transform:scaleY(.35)}50%{transform:scaleY(1)}}.tk-loader__anim--pulse{position:relative;width:var(--_s)}.tk-loader__anim--pulse i{position:absolute;width:var(--_s);height:var(--_s);border-radius:50%;opacity:0;animation:tk-pulse 1.6s ease-out infinite}.tk-loader__anim--pulse i:nth-child(2){animation-delay:.5s}.tk-loader__anim--pulse i:nth-child(3){display:none}@keyframes tk-pulse{0%{transform:scale(.2);opacity:.8}to{transform:scale(1);opacity:0}}.tk-modal{position:fixed;inset:0;z-index:var(--tk-z-modal, 300)}.tk-modal__backdrop{position:absolute;inset:0;background:color-mix(in srgb,var(--tk-color-scrim) 32%,transparent);opacity:0;transition:opacity var(--tk-duration-short4) var(--tk-easing-standard)}.tk-modal--open .tk-modal__backdrop{opacity:1}.tk-modal__wrap{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto}.tk-modal__panel{position:relative;display:flex;flex-direction:column;width:100%;max-height:100%;border-radius:var(--tk-radius-xl);background:var(--tk-color-surface-container-high);color:var(--tk-color-on-surface);box-shadow:var(--tk-elevation-3);outline:none;opacity:0;transform:scale(.92) translateY(8px);transition:opacity var(--tk-duration-short4) var(--tk-easing-standard),transform var(--tk-duration-medium2) var(--tk-easing-emphasized-decelerate)}.tk-modal--open .tk-modal__panel{opacity:1;transform:none}.tk-modal__panel--sm{max-width:400px}.tk-modal__panel--md{max-width:560px}.tk-modal__panel--lg{max-width:800px}.tk-modal__panel--xl{max-width:1100px}.tk-modal__panel--fullscreen{max-width:none;height:100%;border-radius:0}.tk-modal:has(.tk-modal__panel--fullscreen) .tk-modal__wrap{padding:0}@media(max-width:599px){.tk-modal__wrap{padding:16px}}.tk-navbar{z-index:var(--tk-z-sticky, 100);width:100%;background:var(--tk-color-surface);color:var(--tk-color-on-surface);transition:background-color var(--tk-duration-medium2) var(--tk-easing-standard),box-shadow var(--tk-duration-medium2) var(--tk-easing-standard)}.tk-navbar--sticky{position:sticky;top:0}.tk-navbar--fixed{position:fixed;top:0;left:0;right:0}.tk-navbar--primary{background:var(--tk-color-primary);color:var(--tk-color-on-primary)}.tk-navbar--transparent{background:transparent}.tk-navbar--raised{box-shadow:0 1px 0 var(--tk-color-outline-variant)}.tk-navbar--scrolled:not(.tk-navbar--primary):not(.tk-navbar--transparent){background:var(--tk-color-surface-container);box-shadow:var(--tk-elevation-2)}.tk-navbar__inner{display:flex;align-items:center;gap:8px;min-height:64px;padding:0 16px}.tk-navbar__menu{display:none;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer;margin-inline-start:-8px}.tk-navbar__menu:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.tk-navbar__menu:focus-visible{outline:3px solid var(--tk-color-secondary)}@media(max-width:839px){.tk-navbar__menu{display:inline-flex}.tk-navbar__links{display:none!important}}.tk-navbar__brand{display:inline-flex;align-items:center;gap:8px;font:var(--tk-type-title-large);margin-inline-end:16px}.tk-navbar__title{font:var(--tk-type-title-large)}.tk-navbar__links{display:flex;align-items:center;gap:4px}.tk-navbar__link{position:relative;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:var(--tk-radius-full);color:inherit;font:var(--tk-type-label-large);letter-spacing:var(--tk-tracking-label-large);text-decoration:none;opacity:.85}.tk-navbar__link:before{content:"";position:absolute;inset:0;border-radius:inherit;background:currentColor;opacity:0;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}.tk-navbar__link:hover{opacity:1}.tk-navbar__link:hover:before{opacity:.08}.tk-navbar__link:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:1px}.tk-navbar__link--active{opacity:1;background:var(--tk-color-secondary-container);color:var(--tk-color-on-secondary-container)}.tk-navbar--primary .tk-navbar__link--active{background:color-mix(in srgb,var(--tk-color-on-primary) 18%,transparent);color:inherit}.tk-navbar__link--disabled{opacity:.38;pointer-events:none}.tk-navbar__link svg{width:20px;height:20px}.tk-navbar__spacer{flex:1}.tk-navbar__actions{display:flex;align-items:center;gap:4px}.tk-pagination__list{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:0;padding:0;list-style:none}.tk-pagination{--_s: 40px}.tk-pagination--sm{--_s: 32px}.tk-pagination--lg{--_s: 48px}.tk-pagination__item{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:var(--_s);height:var(--_s);padding:0 8px;margin:0;border:0;border-radius:var(--tk-radius-full);background:transparent;color:var(--tk-color-on-surface);font:var(--tk-type-label-large);cursor:pointer;-webkit-tap-highlight-color:transparent}.tk-pagination--square .tk-pagination__item{border-radius:var(--tk-radius-sm)}.tk-pagination--outlined .tk-pagination__item{box-shadow:inset 0 0 0 1px var(--tk-color-outline-variant)}.tk-pagination--tonal .tk-pagination__item:not(.tk-pagination__item--selected){background:var(--tk-color-surface-container-high)}.tk-pagination__item:before{content:"";position:absolute;inset:0;border-radius:inherit;background:currentColor;opacity:0;pointer-events:none;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}.tk-pagination__item:hover:not(:disabled):before{opacity:.08}.tk-pagination__item:active:not(:disabled):before{opacity:.1}.tk-pagination__item:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:2px}.tk-pagination__item--selected{background:var(--tk-color-primary);color:var(--tk-color-on-primary);box-shadow:none}.tk-pagination__item:disabled{opacity:.38;cursor:not-allowed}.tk-pagination__ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:var(--_s);height:var(--_s);color:var(--tk-color-on-surface-variant)}.tk-panel{display:flex;flex-direction:column;width:100%;border-radius:var(--tk-radius-md);overflow:hidden;background:var(--tk-color-surface);color:var(--tk-color-on-surface)}.tk-panel--outlined{box-shadow:inset 0 0 0 1px var(--tk-color-outline-variant)}.tk-panel--filled{background:var(--tk-color-surface-container-highest)}.tk-panel--elevated{background:var(--tk-color-surface-container-low);box-shadow:var(--tk-elevation-1)}.tk-panel__header{display:flex;align-items:center;gap:8px;padding-inline-end:8px;border-bottom:1px solid transparent}.tk-panel--outlined .tk-panel__header{background:var(--tk-color-surface-container-low)}.tk-panel__toggle{position:relative;display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:56px;padding:8px 8px 8px 16px;border:0;background:none;color:inherit;text-align:start;font:inherit}button.tk-panel__toggle{cursor:pointer}button.tk-panel__toggle:before{content:"";position:absolute;inset:0;background:currentColor;opacity:0;pointer-events:none;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}button.tk-panel__toggle:hover:before{opacity:.08}button.tk-panel__toggle:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:-3px}.tk-panel__icon{display:inline-flex;color:var(--tk-color-on-surface-variant)}.tk-panel__titles{display:flex;flex-direction:column;flex:1;min-width:0}.tk-panel__title{font:var(--tk-type-title-medium)}.tk-panel__subtitle{font:var(--tk-type-body-small);color:var(--tk-color-on-surface-variant)}.tk-panel__chevron{flex:none;color:var(--tk-color-on-surface-variant);transition:transform var(--tk-duration-medium2) var(--tk-easing-emphasized)}.tk-panel__chevron--open{transform:rotate(180deg)}.tk-panel__actions{display:flex;align-items:center;gap:4px;flex:none}.tk-panel__body{padding:16px;font:var(--tk-type-body-medium)}.tk-panel__footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px 16px 16px}.tk-popover-anchor{display:inline-flex;max-width:100%}.tk-popover{z-index:var(--tk-z-popover, 400);min-width:120px;max-width:min(360px,calc(100vw - 16px));padding:16px;border-radius:var(--tk-radius-md);background:var(--tk-color-surface-container);color:var(--tk-color-on-surface);box-shadow:var(--tk-elevation-2);font:var(--tk-type-body-medium);animation:tk-fade-in var(--tk-duration-short4) var(--tk-easing-standard);outline:none}.tk-progress{display:flex;align-items:center;gap:12px;width:100%;--_h: 4px}.tk-progress--md{--_h: 8px}.tk-progress--lg{--_h: 12px}.tk-progress__track{position:relative;flex:1;height:var(--_h);border-radius:var(--tk-radius-full);background:var(--tk-cc, var(--tk-color-primary-container));overflow:hidden}.tk-progress__buffer{position:absolute;inset-block:0;inset-inline-start:0;background:color-mix(in srgb,var(--tk-c, var(--tk-color-primary)) 35%,transparent);border-radius:inherit}.tk-progress__bar{position:absolute;inset-block:0;inset-inline-start:0;background:var(--tk-c, var(--tk-color-primary));border-radius:inherit;transition:width var(--tk-duration-medium2) var(--tk-easing-standard)}.tk-progress__track--indeterminate .tk-progress__bar{width:40%;transition:none;animation:tk-progress-a 2s cubic-bezier(.65,.815,.735,.395) infinite}.tk-progress__bar--2{animation:tk-progress-b 2s cubic-bezier(.165,.84,.44,1) 1s infinite!important}@keyframes tk-progress-a{0%{left:-40%}60%,to{left:100%}}@keyframes tk-progress-b{0%{left:-30%}60%,to{left:100%}}.tk-progress__value{min-width:3ch;font:var(--tk-type-label-medium);color:var(--tk-color-on-surface-variant);text-align:end}.tk-progress-circle{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--tk-c, var(--tk-color-primary))}.tk-progress-circle svg{transform:rotate(-90deg)}.tk-progress-circle__track{fill:none;stroke:var(--tk-cc, var(--tk-color-primary-container))}.tk-progress-circle__bar{fill:none;stroke:currentColor;stroke-linecap:round;transition:stroke-dashoffset var(--tk-duration-medium2) var(--tk-easing-standard)}.tk-progress-circle--indeterminate svg{animation:tk-rotate 1.2s linear infinite}.tk-progress-circle__value{position:absolute;font:var(--tk-type-label-medium);color:var(--tk-color-on-surface)}.tk-radio-group__label{font:var(--tk-type-title-small);color:var(--tk-color-on-surface-variant);margin-bottom:4px}.tk-radio-group__items{display:flex;flex-direction:column}.tk-radio-group--horizontal .tk-radio-group__items{flex-direction:row;flex-wrap:wrap;column-gap:16px}.tk-radio{display:inline-flex;align-items:flex-start;gap:4px;cursor:pointer;font:var(--tk-type-body-large);color:var(--tk-color-on-surface);-webkit-tap-highlight-color:transparent}.tk-radio--disabled{cursor:not-allowed;opacity:.38}.tk-radio__control{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;--_on: var(--tk-c, var(--tk-color-primary))}.tk-radio__input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit;z-index:1}.tk-radio__control:before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--_on);opacity:0;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}.tk-radio:hover .tk-radio__control:before{opacity:.08}.tk-radio__circle{position:relative;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--tk-color-on-surface-variant);transition:box-shadow var(--tk-duration-short3) var(--tk-easing-standard)}.tk-radio__circle:after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--_on);transform:scale(0);transition:transform var(--tk-duration-short3) var(--tk-easing-emphasized)}.tk-radio__input:checked~.tk-radio__circle{box-shadow:inset 0 0 0 2px var(--_on)}.tk-radio__input:checked~.tk-radio__circle:after{transform:scale(1)}.tk-radio__input:focus-visible~.tk-radio__circle{outline:3px solid var(--tk-color-secondary);outline-offset:3px}.tk-radio__text{display:inline-flex;flex-direction:column;padding-top:6px}.tk-radio__desc{font:var(--tk-type-body-small);color:var(--tk-color-on-surface-variant)}.tk-sidebar{display:flex;flex-direction:column;flex:none;height:100%;min-height:0;background:var(--tk-color-surface-container-low);color:var(--tk-color-on-surface-variant);border-radius:0 var(--tk-radius-lg) var(--tk-radius-lg) 0;overflow:hidden;transition:width var(--tk-duration-medium2) var(--tk-easing-emphasized)}.tk-sidebar__header{display:flex;align-items:center;gap:8px;padding:12px 12px 4px;min-height:64px}.tk-sidebar--rail .tk-sidebar__header{justify-content:center;padding-inline:0}.tk-sidebar__brand{flex:1;min-width:0;font:var(--tk-type-title-medium);color:var(--tk-color-on-surface);overflow:hidden}.tk-sidebar__toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:none;color:var(--tk-color-on-surface-variant);cursor:pointer}.tk-sidebar__toggle:hover{background:color-mix(in srgb,var(--tk-color-on-surface) 8%,transparent)}.tk-sidebar__toggle:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:-3px}.tk-sidebar__nav{flex:1;min-height:0;overflow-y:auto;padding:8px 12px}.tk-sidebar__list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}.tk-sidebar__item{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:0 16px;border:0;border-radius:var(--tk-radius-full);background:none;color:inherit;font:var(--tk-type-label-large);letter-spacing:var(--tk-tracking-label-large);text-align:start;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color var(--tk-duration-short3) var(--tk-easing-standard)}.tk-sidebar__item:before{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--tk-color-on-surface);opacity:0;pointer-events:none;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}.tk-sidebar__item:hover:before{opacity:.08}.tk-sidebar__item:active:before{opacity:.1}.tk-sidebar__item:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:-3px}.tk-sidebar__item--active{background:var(--tk-color-secondary-container);color:var(--tk-color-on-secondary-container)}.tk-sidebar__item--disabled{opacity:.38;pointer-events:none}.tk-sidebar--rail .tk-sidebar__item{width:56px;padding:0;justify-content:center;margin-inline:auto}.tk-sidebar__icon{display:inline-flex;flex:none}.tk-sidebar__icon>svg{width:24px;height:24px}.tk-sidebar__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tk-sidebar__badge{flex:none;font:var(--tk-type-label-large);color:inherit}.tk-sidebar__chevron{flex:none;transition:transform var(--tk-duration-medium2) var(--tk-easing-emphasized)}.tk-sidebar__chevron--open{transform:rotate(180deg)}.tk-sidebar__heading{padding:20px 16px 8px;font:var(--tk-type-label-medium);letter-spacing:.06em;text-transform:uppercase;color:var(--tk-color-primary);list-style:none}.tk-sidebar--dense .tk-sidebar__item{min-height:40px;font:var(--tk-type-label-large)}.tk-sidebar--dense .tk-sidebar__list{gap:0}.tk-sidebar--dense .tk-sidebar__heading{padding-top:16px}.tk-sidebar__divider{height:1px;margin:8px 16px;background:var(--tk-color-outline-variant);list-style:none}.tk-sidebar__footer{padding:12px 16px 16px;border-top:1px solid var(--tk-color-outline-variant)}.tk-drawer{position:fixed;inset:0;z-index:var(--tk-z-drawer, 200)}.tk-drawer__scrim{position:absolute;inset:0;background:color-mix(in srgb,var(--tk-color-scrim) 32%,transparent);opacity:0;transition:opacity var(--tk-duration-medium1) var(--tk-easing-standard)}.tk-drawer--open .tk-drawer__scrim{opacity:1}.tk-sidebar--temporary{position:absolute;inset-block:0;inset-inline-start:0;max-width:90vw;background:var(--tk-color-surface-container-low);box-shadow:var(--tk-elevation-3);transform:translate(-100%);transition:transform var(--tk-duration-medium2) var(--tk-easing-emphasized-accelerate);outline:none}.tk-drawer--open .tk-sidebar--temporary{transform:none;transition-timing-function:var(--tk-easing-emphasized-decelerate)}.tk-skeleton{display:block;position:relative;overflow:hidden;background:var(--tk-color-surface-container-highest)}.tk-skeleton--text{height:1em;margin:.35em 0;border-radius:var(--tk-radius-xs);width:100%}.tk-skeleton--rect{width:100%;height:120px}.tk-skeleton--rounded{width:100%;height:120px;border-radius:var(--tk-radius-md)}.tk-skeleton--circle{width:40px;height:40px;border-radius:50%}.tk-skeleton--pulse{animation:tk-skeleton-pulse 1.6s ease-in-out infinite}@keyframes tk-skeleton-pulse{0%,to{opacity:1}50%{opacity:.45}}.tk-skeleton--wave:after{content:"";position:absolute;inset:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tk-color-surface) 60%,transparent),transparent);animation:tk-skeleton-wave 1.6s linear infinite}@keyframes tk-skeleton-wave{to{transform:translate(100%)}}.tk-skeleton-lines{display:block}.tk-stepper{display:flex;margin:0;padding:0;list-style:none;font:var(--tk-type-body-medium)}.tk-stepper--horizontal{flex-direction:row;align-items:flex-start}.tk-stepper--vertical{flex-direction:column}.tk-step{position:relative;--_ind: var(--tk-color-surface-container-highest);--_on: var(--tk-color-on-surface-variant)}.tk-step--active,.tk-step--completed{--_ind: var(--tk-color-primary);--_on: var(--tk-color-on-primary)}.tk-step--error{--_ind: var(--tk-color-error);--_on: var(--tk-color-on-error)}.tk-stepper--horizontal .tk-step{flex:1;display:flex;align-items:flex-start}.tk-stepper--horizontal .tk-step--last{flex:none}.tk-stepper--horizontal .tk-step:not(.tk-step--last):after{content:"";flex:1;height:1px;min-width:16px;margin:12px 8px 0;background:var(--tk-color-outline-variant)}.tk-stepper--horizontal .tk-step--completed:not(.tk-step--last):after{background:var(--tk-color-primary)}.tk-step__head{display:flex;align-items:flex-start;gap:12px;padding:0;margin:0;border:0;background:none;color:inherit;font:inherit;text-align:start}button.tk-step__head{cursor:pointer;border-radius:var(--tk-radius-sm)}button.tk-step__head:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:4px}.tk-step__indicator{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--_ind);color:var(--_on);font:var(--tk-type-label-medium);transition:background-color var(--tk-duration-short4) var(--tk-easing-standard)}.tk-step__labels{display:flex;flex-direction:column;padding-top:2px}.tk-step__label{font:var(--tk-type-title-small);color:var(--tk-color-on-surface-variant)}.tk-step--active .tk-step__label,.tk-step--completed .tk-step__label{color:var(--tk-color-on-surface)}.tk-step--error .tk-step__label{color:var(--tk-color-error)}.tk-step__desc{font:var(--tk-type-body-small);color:var(--tk-color-on-surface-variant)}.tk-stepper--alt .tk-step__head{flex-direction:column;align-items:center;text-align:center}.tk-stepper--alt .tk-step{flex-direction:row}.tk-stepper--vertical .tk-step__body{margin-inline-start:12px;padding-inline-start:24px;border-inline-start:1px solid var(--tk-color-outline-variant);min-height:16px}.tk-stepper--vertical .tk-step--last .tk-step__body{border-inline-start-color:transparent}.tk-stepper--vertical .tk-step--completed .tk-step__body{border-inline-start-color:var(--tk-color-primary)}.tk-step__content{padding:8px 0 16px}.tk-tablist{position:relative;display:flex;overflow-x:auto;scrollbar-width:none;box-shadow:inset 0 -1px 0 var(--tk-color-surface-variant)}.tk-tablist::-webkit-scrollbar{display:none}.tk-tablist--full .tk-tab{flex:1}.tk-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:48px;padding:0 16px;margin:0;border:0;background:none;color:var(--tk-color-on-surface-variant);font:var(--tk-type-title-small);letter-spacing:var(--tk-tracking-title-small);cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;transition:color var(--tk-duration-short3) var(--tk-easing-standard)}.tk-tab:before{content:"";position:absolute;inset:0;background:var(--tk-color-on-surface);opacity:0;pointer-events:none;transition:opacity var(--tk-duration-short2) var(--tk-easing-standard)}.tk-tab:hover:before{opacity:.08}.tk-tab:active:before{opacity:.1}.tk-tab--selected{color:var(--tk-color-primary)}.tk-tab:focus-visible{outline:3px solid var(--tk-color-secondary);outline-offset:-3px}.tk-tab:disabled{opacity:.38;cursor:not-allowed;pointer-events:none}.tk-tab__content{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:48px}.tk-tab__icon{display:inline-flex}.tk-tab__icon>svg{width:24px;height:24px}.tk-tab__badge{margin-inline-start:2px}.tk-tablist__indicator{position:absolute;left:0;bottom:0;height:3px;background:var(--tk-color-primary);border-radius:3px 3px 0 0;transition:transform var(--tk-duration-medium2) var(--tk-easing-emphasized),width var(--tk-duration-medium2) var(--tk-easing-emphasized);pointer-events:none}.tk-tablist--secondary .tk-tablist__indicator{height:2px;border-radius:0}.tk-tablist--secondary .tk-tab{font:var(--tk-type-title-small)}.tk-tablist--secondary .tk-tab--selected{color:var(--tk-color-on-surface)}.tk-tabpanel{padding:16px 0;outline:none}.tk-tabpanel:focus-visible{outline:2px solid var(--tk-color-secondary);outline-offset:2px}.tk-tabpanel[hidden]{display:none}.tk-toaster{position:fixed;z-index:var(--tk-z-toast, 500);display:flex;flex-direction:column;gap:8px;padding:16px;pointer-events:none;max-width:100vw}.tk-toaster--bottom-center{bottom:0;left:50%;transform:translate(-50%);align-items:center}.tk-toaster--bottom-start{bottom:0;left:0;align-items:flex-start}.tk-toaster--bottom-end{bottom:0;right:0;align-items:flex-end}.tk-toaster--top-center{top:0;left:50%;transform:translate(-50%);align-items:center}.tk-toaster--top-start{top:0;left:0;align-items:flex-start}.tk-toaster--top-end{top:0;right:0;align-items:flex-end}.tk-toast{pointer-events:auto;display:flex;align-items:center;gap:12px;min-width:288px;max-width:min(560px,calc(100vw - 32px));padding:12px 8px 12px 16px;border-radius:var(--tk-radius-xs);background:var(--tk-color-inverse-surface);color:var(--tk-color-inverse-on-surface);box-shadow:var(--tk-elevation-3);font:var(--tk-type-body-medium);animation:tk-toast-in var(--tk-duration-medium2) var(--tk-easing-emphasized-decelerate);transition:opacity var(--tk-duration-short4) var(--tk-easing-standard),transform var(--tk-duration-short4) var(--tk-easing-standard)}.tk-toast--closing{opacity:0;transform:scale(.95)}@keyframes tk-toast-in{0%{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}.tk-toast__icon{display:inline-flex;flex:none}.tk-toast--info .tk-toast__icon{color:var(--tk-color-inverse-primary)}.tk-toast--success .tk-toast__icon{color:#81c995}.tk-toast--warning .tk-toast__icon{color:#fdd663}.tk-toast--error .tk-toast__icon{color:#f28b82}.tk-toast__body{flex:1;min-width:0}.tk-toast__title{font:var(--tk-type-title-small)}.tk-toast__action{flex:none;padding:8px 12px;border:0;border-radius:var(--tk-radius-full);background:none;color:var(--tk-color-inverse-primary);font:var(--tk-type-label-large);cursor:pointer}.tk-toast__action:hover{background:color-mix(in srgb,var(--tk-color-inverse-primary) 12%,transparent)}.tk-toast__close{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer}.tk-toast__close:hover{background:color-mix(in srgb,currentColor 12%,transparent)}.tk-toast__action:focus-visible,.tk-toast__close:focus-visible{outline:2px solid var(--tk-color-inverse-primary)}.tk-tooltip-anchor{display:inline-flex;max-width:100%}.tk-tooltip{z-index:var(--tk-z-tooltip, 600);max-width:240px;padding:4px 8px;border-radius:var(--tk-radius-xs);background:var(--tk-color-inverse-surface);color:var(--tk-color-inverse-on-surface);font:var(--tk-type-body-small);letter-spacing:var(--tk-tracking-body-small);animation:tk-fade-in var(--tk-duration-short3) var(--tk-easing-standard);pointer-events:none;overflow-wrap:anywhere}.tk-tooltip--rich{max-width:312px;padding:12px 16px;border-radius:var(--tk-radius-md);background:var(--tk-color-surface-container);color:var(--tk-color-on-surface-variant);box-shadow:var(--tk-elevation-2);font:var(--tk-type-body-medium);pointer-events:auto}.tk-tooltip__title{margin-bottom:4px;font:var(--tk-type-title-small);color:var(--tk-color-on-surface)}.tk-tooltip__actions{display:flex;gap:8px;margin-top:12px}.tk-col-xs-1{grid-column-end:span 1}.tk-col-xs-2{grid-column-end:span 2}.tk-col-xs-3{grid-column-end:span 3}.tk-col-xs-4{grid-column-end:span 4}.tk-col-xs-5{grid-column-end:span 5}.tk-col-xs-6{grid-column-end:span 6}.tk-col-xs-7{grid-column-end:span 7}.tk-col-xs-8{grid-column-end:span 8}.tk-col-xs-9{grid-column-end:span 9}.tk-col-xs-10{grid-column-end:span 10}.tk-col-xs-11{grid-column-end:span 11}.tk-col-xs-12{grid-column-end:span 12}.tk-col-xs-auto{grid-column-end:auto}.tk-col-offset-xs-0{grid-column-start:1}.tk-col-offset-xs-1{grid-column-start:2}.tk-col-offset-xs-2{grid-column-start:3}.tk-col-offset-xs-3{grid-column-start:4}.tk-col-offset-xs-4{grid-column-start:5}.tk-col-offset-xs-5{grid-column-start:6}.tk-col-offset-xs-6{grid-column-start:7}.tk-col-offset-xs-7{grid-column-start:8}.tk-col-offset-xs-8{grid-column-start:9}.tk-col-offset-xs-9{grid-column-start:10}.tk-col-offset-xs-10{grid-column-start:11}.tk-col-offset-xs-11{grid-column-start:12}@media(min-width:600px){.tk-col-sm-1{grid-column-end:span 1}.tk-col-sm-2{grid-column-end:span 2}.tk-col-sm-3{grid-column-end:span 3}.tk-col-sm-4{grid-column-end:span 4}.tk-col-sm-5{grid-column-end:span 5}.tk-col-sm-6{grid-column-end:span 6}.tk-col-sm-7{grid-column-end:span 7}.tk-col-sm-8{grid-column-end:span 8}.tk-col-sm-9{grid-column-end:span 9}.tk-col-sm-10{grid-column-end:span 10}.tk-col-sm-11{grid-column-end:span 11}.tk-col-sm-12{grid-column-end:span 12}.tk-col-sm-auto{grid-column-end:auto}.tk-col-offset-sm-0{grid-column-start:1}.tk-col-offset-sm-1{grid-column-start:2}.tk-col-offset-sm-2{grid-column-start:3}.tk-col-offset-sm-3{grid-column-start:4}.tk-col-offset-sm-4{grid-column-start:5}.tk-col-offset-sm-5{grid-column-start:6}.tk-col-offset-sm-6{grid-column-start:7}.tk-col-offset-sm-7{grid-column-start:8}.tk-col-offset-sm-8{grid-column-start:9}.tk-col-offset-sm-9{grid-column-start:10}.tk-col-offset-sm-10{grid-column-start:11}.tk-col-offset-sm-11{grid-column-start:12}}@media(min-width:840px){.tk-col-md-1{grid-column-end:span 1}.tk-col-md-2{grid-column-end:span 2}.tk-col-md-3{grid-column-end:span 3}.tk-col-md-4{grid-column-end:span 4}.tk-col-md-5{grid-column-end:span 5}.tk-col-md-6{grid-column-end:span 6}.tk-col-md-7{grid-column-end:span 7}.tk-col-md-8{grid-column-end:span 8}.tk-col-md-9{grid-column-end:span 9}.tk-col-md-10{grid-column-end:span 10}.tk-col-md-11{grid-column-end:span 11}.tk-col-md-12{grid-column-end:span 12}.tk-col-md-auto{grid-column-end:auto}.tk-col-offset-md-0{grid-column-start:1}.tk-col-offset-md-1{grid-column-start:2}.tk-col-offset-md-2{grid-column-start:3}.tk-col-offset-md-3{grid-column-start:4}.tk-col-offset-md-4{grid-column-start:5}.tk-col-offset-md-5{grid-column-start:6}.tk-col-offset-md-6{grid-column-start:7}.tk-col-offset-md-7{grid-column-start:8}.tk-col-offset-md-8{grid-column-start:9}.tk-col-offset-md-9{grid-column-start:10}.tk-col-offset-md-10{grid-column-start:11}.tk-col-offset-md-11{grid-column-start:12}}@media(min-width:1200px){.tk-col-lg-1{grid-column-end:span 1}.tk-col-lg-2{grid-column-end:span 2}.tk-col-lg-3{grid-column-end:span 3}.tk-col-lg-4{grid-column-end:span 4}.tk-col-lg-5{grid-column-end:span 5}.tk-col-lg-6{grid-column-end:span 6}.tk-col-lg-7{grid-column-end:span 7}.tk-col-lg-8{grid-column-end:span 8}.tk-col-lg-9{grid-column-end:span 9}.tk-col-lg-10{grid-column-end:span 10}.tk-col-lg-11{grid-column-end:span 11}.tk-col-lg-12{grid-column-end:span 12}.tk-col-lg-auto{grid-column-end:auto}.tk-col-offset-lg-0{grid-column-start:1}.tk-col-offset-lg-1{grid-column-start:2}.tk-col-offset-lg-2{grid-column-start:3}.tk-col-offset-lg-3{grid-column-start:4}.tk-col-offset-lg-4{grid-column-start:5}.tk-col-offset-lg-5{grid-column-start:6}.tk-col-offset-lg-6{grid-column-start:7}.tk-col-offset-lg-7{grid-column-start:8}.tk-col-offset-lg-8{grid-column-start:9}.tk-col-offset-lg-9{grid-column-start:10}.tk-col-offset-lg-10{grid-column-start:11}.tk-col-offset-lg-11{grid-column-start:12}}@media(min-width:1600px){.tk-col-xl-1{grid-column-end:span 1}.tk-col-xl-2{grid-column-end:span 2}.tk-col-xl-3{grid-column-end:span 3}.tk-col-xl-4{grid-column-end:span 4}.tk-col-xl-5{grid-column-end:span 5}.tk-col-xl-6{grid-column-end:span 6}.tk-col-xl-7{grid-column-end:span 7}.tk-col-xl-8{grid-column-end:span 8}.tk-col-xl-9{grid-column-end:span 9}.tk-col-xl-10{grid-column-end:span 10}.tk-col-xl-11{grid-column-end:span 11}.tk-col-xl-12{grid-column-end:span 12}.tk-col-xl-auto{grid-column-end:auto}.tk-col-offset-xl-0{grid-column-start:1}.tk-col-offset-xl-1{grid-column-start:2}.tk-col-offset-xl-2{grid-column-start:3}.tk-col-offset-xl-3{grid-column-start:4}.tk-col-offset-xl-4{grid-column-start:5}.tk-col-offset-xl-5{grid-column-start:6}.tk-col-offset-xl-6{grid-column-start:7}.tk-col-offset-xl-7{grid-column-start:8}.tk-col-offset-xl-8{grid-column-start:9}.tk-col-offset-xl-9{grid-column-start:10}.tk-col-offset-xl-10{grid-column-start:11}.tk-col-offset-xl-11{grid-column-start:12}}.tk-col--full{grid-column:1 / -1}}
|
package/dist/theme.cjs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkEH6TVKAUcjs = require('./chunk-EH6TVKAU.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
exports.blueTheme = _chunkEH6TVKAUcjs.blueTheme; exports.breakpointKeys = _chunkEH6TVKAUcjs.breakpointKeys; exports.breakpoints = _chunkEH6TVKAUcjs.breakpoints; exports.createTheme = _chunkEH6TVKAUcjs.createTheme; exports.darkTheme = _chunkEH6TVKAUcjs.darkTheme; exports.pinkTheme = _chunkEH6TVKAUcjs.pinkTheme; exports.themeToCss = _chunkEH6TVKAUcjs.themeToCss; exports.themeToCssVars = _chunkEH6TVKAUcjs.themeToCssVars; exports.themes = _chunkEH6TVKAUcjs.themes; exports.typographyScale = _chunkEH6TVKAUcjs.typographyScale;
|
|
25
|
+
//# sourceMappingURL=theme.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/Users/kunaltiwari/WorkSpace/tonalkit-ui/packages/react/dist/theme.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,6gBAAC","file":"/Users/kunaltiwari/WorkSpace/tonalkit-ui/packages/react/dist/theme.cjs"}
|
package/dist/theme.d.cts
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/** Colour roles, following Material Design 3 (plus success / warning / info). */
|
|
2
|
+
interface ThemeColors {
|
|
3
|
+
primary: string;
|
|
4
|
+
onPrimary: string;
|
|
5
|
+
primaryContainer: string;
|
|
6
|
+
onPrimaryContainer: string;
|
|
7
|
+
secondary: string;
|
|
8
|
+
onSecondary: string;
|
|
9
|
+
secondaryContainer: string;
|
|
10
|
+
onSecondaryContainer: string;
|
|
11
|
+
tertiary: string;
|
|
12
|
+
onTertiary: string;
|
|
13
|
+
tertiaryContainer: string;
|
|
14
|
+
onTertiaryContainer: string;
|
|
15
|
+
error: string;
|
|
16
|
+
onError: string;
|
|
17
|
+
errorContainer: string;
|
|
18
|
+
onErrorContainer: string;
|
|
19
|
+
success: string;
|
|
20
|
+
onSuccess: string;
|
|
21
|
+
successContainer: string;
|
|
22
|
+
onSuccessContainer: string;
|
|
23
|
+
warning: string;
|
|
24
|
+
onWarning: string;
|
|
25
|
+
warningContainer: string;
|
|
26
|
+
onWarningContainer: string;
|
|
27
|
+
info: string;
|
|
28
|
+
onInfo: string;
|
|
29
|
+
infoContainer: string;
|
|
30
|
+
onInfoContainer: string;
|
|
31
|
+
surface: string;
|
|
32
|
+
onSurface: string;
|
|
33
|
+
surfaceVariant: string;
|
|
34
|
+
onSurfaceVariant: string;
|
|
35
|
+
surfaceDim: string;
|
|
36
|
+
surfaceBright: string;
|
|
37
|
+
surfaceContainerLowest: string;
|
|
38
|
+
surfaceContainerLow: string;
|
|
39
|
+
surfaceContainer: string;
|
|
40
|
+
surfaceContainerHigh: string;
|
|
41
|
+
surfaceContainerHighest: string;
|
|
42
|
+
outline: string;
|
|
43
|
+
outlineVariant: string;
|
|
44
|
+
inverseSurface: string;
|
|
45
|
+
inverseOnSurface: string;
|
|
46
|
+
inversePrimary: string;
|
|
47
|
+
surfaceTint: string;
|
|
48
|
+
scrim: string;
|
|
49
|
+
shadow: string;
|
|
50
|
+
}
|
|
51
|
+
type TypographyRole = 'displayLarge' | 'displayMedium' | 'displaySmall' | 'headlineLarge' | 'headlineMedium' | 'headlineSmall' | 'titleLarge' | 'titleMedium' | 'titleSmall' | 'bodyLarge' | 'bodyMedium' | 'bodySmall' | 'labelLarge' | 'labelMedium' | 'labelSmall';
|
|
52
|
+
interface TypographyStyle {
|
|
53
|
+
fontSize: string;
|
|
54
|
+
lineHeight: string;
|
|
55
|
+
fontWeight: number;
|
|
56
|
+
letterSpacing: string;
|
|
57
|
+
}
|
|
58
|
+
interface ThemeShape {
|
|
59
|
+
none: string;
|
|
60
|
+
xs: string;
|
|
61
|
+
sm: string;
|
|
62
|
+
md: string;
|
|
63
|
+
lg: string;
|
|
64
|
+
xl: string;
|
|
65
|
+
xxl: string;
|
|
66
|
+
full: string;
|
|
67
|
+
}
|
|
68
|
+
interface ThemeElevation {
|
|
69
|
+
0: string;
|
|
70
|
+
1: string;
|
|
71
|
+
2: string;
|
|
72
|
+
3: string;
|
|
73
|
+
4: string;
|
|
74
|
+
5: string;
|
|
75
|
+
}
|
|
76
|
+
interface ThemeMotion {
|
|
77
|
+
duration: {
|
|
78
|
+
short1: string;
|
|
79
|
+
short2: string;
|
|
80
|
+
short3: string;
|
|
81
|
+
short4: string;
|
|
82
|
+
medium1: string;
|
|
83
|
+
medium2: string;
|
|
84
|
+
medium3: string;
|
|
85
|
+
medium4: string;
|
|
86
|
+
long1: string;
|
|
87
|
+
long2: string;
|
|
88
|
+
};
|
|
89
|
+
easing: {
|
|
90
|
+
standard: string;
|
|
91
|
+
standardDecelerate: string;
|
|
92
|
+
standardAccelerate: string;
|
|
93
|
+
emphasized: string;
|
|
94
|
+
emphasizedDecelerate: string;
|
|
95
|
+
emphasizedAccelerate: string;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
interface ThemeZIndex {
|
|
99
|
+
sticky: number;
|
|
100
|
+
drawer: number;
|
|
101
|
+
modal: number;
|
|
102
|
+
popover: number;
|
|
103
|
+
toast: number;
|
|
104
|
+
tooltip: number;
|
|
105
|
+
}
|
|
106
|
+
interface Theme {
|
|
107
|
+
/** Unique name, e.g. "blue". Exposed as `data-tk-theme` on the root element. */
|
|
108
|
+
name: string;
|
|
109
|
+
/** Used to set the CSS `color-scheme` so native controls match. */
|
|
110
|
+
mode: 'light' | 'dark';
|
|
111
|
+
colors: ThemeColors;
|
|
112
|
+
typography: {
|
|
113
|
+
fontFamily: string;
|
|
114
|
+
scale: Record<TypographyRole, TypographyStyle>;
|
|
115
|
+
};
|
|
116
|
+
shape: ThemeShape;
|
|
117
|
+
elevation: ThemeElevation;
|
|
118
|
+
motion: ThemeMotion;
|
|
119
|
+
zIndex: ThemeZIndex;
|
|
120
|
+
/** Base spacing unit in px (default 4). */
|
|
121
|
+
spacing: number;
|
|
122
|
+
}
|
|
123
|
+
type DeepPartial<T> = {
|
|
124
|
+
[K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/** Material Design 3 type scale. */
|
|
128
|
+
declare const typographyScale: Record<TypographyRole, TypographyStyle>;
|
|
129
|
+
/** Material 3 window size classes (min-width in px). */
|
|
130
|
+
declare const breakpoints: {
|
|
131
|
+
readonly xs: 0;
|
|
132
|
+
readonly sm: 600;
|
|
133
|
+
readonly md: 840;
|
|
134
|
+
readonly lg: 1200;
|
|
135
|
+
readonly xl: 1600;
|
|
136
|
+
};
|
|
137
|
+
type Breakpoint = keyof typeof breakpoints;
|
|
138
|
+
declare const breakpointKeys: Breakpoint[];
|
|
139
|
+
|
|
140
|
+
/** Blue on white (light). */
|
|
141
|
+
declare const blueTheme: Theme;
|
|
142
|
+
/** Pink on white (light). */
|
|
143
|
+
declare const pinkTheme: Theme;
|
|
144
|
+
/** Dark theme with blue accents. */
|
|
145
|
+
declare const darkTheme: Theme;
|
|
146
|
+
/** All built-in themes by name. */
|
|
147
|
+
declare const themes: {
|
|
148
|
+
readonly blue: Theme;
|
|
149
|
+
readonly pink: Theme;
|
|
150
|
+
readonly dark: Theme;
|
|
151
|
+
};
|
|
152
|
+
type BuiltInThemeName = keyof typeof themes;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Create a theme by overriding any part of a base theme (default: the blue theme).
|
|
156
|
+
* @example createTheme({ name: 'brand', colors: { primary: '#6750A4' } })
|
|
157
|
+
*/
|
|
158
|
+
declare function createTheme(overrides?: DeepPartial<Theme>, base?: Theme): Theme;
|
|
159
|
+
/** Convert a theme to a flat map of CSS custom properties (all prefixed with `--tk-`). */
|
|
160
|
+
declare function themeToCssVars(theme: Theme): Record<string, string>;
|
|
161
|
+
/** Serialise a theme to CSS text, e.g. for SSR or static stylesheets. */
|
|
162
|
+
declare function themeToCss(theme: Theme, selector?: string): string;
|
|
163
|
+
|
|
164
|
+
export { blueTheme, breakpointKeys, breakpoints, createTheme, darkTheme, pinkTheme, themeToCss, themeToCssVars, themes, typographyScale };
|
|
165
|
+
export type { Breakpoint, BuiltInThemeName, DeepPartial, Theme, ThemeColors, ThemeElevation, ThemeMotion, ThemeShape, ThemeZIndex, TypographyRole, TypographyStyle };
|
package/dist/theme.d.ts
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/** Colour roles, following Material Design 3 (plus success / warning / info). */
|
|
2
|
+
interface ThemeColors {
|
|
3
|
+
primary: string;
|
|
4
|
+
onPrimary: string;
|
|
5
|
+
primaryContainer: string;
|
|
6
|
+
onPrimaryContainer: string;
|
|
7
|
+
secondary: string;
|
|
8
|
+
onSecondary: string;
|
|
9
|
+
secondaryContainer: string;
|
|
10
|
+
onSecondaryContainer: string;
|
|
11
|
+
tertiary: string;
|
|
12
|
+
onTertiary: string;
|
|
13
|
+
tertiaryContainer: string;
|
|
14
|
+
onTertiaryContainer: string;
|
|
15
|
+
error: string;
|
|
16
|
+
onError: string;
|
|
17
|
+
errorContainer: string;
|
|
18
|
+
onErrorContainer: string;
|
|
19
|
+
success: string;
|
|
20
|
+
onSuccess: string;
|
|
21
|
+
successContainer: string;
|
|
22
|
+
onSuccessContainer: string;
|
|
23
|
+
warning: string;
|
|
24
|
+
onWarning: string;
|
|
25
|
+
warningContainer: string;
|
|
26
|
+
onWarningContainer: string;
|
|
27
|
+
info: string;
|
|
28
|
+
onInfo: string;
|
|
29
|
+
infoContainer: string;
|
|
30
|
+
onInfoContainer: string;
|
|
31
|
+
surface: string;
|
|
32
|
+
onSurface: string;
|
|
33
|
+
surfaceVariant: string;
|
|
34
|
+
onSurfaceVariant: string;
|
|
35
|
+
surfaceDim: string;
|
|
36
|
+
surfaceBright: string;
|
|
37
|
+
surfaceContainerLowest: string;
|
|
38
|
+
surfaceContainerLow: string;
|
|
39
|
+
surfaceContainer: string;
|
|
40
|
+
surfaceContainerHigh: string;
|
|
41
|
+
surfaceContainerHighest: string;
|
|
42
|
+
outline: string;
|
|
43
|
+
outlineVariant: string;
|
|
44
|
+
inverseSurface: string;
|
|
45
|
+
inverseOnSurface: string;
|
|
46
|
+
inversePrimary: string;
|
|
47
|
+
surfaceTint: string;
|
|
48
|
+
scrim: string;
|
|
49
|
+
shadow: string;
|
|
50
|
+
}
|
|
51
|
+
type TypographyRole = 'displayLarge' | 'displayMedium' | 'displaySmall' | 'headlineLarge' | 'headlineMedium' | 'headlineSmall' | 'titleLarge' | 'titleMedium' | 'titleSmall' | 'bodyLarge' | 'bodyMedium' | 'bodySmall' | 'labelLarge' | 'labelMedium' | 'labelSmall';
|
|
52
|
+
interface TypographyStyle {
|
|
53
|
+
fontSize: string;
|
|
54
|
+
lineHeight: string;
|
|
55
|
+
fontWeight: number;
|
|
56
|
+
letterSpacing: string;
|
|
57
|
+
}
|
|
58
|
+
interface ThemeShape {
|
|
59
|
+
none: string;
|
|
60
|
+
xs: string;
|
|
61
|
+
sm: string;
|
|
62
|
+
md: string;
|
|
63
|
+
lg: string;
|
|
64
|
+
xl: string;
|
|
65
|
+
xxl: string;
|
|
66
|
+
full: string;
|
|
67
|
+
}
|
|
68
|
+
interface ThemeElevation {
|
|
69
|
+
0: string;
|
|
70
|
+
1: string;
|
|
71
|
+
2: string;
|
|
72
|
+
3: string;
|
|
73
|
+
4: string;
|
|
74
|
+
5: string;
|
|
75
|
+
}
|
|
76
|
+
interface ThemeMotion {
|
|
77
|
+
duration: {
|
|
78
|
+
short1: string;
|
|
79
|
+
short2: string;
|
|
80
|
+
short3: string;
|
|
81
|
+
short4: string;
|
|
82
|
+
medium1: string;
|
|
83
|
+
medium2: string;
|
|
84
|
+
medium3: string;
|
|
85
|
+
medium4: string;
|
|
86
|
+
long1: string;
|
|
87
|
+
long2: string;
|
|
88
|
+
};
|
|
89
|
+
easing: {
|
|
90
|
+
standard: string;
|
|
91
|
+
standardDecelerate: string;
|
|
92
|
+
standardAccelerate: string;
|
|
93
|
+
emphasized: string;
|
|
94
|
+
emphasizedDecelerate: string;
|
|
95
|
+
emphasizedAccelerate: string;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
interface ThemeZIndex {
|
|
99
|
+
sticky: number;
|
|
100
|
+
drawer: number;
|
|
101
|
+
modal: number;
|
|
102
|
+
popover: number;
|
|
103
|
+
toast: number;
|
|
104
|
+
tooltip: number;
|
|
105
|
+
}
|
|
106
|
+
interface Theme {
|
|
107
|
+
/** Unique name, e.g. "blue". Exposed as `data-tk-theme` on the root element. */
|
|
108
|
+
name: string;
|
|
109
|
+
/** Used to set the CSS `color-scheme` so native controls match. */
|
|
110
|
+
mode: 'light' | 'dark';
|
|
111
|
+
colors: ThemeColors;
|
|
112
|
+
typography: {
|
|
113
|
+
fontFamily: string;
|
|
114
|
+
scale: Record<TypographyRole, TypographyStyle>;
|
|
115
|
+
};
|
|
116
|
+
shape: ThemeShape;
|
|
117
|
+
elevation: ThemeElevation;
|
|
118
|
+
motion: ThemeMotion;
|
|
119
|
+
zIndex: ThemeZIndex;
|
|
120
|
+
/** Base spacing unit in px (default 4). */
|
|
121
|
+
spacing: number;
|
|
122
|
+
}
|
|
123
|
+
type DeepPartial<T> = {
|
|
124
|
+
[K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/** Material Design 3 type scale. */
|
|
128
|
+
declare const typographyScale: Record<TypographyRole, TypographyStyle>;
|
|
129
|
+
/** Material 3 window size classes (min-width in px). */
|
|
130
|
+
declare const breakpoints: {
|
|
131
|
+
readonly xs: 0;
|
|
132
|
+
readonly sm: 600;
|
|
133
|
+
readonly md: 840;
|
|
134
|
+
readonly lg: 1200;
|
|
135
|
+
readonly xl: 1600;
|
|
136
|
+
};
|
|
137
|
+
type Breakpoint = keyof typeof breakpoints;
|
|
138
|
+
declare const breakpointKeys: Breakpoint[];
|
|
139
|
+
|
|
140
|
+
/** Blue on white (light). */
|
|
141
|
+
declare const blueTheme: Theme;
|
|
142
|
+
/** Pink on white (light). */
|
|
143
|
+
declare const pinkTheme: Theme;
|
|
144
|
+
/** Dark theme with blue accents. */
|
|
145
|
+
declare const darkTheme: Theme;
|
|
146
|
+
/** All built-in themes by name. */
|
|
147
|
+
declare const themes: {
|
|
148
|
+
readonly blue: Theme;
|
|
149
|
+
readonly pink: Theme;
|
|
150
|
+
readonly dark: Theme;
|
|
151
|
+
};
|
|
152
|
+
type BuiltInThemeName = keyof typeof themes;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Create a theme by overriding any part of a base theme (default: the blue theme).
|
|
156
|
+
* @example createTheme({ name: 'brand', colors: { primary: '#6750A4' } })
|
|
157
|
+
*/
|
|
158
|
+
declare function createTheme(overrides?: DeepPartial<Theme>, base?: Theme): Theme;
|
|
159
|
+
/** Convert a theme to a flat map of CSS custom properties (all prefixed with `--tk-`). */
|
|
160
|
+
declare function themeToCssVars(theme: Theme): Record<string, string>;
|
|
161
|
+
/** Serialise a theme to CSS text, e.g. for SSR or static stylesheets. */
|
|
162
|
+
declare function themeToCss(theme: Theme, selector?: string): string;
|
|
163
|
+
|
|
164
|
+
export { blueTheme, breakpointKeys, breakpoints, createTheme, darkTheme, pinkTheme, themeToCss, themeToCssVars, themes, typographyScale };
|
|
165
|
+
export type { Breakpoint, BuiltInThemeName, DeepPartial, Theme, ThemeColors, ThemeElevation, ThemeMotion, ThemeShape, ThemeZIndex, TypographyRole, TypographyStyle };
|
package/dist/theme.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
blueTheme,
|
|
3
|
+
breakpointKeys,
|
|
4
|
+
breakpoints,
|
|
5
|
+
createTheme,
|
|
6
|
+
darkTheme,
|
|
7
|
+
pinkTheme,
|
|
8
|
+
themeToCss,
|
|
9
|
+
themeToCssVars,
|
|
10
|
+
themes,
|
|
11
|
+
typographyScale
|
|
12
|
+
} from "./chunk-DKFQD2ME.js";
|
|
13
|
+
export {
|
|
14
|
+
blueTheme,
|
|
15
|
+
breakpointKeys,
|
|
16
|
+
breakpoints,
|
|
17
|
+
createTheme,
|
|
18
|
+
darkTheme,
|
|
19
|
+
pinkTheme,
|
|
20
|
+
themeToCss,
|
|
21
|
+
themeToCssVars,
|
|
22
|
+
themes,
|
|
23
|
+
typographyScale
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kuntiwar/tonalkit",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Material Design 3 based React UI components with a themeable token system.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": [
|
|
8
|
+
"**/*.css"
|
|
9
|
+
],
|
|
10
|
+
"main": "./dist/index.cjs",
|
|
11
|
+
"module": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./theme": {
|
|
20
|
+
"types": "./dist/theme.d.ts",
|
|
21
|
+
"import": "./dist/theme.js",
|
|
22
|
+
"require": "./dist/theme.cjs"
|
|
23
|
+
},
|
|
24
|
+
"./styles.css": "./dist/styles.css",
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"README.md",
|
|
30
|
+
"LICENSE"
|
|
31
|
+
],
|
|
32
|
+
"keywords": [
|
|
33
|
+
"react",
|
|
34
|
+
"ui",
|
|
35
|
+
"components",
|
|
36
|
+
"material-design",
|
|
37
|
+
"material-3",
|
|
38
|
+
"theme",
|
|
39
|
+
"design-system",
|
|
40
|
+
"typescript"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsup && node scripts/build-css.mjs",
|
|
44
|
+
"typecheck": "tsc --noEmit",
|
|
45
|
+
"prepublishOnly": "npm run build"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"react": ">=18",
|
|
49
|
+
"react-dom": ">=18"
|
|
50
|
+
},
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/react": "^18.3.32",
|
|
56
|
+
"@types/react-dom": "^18.3.7",
|
|
57
|
+
"react": "^18.3.1",
|
|
58
|
+
"react-dom": "^18.3.1",
|
|
59
|
+
"tsup": "^9.0.0",
|
|
60
|
+
"typescript": "~5.9.0"
|
|
61
|
+
},
|
|
62
|
+
"repository": {
|
|
63
|
+
"type": "git",
|
|
64
|
+
"url": "git+https://github.com/kunalt96/tonalkit-ui.git",
|
|
65
|
+
"directory": "packages/react"
|
|
66
|
+
},
|
|
67
|
+
"bugs": {
|
|
68
|
+
"url": "https://github.com/kunalt96/tonalkit-ui/issues"
|
|
69
|
+
},
|
|
70
|
+
"homepage": "https://kunalt96.github.io/tonalkit-ui/",
|
|
71
|
+
"author": "TonalKit contributors"
|
|
72
|
+
}
|