@resira/ui 0.4.5 → 0.4.7

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/styles.css CHANGED
@@ -1722,6 +1722,99 @@ textarea.resira-field-input { resize: vertical; min-height: 52px; }
1722
1722
  display: block;
1723
1723
  }
1724
1724
 
1725
+ /* ── Resource Image Carousel ──────────────────────────── */
1726
+
1727
+ .resira-resource-carousel {
1728
+ position: relative;
1729
+ width: 100%;
1730
+ height: 100%;
1731
+ overflow: hidden;
1732
+ }
1733
+
1734
+ .resira-resource-carousel img {
1735
+ width: 100%;
1736
+ height: 100%;
1737
+ object-fit: cover;
1738
+ display: block;
1739
+ }
1740
+
1741
+ .resira-resource-carousel-btn {
1742
+ position: absolute;
1743
+ top: 50%;
1744
+ transform: translateY(-50%);
1745
+ width: 22px;
1746
+ height: 22px;
1747
+ border-radius: 50%;
1748
+ border: none;
1749
+ background: rgba(0, 0, 0, 0.45);
1750
+ color: #fff;
1751
+ cursor: pointer;
1752
+ display: flex;
1753
+ align-items: center;
1754
+ justify-content: center;
1755
+ padding: 0;
1756
+ opacity: 0;
1757
+ transition: opacity 0.15s ease;
1758
+ z-index: 2;
1759
+ }
1760
+
1761
+ .resira-resource-carousel:hover .resira-resource-carousel-btn {
1762
+ opacity: 1;
1763
+ }
1764
+
1765
+ .resira-resource-carousel-prev {
1766
+ left: 3px;
1767
+ }
1768
+
1769
+ .resira-resource-carousel-next {
1770
+ right: 3px;
1771
+ }
1772
+
1773
+ .resira-resource-carousel-btn:hover {
1774
+ background: rgba(0, 0, 0, 0.7);
1775
+ }
1776
+
1777
+ .resira-resource-carousel-dots {
1778
+ position: absolute;
1779
+ bottom: 4px;
1780
+ left: 50%;
1781
+ transform: translateX(-50%);
1782
+ display: flex;
1783
+ gap: 3px;
1784
+ z-index: 2;
1785
+ }
1786
+
1787
+ .resira-resource-carousel-dot {
1788
+ width: 5px;
1789
+ height: 5px;
1790
+ border-radius: 50%;
1791
+ background: rgba(255, 255, 255, 0.5);
1792
+ transition: background 0.15s ease;
1793
+ }
1794
+
1795
+ .resira-resource-carousel-dot--active {
1796
+ background: #fff;
1797
+ }
1798
+
1799
+ .resira-resource-carousel-count {
1800
+ position: absolute;
1801
+ top: 4px;
1802
+ right: 4px;
1803
+ font-size: 10px;
1804
+ line-height: 1;
1805
+ background: rgba(0, 0, 0, 0.5);
1806
+ color: #fff;
1807
+ padding: 2px 5px;
1808
+ border-radius: 8px;
1809
+ z-index: 2;
1810
+ opacity: 0;
1811
+ transition: opacity 0.15s ease;
1812
+ }
1813
+
1814
+ .resira-resource-carousel:hover .resira-resource-carousel-count {
1815
+ opacity: 1;
1816
+ }
1817
+
1725
1818
  .resira-resource-card-content {
1726
1819
  padding: 14px 16px;
1727
1820
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resira/ui",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "React UI components for the Resira booking platform",
5
5
  "license": "MIT",
6
6
  "type": "module",