@moni-labs/moni-ui 0.4.10 → 0.4.12
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 +8 -7
- 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 +8 -7
- 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-DVIPqVv8.js → class-map-CLhM2Hc4.js} +1 -1
- package/dist/cdn/chunks/{decorate-B_60A6SM.js → decorate-BrQTlayW.js} +8 -7
- package/dist/cdn/chunks/if-defined-CDFDbm1Y.js +1 -0
- package/dist/cdn/chunks/{live-0xU7YMoc.js → live-BCKQeEPf.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 +8 -7
- package/docs/api.json +1 -1
- package/package.json +1 -1
- package/src/components/_base/field-styles.ts +8 -7
- package/dist/cdn/chunks/if-defined-35Uf60Gp.js +0 -1
|
@@ -600,11 +600,6 @@ var MoniUI=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Modul
|
|
|
600
600
|
.field.label[class*='round'] > label {
|
|
601
601
|
inset: -0.5rem 1.9375rem 0 var(--_start);
|
|
602
602
|
}
|
|
603
|
-
/* Compact rounding keeps the label closer to the edge than pill fields. */
|
|
604
|
-
.field.label.small-round > label {
|
|
605
|
-
--_start: 1rem;
|
|
606
|
-
inset: -0.5rem 0.9375rem 0 var(--_start);
|
|
607
|
-
}
|
|
608
603
|
|
|
609
604
|
/* ─── Label lift selector group ──────────────────────────────────────────── */
|
|
610
605
|
/* The label lifts (scales down + moves up) in four conditions:
|
|
@@ -638,6 +633,12 @@ var MoniUI=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Modul
|
|
|
638
633
|
) {
|
|
639
634
|
--_start: 1.5rem;
|
|
640
635
|
}
|
|
636
|
+
/* Compact rounding keeps the label closer to the edge than pill fields.
|
|
637
|
+
This must follow the generic [class*='round'] rule. */
|
|
638
|
+
.field.label.small-round > label {
|
|
639
|
+
--_start: 1rem;
|
|
640
|
+
inset: -0.5rem 0.9375rem 0 var(--_start);
|
|
641
|
+
}
|
|
641
642
|
|
|
642
643
|
/* Prefix fields: shift the label's inline-start to clear the leading icon. */
|
|
643
644
|
.field.label.prefix > label {
|
|
@@ -716,7 +717,7 @@ var MoniUI=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Modul
|
|
|
716
717
|
.field.label.border:not(.fill)
|
|
717
718
|
> :is(input, textarea):is(:focus, [placeholder]:not(:placeholder-shown), .active),
|
|
718
719
|
.field.label.border:not(.fill) > select {
|
|
719
|
-
clip-path: polygon(-2% -2%,
|
|
720
|
+
clip-path: polygon(-2% -2%,0.75rem -2%,0.75rem 0.5rem,calc(100% - 1rem) 0.5rem,calc(100% - 1rem) -2%,102% -2%,102% 102%,-2% 102%);
|
|
720
721
|
}
|
|
721
722
|
|
|
722
723
|
.field.label.border.prefix[class*='round']:not(.fill)
|
|
@@ -735,7 +736,7 @@ var MoniUI=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Modul
|
|
|
735
736
|
.field.label.border.small-round:not(.fill) > select,
|
|
736
737
|
.field.label.border.small-round:not(.fill) > input.active,
|
|
737
738
|
.field.label.border.small-round:not(.fill) > select.active {
|
|
738
|
-
clip-path: polygon(-2% -2
|
|
739
|
+
clip-path: polygon(-2% -2%,0.75rem -2%,0.75rem 0.5rem,calc(100% - 1rem) 0.5rem,calc(100% - 1rem) -2%,102% -2%,102% 102%,-2% 102%);
|
|
739
740
|
}
|
|
740
741
|
|
|
741
742
|
/* ─── Label color changes ─────────────────────────────────────────────────── */
|
|
Binary file
|
|
Binary file
|