@ceed/ads 0.0.41 → 0.0.42

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.js CHANGED
@@ -288,7 +288,7 @@ var useCalendarProps = (inProps) => {
288
288
  const today = /* @__PURE__ */ new Date();
289
289
  today.setDate(1);
290
290
  today.setHours(0, 0, 0, 0);
291
- return inProps.value?.[0] || today;
291
+ return inProps.value?.[0] || inProps.defaultValue?.[0] || today;
292
292
  });
293
293
  const [[page, direction], setPage] = useState([0, 0]);
294
294
  const resolvedView = inProps.view ?? uncontrolledView;
@@ -547,7 +547,7 @@ var CalendarDayCell = styled("td", {
547
547
  // aria-current=date === range에 포함된 버튼
548
548
  "&[aria-current=date]": {
549
549
  position: "relative",
550
- "& button[aria-current=date]:not([aria-selected=true])": {
550
+ "& button[aria-current=date]:not([aria-selected=true]):not(:hover):not(:active)": {
551
551
  backgroundColor: `rgb(${theme.palette.primary.lightChannel})`
552
552
  },
553
553
  '& + td[aria-hidden] + td[aria-current="date"]::before': {
@@ -1733,7 +1733,7 @@ var DateRangePicker = forwardRef5(
1733
1733
  {
1734
1734
  name: "offset",
1735
1735
  options: {
1736
- offset: [0, 4]
1736
+ offset: [4, 4]
1737
1737
  }
1738
1738
  }
1739
1739
  ]
package/framer/index.js CHANGED
@@ -37097,11 +37097,11 @@ var useCalendarProps = (inProps) => {
37097
37097
  );
37098
37098
  const [uncontrolledValue, setUncontrolledValue] = useState22(inProps.defaultValue);
37099
37099
  const [viewMonth, setViewMonth] = useState22(() => {
37100
- var _a2;
37100
+ var _a2, _b2;
37101
37101
  const today = /* @__PURE__ */ new Date();
37102
37102
  today.setDate(1);
37103
37103
  today.setHours(0, 0, 0, 0);
37104
- return ((_a2 = inProps.value) == null ? void 0 : _a2[0]) || today;
37104
+ return ((_a2 = inProps.value) == null ? void 0 : _a2[0]) || ((_b2 = inProps.defaultValue) == null ? void 0 : _b2[0]) || today;
37105
37105
  });
37106
37106
  const [[page, direction], setPage] = useState22([0, 0]);
37107
37107
  const resolvedView = (_a = inProps.view) != null ? _a : uncontrolledView;
@@ -37367,7 +37367,7 @@ var CalendarDayCell = styled_default2("td", {
37367
37367
  // aria-current=date === range에 포함된 버튼
37368
37368
  "&[aria-current=date]": {
37369
37369
  position: "relative",
37370
- "& button[aria-current=date]:not([aria-selected=true])": {
37370
+ "& button[aria-current=date]:not([aria-selected=true]):not(:hover):not(:active)": {
37371
37371
  backgroundColor: `rgb(${theme.palette.primary.lightChannel})`
37372
37372
  },
37373
37373
  '& + td[aria-hidden] + td[aria-current="date"]::before': {
@@ -42238,7 +42238,7 @@ var DateRangePicker = forwardRef85(
42238
42238
  {
42239
42239
  name: "offset",
42240
42240
  options: {
42241
- offset: [0, 4]
42241
+ offset: [4, 4]
42242
42242
  }
42243
42243
  }
42244
42244
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceed/ads",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",