@bixlab/mtone 0.0.0-stage → 0.1.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.
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
2
+ .mt-toast-viewport{z-index:1300;pointer-events:none;outline:none;position:fixed;inset:0}.mt-toast-stack{pointer-events:none;box-sizing:border-box;width:min(360px,100vw - 32px);padding:0;display:block;position:absolute}.mt-toast-stack[data-position=top-right]{top:calc(16px + var(--mt-toast-offset));right:16px}.mt-toast-stack[data-position=bottom-right]{bottom:calc(16px + var(--mt-toast-offset));right:16px}.mt-toast-stack[data-position=top-left]{top:calc(16px + var(--mt-toast-offset));left:16px}.mt-toast-stack[data-position=bottom-left]{bottom:calc(16px + var(--mt-toast-offset));left:16px}.mt-toast-stack[data-position=top-center]{top:calc(16px + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast-stack[data-position=bottom-center]{bottom:calc(16px + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast-stack[data-position=center]{top:calc(50% - var(--mt-toast-total) / 2 + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast-stack[data-position=center-top]{top:calc(25% + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast{max-height:max(80px, calc((70dvh - 32px) / var(--mt-toast-limit) - 10px));box-sizing:border-box;pointer-events:auto;background:var(--mt-bg,#fff);color:var(--mt-fg,#37352f);border:1px solid var(--mt-border,#e9e9e7);border-radius:8px;flex-shrink:0;padding:10px 36px 10px 12px;font-size:14px;position:relative;overflow-y:auto;box-shadow:0 6px 24px #0000001f}.mt-toast-content{grid-template-columns:18px minmax(0,1fr);align-items:start;gap:3px 8px;display:grid}.mt-toast-icon{color:#5378aa;grid-area:1/1;align-self:center}.mt-toast-title,.mt-toast-description,.mt-toast-custom,.mt-toast-action{overflow-wrap:anywhere;grid-column:2;min-width:0}.mt-toast .mt-dialog-close{top:8px;right:8px}.mt-toast[data-type=success]{border-color:#c8dfce}.mt-toast[data-type=success] .mt-toast-icon{color:#34834b}.mt-toast[data-type=error]{border-color:#edc9c6}.mt-toast[data-type=error] .mt-toast-icon{color:#b6403b}.mt-toast-title{font-size:inherit;margin:0;font-weight:600;line-height:20px}.mt-toast-description{color:var(--mt-muted,#787774);white-space:pre-wrap;margin:0;font-size:13px;line-height:1.5}.mt-toast-action{justify-self:start;margin-top:4px}.mt-toast[data-ending]{opacity:0}.mt-toast[data-limited]{display:none}.mt-toast:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:-2px}.mt-layout{box-sizing:border-box;background:var(--mt-bg,#fff);min-width:0;min-height:0;color:var(--mt-fg,#37352f);flex-direction:column;flex:auto;display:flex}.mt-layout-has-sider{flex-direction:row}.mt-layout-full-height{height:100dvh;overflow:hidden}.mt-layout>.mt-layout{overflow:hidden}.mt-sidebar.mt-layout-sider{width:var(--mt-layout-sider-width,240px);border-right:1px solid var(--mt-border,#e9e9e7);box-sizing:border-box;border-radius:0;flex-direction:column;flex:none;min-width:0;min-height:0;padding:0;display:flex}.mt-sidebar.mt-layout-sider[data-collapsed=true]{width:var(--mt-layout-sider-collapsed-width,52px);min-width:0}.mt-sidebar-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.mt-sidebar-brand{min-width:0;overflow:hidden}.mt-sidebar-heading .mt-sidebar-toggle{flex-shrink:0;margin:0}.mt-layout-sider .mt-sidebar-heading{min-height:var(--mt-layout-header-height,48px);box-sizing:border-box;border-bottom:1px solid var(--mt-border,#e9e9e7);flex:none;padding:8px 12px}.mt-layout-sider[data-collapsed=true] .mt-sidebar-heading{height:var(--mt-layout-header-height,48px);justify-content:center;gap:0;padding:4px}.mt-layout-sider>.mt-sidebar-toggle{flex-shrink:0;margin:12px}.mt-layout-sider .mt-sidebar-content{scrollbar-width:thin;flex:auto;min-height:0;padding:12px 8px;overflow:auto}.mt-layout-sider .mt-nav-item{margin-bottom:3px}.mt-layout-header{min-height:var(--mt-layout-header-height,48px);box-sizing:border-box;border-bottom:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:8px 24px;display:flex}.mt-layout-header-main{overflow-wrap:anywhere;flex:160px;min-width:0}.mt-layout-header .mt-breadcrumb{flex-wrap:wrap}.mt-layout-header-extra{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-inline-start:auto;display:flex}.mt-layout-content{box-sizing:border-box;overflow-wrap:anywhere;flex:auto;min-width:0;min-height:0;padding:clamp(16px,3vw,40px);overflow:auto}.mt-layout-footer{height:var(--mt-layout-footer-height,42px);box-sizing:border-box;border-top:1px solid var(--mt-border,#e9e9e7);color:var(--mt-muted,#787774);flex:none;align-items:center;padding:8px 24px;font-size:12px;display:flex;overflow:auto}@media (max-width:575px){.mt-layout-header,.mt-layout-footer{padding:8px 12px}}.mt-layout-sider[data-collapsed=true] .mt-sidebar-brand{max-height:28px}.mt-sidebar-footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.mt-sidebar-footer-content{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--mt-muted,#787774);font-size:12px;overflow:hidden}.mt-sidebar-footer .mt-sidebar-toggle{flex-shrink:0;margin:0 0 0 auto}.mt-layout-sider .mt-sidebar-footer{height:var(--mt-layout-footer-height,42px);box-sizing:border-box;border-top:1px solid var(--mt-border,#e9e9e7);flex:none;padding:6px 12px}.mt-layout-sider[data-collapsed=true] .mt-sidebar-footer{justify-content:center;padding-inline:4px}.mt-layout-sider[data-collapsed=true] .mt-sidebar-footer-content{display:none}.mt-layout-sider[data-collapsed=true] .mt-sidebar-footer .mt-sidebar-toggle{margin:0}.mt-check-label{cursor:pointer;align-items:center;gap:8px;font-size:14px;display:inline-flex}.mt-checkbox,.mt-radio{border:1px solid var(--mt-border,#d4d4d0);background:var(--mt-bg,#fff);color:#fff;border-radius:3px;justify-content:center;align-items:center;width:16px;height:16px;padding:0;display:inline-flex}.mt-checkbox[data-checked],.mt-checkbox[data-indeterminate],.mt-radio[data-checked]{background:var(--mt-primary,#37352f);border-color:var(--mt-primary,#37352f)}.mt-check-indicator{font-size:12px;line-height:1}.mt-radio{border-radius:50%}.mt-radio-indicator{background:#fff;border-radius:50%;width:6px;height:6px}.mt-radio-group{gap:12px;display:flex}.mt-vertical{flex-direction:column}.mt-horizontal{flex-direction:row}.mt-switch{background:#c7c7c3;border:0;border-radius:12px;align-items:center;width:30px;height:18px;padding:2px;display:inline-flex}.mt-switch[data-checked]{background:var(--mt-primary,#37352f)}.mt-switch-thumb{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s}.mt-switch[data-checked] .mt-switch-thumb{transform:translate(12px)}.mt-select,.mt-multiselect,.mt-number-group{font:inherit;border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);min-height:28px;color:var(--mt-text,var(--mt-fg,#37352f));border-radius:4px;align-items:center;gap:8px;padding:3px 9px;font-size:14px;display:inline-flex}.mt-select{justify-content:space-between;min-width:160px}.mt-select-icon{color:var(--mt-muted,#787774)}.mt-positioner{z-index:1250;outline:0}.mt-popup{min-width:max(160px, var(--anchor-width,0px));max-height:min(320px, var(--available-height,320px));background:var(--mt-bg,#fff);color:var(--mt-text,var(--mt-fg,#37352f));border:1px solid var(--mt-border,#e9e9e7);border-radius:6px;outline:none;padding:4px;font-size:14px;overflow:auto;box-shadow:0 4px 16px #00000014}.mt-option,.mt-menu-item{cursor:pointer;border-radius:3px;outline:none;justify-content:space-between;align-items:center;gap:24px;min-height:28px;padding:4px 8px;display:flex}.mt-option[data-highlighted],.mt-menu-item[data-highlighted]{background:var(--mt-hover,#f1f1ef)}.mt-option[data-disabled],.mt-menu-item[data-disabled],[data-disabled].mt-segment{opacity:.4;cursor:not-allowed}.mt-multiselect{flex-wrap:wrap;gap:4px;min-width:200px;max-width:100%;padding:3px 6px}.mt-chip{background:var(--mt-hover,#f1f1ef);border-radius:3px;align-items:center;gap:4px;padding:1px 5px;font-size:12px;display:inline-flex}.mt-chip-remove,.mt-combobox-trigger{color:inherit;cursor:pointer;background:0 0;border:0;padding:0 2px}.mt-combobox-input{font:inherit;color:inherit;background:0 0;border:0;outline:none;flex:1;width:90px;min-width:70px}.mt-combobox-empty{color:var(--mt-muted,#787774);padding:8px}.mt-combobox-empty:empty{display:none}.mt-number-group{gap:0;padding:0;overflow:hidden}.mt-number-input{text-align:center;width:72px;font:inherit;color:inherit;background:0 0;border:0;outline:none}.mt-number-step{color:inherit;cursor:pointer;background:0 0;border:0;width:28px;height:28px}.mt-number-step:hover{background:var(--mt-hover,#f1f1ef)}.mt-slider{width:180px}.mt-slider-control{touch-action:none;padding:10px 0}.mt-slider-track{background:var(--mt-border,#e9e9e7);border-radius:8px;height:4px;position:relative}.mt-slider-indicator{background:var(--mt-primary,#37352f);border-radius:8px}.mt-slider-thumb{border:2px solid var(--mt-primary,#37352f);background:var(--mt-bg,#fff);border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0002}.mt-tab-list{border-bottom:1px solid var(--mt-border,#e9e9e7);gap:16px;display:flex}.mt-tab{font:inherit;color:var(--mt-muted,#787774);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:9px 2px}.mt-tab[data-active]{color:var(--mt-text,var(--mt-fg,#37352f));border-bottom-color:currentColor}.mt-tab-panel{outline:none;padding:16px 0}.mt-segmented{background:var(--mt-hover,#f1f1ef);border-radius:5px;gap:2px;padding:3px;display:inline-flex}.mt-segment{cursor:pointer;border-radius:3px;outline:none;justify-content:center;align-items:center;min-height:26px;padding:3px 10px;display:flex}.mt-segment[data-checked]{background:var(--mt-bg,#fff);box-shadow:0 1px 3px #0000001a}.mt-shortcut{color:var(--mt-muted,#787774);font-size:12px}.mt-popover{max-width:320px;padding:12px}.mt-popup-title{margin:0 0 8px;font-weight:600}.mt-tooltip{color:#fff;background:#37352f;border-radius:4px;max-width:260px;padding:5px 8px;font-size:12px;box-shadow:0 2px 8px #0002}.mt-backdrop{z-index:1200;background:#0005;position:fixed;inset:0}.mt-modal{z-index:1201;background:var(--mt-bg,#fff);width:min(480px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--mt-text,var(--mt-fg,#37352f));border:1px solid var(--mt-border,#e9e9e7);box-sizing:border-box;border-radius:8px;outline:none;padding:24px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 16px 64px #0003}.mt-dialog-title{margin:0 28px 12px 0;font-size:18px;font-weight:600;line-height:1.5}.mt-dialog-description{color:var(--mt-muted,#787774);margin:0 0 16px;font-size:14px}.mt-dialog-close{width:24px;height:24px;color:var(--mt-muted,#787774);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;font-size:20px;display:flex;position:absolute;top:12px;right:12px}.mt-dialog-close:hover{background:var(--mt-hover,#f1f1ef)}.mt-dialog-body{font-size:14px}.mt-dialog-footer{justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.mt-action{font:inherit;border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);min-height:28px;color:var(--mt-text,var(--mt-fg,#37352f));cursor:pointer;border-radius:4px;padding:3px 10px;font-size:14px}.mt-action-primary{background:var(--mt-primary,#37352f);color:#fff;border-color:#0000}.mt-action-danger{background:#d44c47}.mt-drawer-viewport{z-index:1201;justify-content:flex-end;display:flex;position:fixed;inset:0}.mt-drawer{background:var(--mt-bg,#fff);color:var(--mt-text,var(--mt-fg,#37352f));box-sizing:border-box;outline:0;width:min(400px,90vw);height:100%;padding:24px;position:relative;overflow:auto;box-shadow:-4px 0 24px #0002}.mt-checkbox:focus-visible,.mt-radio:focus-visible,.mt-switch:focus-visible,.mt-select:focus-visible,.mt-segment:focus-visible,.mt-action:focus-visible,.mt-tab:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:2px}.mt-check-label:has([data-disabled]){opacity:.45;cursor:not-allowed}[data-density=comfortable] .mt-select,[data-density=comfortable] .mt-number-step{min-height:34px}.mt-menu-label{align-items:center;gap:8px;display:inline-flex}.mt-menu-icon{width:16px;height:16px;color:var(--mt-muted,#787774);justify-content:center;align-items:center;display:inline-flex}.mt-menu-icon svg{width:16px;height:16px}.mt-table-wrap{border:1px solid var(--mt-border,#e9e9e7);border-radius:4px;overflow:hidden}.mt-table-scroll{overflow:auto}.mt-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.mt-table th{color:var(--mt-muted,#787774);background:var(--mt-subtle,#f7f7f5);font-weight:500}.mt-table th,.mt-table td{border-bottom:1px solid var(--mt-border,#e9e9e7);white-space:nowrap;padding:8px 12px}.mt-table tr:last-child td{border-bottom:0}.mt-table tr[data-selected]{background:var(--mt-selected,#edf3fa)}.mt-table-sort{width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:16px;padding:0;display:flex}.mt-table-filter{width:100%;min-width:72px;margin-top:6px;display:block}.mt-table-empty{text-align:center;color:var(--mt-muted,#787774);height:100px}.mt-pagination{color:var(--mt-muted,#787774);justify-content:flex-end;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.mt-pagination>span:first-child{margin-right:auto}.mt-tree{font-size:14px}.mt-tree-item{cursor:pointer;min-height:28px;color:var(--mt-fg,#37352f);border-radius:4px;align-items:center;gap:6px;padding:4px 8px;display:flex}.mt-tree-item:hover{background:var(--mt-hover,#f1f1ef)}.mt-tree-item[aria-selected=true]{background:var(--mt-selected,#e9eef4)}.mt-tree-item[aria-disabled=true]{opacity:.45;cursor:not-allowed}.mt-tree-item:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:-2px}.mt-tree-toggle{flex-shrink:0;align-items:center;width:14px;display:inline-flex}.mt-date-picker{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.mt-date-picker>.mt-error{flex-basis:100%;font-size:12px}.mt-dropzone{border:1px dashed var(--mt-border,#d5d5d2);min-height:140px;color:var(--mt-muted,#787774);border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:20px;font-size:14px;display:flex}.mt-dropzone[data-dragging]{background:var(--mt-selected,#edf3fa);border-color:var(--mt-focus,#5378aa)}.mt-dropzone input{max-width:100%;font:inherit;font-size:12px}.mt-dropzone input::file-selector-button{border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);color:var(--mt-fg,#37352f);cursor:pointer;border-radius:4px;margin-right:8px;padding:4px 8px}.mt-upload-list{margin:8px 0 0;padding:0;list-style:none}.mt-upload-list li{border-bottom:1px solid var(--mt-border,#e9e9e7);align-items:center;gap:8px;min-height:44px;font-size:14px;display:flex}.mt-upload-name{overflow-wrap:anywhere;flex:1;min-width:0}.mt-upload-name small{color:var(--mt-muted,#787774);font-size:12px;display:block}.mt-upload-name small[role=alert]{color:var(--mt-danger,#c44e48)}.mt-upload-list progress{width:80px;height:5px;accent-color:var(--mt-fg,#37352f)}.mt-pagination-pages{align-items:center;gap:2px;display:flex}.mt-pagination-pages .mt-btn{min-width:28px;padding-inline:6px}.mt-pagination-pages [aria-current=page]{font-weight:600}:root,:host{--mt-spacing:.25rem}.mt-scope,.mt-btn,.mt-input,.mt-card,.mt-tag,.mt-list,.mt-table-wrap{color:var(--mt-fg,#37352f);box-sizing:border-box;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans SC,sans-serif;font-size:14px;line-height:1.45}.mt-scope{--mt-fg:#37352f;--mt-text:var(--mt-fg);--mt-primary:#37352f;--mt-hover:#f1f1ef;--mt-muted:#787774;--mt-border:#e9e9e7;--mt-bg:#fff;--mt-subtle:#f7f7f5;--mt-height:28px;--mt-radius:4px;--mt-focus:#5378aa}.mt-scope[data-density=comfortable]{--mt-height:36px}.mt-scope *,.mt-scope :before,.mt-scope :after{box-sizing:border-box}.mt-btn{justify-content:center;align-items:center;gap:calc(var(--mt-spacing) * 1.5);height:var(--mt-height,28px);border:1px solid var(--mt-border,#e9e9e7);border-radius:var(--mt-radius,4px);background:var(--mt-bg,#fff);cursor:pointer;white-space:nowrap;vertical-align:middle;padding:0 9px;font-weight:500;transition:background .12s;display:inline-flex}.mt-btn:hover:not(:disabled){background:var(--mt-subtle,#f7f7f5)}.mt-btn-solid{background:var(--mt-fg,#37352f);color:#fff;border-color:#0000}.mt-btn-solid:hover:not(:disabled){background:#53514c}.mt-btn-blue{color:#f3f9fd;background:#2783de;border-color:#0000;transition:background-color .1s ease-in-out}.mt-btn-blue:hover:not(:disabled){background:#2276c9}.mt-btn-soft{background:var(--mt-subtle,#f7f7f5);border-color:#0000}.mt-btn-ghost{background:0 0;border-color:#0000}.mt-danger{color:#b6403b}.mt-btn-solid.mt-danger,.mt-btn-blue.mt-danger{color:#fff;background:#b6403b}.mt-btn-blue.mt-danger:hover:not(:disabled){background:#9e3632}.mt-btn:disabled{opacity:.45;cursor:not-allowed}.mt-btn.mt-size-sm{height:24px;padding:0 6px;font-size:12px}.mt-btn.mt-size-lg{height:36px;padding:0 14px}.mt-icon-btn{width:var(--mt-height,28px);padding:0}.mt-button-group{gap:4px;display:inline-flex}.mt-btn:focus-visible,.mt-input:focus-visible,.mt-link:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:2px}.mt-input{height:var(--mt-height,28px);background:var(--mt-bg,#fff);border:1px solid var(--mt-border,#e9e9e7);width:100%;min-width:0;font:inherit;color:var(--mt-fg,#37352f);border-radius:4px;padding:4px 8px}.mt-input::placeholder{color:var(--mt-muted,#787774)}.mt-input:disabled{opacity:.6;background:#f7f7f5}.mt-input[aria-invalid=true]{border-color:#c66660}.mt-textarea{resize:vertical;min-height:72px}.mt-search{color:var(--mt-muted,#787774);align-items:center;display:flex;position:relative}.mt-search>svg{position:absolute;left:8px}.mt-search .mt-input{padding-left:30px}.mt-field{flex-direction:column;gap:5px;display:flex}.mt-field>label{font-size:13px;font-weight:500}.mt-form{gap:14px;display:grid}.mt-help{color:var(--mt-muted,#787774);font-size:12px}.mt-error{color:#b6403b}.mt-muted,.mt-scope small{color:var(--mt-muted,#787774)}.mt-tag{white-space:nowrap;background:#efefed;border-radius:3px;align-items:center;gap:4px;padding:1px 6px;font-size:12px;display:inline-flex}.mt-tag button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.mt-tone-blue{color:#32679b;background:#e7f0f9}.mt-tone-green{color:#3c7152;background:#e8f1eb}.mt-tone-orange{color:#9c6a2d;background:#fbefdf}.mt-tone-red{color:#ae4d47;background:#f9e9e7}.mt-tone-purple{color:#795a9e;background:#efe9f6}.mt-status{background:0 0;align-items:center;gap:5px;font-size:12px;display:inline-flex}.mt-status i{background:currentColor;border-radius:50%;width:6px;height:6px}.mt-avatar{color:#68645d;background:#eeede9;border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:10px;font-weight:600;display:inline-flex;overflow:hidden}.mt-avatar img{object-fit:cover;width:100%;height:100%}.mt-avatar-group{display:inline-flex}.mt-avatar-group .mt-avatar+.mt-avatar{border:2px solid #fff;margin-left:-6px}.mt-progress{background:#efefed;border-radius:9px;width:100%;height:5px;overflow:hidden}.mt-progress>span{border-radius:inherit;background:#7d9c84;height:100%;display:block}.mt-divider{border:0;border-top:1px solid var(--mt-border,#e9e9e7);margin:12px 0}.mt-card{border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);border-radius:6px;padding:16px}.mt-list{margin:0;padding:0;list-style:none}.mt-list-item{border-bottom:1px solid var(--mt-border,#e9e9e7);align-items:center;gap:8px;padding:8px;display:flex}.mt-list-item:last-child{border-bottom:0}.mt-list-content{flex:1;min-width:0}.mt-link{color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.mt-link:hover{text-decoration:underline}.mt-doc-icon{margin-bottom:12px}.mt-properties{margin:0}.mt-properties>div{grid-template-columns:100px 1fr;gap:12px;padding:6px 0;display:grid}.mt-properties dt{color:var(--mt-muted,#787774)}.mt-properties dd{margin:0}.mt-alert{background:#f6f8fa;border:1px solid #e4e8ed;border-radius:4px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:13px;display:flex}.mt-alert>div{flex:1}.mt-alert-success{color:#466b4c;background:#f2f7f3;border-color:#deeadf}.mt-alert-warning{color:#8c6b34;background:#fcf8ee;border-color:#eee3c9}.mt-alert-error{color:#a24942;background:#fcf3f2;border-color:#f0dcd9}.mt-empty{color:var(--mt-muted,#787774);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:28px;display:flex}.mt-empty strong{color:var(--mt-fg,#37352f);font-size:14px}.mt-empty span{font-size:12px}.mt-skeleton{background:#efefed;border-radius:4px;min-width:48px;height:16px;animation:1.6s infinite mt-pulse}.mt-spinner{display:inline-flex}.mt-spin{animation:1s linear infinite mt-spin}@keyframes mt-spin{to{transform:rotate(360deg)}}@keyframes mt-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.mt-spin,.mt-skeleton{animation:none}}.mt-sidebar{background:var(--mt-subtle,#f7f7f5);border-radius:4px;padding:12px 8px}.mt-nav-item{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;min-height:var(--mt-height,28px);background:0 0;border:0;border-radius:4px;align-items:center;gap:8px;padding:5px 8px;display:flex}.mt-nav-item:hover{background:#efefef}.mt-nav-item.mt-active{color:#262626;background:#e5e5e5}.mt-nav-item:focus-visible{outline:2px solid var(--mt-focus,#5378aa)}.mt-nav-item:disabled{opacity:.4;cursor:not-allowed}.mt-nav-group{margin-top:12px}.mt-nav-label{letter-spacing:.04em;color:var(--mt-muted,#787774);padding:4px 8px;font-size:11px}.mt-breadcrumb{color:var(--mt-muted,#787774);align-items:center;gap:8px;margin:0;padding:0;font-size:12px;list-style:none;display:flex}.mt-breadcrumb li{align-items:center;gap:8px;display:flex}.mt-breadcrumb a{color:inherit;text-decoration:none}.mt-breadcrumb a:hover{text-decoration:underline}.mt-filter-chip{background:var(--mt-subtle,#f7f7f5);border-radius:4px;align-items:center;gap:3px;padding-left:7px;font-size:12px;display:inline-flex}.mt-filter-bar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mt-sidebar[data-collapsed=true]{box-sizing:border-box;flex-shrink:0;width:52px;min-width:52px}.mt-sidebar-toggle{margin-bottom:8px}.mt-sidebar-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mt-nav-item-collapsed{justify-content:center;padding-inline:0;position:relative}.mt-nav-item-collapsed>svg{flex-shrink:0}.mt-nav-group-collapsed+.mt-nav-group-collapsed{border-top:1px solid var(--mt-border,#e9e9e7);padding-top:8px}:is(.mt-slider-thumb,.mt-chip,.mt-chip-remove,.mt-combobox-trigger,.mt-dialog-close,.mt-tab-panel,.mt-table-sort):not(:disabled):not([data-disabled]):not([aria-disabled=true]):focus-visible,:is(.mt-tag,.mt-filter-chip)>button:focus-visible,.mt-breadcrumb a:focus-visible,.mt-table input:focus-visible,.mt-dropzone input:focus-visible,.mt-number-group:not(:has(input:disabled)):focus-within,.mt-multiselect:not(:has(input:disabled)):focus-within{outline:2px solid var(--mt-focus,#5378aa);outline-offset:2px}.mt-number-group .mt-number-input:focus-visible,.mt-multiselect .mt-combobox-input:focus-visible{outline:none}.mt-number-step:not(:disabled):not([data-disabled]):focus-visible,.mt-option[data-highlighted]:not([data-disabled]),.mt-menu-item[data-highlighted]:not([data-disabled]){outline:2px solid var(--mt-focus,#5378aa);outline-offset:-2px}
package/package.json CHANGED
@@ -1,6 +1,46 @@
1
1
  {
2
2
  "name": "@bixlab/mtone",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "Compact, ready-styled React components powered by Base UI",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "main": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ },
16
+ "./styles.css": "./dist/styles.css"
17
+ },
18
+ "sideEffects": [
19
+ "**/*.css"
20
+ ],
21
+ "scripts": {
22
+ "build": "tsup src/index.ts --format esm --dts --external react --external react-dom --external @base-ui/react --external lucide-react && tailwindcss -i src/styles.css -o dist/styles.css --minify"
23
+ },
24
+ "peerDependencies": {
25
+ "react": "^19.2.0",
26
+ "react-dom": "^19.2.0"
27
+ },
28
+ "dependencies": {
29
+ "@base-ui/react": "^1.9.0",
30
+ "lucide-react": "1.73.0"
31
+ },
32
+ "license": "MIT",
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/xingjianxu/mtone.git",
36
+ "directory": "packages/mtone"
37
+ },
38
+ "homepage": "https://xingjianxu.github.io/mtone/",
39
+ "bugs": {
40
+ "url": "https://github.com/xingjianxu/mtone/issues"
41
+ },
42
+ "publishConfig": {
43
+ "access": "public",
44
+ "registry": "https://registry.npmjs.org"
45
+ }
46
+ }