linkedunion-design-kit 1.1.4 → 1.1.5

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.
@@ -6,5 +6,5 @@ export var Card = function (_a) {
6
6
  var _b = _a.image, image = _b === void 0 ? '/images/demo-image.jpg' : _b, _c = _a.layout, layout = _c === void 0 ? cardLayoutEnum.horizontal : _c, _d = _a.mediaPosition, mediaPosition = _d === void 0 ? orientationEnum.landscape : _d, _e = _a.heading, heading = _e === void 0 ? 'Heading Text' : _e, _f = _a.body, body = _f === void 0 ? 'The quick brown fox jumps over the lazy dog.' : _f, _g = _a.className, className = _g === void 0 ? '' : _g, _h = _a.btnLabel, btnLabel = _h === void 0 ? 'View More' : _h;
7
7
  return (_jsx(_Fragment, { children: layout === cardLayoutEnum.horizontal ?
8
8
  _jsxs("div", { className: "lu-pd-250 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md flex gap-x-[20px] w-fit"), children: [_jsx(Image, { image: image, aspectRatio: "lu-aspect-square", className: "lu-border-rounded-lg", orientation: mediaPosition }), _jsxs("div", { className: "flex flex-1 flex-col", children: [_jsxs("div", { className: "flex flex-col justify-center flex-1 h-full", children: [_jsx("div", { className: "text-gray-950 lu-font-size-2x-large lu-font-weight-semibold", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light horizontal_body_text", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100" })] })] })
9
- : (_jsx(_Fragment, { children: _jsxs("div", { className: "lu-pd-400 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md flex flex-col items-center w-fit"), children: [_jsx(Image, { image: image, aspectRatio: "lu-aspect-square", className: "lu-border-rounded-lg", orientation: mediaPosition }), _jsxs("div", { className: "flex flex-col items-center lu-m-250 flex-1 h-full", children: [_jsx("div", { className: "text-gray-950 lu-font-size-2x-large lu-font-weight-semibold", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100" })] }) })) }));
9
+ : (_jsx(_Fragment, { children: _jsxs("div", { className: "lu-pd-400 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md flex flex-col items-center w-full"), children: [_jsx(Image, { image: image, aspectRatio: "lu-aspect-square", className: "lu-border-rounded-lg", orientation: mediaPosition }), _jsxs("div", { className: "flex flex-col items-center flex-grow lu-m-250 text-center h-[175px]", children: [_jsx("div", { className: "text-gray-950 lu-font-size-2x-large lu-font-weight-semibold vertical_card_heading", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light vertical_body_text", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100" })] }) })) }));
10
10
  };
@@ -613,6 +613,9 @@ video {
613
613
  .h-48 {
614
614
  height: 12rem;
615
615
  }
616
+ .h-\[175px\] {
617
+ height: 175px;
618
+ }
616
619
  .h-full {
617
620
  height: 100%;
618
621
  }
@@ -749,6 +752,9 @@ video {
749
752
  .flex-1 {
750
753
  flex: 1 1 0%;
751
754
  }
755
+ .flex-grow {
756
+ flex-grow: 1;
757
+ }
752
758
  .transform {
753
759
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
754
760
  }
@@ -10612,6 +10618,20 @@ table, th, td {
10612
10618
  margin-left: var(--lu-spacing-3000);
10613
10619
  }
10614
10620
 
10621
+
10622
+ .vertical_card_heading {
10623
+ display: -webkit-box;
10624
+ -webkit-line-clamp: 1;
10625
+ -webkit-box-orient: vertical;
10626
+ overflow: hidden;
10627
+ text-transform: capitalize;
10628
+ }
10629
+ .vertical_body_text{
10630
+ display: -webkit-box;
10631
+ -webkit-line-clamp: 2;
10632
+ -webkit-box-orient: vertical;
10633
+ overflow: hidden;
10634
+ }
10615
10635
  @media (max-width: 430px) {
10616
10636
  .horizontal_body_text {
10617
10637
  display: -webkit-box;
@@ -10624,157 +10644,129 @@ table, th, td {
10624
10644
  text-overflow: ellipsis;
10625
10645
  }
10626
10646
  }
10627
-
10628
10647
  .before\:absolute::before {
10629
10648
  content: var(--tw-content);
10630
10649
  position: absolute;
10631
10650
  }
10632
-
10633
10651
  .before\:h-\[300px\]::before {
10634
10652
  content: var(--tw-content);
10635
10653
  height: 300px;
10636
10654
  }
10637
-
10638
10655
  .before\:w-\[480px\]::before {
10639
10656
  content: var(--tw-content);
10640
10657
  width: 480px;
10641
10658
  }
10642
-
10643
10659
  .before\:-translate-x-1\/2::before {
10644
10660
  content: var(--tw-content);
10645
10661
  --tw-translate-x: -50%;
10646
10662
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
10647
10663
  }
10648
-
10649
10664
  .before\:rounded-full::before {
10650
10665
  content: var(--tw-content);
10651
10666
  border-radius: 9999px;
10652
10667
  }
10653
-
10654
10668
  .before\:bg-gradient-radial::before {
10655
10669
  content: var(--tw-content);
10656
10670
  background-image: radial-gradient(var(--tw-gradient-stops));
10657
10671
  }
10658
-
10659
10672
  .before\:from-white::before {
10660
10673
  content: var(--tw-content);
10661
10674
  --tw-gradient-from: #FEFEFE var(--tw-gradient-from-position);
10662
10675
  --tw-gradient-to: rgb(254 254 254 / 0) var(--tw-gradient-to-position);
10663
10676
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
10664
10677
  }
10665
-
10666
10678
  .before\:to-transparent::before {
10667
10679
  content: var(--tw-content);
10668
10680
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
10669
10681
  }
10670
-
10671
10682
  .before\:blur-2xl::before {
10672
10683
  content: var(--tw-content);
10673
10684
  --tw-blur: blur(40px);
10674
10685
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
10675
10686
  }
10676
-
10677
10687
  .before\:content-\[\'\'\]::before {
10678
10688
  --tw-content: '';
10679
10689
  content: var(--tw-content);
10680
10690
  }
10681
-
10682
10691
  .after\:absolute::after {
10683
10692
  content: var(--tw-content);
10684
10693
  position: absolute;
10685
10694
  }
10686
-
10687
10695
  .after\:-z-20::after {
10688
10696
  content: var(--tw-content);
10689
10697
  z-index: -20;
10690
10698
  }
10691
-
10692
10699
  .after\:h-\[180px\]::after {
10693
10700
  content: var(--tw-content);
10694
10701
  height: 180px;
10695
10702
  }
10696
-
10697
10703
  .after\:w-\[240px\]::after {
10698
10704
  content: var(--tw-content);
10699
10705
  width: 240px;
10700
10706
  }
10701
-
10702
10707
  .after\:translate-x-1\/3::after {
10703
10708
  content: var(--tw-content);
10704
10709
  --tw-translate-x: 33.333333%;
10705
10710
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
10706
10711
  }
10707
-
10708
10712
  .after\:bg-gradient-conic::after {
10709
10713
  content: var(--tw-content);
10710
10714
  background-image: conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops));
10711
10715
  }
10712
-
10713
10716
  .after\:from-sky-200::after {
10714
10717
  content: var(--tw-content);
10715
10718
  --tw-gradient-from: #bae6fd var(--tw-gradient-from-position);
10716
10719
  --tw-gradient-to: rgb(186 230 253 / 0) var(--tw-gradient-to-position);
10717
10720
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
10718
10721
  }
10719
-
10720
10722
  .after\:via-blue-200::after {
10721
10723
  content: var(--tw-content);
10722
10724
  --tw-gradient-to: rgb(191 219 254 / 0) var(--tw-gradient-to-position);
10723
10725
  --tw-gradient-stops: var(--tw-gradient-from), #bfdbfe var(--tw-gradient-via-position), var(--tw-gradient-to);
10724
10726
  }
10725
-
10726
10727
  .after\:blur-2xl::after {
10727
10728
  content: var(--tw-content);
10728
10729
  --tw-blur: blur(40px);
10729
10730
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
10730
10731
  }
10731
-
10732
10732
  .after\:content-\[\'\'\]::after {
10733
10733
  --tw-content: '';
10734
10734
  content: var(--tw-content);
10735
10735
  }
10736
-
10737
10736
  .hover\:border-gray-300:hover {
10738
10737
  --tw-border-opacity: 1;
10739
10738
  border-color: rgb(183 186 189 / var(--tw-border-opacity, 1));
10740
10739
  }
10741
-
10742
10740
  .hover\:bg-gray-100:hover {
10743
10741
  --tw-bg-opacity: 1;
10744
10742
  background-color: rgb(236 237 238 / var(--tw-bg-opacity, 1));
10745
10743
  }
10746
-
10747
10744
  .hover\:bg-gray-200:hover {
10748
10745
  --tw-bg-opacity: 1;
10749
10746
  background-color: rgb(210 212 213 / var(--tw-bg-opacity, 1));
10750
10747
  }
10751
-
10752
10748
  .group:hover .group-hover\:translate-x-1 {
10753
10749
  --tw-translate-x: 0.25rem;
10754
10750
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
10755
10751
  }
10756
-
10757
10752
  @media (prefers-reduced-motion: reduce) {
10758
10753
 
10759
10754
  .motion-reduce\:transform-none {
10760
10755
  transform: none;
10761
10756
  }
10762
10757
  }
10763
-
10764
10758
  @media (min-width: 640px) {
10765
10759
 
10766
10760
  .sm\:grid-cols-4 {
10767
10761
  grid-template-columns: repeat(4, minmax(0, 1fr));
10768
10762
  }
10769
10763
  }
10770
-
10771
10764
  @media (min-width: 768px) {
10772
10765
 
10773
10766
  .md\:grid-cols-6 {
10774
10767
  grid-template-columns: repeat(6, minmax(0, 1fr));
10775
10768
  }
10776
10769
  }
10777
-
10778
10770
  @media (min-width: 1024px) {
10779
10771
 
10780
10772
  .lg\:pointer-events-auto {
@@ -10851,7 +10843,6 @@ table, th, td {
10851
10843
  height: 360px;
10852
10844
  }
10853
10845
  }
10854
-
10855
10846
  @media (prefers-color-scheme: dark) {
10856
10847
 
10857
10848
  .dark\:border-neutral-800 {
@@ -10939,7 +10930,6 @@ table, th, td {
10939
10930
  background-color: rgb(38 38 38 / 0.3);
10940
10931
  }
10941
10932
  }
10942
-
10943
10933
  @media (min-width: 1024px) {
10944
10934
 
10945
10935
  @media (prefers-color-scheme: dark) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkedunion-design-kit",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",