@digital-b2c/coreui-kit 0.5.4 → 0.5.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.
package/dist/index.css CHANGED
@@ -1624,103 +1624,61 @@ a:hover.Card_module_card {
1624
1624
  }
1625
1625
 
1626
1626
  /* src/components/UpcomingEventCard/UpcomingEventCard.module.scss */
1627
- article {
1627
+ .UpcomingEventCard_module_event-card {
1628
1628
  display: flex;
1629
- flex-direction: row-reverse;
1630
- justify-content: space-between;
1631
1629
  border: 1px solid var(--color-extra-light-gray);
1632
1630
  overflow: hidden;
1633
1631
  border-radius: 0.5rem;
1634
- align-items: center;
1635
1632
  background-color: var(--color-white);
1636
1633
  flex: 1;
1637
1634
  height: 100%;
1638
1635
  }
1639
- article.grey {
1640
- flex-direction: column;
1641
- height: 100%;
1642
- }
1643
- @media (max-width: 768px) {
1644
- article {
1645
- flex-direction: column;
1646
- }
1647
- }
1648
- article button {
1649
- margin-right: 1rem;
1650
- min-width: 195px;
1651
- }
1652
- article button.UpcomingEventCard_module_show {
1653
- display: block !important;
1654
- }
1655
- article button.UpcomingEventCard_module_hidden {
1656
- display: none !important;
1636
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content {
1637
+ display: flex;
1657
1638
  }
1658
- article .UpcomingEventCard_module_image {
1659
- padding-right: 1rem;
1660
- height: 153px;
1661
- min-width: 346px;
1639
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-image {
1662
1640
  object-position: center;
1663
1641
  object-fit: cover;
1664
1642
  }
1665
- article .UpcomingEventCard_module_image.grey {
1666
- padding: 0;
1667
- min-height: 277.26px;
1668
- padding: 0;
1669
- min-width: 100%;
1670
- }
1671
- @media (max-width: 768px) {
1672
- article .UpcomingEventCard_module_image {
1673
- padding: 0;
1674
- width: 100%;
1675
- height: 229px;
1676
- }
1677
- }
1678
- article .UpcomingEventCard_module_text-content {
1643
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content {
1679
1644
  display: flex;
1680
1645
  flex-direction: column;
1681
1646
  gap: 0.5rem;
1682
- padding: 1rem;
1683
- height: 100%;
1684
- }
1685
- article .UpcomingEventCard_module_text-content.grey {
1686
1647
  height: 100%;
1687
1648
  }
1688
- article .UpcomingEventCard_module_text-content.grey .UpcomingEventCard_module_cta {
1689
- margin-top: auto;
1690
- }
1691
- article .UpcomingEventCard_module_text-content h3 {
1649
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content h3 {
1692
1650
  line-height: 140%;
1693
1651
  color: var(--color-black);
1694
1652
  font-size: var(--font-size-xl);
1695
1653
  }
1696
1654
  @media (max-width: 768px) {
1697
- article .UpcomingEventCard_module_text-content h3 {
1655
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content h3 {
1698
1656
  line-height: 130%;
1699
1657
  font-size: var(--font-size-lg);
1700
1658
  }
1701
1659
  }
1702
- article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_date {
1660
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content .UpcomingEventCard_module_date {
1703
1661
  color: var(--color-gray);
1704
1662
  line-height: 150%;
1705
1663
  font-size: var(--font-size-sm);
1706
1664
  }
1707
- article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_location {
1665
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content .UpcomingEventCard_module_location {
1708
1666
  color: var(--color-black);
1709
1667
  line-height: 140%;
1710
1668
  font-size: var(--font-size-lg);
1711
1669
  }
1712
1670
  @media (max-width: 768px) {
1713
- article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_location {
1671
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content .UpcomingEventCard_module_location {
1714
1672
  line-height: 130%;
1715
1673
  font-size: 18px;
1716
1674
  }
1717
1675
  }
1718
- article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_description {
1676
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content .UpcomingEventCard_module_description {
1719
1677
  font-size: var(--font-size-md);
1720
1678
  line-height: 150%;
1721
1679
  }
1722
1680
  @media (max-width: 768px) {
1723
- article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_description {
1681
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content .UpcomingEventCard_module_description {
1724
1682
  font-size: var(--font-size-sm);
1725
1683
  display: -webkit-box;
1726
1684
  line-clamp: 5;
@@ -1729,59 +1687,148 @@ article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_descrip
1729
1687
  overflow: hidden;
1730
1688
  }
1731
1689
  }
1732
-
1733
- /* src/components/Carousel/Carousel.module.scss */
1734
- .Carousel_module_carousel-item {
1735
- display: flex;
1736
- flex-direction: row;
1690
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-footer {
1691
+ padding: 1rem;
1737
1692
  }
1738
-
1739
- /* src/widgets/EventList/EventList.module.scss */
1740
- .EventList_module_section {
1741
- padding: 1.5rem 1rem;
1742
- max-width: 1440px;
1743
- margin: 0 auto;
1693
+ .UpcomingEventCard_module_event-card .UpcomingEventCard_module_event-card-footer button {
1694
+ margin-right: 1rem;
1695
+ min-width: 195px;
1744
1696
  }
1745
- .EventList_module_section h2 {
1746
- color: var(--color-black);
1747
- font-size: var(--font-size-3xl);
1697
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_horizontal {
1698
+ flex-direction: row-reverse;
1699
+ align-items: center;
1748
1700
  }
1749
- @media (max-width: 768px) {
1750
- .EventList_module_section h2 {
1751
- font-size: var(--font-size-lg);
1752
- }
1701
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_horizontal .UpcomingEventCard_module_event-card-content {
1702
+ flex-direction: row-reverse;
1703
+ align-items: center;
1704
+ gap: 1rem;
1705
+ padding: 1rem;
1753
1706
  }
1754
- .EventList_module_section ul {
1755
- display: flex;
1756
- flex-direction: column;
1757
- gap: var(--spacing-md);
1758
- list-style: none;
1707
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_horizontal .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-image {
1708
+ min-width: 346px;
1709
+ height: 153px;
1710
+ }
1711
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_horizontal .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content .UpcomingEventCard_module_event-card-cta {
1712
+ margin-top: auto;
1713
+ }
1714
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_horizontal .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content .UpcomingEventCard_module_event-card-cta.UpcomingEventCard_module_hidden {
1715
+ display: none;
1716
+ }
1717
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_horizontal .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-cta.UpcomingEventCard_module_hidden {
1718
+ background-color: red;
1759
1719
  }
1760
- .EventList_module_section ul.EventList_module_grey {
1720
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_horizontal .UpcomingEventCard_module_event-card-footer.UpcomingEventCard_module_hidden {
1721
+ display: none;
1722
+ }
1723
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_horizontal.UpcomingEventCard_module_cta-without-image {
1761
1724
  flex-direction: row;
1762
- flex: 1;
1763
1725
  }
1764
- .EventList_module_section .EventList_module_header-container {
1726
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_horizontal.UpcomingEventCard_module_cta-without-image .UpcomingEventCard_module_event-card-footer {
1727
+ padding: 0;
1728
+ padding-right: 1rem;
1729
+ }
1730
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_vertical {
1731
+ flex-direction: column;
1732
+ }
1733
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_vertical .UpcomingEventCard_module_event-card-content {
1734
+ flex-direction: column;
1735
+ }
1736
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_vertical .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-image {
1737
+ height: 228.61px;
1738
+ min-width: 346px;
1739
+ object-position: center;
1740
+ object-fit: cover;
1741
+ }
1742
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_vertical .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-text-content {
1743
+ padding: 1rem;
1744
+ }
1745
+ .UpcomingEventCard_module_event-card.UpcomingEventCard_module_vertical .UpcomingEventCard_module_event-card-content .UpcomingEventCard_module_event-card-cta {
1746
+ display: none;
1747
+ }
1748
+
1749
+ /* src/components/Carousel/Carousel.module.scss */
1750
+
1751
+ /* src/widgets/EventList/EventList.module.scss */
1752
+ .EventList_module_event-list-module .EventList_module_event-list-header-container {
1765
1753
  display: flex;
1766
1754
  justify-content: space-between;
1767
1755
  align-items: center;
1768
1756
  gap: 12px var(--spacing-md);
1769
1757
  margin-bottom: var(--spacing-xl);
1770
1758
  }
1771
- .EventList_module_section li .grey {
1759
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper {
1760
+ display: flex;
1761
+ gap: var(--spacing-md);
1762
+ list-style: none;
1763
+ }
1764
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_vertical {
1765
+ flex-direction: column;
1766
+ }
1767
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_vertical.EventList_module_grey .EventList_module_card-list-item .EventList_module_card-item {
1772
1768
  flex: 1;
1773
1769
  }
1774
- @media (max-width: 768px) {
1775
- .EventList_module_section li .grey {
1776
- flex: 1;
1777
- }
1770
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_vertical.EventList_module_grey .EventList_module_card-list-item .EventList_module_card-item .card-content {
1771
+ flex: 1;
1778
1772
  }
1779
- .EventList_module_section.EventList_module_grey {
1780
- background-color: #f3f3f3;
1773
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_vertical.EventList_module_grey .EventList_module_card-list-item .EventList_module_card-item .card-content .card-text-content {
1774
+ flex: 1;
1781
1775
  }
1782
- .EventList_module_section.EventList_module_grey .swiper-wrapper {
1776
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_vertical.EventList_module_grey .EventList_module_card-list-item .EventList_module_card-item .card-content .card-image {
1777
+ width: 346px;
1778
+ height: auto;
1779
+ max-height: 233px;
1780
+ }
1781
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_horizontal {
1783
1782
  flex-direction: row;
1784
1783
  }
1784
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_horizontal.EventList_module_grey .EventList_module_card-list-item {
1785
+ flex: 1;
1786
+ }
1787
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_horizontal.EventList_module_grey .EventList_module_card-list-item .EventList_module_card-item {
1788
+ justify-content: space-between;
1789
+ }
1790
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_horizontal.EventList_module_grey .EventList_module_card-list-item .EventList_module_card-item .card-image {
1791
+ min-width: auto;
1792
+ }
1793
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_horizontal.EventList_module_grey .EventList_module_card-list-item .EventList_module_card-item .card-text-title {
1794
+ display: -webkit-box;
1795
+ -webkit-line-clamp: 2;
1796
+ -webkit-box-orient: vertical;
1797
+ overflow: hidden;
1798
+ }
1799
+ .EventList_module_event-list-module .EventList_module_event-list-wrapper.EventList_module_horizontal.EventList_module_grey .EventList_module_card-list-item .EventList_module_card-item .card-text-description {
1800
+ display: -webkit-box;
1801
+ -webkit-line-clamp: 4;
1802
+ -webkit-box-orient: vertical;
1803
+ overflow: hidden;
1804
+ }
1805
+ .EventList_module_event-list-module.EventList_module_grey {
1806
+ background-color: #f3f3f3;
1807
+ }
1808
+ .EventList_module_event-list-module.EventList_module_grey .EventList_module_carousel-wrapper {
1809
+ display: flex !important;
1810
+ align-items: stretch !important;
1811
+ }
1812
+ .EventList_module_event-list-module.EventList_module_grey .EventList_module_carousel-wrapper .EventList_module_carousel-list-item {
1813
+ height: auto !important;
1814
+ display: flex !important;
1815
+ max-width: 258px !important;
1816
+ }
1817
+ .EventList_module_event-list-module.EventList_module_grey .EventList_module_carousel-wrapper .EventList_module_carousel-list-item .EventList_module_event-card .card-content {
1818
+ flex: 1;
1819
+ }
1820
+ .EventList_module_event-list-module.EventList_module_grey .EventList_module_carousel-wrapper .EventList_module_carousel-list-item .EventList_module_event-card .card-content .card-text-title {
1821
+ display: -webkit-box;
1822
+ -webkit-line-clamp: 2;
1823
+ -webkit-box-orient: vertical;
1824
+ overflow: hidden;
1825
+ }
1826
+ .EventList_module_event-list-module.EventList_module_grey .EventList_module_carousel-wrapper .EventList_module_carousel-list-item .EventList_module_event-card .card-content .card-text-description {
1827
+ display: -webkit-box;
1828
+ -webkit-line-clamp: 3;
1829
+ -webkit-box-orient: vertical;
1830
+ overflow: hidden;
1831
+ }
1785
1832
 
1786
1833
  /* src/widgets/TextEvent/TextEvent.module.scss */
1787
1834
  html,