@chenchaolong/plugin-trade-compliance-workbench 0.1.71 → 0.1.72

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.
@@ -2115,7 +2115,7 @@
2115
2115
  function injectStyles() {
2116
2116
  const style = document.createElement('style')
2117
2117
  style.textContent = `
2118
- :root { color-scheme: light; --tcw-bg:#f5f7fa; --tcw-card:#fff; --tcw-soft:#f8fafc; --tcw-text:#152033; --tcw-muted:#66758a; --tcw-border:#dbe3ed; --tcw-primary:#176b87; --tcw-primary-dark:#0f5167; --tcw-success:#147a46; --tcw-warning:#9a5b00; --tcw-danger:#b42318; }
2118
+ :root { color-scheme: light; --tcw-bg:#f5f7fa; --tcw-card:#fff; --tcw-soft:#f8fafc; --tcw-text:#152033; --tcw-muted:#66758a; --tcw-border:#dbe3ed; --tcw-primary:#475569; --tcw-primary-dark:#334155; --tcw-success:#475569; --tcw-warning:#64748b; --tcw-danger:#9f3a38; }
2119
2119
  * { box-sizing: border-box; }
2120
2120
  body { margin: 0; background: var(--tcw-bg); color: var(--tcw-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
2121
2121
  button, input, textarea, select { font: inherit; letter-spacing: 0; }
@@ -2204,7 +2204,7 @@ button, input, textarea, select { font: inherit; letter-spacing: 0; }
2204
2204
  .tcw-table th { background: var(--tcw-soft); color: var(--tcw-muted); font-size: 11px; font-weight: 900; }
2205
2205
  .tcw-table th.tcw-select-cell, .tcw-table td.tcw-select-cell, .tcw-table th.tcw-index-cell, .tcw-table td.tcw-index-cell { width: 48px; min-width: 48px; }
2206
2206
  .tcw-table th.tcw-status-cell, .tcw-table td.tcw-status-cell { width: 108px; min-width: 108px; }
2207
- .tcw-table th.tcw-actions-cell, .tcw-table td.tcw-actions-cell { position: sticky; right: 0; z-index: 2; width: 118px; min-width: 118px; background: var(--tcw-card); box-shadow: -8px 0 14px rgba(15, 23, 42, .05); }
2207
+ .tcw-table th.tcw-actions-cell, .tcw-table td.tcw-actions-cell { position: sticky; right: 0; z-index: 2; width: 220px; min-width: 220px; background: var(--tcw-card); box-shadow: -8px 0 14px rgba(15, 23, 42, .05); }
2208
2208
  .tcw-table th.tcw-actions-cell { z-index: 3; background: var(--tcw-soft); }
2209
2209
  .tcw-cell-text { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2210
2210
  .tcw-text-cell .tcw-cell-text { max-width: 280px; }
@@ -2216,10 +2216,10 @@ button, input, textarea, select { font: inherit; letter-spacing: 0; }
2216
2216
  .tcw-list-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
2217
2217
  .tcw-filter { display: inline-flex; align-items: center; gap: 8px; color: var(--tcw-muted); font-size: 13px; font-weight: 800; }
2218
2218
  .tcw-filter select { min-height: 34px; border: 1px solid var(--tcw-border); border-radius: 6px; background: var(--tcw-card); color: var(--tcw-text); padding: 6px 28px 6px 9px; }
2219
- .tcw-row-actions { display: grid; grid-template-columns: repeat(2, 46px); grid-auto-rows: 28px; gap: 6px; width: max-content; }
2220
- .tcw-mini-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; min-width: 46px; min-height: 28px; border: 1px solid color-mix(in srgb, var(--tcw-primary) 35%, var(--tcw-border)); border-radius: 6px; background: color-mix(in srgb, var(--tcw-primary) 6%, var(--tcw-card)); color: var(--tcw-primary); padding: 4px 0; cursor: pointer; font-size: 12px; font-weight: 800; white-space: nowrap; }
2221
- .tcw-mini-btn.active { background: var(--tcw-primary); color: #fff; }
2222
- .tcw-mini-btn.danger { border-color: color-mix(in srgb, var(--tcw-danger) 35%, var(--tcw-border)); background: color-mix(in srgb, var(--tcw-danger) 6%, var(--tcw-card)); color: var(--tcw-danger); }
2219
+ .tcw-row-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; width: max-content; white-space: nowrap; }
2220
+ .tcw-mini-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; min-width: 46px; min-height: 28px; border: 1px solid var(--tcw-border); border-radius: 6px; background: var(--tcw-card); color: var(--tcw-text); padding: 4px 0; cursor: pointer; font-size: 12px; font-weight: 800; white-space: nowrap; }
2221
+ .tcw-mini-btn.active { background: var(--tcw-soft); color: var(--tcw-text); }
2222
+ .tcw-mini-btn.danger { border-color: color-mix(in srgb, var(--tcw-danger) 28%, var(--tcw-border)); background: var(--tcw-card); color: var(--tcw-danger); }
2223
2223
  .tcw-mini-btn:disabled { cursor: not-allowed; opacity: .5; }
2224
2224
  .tcw-hs-code-text { overflow-wrap: anywhere; font-size: 12px; }
2225
2225
  .tcw-hs-search-form { display: grid; gap: 10px; }
@@ -2421,11 +2421,11 @@ button, input, textarea, select { font: inherit; letter-spacing: 0; }
2421
2421
  --tcw-text:#172033;
2422
2422
  --tcw-muted:#65758c;
2423
2423
  --tcw-border:#dbe5f0;
2424
- --tcw-primary:#2563eb;
2425
- --tcw-primary-dark:#1d4ed8;
2424
+ --tcw-primary:#475569;
2425
+ --tcw-primary-dark:#334155;
2426
2426
  --tcw-success:#475569;
2427
2427
  --tcw-warning:#64748b;
2428
- --tcw-danger:#b42318;
2428
+ --tcw-danger:#9f3a38;
2429
2429
  --tcw-violet:#64748b;
2430
2430
  --tcw-slate:#64748b;
2431
2431
  --tcw-shadow:0 14px 42px rgba(20, 35, 55, .08);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chenchaolong/plugin-trade-compliance-workbench",
3
- "version": "0.1.71",
3
+ "version": "0.1.72",
4
4
  "description": "Trade Compliance Workbench app plugin for controlled goods review, supplier product management, and customs workbook generation.",
5
5
  "author": {
6
6
  "name": "XpertAI",