@moni-labs/moni-ui 0.4.9 → 0.4.11
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/dist/browser/moni-ui.iife.min.js +16 -0
- package/dist/browser/moni-ui.iife.min.js.br +0 -0
- package/dist/browser/moni-ui.iife.min.js.gz +0 -0
- package/dist/browser/moni-ui.iife.min.js.map +1 -1
- package/dist/browser/moni-ui.min.js +16 -0
- package/dist/browser/moni-ui.min.js.br +0 -0
- package/dist/browser/moni-ui.min.js.gz +0 -0
- package/dist/browser/moni-ui.min.js.map +1 -1
- package/dist/cdn/chunks/{class-map-C4FUGLfQ.js → class-map-B9hUMqj3.js} +1 -1
- package/dist/cdn/chunks/{decorate-C9xO7mby.js → decorate-QgzlIDLK.js} +16 -0
- package/dist/cdn/chunks/if-defined-Nz1Y6IRW.js +1 -0
- package/dist/cdn/chunks/{live-DcFRrlh7.js → live-DmKu4zBK.js} +1 -1
- package/dist/cdn/components/moni-app-bar.js +1 -1
- package/dist/cdn/components/moni-badge.js +1 -1
- package/dist/cdn/components/moni-bottom-sheet.js +1 -1
- package/dist/cdn/components/moni-button-group.js +1 -1
- package/dist/cdn/components/moni-button-segment.js +1 -1
- package/dist/cdn/components/moni-button.js +1 -1
- package/dist/cdn/components/moni-card.js +1 -1
- package/dist/cdn/components/moni-carousel.js +1 -1
- package/dist/cdn/components/moni-checkbox.js +1 -1
- package/dist/cdn/components/moni-chip.js +1 -1
- package/dist/cdn/components/moni-color-field.js +1 -1
- package/dist/cdn/components/moni-context-menu.js +1 -1
- package/dist/cdn/components/moni-dialog.js +1 -1
- package/dist/cdn/components/moni-divider.js +1 -1
- package/dist/cdn/components/moni-expansion.js +1 -1
- package/dist/cdn/components/moni-fab-menu.js +1 -1
- package/dist/cdn/components/moni-fab.js +1 -1
- package/dist/cdn/components/moni-file-field.js +1 -1
- package/dist/cdn/components/moni-icon.js +1 -1
- package/dist/cdn/components/moni-list-item.js +1 -1
- package/dist/cdn/components/moni-list.js +1 -1
- package/dist/cdn/components/moni-loading-indicator.js +1 -1
- package/dist/cdn/components/moni-menu-item.js +1 -1
- package/dist/cdn/components/moni-menu.js +1 -1
- package/dist/cdn/components/moni-morph-modal.js +1 -1
- package/dist/cdn/components/moni-nav-item.js +1 -1
- package/dist/cdn/components/moni-nav.js +1 -1
- package/dist/cdn/components/moni-progress.js +1 -1
- package/dist/cdn/components/moni-radio.js +1 -1
- package/dist/cdn/components/moni-ripple.js +1 -1
- package/dist/cdn/components/moni-segmented-button.js +1 -1
- package/dist/cdn/components/moni-select-option.js +1 -1
- package/dist/cdn/components/moni-select.js +1 -1
- package/dist/cdn/components/moni-shape.js +1 -1
- package/dist/cdn/components/moni-side-sheet.js +1 -1
- package/dist/cdn/components/moni-slider.js +1 -1
- package/dist/cdn/components/moni-snackbar.js +1 -1
- package/dist/cdn/components/moni-split-button.js +1 -1
- package/dist/cdn/components/moni-step.js +1 -1
- package/dist/cdn/components/moni-stepper.js +1 -1
- package/dist/cdn/components/moni-switch.js +1 -1
- package/dist/cdn/components/moni-tab.js +1 -1
- package/dist/cdn/components/moni-tabs.js +1 -1
- package/dist/cdn/components/moni-text-field.js +1 -1
- package/dist/cdn/components/moni-textarea.js +1 -1
- package/dist/cdn/components/moni-time-picker.js +1 -1
- package/dist/cdn/components/moni-toolbar.js +1 -1
- package/dist/cdn/components/moni-tooltip.js +1 -1
- package/dist/cdn/components/moni-typography.js +1 -1
- package/dist/cdn/importmap.json +98 -98
- package/dist/components/_base/field-styles.d.ts.map +1 -1
- package/dist/components/_base/field-styles.js +16 -0
- package/docs/api.json +1 -1
- package/package.json +1 -1
- package/src/components/_base/field-styles.ts +16 -0
- package/dist/cdn/chunks/if-defined-6foei_QT.js +0 -1
|
@@ -1313,6 +1313,12 @@ var H = class extends Le {
|
|
|
1313
1313
|
) {
|
|
1314
1314
|
--_start: 1.5rem;
|
|
1315
1315
|
}
|
|
1316
|
+
/* Compact rounding keeps the label closer to the edge than pill fields.
|
|
1317
|
+
This must follow the generic [class*='round'] rule. */
|
|
1318
|
+
.field.label.small-round > label {
|
|
1319
|
+
--_start: 1rem;
|
|
1320
|
+
inset: -0.5rem 0.9375rem 0 var(--_start);
|
|
1321
|
+
}
|
|
1316
1322
|
|
|
1317
1323
|
/* Prefix fields: shift the label's inline-start to clear the leading icon. */
|
|
1318
1324
|
.field.label.prefix > label {
|
|
@@ -1403,6 +1409,16 @@ var H = class extends Le {
|
|
|
1403
1409
|
clip-path: polygon(-2% -2%,1.25rem -2%,1.25rem .5rem,calc(100% - 2rem) .5rem,calc(100% - 2rem) -2%,102% -2%,102% 102%,-2% 102%);
|
|
1404
1410
|
}
|
|
1405
1411
|
|
|
1412
|
+
/* The compact shape needs a narrower leading segment so it never crosses
|
|
1413
|
+
the first glyph of the floating label. */
|
|
1414
|
+
.field.label.border.small-round:not(.fill)
|
|
1415
|
+
> :is(input, textarea):is(:focus, [placeholder]:not(:placeholder-shown), .active),
|
|
1416
|
+
.field.label.border.small-round:not(.fill) > select,
|
|
1417
|
+
.field.label.border.small-round:not(.fill) > input.active,
|
|
1418
|
+
.field.label.border.small-round:not(.fill) > select.active {
|
|
1419
|
+
clip-path: polygon(-2% -2%,.25rem -2%,.25rem .5rem,calc(100% - 1rem) .5rem,calc(100% - 1rem) -2%,102% -2%,102% 102%,-2% 102%) !important;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1406
1422
|
/* ─── Label color changes ─────────────────────────────────────────────────── */
|
|
1407
1423
|
/* On focus: label turns primary-colored to draw attention. */
|
|
1408
1424
|
.field.label > :focus + label {
|
|
Binary file
|
|
Binary file
|