@coolms/ui-react 0.1.0-alpha.12 → 0.1.0-alpha.14
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/CHANGELOG.md +14 -0
- package/dist/components/Fields.d.ts +48 -4
- package/dist/components/FileViewer.d.ts +4 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +835 -770
- package/package.json +1 -1
- package/src/kit.css +4 -1
package/package.json
CHANGED
package/src/kit.css
CHANGED
|
@@ -73,6 +73,8 @@
|
|
|
73
73
|
font: inherit;
|
|
74
74
|
}
|
|
75
75
|
.cms-input:focus { border-color: var(--cms-accent); }
|
|
76
|
+
.cms-textarea { padding: 8px 10px; line-height: 1.5; resize: vertical; }
|
|
77
|
+
.cms-input[type="date"], .cms-input[type="time"], .cms-input[type="datetime-local"] { color-scheme: inherit; }
|
|
76
78
|
.cms-input:disabled { background: var(--cms-bg-muted); color: var(--cms-text-muted); cursor: not-allowed; }
|
|
77
79
|
.cms-input:read-only:not(select) { background: var(--cms-surface-muted); }
|
|
78
80
|
.cms-field.is-invalid .cms-input { border-color: var(--cms-danger); }
|
|
@@ -522,9 +524,10 @@
|
|
|
522
524
|
.cms-viewer__body { display: flex; min-height: 0; }
|
|
523
525
|
.cms-viewer__thumbnails { flex: none; width: 124px; padding: var(--cms-space-3); overflow: auto; border-right: 1px solid #2a2f38; }
|
|
524
526
|
.cms-viewer__content { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; }
|
|
527
|
+
/* The next arrow stands clear of the content's own vertical scrollbar (at most 20px), down the content's right edge. */
|
|
525
528
|
.cms-viewer__side { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: #262b34; color: inherit; cursor: pointer; }
|
|
526
529
|
.cms-viewer__side--previous { left: var(--cms-space-3); }
|
|
527
|
-
.cms-viewer__side--next { right: var(--cms-space-3); }
|
|
530
|
+
.cms-viewer__side--next { right: calc(var(--cms-space-3) + 20px); }
|
|
528
531
|
.cms-viewer__side--next svg { transform: scaleX(-1); }
|
|
529
532
|
.cms-viewer__strip { display: flex; justify-content: center; gap: var(--cms-space-2); min-width: 0; padding: var(--cms-space-2) var(--cms-space-3); overflow-x: auto; border-top: 1px solid #2a2f38; }
|
|
530
533
|
.cms-viewer__dots { display: none; position: absolute; left: 0; right: 0; bottom: var(--cms-space-2); z-index: 2; justify-content: center; gap: 6px; }
|