@sunggang/ui-lib 0.1.19 → 0.1.21
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/index.esm.css +3 -0
- package/index.esm2.js +2 -4
- package/index.esm3.js +0 -4
- package/package.json +1 -1
- package/src/components/ui/dateRangePicker.d.ts +2 -4
- package/src/components/ui/singlePicker.d.ts +3 -5
- package/src/lib/Ckeditor/index.d.ts +5 -1
- package/src/lib/Select/Select.stories-qq.d.ts +8 -0
- package/src/lib/Select/index.d.ts +8 -0
package/index.esm.css
CHANGED
package/index.esm2.js
CHANGED
|
@@ -6600,7 +6600,6 @@ var Button = /*#__PURE__*/ React.forwardRef(function(_param, ref) {
|
|
|
6600
6600
|
ref: ref
|
|
6601
6601
|
}, props));
|
|
6602
6602
|
});
|
|
6603
|
-
Button.displayName = "Button";
|
|
6604
6603
|
|
|
6605
6604
|
function _define_property$1(obj, key, value) {
|
|
6606
6605
|
if (key in obj) {
|
|
@@ -6881,7 +6880,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
6881
6880
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
6882
6881
|
}
|
|
6883
6882
|
function DateRangePicker(param) {
|
|
6884
|
-
var className = param.className, disable = param.disable, onChange = param.onChange, dates = param.dates;
|
|
6883
|
+
var className = param.className, inputClassName = param.inputClassName, disable = param.disable, onChange = param.onChange, dates = param.dates;
|
|
6885
6884
|
var _useState = _sliced_to_array(useState({
|
|
6886
6885
|
from: (dates === null || dates === void 0 ? void 0 : dates.from) || undefined,
|
|
6887
6886
|
to: (dates === null || dates === void 0 ? void 0 : dates.to) || undefined
|
|
@@ -6901,7 +6900,7 @@ function DateRangePicker(param) {
|
|
|
6901
6900
|
children: /*#__PURE__*/ jsxs(Button, {
|
|
6902
6901
|
id: "date",
|
|
6903
6902
|
variant: "outline",
|
|
6904
|
-
className: cn("w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground"),
|
|
6903
|
+
className: cn("w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground", inputClassName),
|
|
6905
6904
|
children: [
|
|
6906
6905
|
/*#__PURE__*/ jsx(Calendar$1, {
|
|
6907
6906
|
className: "mr-2 h-4 w-4"
|
|
@@ -6935,7 +6934,6 @@ function DateRangePicker(param) {
|
|
|
6935
6934
|
})
|
|
6936
6935
|
});
|
|
6937
6936
|
}
|
|
6938
|
-
DateRangePicker.displayName = "DateRangePicker";
|
|
6939
6937
|
|
|
6940
6938
|
// Use this file to export React client components (e.g. those with 'use client' directive) or other non-server utilities
|
|
6941
6939
|
var CkEditor = dynamic(function() {
|
package/index.esm3.js
CHANGED
|
@@ -64138,10 +64138,6 @@ function _ts_values(o) {
|
|
|
64138
64138
|
|
|
64139
64139
|
var Editor = /*@__PURE__*/getDefaultExportFromCjs(ckeditor.exports);
|
|
64140
64140
|
|
|
64141
|
-
// interface CkeditorProps {
|
|
64142
|
-
// content: string;
|
|
64143
|
-
// setContent: (content: string) => void;
|
|
64144
|
-
// }
|
|
64145
64141
|
var CkEditor = function(param) {
|
|
64146
64142
|
var content = param.content, setContent = param.setContent;
|
|
64147
64143
|
return /*#__PURE__*/ jsx(dist.exports.CKEditor, {
|
package/package.json
CHANGED
|
@@ -5,12 +5,10 @@ interface DateRangeType {
|
|
|
5
5
|
}
|
|
6
6
|
interface DateRangePickerProps {
|
|
7
7
|
className?: string;
|
|
8
|
+
inputClassName?: string;
|
|
8
9
|
disable?: boolean;
|
|
9
10
|
onChange?: (date: DateRange) => void;
|
|
10
11
|
dates?: DateRangeType;
|
|
11
12
|
}
|
|
12
|
-
declare function DateRangePicker({ className, disable, onChange, dates, }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare namespace DateRangePicker {
|
|
14
|
-
var displayName: string;
|
|
15
|
-
}
|
|
13
|
+
declare function DateRangePicker({ className, inputClassName, disable, onChange, dates, }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
16
14
|
export { DateRangePicker };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
interface SinglePickerProps {
|
|
2
3
|
disable?: boolean;
|
|
3
4
|
onChange?: (date: Date) => void;
|
|
4
5
|
}
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
var displayName: string;
|
|
8
|
-
}
|
|
9
|
-
export { SingleDatePicker };
|
|
6
|
+
export declare const SingleDatePicker: React.FC<SinglePickerProps>;
|
|
7
|
+
export default SingleDatePicker;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface DropImageProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
item?: any;
|
|
4
|
+
config?: any;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-bf5e6555").R, import("@storybook/types").Args>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Base: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-bf5e6555").R, DropImageProps>;
|