@flusys/ng-ui 6.1.1 → 6.1.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.
@@ -248,7 +248,7 @@ class BadgeComponent {
248
248
  info: 'bg-sky-500 text-white',
249
249
  warn: 'bg-amber-500 text-white',
250
250
  danger: 'bg-red-500 text-white',
251
- secondary: 'bg-surface-200 text-surface-700',
251
+ secondary: 'bg-surface-200 dark:bg-surface-700 text-surface-700 dark:text-surface-200',
252
252
  contrast: 'bg-surface-950 text-surface-0',
253
253
  };
254
254
  const sev = this.severity();
@@ -1988,7 +1988,7 @@ class ProgressbarComponent {
1988
1988
  info: 'bg-sky-500',
1989
1989
  warn: 'bg-amber-500',
1990
1990
  danger: 'bg-red-500',
1991
- secondary: 'bg-surface-400',
1991
+ secondary: 'bg-surface-400 dark:bg-surface-500',
1992
1992
  contrast: 'bg-surface-950',
1993
1993
  };
1994
1994
  const sev = this.severity();
@@ -2153,7 +2153,7 @@ class TagComponent {
2153
2153
  info: 'bg-sky-100 text-sky-700',
2154
2154
  warn: 'bg-amber-100 text-amber-700',
2155
2155
  danger: 'bg-red-100 text-red-700',
2156
- secondary: 'bg-surface-100 text-surface-600',
2156
+ secondary: 'bg-surface-100 dark:bg-surface-700 text-surface-600 dark:text-surface-300',
2157
2157
  contrast: 'bg-surface-950 text-surface-0',
2158
2158
  };
2159
2159
  const sev = this.severity();
@@ -5179,7 +5179,7 @@ class InputTextDirective {
5179
5179
  ? 'border-transparent focus:border-primary'
5180
5180
  : 'border-(--f-form-field-border-color) focus:border-primary';
5181
5181
  const variantClass = variant === 'filled'
5182
- ? 'bg-(--f-surface-100)'
5182
+ ? 'bg-(--f-form-field-filled-background)'
5183
5183
  : 'bg-(--f-form-field-background)';
5184
5184
  const paddingY = size === 'small' ? 'py-1.5' : size === 'large' ? 'py-3' : 'py-2';
5185
5185
  const textSize = size === 'small' ? 'text-xs' : size === 'large' ? 'text-base' : 'text-sm';
@@ -6659,7 +6659,7 @@ class PasswordComponent {
6659
6659
  : variant === 'filled'
6660
6660
  ? 'border-transparent focus:border-primary'
6661
6661
  : 'border-(--f-form-field-border-color) focus:border-primary';
6662
- const variantClass = variant === 'filled' ? 'bg-(--f-surface-100)' : 'bg-(--f-form-field-background)';
6662
+ const variantClass = variant === 'filled' ? 'bg-(--f-form-field-filled-background)' : 'bg-(--f-form-field-background)';
6663
6663
  const paddingY = size === 'small' ? 'py-1.5' : size === 'large' ? 'py-3' : 'py-2';
6664
6664
  const textSize = size === 'small' ? 'text-xs' : size === 'large' ? 'text-base' : 'text-sm';
6665
6665
  const paddingLeft = size === 'small' ? 'pl-2.5' : size === 'large' ? 'pl-4' : 'pl-3';
@@ -8300,7 +8300,7 @@ class TextareaDirective {
8300
8300
  ? 'border-transparent focus:border-primary'
8301
8301
  : 'border-(--f-form-field-border-color) focus:border-primary';
8302
8302
  const variantClass = variant === 'filled'
8303
- ? 'bg-(--f-surface-100)'
8303
+ ? 'bg-(--f-form-field-filled-background)'
8304
8304
  : 'bg-(--f-form-field-background)';
8305
8305
  return [
8306
8306
  'block px-3 py-2 text-sm rounded-lg border',
@@ -27010,6 +27010,7 @@ function applyLightSemantics(root = document.documentElement) {
27010
27010
  setVar('--f-overlay-popover-background', 'var(--f-surface-0)', root);
27011
27011
  setVar('--f-mask-background', 'rgba(0,0,0,0.4)', root);
27012
27012
  setVar('--f-form-field-background', 'var(--f-surface-0)', root);
27013
+ setVar('--f-form-field-filled-background', 'var(--f-surface-100)', root);
27013
27014
  setVar('--f-form-field-border-color', 'var(--f-surface-300)', root);
27014
27015
  setVar('--f-form-field-hover-border-color', 'var(--f-surface-400)', root);
27015
27016
  setVar('--f-form-field-focus-border-color', 'var(--f-primary-500)', root);
@@ -27036,6 +27037,7 @@ function applyDarkSemantics(root = document.documentElement) {
27036
27037
  setVar('--f-overlay-popover-background', 'var(--f-surface-800)', root);
27037
27038
  setVar('--f-mask-background', 'rgba(0,0,0,0.6)', root);
27038
27039
  setVar('--f-form-field-background', 'var(--f-surface-800)', root);
27040
+ setVar('--f-form-field-filled-background', 'var(--f-surface-700)', root);
27039
27041
  setVar('--f-form-field-border-color', 'var(--f-surface-700)', root);
27040
27042
  setVar('--f-form-field-hover-border-color', 'var(--f-surface-600)', root);
27041
27043
  setVar('--f-form-field-focus-border-color', 'var(--f-primary-400)', root);