@raystack/apsara 0.17.1 → 0.18.1

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
@@ -1775,20 +1775,20 @@ html[data-theme="dark"] {
1775
1775
  background: var(--background-base);
1776
1776
  }
1777
1777
 
1778
- .calendar-module_caption__KH06I {
1779
- display: flex;
1780
- justify-content: center;
1781
- align-items: center;
1782
- position: relative;
1783
- margin-bottom: var(--mr-12);
1784
- }
1785
-
1786
- .calendar-module_caption_label__C5Ys7 {
1778
+ .calendar-module_caption_label__C5Ys7,
1779
+ .calendar-module_dropdowns__Wn53e > span,
1780
+ .calendar-module_dropdown_trigger__dsyaq .calendar-module_dropdown_item_text__Tudqv {
1787
1781
  font-size: 14px;
1788
1782
  line-height: 20px;
1789
1783
  letter-spacing: 0.25px;
1790
1784
  font-weight: 500;
1791
1785
  color: var(--foreground-base);
1786
+ user-select: none;
1787
+ font-family: var(--ff-inter);
1788
+ }
1789
+
1790
+ .calendar-module_caption_label__C5Ys7[aria-hidden="true"] {
1791
+ display: none;
1792
1792
  }
1793
1793
 
1794
1794
  .calendar-module_nav_button__8W5py {
@@ -1798,47 +1798,61 @@ html[data-theme="dark"] {
1798
1798
  color: var(--foreground-base);
1799
1799
  background: var(--background-base);
1800
1800
  cursor: pointer;
1801
+ height: 20px;
1802
+ }
1803
+
1804
+ .calendar-module_nav_button__8W5py:disabled {
1805
+ opacity: 0.5;
1806
+ color: var(--foreground-subtle);
1801
1807
  }
1802
1808
 
1803
1809
  .calendar-module_nav_button_previous__lWJYm {
1804
1810
  left: 0;
1805
- height: 100%;
1806
1811
  }
1807
1812
 
1808
1813
  .calendar-module_nav_button_next__1MzRT {
1809
1814
  right: 0;
1810
- height: 100%;
1811
1815
  }
1812
1816
 
1813
- .calendar-module_head__EIxyS {
1814
- color: var(--foreground-muted);
1815
- font-size: 12px;
1816
- line-height: 16px;
1817
- letter-spacing: 0.4px;
1818
- font-weight: 500;
1817
+ .calendar-module_months__IN75k {
1818
+ display: flex;
1819
+ gap: var(--pd-8);
1820
+ position: relative;
1819
1821
  }
1820
1822
 
1821
- .calendar-module_head_cell__z8NlN {
1823
+ .calendar-module_nav__aGeze {
1824
+ position: absolute;
1825
+ width: 100%;
1826
+ }
1827
+
1828
+ .calendar-module_month_caption__Ws6Hx {
1822
1829
  display: flex;
1823
1830
  justify-content: center;
1824
1831
  align-items: center;
1825
- width: 36px;
1826
- height: 36px;
1827
- color: var(--foreground-base);
1832
+ position: relative;
1833
+ width: fit-content;
1834
+ margin: 0 auto var(--mr-12) auto;
1828
1835
  }
1829
1836
 
1830
- .calendar-module_cell__TTpcD {
1837
+ .calendar-module_day__rQFGK {
1831
1838
  width: 36px;
1832
1839
  height: 36px;
1833
1840
  background-color: var(--background-base);
1834
1841
  border-radius: var(--br-4);
1842
+ color: var(--foreground-base);
1843
+ font-size: 13px;
1844
+ line-height: 16px;
1845
+ letter-spacing: 0.4px;
1846
+ display: flex;
1847
+ justify-content: center;
1848
+ align-items: center;
1835
1849
  }
1836
1850
 
1837
- .calendar-module_cell__TTpcD:hover {
1851
+ .calendar-module_day__rQFGK:hover:not(.calendar-module_disabled__jqgRB):not(.calendar-module_outside__nq5XC):not(.calendar-module_selected__kiiAZ) {
1838
1852
  background-color: var(--background-base-hover);
1839
1853
  }
1840
1854
 
1841
- .calendar-module_cell__TTpcD:has([aria-selected="true"]) {
1855
+ .calendar-module_selected__kiiAZ:not(.calendar-module_range_middle__PmzFi) {
1842
1856
  background-color: var(--background-highlight);
1843
1857
 
1844
1858
  button {
@@ -1846,11 +1860,7 @@ html[data-theme="dark"] {
1846
1860
  }
1847
1861
  }
1848
1862
 
1849
- .calendar-module_cell__TTpcD:has(.calendar-module_day_today__P35-i):not(:has([aria-selected="true"])) {
1850
- background-color: var(--background-subtle);
1851
- }
1852
-
1853
- .calendar-module_cell__TTpcD:has(.calendar-module_day_range_middle__3yKS1) {
1863
+ .calendar-module_range_middle__PmzFi {
1854
1864
  border-radius: 0;
1855
1865
  background-color: var(--background-base-hover);
1856
1866
  button {
@@ -1858,51 +1868,61 @@ html[data-theme="dark"] {
1858
1868
  }
1859
1869
  }
1860
1870
 
1861
- .calendar-module_cell__TTpcD:has(.calendar-module_day_range_start__Qyhit):not(:has(.calendar-module_day_range_end__YF0ad)) {
1871
+ .calendar-module_range_start__ZUooG:not(.calendar-module_range_end__PKrm7) {
1862
1872
  border-top-right-radius: 0;
1863
1873
  border-bottom-right-radius: 0;
1864
1874
  }
1865
1875
 
1866
- .calendar-module_cell__TTpcD:has(.calendar-module_day_range_end__YF0ad):not(:has(.calendar-module_day_range_start__Qyhit)) {
1876
+ .calendar-module_range_end__PKrm7:not(.calendar-module_range_start__ZUooG) {
1867
1877
  border-top-left-radius: 0;
1868
1878
  border-bottom-left-radius: 0;
1869
1879
  }
1870
1880
 
1871
- .calendar-module_row__cjS3G {
1881
+ .calendar-module_week__kCvKJ {
1872
1882
  display: flex;
1873
1883
  }
1874
1884
 
1875
- .calendar-module_day__rQFGK {
1876
- color: var(--foreground-base);
1877
- font-size: 13px;
1878
- line-height: 16px;
1879
- letter-spacing: 0.4px;
1885
+ .calendar-module_day_button__vCKP1 {
1880
1886
  cursor: pointer;
1881
1887
  border: none;
1882
- background: transparent;
1883
1888
  width: 100%;
1884
1889
  height: 100%;
1885
1890
  padding: unset;
1886
1891
  display: grid;
1887
1892
  place-content: center;
1893
+ background: inherit;
1894
+ color: inherit;
1895
+ font-weight: inherit;
1896
+ border-radius: inherit;
1888
1897
  }
1889
1898
 
1890
- .calendar-module_day_outside__WN68B {
1899
+ .calendar-module_outside__nq5XC {
1891
1900
  color: var(--foreground-subtle);
1892
1901
  }
1893
1902
 
1894
- .calendar-module_day_today__P35-i {
1903
+ .calendar-module_today__iXQIQ {
1895
1904
  font-weight: 600;
1896
1905
  }
1897
1906
 
1898
- .calendar-module_day_range_start__Qyhit,
1899
- .calendar-module_day_range_end__YF0ad {
1907
+ .calendar-module_range_start__ZUooG,
1908
+ .calendar-module_range_end__PKrm7 {
1900
1909
  color: var(--foreground-inverted);
1901
1910
  }
1902
1911
 
1903
- .calendar-module_months__IN75k {
1912
+ .calendar-module_weekday__xzf6F {
1904
1913
  display: flex;
1905
- gap: var(--pd-8);
1914
+ justify-content: center;
1915
+ align-items: center;
1916
+ width: 36px;
1917
+ height: 36px;
1918
+ color: var(--foreground-base);
1919
+ font-size: 12px;
1920
+ line-height: 16px;
1921
+ letter-spacing: 0.4px;
1922
+ }
1923
+
1924
+ .calendar-module_hidden__wqJVo {
1925
+ visibility: hidden;
1906
1926
  }
1907
1927
 
1908
1928
  .calendar-module_calendarPopover__PY4sa {
@@ -1915,6 +1935,38 @@ html[data-theme="dark"] {
1915
1935
  cursor: pointer;
1916
1936
  }
1917
1937
 
1938
+ .calendar-module_dropdowns__Wn53e {
1939
+ display: flex;
1940
+ align-items: center;
1941
+ gap: var(--pd-4);
1942
+ }
1943
+
1944
+ .calendar-module_dropdown_trigger__dsyaq,
1945
+ .calendar-module_dropdown_trigger__dsyaq:focus {
1946
+ border: none;
1947
+ outline: none;
1948
+ box-shadow: none;
1949
+ padding: var(--pd-2);
1950
+ }
1951
+
1952
+ .calendar-module_dropdown_trigger__dsyaq:hover {
1953
+ background-color: var(--background-base-hover);
1954
+ }
1955
+
1956
+ .calendar-module_dropdown_icon__rDTbz {
1957
+ margin-left: var(--mr-4);
1958
+ }
1959
+
1960
+ .calendar-module_dropdown_content__ajJ5V {
1961
+ max-height: 400px;
1962
+ border: 1px solid var(--border-base);
1963
+ }
1964
+
1965
+ .calendar-module_disabled__jqgRB {
1966
+ color: var(--foreground-subtle);
1967
+ opacity: 0.8;
1968
+ }
1969
+
1918
1970
  .textfield-module_textfield__u4AGg {
1919
1971
  appearance: none;
1920
1972
  box-sizing: border-box;