@raystack/apsara 0.18.0 → 0.18.2

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
@@ -1723,7 +1723,7 @@ html[data-theme="dark"] {
1723
1723
  border: 1px solid var(--border-subtle);
1724
1724
  padding: var(--pd-4) var(--pd-8);
1725
1725
  border-radius: var(--br-4);
1726
- width: 280px;
1726
+ max-width: 280px;
1727
1727
  color: var(--foreground-base);
1728
1728
  font-size: 11px;
1729
1729
  font-weight: 500;
@@ -1801,6 +1801,11 @@ html[data-theme="dark"] {
1801
1801
  height: 20px;
1802
1802
  }
1803
1803
 
1804
+ .calendar-module_nav_button__8W5py:disabled {
1805
+ opacity: 0.5;
1806
+ color: var(--foreground-subtle);
1807
+ }
1808
+
1804
1809
  .calendar-module_nav_button_previous__lWJYm {
1805
1810
  left: 0;
1806
1811
  }
@@ -1843,11 +1848,11 @@ html[data-theme="dark"] {
1843
1848
  align-items: center;
1844
1849
  }
1845
1850
 
1846
- .calendar-module_day__rQFGK:hover {
1851
+ .calendar-module_day__rQFGK:hover:not(.calendar-module_disabled__jqgRB):not(.calendar-module_outside__nq5XC):not(.calendar-module_selected__kiiAZ) {
1847
1852
  background-color: var(--background-base-hover);
1848
1853
  }
1849
1854
 
1850
- .calendar-module_day__rQFGK[aria-selected="true"]:not(.calendar-module_range_middle__PmzFi) {
1855
+ .calendar-module_selected__kiiAZ:not(.calendar-module_range_middle__PmzFi) {
1851
1856
  background-color: var(--background-highlight);
1852
1857
 
1853
1858
  button {
@@ -1888,6 +1893,7 @@ html[data-theme="dark"] {
1888
1893
  background: inherit;
1889
1894
  color: inherit;
1890
1895
  font-weight: inherit;
1896
+ border-radius: inherit;
1891
1897
  }
1892
1898
 
1893
1899
  .calendar-module_outside__nq5XC {
@@ -1956,6 +1962,11 @@ html[data-theme="dark"] {
1956
1962
  border: 1px solid var(--border-base);
1957
1963
  }
1958
1964
 
1965
+ .calendar-module_disabled__jqgRB {
1966
+ color: var(--foreground-subtle);
1967
+ opacity: 0.8;
1968
+ }
1969
+
1959
1970
  .textfield-module_textfield__u4AGg {
1960
1971
  appearance: none;
1961
1972
  box-sizing: border-box;
package/dist/index.js CHANGED
@@ -28025,7 +28025,7 @@ function DayPicker(props) {
28025
28025
  props.footer && (React__default.createElement(components.Footer, { className: classNames[UI.Footer], style: styles?.[UI.Footer], role: "status", "aria-live": "polite" }, props.footer)))));
28026
28026
  }
28027
28027
 
28028
- var styles$6 = {"calendarRoot":"calendar-module_calendarRoot__KnBz-","caption_label":"calendar-module_caption_label__C5Ys7","dropdowns":"calendar-module_dropdowns__Wn53e","dropdown_trigger":"calendar-module_dropdown_trigger__dsyaq","dropdown_item_text":"calendar-module_dropdown_item_text__Tudqv","nav_button":"calendar-module_nav_button__8W5py","nav_button_previous":"calendar-module_nav_button_previous__lWJYm","nav_button_next":"calendar-module_nav_button_next__1MzRT","months":"calendar-module_months__IN75k","nav":"calendar-module_nav__aGeze","month_caption":"calendar-module_month_caption__Ws6Hx","day":"calendar-module_day__rQFGK","range_middle":"calendar-module_range_middle__PmzFi","range_start":"calendar-module_range_start__ZUooG","range_end":"calendar-module_range_end__PKrm7","week":"calendar-module_week__kCvKJ","day_button":"calendar-module_day_button__vCKP1","outside":"calendar-module_outside__nq5XC","today":"calendar-module_today__iXQIQ","weekday":"calendar-module_weekday__xzf6F","hidden":"calendar-module_hidden__wqJVo","calendarPopover":"calendar-module_calendarPopover__PY4sa","datePickerInput":"calendar-module_datePickerInput__aOnRQ","dropdown_icon":"calendar-module_dropdown_icon__rDTbz","dropdown_content":"calendar-module_dropdown_content__ajJ5V"};
28028
+ var styles$6 = {"calendarRoot":"calendar-module_calendarRoot__KnBz-","caption_label":"calendar-module_caption_label__C5Ys7","dropdowns":"calendar-module_dropdowns__Wn53e","dropdown_trigger":"calendar-module_dropdown_trigger__dsyaq","dropdown_item_text":"calendar-module_dropdown_item_text__Tudqv","nav_button":"calendar-module_nav_button__8W5py","nav_button_previous":"calendar-module_nav_button_previous__lWJYm","nav_button_next":"calendar-module_nav_button_next__1MzRT","months":"calendar-module_months__IN75k","nav":"calendar-module_nav__aGeze","month_caption":"calendar-module_month_caption__Ws6Hx","day":"calendar-module_day__rQFGK","disabled":"calendar-module_disabled__jqgRB","outside":"calendar-module_outside__nq5XC","selected":"calendar-module_selected__kiiAZ","range_middle":"calendar-module_range_middle__PmzFi","range_start":"calendar-module_range_start__ZUooG","range_end":"calendar-module_range_end__PKrm7","week":"calendar-module_week__kCvKJ","day_button":"calendar-module_day_button__vCKP1","today":"calendar-module_today__iXQIQ","weekday":"calendar-module_weekday__xzf6F","hidden":"calendar-module_hidden__wqJVo","calendarPopover":"calendar-module_calendarPopover__PY4sa","datePickerInput":"calendar-module_datePickerInput__aOnRQ","dropdown_icon":"calendar-module_dropdown_icon__rDTbz","dropdown_content":"calendar-module_dropdown_content__ajJ5V"};
28029
28029
 
28030
28030
  const root$1 = cva(styles$6.calendarRoot);
28031
28031
  function DropDown({ options = [], value, onChange }) {
@@ -28062,6 +28062,8 @@ const Calendar = function ({ className, classNames, showOutsideDays = true, ...p
28062
28062
  week: styles$6.week,
28063
28063
  weekdays: styles$6.week,
28064
28064
  weekday: styles$6.weekday,
28065
+ disabled: styles$6.disabled,
28066
+ selected: styles$6.selected,
28065
28067
  day_button: styles$6.day_button,
28066
28068
  range_middle: styles$6.range_middle,
28067
28069
  range_end: styles$6.range_end,