@brickclay-org/ui 0.0.81 → 0.0.82

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/index.d.ts CHANGED
@@ -540,7 +540,7 @@ declare class BkButton {
540
540
  }
541
541
 
542
542
  type IconButtonSize = 'xxxsm' | 'xxsm' | 'xsm' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
543
- type IconButtonVariant = 'primary' | 'secondary';
543
+ type IconButtonVariant = 'primary' | 'secondary' | 'none';
544
544
  declare class BkIconButton {
545
545
  icon: string;
546
546
  alt: string;
@@ -549,10 +549,13 @@ declare class BkIconButton {
549
549
  disabled: boolean;
550
550
  buttonClass: string;
551
551
  clicked: EventEmitter<boolean>;
552
+ hovered: EventEmitter<boolean>;
552
553
  onClick(event: Event): void;
554
+ onMouseEnter(): void;
555
+ onMouseLeave(): void;
553
556
  get buttonClasses(): string;
554
557
  static ɵfac: i0.ɵɵFactoryDeclaration<BkIconButton, never>;
555
- static ɵcmp: i0.ɵɵComponentDeclaration<BkIconButton, "bk-icon-button", never, { "icon": { "alias": "icon"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
558
+ static ɵcmp: i0.ɵɵComponentDeclaration<BkIconButton, "bk-icon-button", never, { "icon": { "alias": "icon"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; }, { "clicked": "clicked"; "hovered": "hovered"; }, never, never, true, never>;
556
559
  }
557
560
 
558
561
  interface GroupItem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brickclay-org/ui",
3
- "version": "0.0.81",
3
+ "version": "0.0.82",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "ng-add": {
6
6
  "save": "dependencies"
@@ -26,6 +26,17 @@
26
26
 
27
27
  }
28
28
 
29
+ /* 3. None: No background, border, or shadow — icon only */
30
+ .btn-icon.none {
31
+ @apply bg-transparent border-0 shadow-none text-[#6B7080] outline-transparent
32
+ outline-0 focus-visible:outline-none focus-visible:border-0
33
+ active:opacity-80
34
+ disabled:opacity-50 disabled:cursor-not-allowed;
35
+ }
36
+
37
+ .btn-icon.primary {
38
+ @apply border-0
39
+ }
29
40
 
30
41
  /* --- SIZES (Square Dimensions) --- */
31
42
  /* These specific heights match the calculated height of your text buttons */