schummar-table 0.8.2 → 0.8.3
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/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.js +2 -0
- package/dist/es/index.js.map +1 -1
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
|
@@ -2341,6 +2341,7 @@ function DatePicker({
|
|
|
2341
2341
|
const textToday = useTheme((t) => t.text.today);
|
|
2342
2342
|
const textThisWeek = useTheme((t) => t.text.thisWeek);
|
|
2343
2343
|
const textReset = useTheme((t) => t.text.reset);
|
|
2344
|
+
const cssVariables = useCssVariables();
|
|
2344
2345
|
const [baseDate] = useState(new Date());
|
|
2345
2346
|
const [dateInView, setDateInView] = useState(baseDate);
|
|
2346
2347
|
const [dirty, setDirty] = useState();
|
|
@@ -2418,6 +2419,7 @@ function DatePicker({
|
|
|
2418
2419
|
return (year) => format(new Date(year, 0, 1));
|
|
2419
2420
|
}, [locale]);
|
|
2420
2421
|
return /* @__PURE__ */ jsxs("div", {
|
|
2422
|
+
css: cssVariables,
|
|
2421
2423
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
2422
2424
|
css: {
|
|
2423
2425
|
display: "grid",
|