codexly-ui 0.10.7 → 0.10.9

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.
@@ -4393,6 +4393,7 @@ class ClxCheckboxComponent {
4393
4393
  type="checkbox"
4394
4394
  class="sr-only"
4395
4395
  aria-hidden="true"
4396
+ tabindex="-1"
4396
4397
  [checked]="_checked()"
4397
4398
  [disabled]="_disabled()"
4398
4399
  (click)="$event.stopPropagation()"
@@ -4427,6 +4428,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
4427
4428
  type="checkbox"
4428
4429
  class="sr-only"
4429
4430
  aria-hidden="true"
4431
+ tabindex="-1"
4430
4432
  [checked]="_checked()"
4431
4433
  [disabled]="_disabled()"
4432
4434
  (click)="$event.stopPropagation()"
@@ -4597,6 +4599,7 @@ class ClxRadioComponent {
4597
4599
  type="radio"
4598
4600
  class="sr-only"
4599
4601
  aria-hidden="true"
4602
+ tabindex="-1"
4600
4603
  [checked]="_checked()"
4601
4604
  [disabled]="_isDisabled()"
4602
4605
  (click)="$event.stopPropagation()"
@@ -4620,6 +4623,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
4620
4623
  type="radio"
4621
4624
  class="sr-only"
4622
4625
  aria-hidden="true"
4626
+ tabindex="-1"
4623
4627
  [checked]="_checked()"
4624
4628
  [disabled]="_isDisabled()"
4625
4629
  (click)="$event.stopPropagation()"
@@ -4722,6 +4726,7 @@ class ClxSwitchComponent {
4722
4726
  <input
4723
4727
  type="checkbox"
4724
4728
  class="sr-only"
4729
+ tabindex="-1"
4725
4730
  [checked]="_checked()"
4726
4731
  [disabled]="_disabled()"
4727
4732
  (change)="_handleChange($event)"
@@ -4751,6 +4756,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
4751
4756
  <input
4752
4757
  type="checkbox"
4753
4758
  class="sr-only"
4759
+ tabindex="-1"
4754
4760
  [checked]="_checked()"
4755
4761
  [disabled]="_disabled()"
4756
4762
  (change)="_handleChange($event)"
@@ -14099,13 +14105,19 @@ class ClxProductComponent {
14099
14105
  _buttonSize = computed(() => this._sm() ? 'sm' : 'md', ...(ngDevMode ? [{ debugName: "_buttonSize" }] : /* istanbul ignore next */ []));
14100
14106
  _skeletonW = computed(() => this._sm() ? 'sm:w-32' : 'sm:w-44', ...(ngDevMode ? [{ debugName: "_skeletonW" }] : /* istanbul ignore next */ []));
14101
14107
  _skeletonH = computed(() => this._sm() ? '160px' : '200px', ...(ngDevMode ? [{ debugName: "_skeletonH" }] : /* istanbul ignore next */ []));
14102
- _cardClass = computed(() => `bg-clx-surface rounded-2xl shadow-sm transition-[box-shadow,transform] duration-300 overflow-hidden group hover:shadow-xl hover:-translate-y-0.5 ${this._h() ? 'flex flex-col sm:flex-row' : 'flex flex-col'}`, ...(ngDevMode ? [{ debugName: "_cardClass" }] : /* istanbul ignore next */ []));
14108
+ _cardClass = computed(() => {
14109
+ const hover = this._disabled() ? '' : 'hover:shadow-xl hover:-translate-y-0.5';
14110
+ return `bg-clx-surface rounded-2xl shadow-sm transition-[box-shadow,transform] duration-300 overflow-hidden group ${hover} ${this._h() ? 'flex flex-col sm:flex-row' : 'flex flex-col'}`;
14111
+ }, ...(ngDevMode ? [{ debugName: "_cardClass" }] : /* istanbul ignore next */ []));
14103
14112
  _imageContainerClass = computed(() => this._h()
14104
14113
  ? `relative shrink-0 w-full aspect-square sm:aspect-auto ${this._sm() ? 'sm:w-32' : 'sm:w-44'} overflow-hidden rounded-t-2xl sm:rounded-t-none sm:rounded-l-2xl`
14105
14114
  : 'relative w-full aspect-square overflow-hidden rounded-t-2xl', ...(ngDevMode ? [{ debugName: "_imageContainerClass" }] : /* istanbul ignore next */ []));
14106
- _imageClass = computed(() => this.imageFit() === 'contain'
14107
- ? 'w-full h-full object-contain p-6 transition-transform duration-500 group-hover:scale-105'
14108
- : 'w-full h-full object-cover transition-transform duration-500 group-hover:scale-105', ...(ngDevMode ? [{ debugName: "_imageClass" }] : /* istanbul ignore next */ []));
14115
+ _imageClass = computed(() => {
14116
+ const zoom = this._disabled() ? '' : 'group-hover:scale-105';
14117
+ return this.imageFit() === 'contain'
14118
+ ? `w-full h-full object-contain p-6 transition-transform duration-500 ${zoom}`
14119
+ : `w-full h-full object-cover transition-transform duration-500 ${zoom}`;
14120
+ }, ...(ngDevMode ? [{ debugName: "_imageClass" }] : /* istanbul ignore next */ []));
14109
14121
  _contentClass = computed(() => 'flex flex-col gap-2 flex-1 p-3', ...(ngDevMode ? [{ debugName: "_contentClass" }] : /* istanbul ignore next */ []));
14110
14122
  _actionsClass = computed(() => this._h()
14111
14123
  ? 'flex flex-col sm:flex-row items-stretch sm:items-center gap-2 mt-3'