@xapp/form-widget 1.104.0 → 1.104.2

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.
Binary file
@@ -0,0 +1 @@
1
+ export {};
Binary file
@@ -778,7 +778,11 @@
778
778
  border: 1px solid var(--xapp-form-widget-chips-background-color, #c4dced);
779
779
  border-radius: var(--xapp-form-widget-border-radius-sm, 8px);
780
780
  background-color: transparent;
781
- color: var(--xapp-form-widget-chips-color, #000000);
781
+ /* Not $form-chips-color: that is the chips' FOREGROUND, authored to sit on the filled
782
+ * chip background. This button is transparent, so a theme whose chips are dark with
783
+ * white text - the common case - renders white on white and the times vanish. The
784
+ * body text colour is the one that belongs on the form's own background. */
785
+ color: var(--xapp-form-widget-text-color, rgba(0, 0, 0, 0.87));
782
786
  font-family: var(--xapp-form-widget-chips-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif));
783
787
  font-size: var(--xapp-form-widget-chips-font-size, 0.875em);
784
788
  font-weight: 600;
@@ -787,6 +791,9 @@
787
791
  }
788
792
  .FormFieldDateTime-module_xapp_datetime_time__x5lxl:hover {
789
793
  background-color: var(--xapp-form-widget-chips-background-color, #c4dced);
794
+ /* Background and foreground move together: whenever the chip background is
795
+ * applied, the colour the theme paired with it applies too. */
796
+ color: var(--xapp-form-widget-chips-color, #000000);
790
797
  box-shadow: var(--xapp-form-widget-box-shadow-subtle, 0 2px 8px rgba(0, 0, 0, 0.08));
791
798
  }
792
799
  .FormFieldDateTime-module_xapp_datetime_time__x5lxl:active {