@jamsrui/date-picker 0.0.15 → 0.0.17
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DatePicker } from './date-picker.mjs';
|
|
2
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
2
|
+
import { WithGlobalConfig } from '@jamsrui/core';
|
|
3
|
+
import { DatePicker } from './date-picker.mjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@jamsrui/utils';
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ declare const DatePickerConfig: (props: Omit<Partial<DatePickerConfig.Props>, "c
|
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}) => react_jsx_runtime.JSX.Element;
|
|
12
12
|
declare namespace DatePickerConfig {
|
|
13
|
-
interface Props extends
|
|
13
|
+
interface Props extends WithGlobalConfig<DatePicker.Props> {
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createConfigContext as e}from"@jamsrui/utils";const[
|
|
1
|
+
"use client";import{createConfigContext as e}from"@jamsrui/utils";const[o,i]=e({displayName:"DatepickerContext"});export{o as DatePickerConfig,i as useDatePickerConfig};
|
package/dist/date-picker.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useRenderElement as t}from"@jamsrui/hooks";const
|
|
1
|
+
"use client";import{useRenderElement as t}from"@jamsrui/hooks";const p=e=>{const{render:n,...r}=e;return t("div",{props:r})};export{p as DatePicker};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import '
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { DatePicker as DatePicker$1 } from './date-picker.mjs';
|
|
3
|
+
import { DatePickerConfig } from './date-picker-config.mjs';
|
|
4
|
+
export { useDatePickerConfig } from './date-picker-config.mjs';
|
|
4
5
|
import '@jamsrui/utils';
|
|
5
6
|
import 'react/jsx-runtime';
|
|
6
7
|
import '@jamsrui/core';
|
|
8
|
+
|
|
9
|
+
declare const DatePicker: (props: DatePicker$1.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
10
|
+
declare namespace DatePicker {
|
|
11
|
+
interface Props extends DatePicker$1.Props {
|
|
12
|
+
}
|
|
13
|
+
interface Config extends DatePickerConfig.Props {
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { DatePicker, DatePickerConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{DatePicker as e}from"./date-picker.mjs";import{DatePickerConfig as t,useDatePickerConfig as r}from"./date-picker-config.mjs";const a=Object.assign(e,{});export{a as DatePicker,t as DatePickerConfig,r as useDatePickerConfig};
|
package/dist/use-date-picker.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const r=e=>{};export{r as useDatePicker};
|
|
1
|
+
"use client";const r=e=>{};export{r as useDatePicker};
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/date-picker",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/
|
|
9
|
-
"@jamsrui/
|
|
10
|
-
"@jamsrui/
|
|
8
|
+
"@jamsrui/core": "^0.0.14",
|
|
9
|
+
"@jamsrui/utils": "^0.0.17",
|
|
10
|
+
"@jamsrui/hooks": "^0.0.17"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|