@xoong/ui 0.0.44 → 0.0.45

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/mist.css +29 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoong/ui",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "description": "xoong admin set: xoong.css tokens, <xo-table>, <xo-form>, <xo-dialog>, toast, confirm and a declarative History-API router. Depends on @xoong/core, @xoong/data and @xoong/forms.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -21,9 +21,9 @@
21
21
  "sideEffects": true,
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@xoong/core": "0.0.44",
25
- "@xoong/data": "0.0.44",
26
- "@xoong/forms": "0.0.44"
24
+ "@xoong/core": "0.0.45",
25
+ "@xoong/data": "0.0.45",
26
+ "@xoong/forms": "0.0.45"
27
27
  },
28
28
  "files": [
29
29
  "src"
package/src/mist.css CHANGED
@@ -1471,6 +1471,35 @@
1471
1471
  .xo-file-list li img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex: none; }
1472
1472
  .xo-file-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1473
1473
  xo-menu:not(:defined) > :not([xo-menu-trigger]) { display: none; }
1474
+ xo-tabs:not(:defined) { display: block; padding-top: 44px; }
1475
+ xo-tabs:not(:defined) > [xo-tab] { padding: 0; margin: 0; }
1476
+ xo-tabs:not(:defined) > [xo-tab]:not(:first-of-type) { display: none !important; }
1477
+ xo-carousel:not(:defined) { display: block; overflow: hidden; padding-bottom: 48px; }
1478
+ xo-carousel:not(:defined) > :not(:first-child) { display: none !important; }
1479
+ xo-combobox:not(:defined), xo-tags:not(:defined) { display: block; min-height: var(--xo-control-height, 40px); }
1480
+ xo-combobox:not(:defined) > *, xo-tags:not(:defined) > * { display: none !important; }
1481
+ xo-richtext:not(:defined) { display: block; min-height: 274px; }
1482
+ xo-switch:not(:defined), xo-slider:not(:defined), xo-range-slider:not(:defined), xo-progress:not(:defined), xo-steps:not(:defined), xo-segmented:not(:defined), xo-split-button:not(:defined), xo-stepper:not(:defined), xo-date:not(:defined), xo-time:not(:defined), xo-password:not(:defined), xo-copy:not(:defined), xo-textarea:not(:defined), xo-file:not(:defined), xo-accordion:not(:defined), xo-stat:not(:defined), xo-chart:not(:defined), xo-otp:not(:defined), xo-inline-edit:not(:defined) { display: block; }
1483
+ xo-switch:not(:defined), xo-slider:not(:defined), xo-range-slider:not(:defined) { min-height: 24px; }
1484
+ xo-progress:not(:defined) { min-height: 8px; }
1485
+ xo-steps:not(:defined), xo-inline-edit:not(:defined) { min-height: 30px; }
1486
+ xo-split-button:not(:defined), xo-stepper:not(:defined), xo-date:not(:defined), xo-time:not(:defined), xo-password:not(:defined), xo-copy:not(:defined) { min-height: 40px; }
1487
+ xo-segmented:not(:defined) { min-height: 46px; }
1488
+ xo-otp:not(:defined) { min-height: 52px; }
1489
+ xo-textarea:not(:defined) { min-height: 123px; }
1490
+ xo-file:not(:defined) { min-height: 155px; }
1491
+ xo-accordion:not(:defined) { min-height: 98px; }
1492
+ xo-stat:not(:defined) { min-height: 120px; }
1493
+ xo-chart:not(:defined) { min-height: 284px; }
1494
+ xo-switch:not(:defined) > *, xo-segmented:not(:defined) > *, xo-split-button:not(:defined) > *, xo-accordion:not(:defined) > * { visibility: hidden; }
1495
+ xo-image:not(:defined) { display: block; }
1496
+ xo-image[ratio="16/9"]:not(:defined) { aspect-ratio: 16 / 9; }
1497
+ xo-image[ratio="4/3"]:not(:defined) { aspect-ratio: 4 / 3; }
1498
+ xo-image[ratio="3/2"]:not(:defined) { aspect-ratio: 3 / 2; }
1499
+ xo-image[ratio="1/1"]:not(:defined) { aspect-ratio: 1; }
1500
+ xo-image[ratio="21/9"]:not(:defined) { aspect-ratio: 21 / 9; }
1501
+ xo-image[ratio="3/4"]:not(:defined) { aspect-ratio: 3 / 4; }
1502
+ xo-image[ratio="2/3"]:not(:defined) { aspect-ratio: 2 / 3; }
1474
1503
 
1475
1504
  /* ---- skin ---- */
1476
1505
  :root { --shadow-sm: 0 1px 2px color-mix(in srgb, var(--xo-color-text) 6%, transparent); --shadow-float: 0 12px 32px color-mix(in srgb, var(--xo-color-text) 14%, transparent), 0 2px 6px color-mix(in srgb, var(--xo-color-text) 8%, transparent); --xo-shadow-pop: var(--shadow-float); --xo-shadow-raised: none; --xo-focus: 2px solid var(--xo-color-accent); --xo-focus-thin: 2px solid var(--xo-color-accent); }