@aurodesignsystem-dev/auro-tail 0.0.0-pr6.0 → 0.0.0-pr6.10

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.
@@ -263,6 +263,30 @@
263
263
  }
264
264
  ],
265
265
  "members": [
266
+ {
267
+ "kind": "method",
268
+ "name": "_getBorderWidthValue",
269
+ "parameters": [
270
+ {
271
+ "name": "resolvedBorderWidth",
272
+ "description": "Normalized border width from props",
273
+ "type": {
274
+ "text": "string|undefined"
275
+ }
276
+ }
277
+ ],
278
+ "description": "Determines the border width value to set as a CSS custom property.\nReturns null if border-width should not be set.",
279
+ "privacy": "private",
280
+ "return": {
281
+ "type": {
282
+ "text": "string|null"
283
+ }
284
+ },
285
+ "inheritedFrom": {
286
+ "name": "AuroTail",
287
+ "module": "src/auro-tail.js"
288
+ }
289
+ },
266
290
  {
267
291
  "kind": "method",
268
292
  "name": "_handleLinkClick",
@@ -398,6 +422,15 @@
398
422
  "module": "src/auro-tail.js"
399
423
  }
400
424
  },
425
+ {
426
+ "kind": "field",
427
+ "name": "hyperlinkTag",
428
+ "privacy": "private",
429
+ "inheritedFrom": {
430
+ "name": "AuroTail",
431
+ "module": "src/auro-tail.js"
432
+ }
433
+ },
401
434
  {
402
435
  "kind": "field",
403
436
  "name": "iconTag",
@@ -407,6 +440,21 @@
407
440
  "module": "src/auro-tail.js"
408
441
  }
409
442
  },
443
+ {
444
+ "kind": "field",
445
+ "name": "isInDiagonalGroup",
446
+ "description": "Checks if this tail is in a diagonal group layout.",
447
+ "readonly": true,
448
+ "return": {
449
+ "type": {
450
+ "text": "boolean"
451
+ }
452
+ },
453
+ "inheritedFrom": {
454
+ "name": "AuroTail",
455
+ "module": "src/auro-tail.js"
456
+ }
457
+ },
410
458
  {
411
459
  "kind": "field",
412
460
  "name": "isInGroup",
@@ -746,6 +794,26 @@
746
794
  "description": "The auro-tail element displays Alaska, Hawaiian, and partner airline tail graphics for consistent visual representation across Auro applications.",
747
795
  "name": "AuroTail",
748
796
  "members": [
797
+ {
798
+ "kind": "method",
799
+ "name": "_getBorderWidthValue",
800
+ "parameters": [
801
+ {
802
+ "name": "resolvedBorderWidth",
803
+ "description": "Normalized border width from props",
804
+ "type": {
805
+ "text": "string|undefined"
806
+ }
807
+ }
808
+ ],
809
+ "description": "Determines the border width value to set as a CSS custom property.\nReturns null if border-width should not be set.",
810
+ "privacy": "private",
811
+ "return": {
812
+ "type": {
813
+ "text": "string|null"
814
+ }
815
+ }
816
+ },
749
817
  {
750
818
  "kind": "method",
751
819
  "name": "_handleLinkClick",
@@ -845,11 +913,27 @@
845
913
  "default": "undefined",
846
914
  "attribute": "href"
847
915
  },
916
+ {
917
+ "kind": "field",
918
+ "name": "hyperlinkTag",
919
+ "privacy": "private"
920
+ },
848
921
  {
849
922
  "kind": "field",
850
923
  "name": "iconTag",
851
924
  "privacy": "private"
852
925
  },
926
+ {
927
+ "kind": "field",
928
+ "name": "isInDiagonalGroup",
929
+ "description": "Checks if this tail is in a diagonal group layout.",
930
+ "readonly": true,
931
+ "return": {
932
+ "type": {
933
+ "text": "boolean"
934
+ }
935
+ }
936
+ },
853
937
  {
854
938
  "kind": "field",
855
939
  "name": "isInGroup",
@@ -1186,6 +1270,21 @@
1186
1270
  }
1187
1271
  ]
1188
1272
  },
1273
+ {
1274
+ "kind": "javascript-module",
1275
+ "path": "src/hyperlinkVersion.js",
1276
+ "declarations": [],
1277
+ "exports": [
1278
+ {
1279
+ "kind": "js",
1280
+ "name": "default",
1281
+ "declaration": {
1282
+ "name": "7.1.0",
1283
+ "module": "src/hyperlinkVersion.js"
1284
+ }
1285
+ }
1286
+ ]
1287
+ },
1189
1288
  {
1190
1289
  "kind": "javascript-module",
1191
1290
  "path": "src/iconVersion.js",
package/demo/api.html CHANGED
@@ -30,9 +30,6 @@
30
30
  <!-- Demo Specific Styles -->
31
31
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
32
32
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
33
-
34
- <!-- Custom demo styles -->
35
- <link rel="stylesheet" type="text/css" href="./demo-styles.css" />
36
33
  </head>
37
34
  <body class="auro-markdown">
38
35
  <main></main>
package/demo/api.md CHANGED
@@ -35,6 +35,7 @@ The auro-tail element displays Alaska, Hawaiian, and partner airline tail graphi
35
35
  | borderWidth | border-width | string \| undefined | undefined | Sets the border width around the tail. |
36
36
  | hasBorder | | | | Checks if tail has border properties defined. |
37
37
  | href | href | string \| undefined | undefined | Sets the href for the tail. |
38
+ | isInDiagonalGroup | | | | Checks if this tail is in a diagonal group layout. |
38
39
  | isInGroup | | | | Checks if this tail is inside an auro-tail-group element. |
39
40
  | isInHorizontalGroup | | | | Checks if this tail is in a horizontal group layout. |
40
41
  | labelTypeClass | | | | Gets the appropriate CSS type class based on tail size. |
@@ -575,6 +576,11 @@ $badge-width: (
575
576
  '2xl': 31px
576
577
  );
577
578
 
579
+ $badge-offset: (
580
+ 'md': (x: 2px, y: -7px),
581
+ 'lg': (x: 2px, y: -4px)
582
+ );
583
+
578
584
  $group-diagonal-width: (
579
585
  'xs': 42px,
580
586
  'sm': 56px,
@@ -592,10 +598,12 @@ $group-horizontal: (
592
598
 
593
599
  /* Token Definitions */
594
600
  :host {
601
+ display: inline-block;
595
602
  /* Host dimensions to match container */
596
603
  width: var(--avatar-width);
597
604
  height: var(--avatar-width);
598
- min-width: var(--avatar-width);
605
+ min-width: var(--avatar-width);
606
+ min-height: var(--avatar-width);
599
607
 
600
608
  /* Default Values */
601
609
  --avatar-width: var(--avatar-width-lg);
@@ -633,9 +641,9 @@ $group-horizontal: (
633
641
  --z-index-group-back: 1;
634
642
  --z-index-group-front: 2;
635
643
 
636
- /* Badge transform defaults */
637
- --badge-translate-x: 0;
638
- --badge-translate-y: 0;
644
+ /* Badge offset defaults */
645
+ --badge-offset-x: 0;
646
+ --badge-offset-y: 0;
639
647
 
640
648
  /* Generate Tail size-based tokens */
641
649
  @each $property, $map in (
@@ -660,6 +668,12 @@ $group-horizontal: (
660
668
  --group-horizontal-border-width-#{$size}: #{map.get(map.get($group-horizontal, $size), border-width)};
661
669
  --group-horizontal-overlap-#{$size}: #{map.get(map.get($group-horizontal, $size), overlap)};
662
670
  }
671
+
672
+ /* Generate Badge Offset tokens */
673
+ @each $size, $offsets in $badge-offset {
674
+ --badge-offset-x-#{$size}: #{map.get($offsets, x)};
675
+ --badge-offset-y-#{$size}: #{map.get($offsets, y)};
676
+ }
663
677
  }
664
678
 
665
679
  /* Apply tokens to tail sizes */
@@ -671,21 +685,12 @@ $group-horizontal: (
671
685
 
672
686
  @if list.index($tail-sizes-with-badge, $size) {
673
687
  --badge-width: var(--badge-width-#{$size});
674
- }
675
-
688
+ --badge-offset-x: var(--badge-offset-x-#{$size}, 0);
689
+ --badge-offset-y: var(--badge-offset-y-#{$size}, 0);
690
+ }
691
+
676
692
  @if list.index($tail-sizes-with-href, $size) {
677
693
  --href-label-gap: var(--href-label-gap-#{$size});
678
- }
679
-
680
- /* Badge transform overrides */
681
- @if $size == 'md' {
682
- --badge-translate-x: 2px;
683
- --badge-translate-y: -7px;
684
- }
685
-
686
- @if $size == 'lg' {
687
- --badge-translate-x: 2px;
688
- --badge-translate-y: -4px;
689
694
  }
690
695
  }
691
696
  }