@chekinapp/ui 0.0.107 → 0.0.108
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.cjs +47 -47
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -50
- package/dist/index.d.ts +50 -50
- package/dist/index.js +36 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12082,7 +12082,7 @@ var checkIfEmpty = ({
|
|
|
12082
12082
|
return !value && !defaultValue;
|
|
12083
12083
|
};
|
|
12084
12084
|
var checkInputValueIfEmpty = (value) => value.length === 0;
|
|
12085
|
-
var
|
|
12085
|
+
var Input = React43.forwardRef(
|
|
12086
12086
|
({
|
|
12087
12087
|
value,
|
|
12088
12088
|
defaultValue,
|
|
@@ -12340,7 +12340,7 @@ var DashboardInput = React43.forwardRef(
|
|
|
12340
12340
|
);
|
|
12341
12341
|
}
|
|
12342
12342
|
);
|
|
12343
|
-
|
|
12343
|
+
Input.displayName = "Input";
|
|
12344
12344
|
|
|
12345
12345
|
// src/dashboard/select/Select.tsx
|
|
12346
12346
|
import * as React47 from "react";
|
|
@@ -12779,7 +12779,7 @@ function useSelectSearch({
|
|
|
12779
12779
|
|
|
12780
12780
|
// src/dashboard/select/Select.tsx
|
|
12781
12781
|
import { jsx as jsx149, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
12782
|
-
function
|
|
12782
|
+
function SelectInternal({
|
|
12783
12783
|
options = [],
|
|
12784
12784
|
value,
|
|
12785
12785
|
onChange,
|
|
@@ -13009,8 +13009,8 @@ function DashboardSelectInternal({
|
|
|
13009
13009
|
}
|
|
13010
13010
|
);
|
|
13011
13011
|
}
|
|
13012
|
-
var
|
|
13013
|
-
|
|
13012
|
+
var Select = React47.forwardRef(
|
|
13013
|
+
SelectInternal
|
|
13014
13014
|
);
|
|
13015
13015
|
|
|
13016
13016
|
// src/dashboard/multi-select/MultiSelect.tsx
|
|
@@ -13050,7 +13050,7 @@ function MultiSelectChip({
|
|
|
13050
13050
|
// src/dashboard/multi-select/MultiSelect.tsx
|
|
13051
13051
|
import { jsx as jsx151, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
13052
13052
|
var isValueSelected = (selected, option) => selected.some((item) => item.value === option.value);
|
|
13053
|
-
function
|
|
13053
|
+
function MultiSelectInternal({
|
|
13054
13054
|
options = [],
|
|
13055
13055
|
value,
|
|
13056
13056
|
onChange,
|
|
@@ -13452,16 +13452,16 @@ function DashboardMultiSelectInternal({
|
|
|
13452
13452
|
}
|
|
13453
13453
|
);
|
|
13454
13454
|
}
|
|
13455
|
-
var
|
|
13456
|
-
|
|
13455
|
+
var MultiSelect = React48.forwardRef(
|
|
13456
|
+
MultiSelectInternal
|
|
13457
13457
|
);
|
|
13458
13458
|
|
|
13459
13459
|
// src/dashboard/creatable-multi-select/CreatableMultiSelect.tsx
|
|
13460
13460
|
import * as React49 from "react";
|
|
13461
13461
|
import { jsx as jsx152 } from "react/jsx-runtime";
|
|
13462
|
-
var
|
|
13463
|
-
function
|
|
13464
|
-
return /* @__PURE__ */ jsx152(
|
|
13462
|
+
var CreatableMultiSelect = React49.forwardRef(
|
|
13463
|
+
function CreatableMultiSelect2(props, ref) {
|
|
13464
|
+
return /* @__PURE__ */ jsx152(MultiSelect, { ref, ...props, isCreatable: true });
|
|
13465
13465
|
}
|
|
13466
13466
|
);
|
|
13467
13467
|
|
|
@@ -13567,7 +13567,7 @@ var DEFAULT_ITEM_HEIGHT = 60;
|
|
|
13567
13567
|
var DEFAULT_LIST_HEIGHT = 322;
|
|
13568
13568
|
var DEFAULT_OVERSCAN = 5;
|
|
13569
13569
|
var DEFAULT_LOAD_MORE_THRESHOLD = 5;
|
|
13570
|
-
function
|
|
13570
|
+
function InfiniteScrollSelectInternal({
|
|
13571
13571
|
options = [],
|
|
13572
13572
|
value,
|
|
13573
13573
|
onChange,
|
|
@@ -13846,8 +13846,8 @@ function DashboardInfiniteScrollSelectInternal({
|
|
|
13846
13846
|
}
|
|
13847
13847
|
);
|
|
13848
13848
|
}
|
|
13849
|
-
var
|
|
13850
|
-
|
|
13849
|
+
var InfiniteScrollSelect = React50.forwardRef(
|
|
13850
|
+
InfiniteScrollSelectInternal
|
|
13851
13851
|
);
|
|
13852
13852
|
|
|
13853
13853
|
// src/dashboard/textarea/Textarea.tsx
|
|
@@ -13861,8 +13861,8 @@ function getEmptyState(empty, value, defaultValue) {
|
|
|
13861
13861
|
if (value !== void 0) return !String(value);
|
|
13862
13862
|
return !defaultValue;
|
|
13863
13863
|
}
|
|
13864
|
-
var
|
|
13865
|
-
function
|
|
13864
|
+
var Textarea = React51.forwardRef(
|
|
13865
|
+
function Textarea2({
|
|
13866
13866
|
className,
|
|
13867
13867
|
textareaClassName,
|
|
13868
13868
|
label,
|
|
@@ -14659,8 +14659,8 @@ function dateFromParts(day, monthIndex, year) {
|
|
|
14659
14659
|
if (!isValidCalendarDate(yearNum, monthIndex, dayNum)) return null;
|
|
14660
14660
|
return new Date(yearNum, monthIndex, dayNum);
|
|
14661
14661
|
}
|
|
14662
|
-
var
|
|
14663
|
-
function
|
|
14662
|
+
var Datepicker = React53.forwardRef(
|
|
14663
|
+
function Datepicker2({
|
|
14664
14664
|
label,
|
|
14665
14665
|
value,
|
|
14666
14666
|
defaultValue,
|
|
@@ -15638,7 +15638,7 @@ function DateRangePopover({
|
|
|
15638
15638
|
|
|
15639
15639
|
// src/dashboard/date-range-picker/DateRangePicker.tsx
|
|
15640
15640
|
import { jsx as jsx162, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
15641
|
-
var
|
|
15641
|
+
var DateRangePicker = React57.forwardRef(function DateRangePicker2({
|
|
15642
15642
|
label,
|
|
15643
15643
|
value: externalValue,
|
|
15644
15644
|
defaultValue,
|
|
@@ -16078,14 +16078,14 @@ var FORMAT_SETTINGS = {
|
|
|
16078
16078
|
},
|
|
16079
16079
|
hours: { intervalUnit: "H", interval: 1, minTime: "00:00", maxTime: "23:00" }
|
|
16080
16080
|
};
|
|
16081
|
-
var
|
|
16082
|
-
function
|
|
16081
|
+
var TimePicker = React59.forwardRef(
|
|
16082
|
+
function TimePicker2({ format: formatName = "time", timeSettings, options, ...selectProps }, ref) {
|
|
16083
16083
|
const resolvedOptions = React59.useMemo(() => {
|
|
16084
16084
|
if (options) return options;
|
|
16085
16085
|
const settings = timeSettings ?? FORMAT_SETTINGS[formatName];
|
|
16086
16086
|
return buildOptions(settings);
|
|
16087
16087
|
}, [formatName, options, timeSettings]);
|
|
16088
|
-
return /* @__PURE__ */ jsx163(
|
|
16088
|
+
return /* @__PURE__ */ jsx163(Select, { ref, ...selectProps, options: resolvedOptions });
|
|
16089
16089
|
}
|
|
16090
16090
|
);
|
|
16091
16091
|
|
|
@@ -16097,8 +16097,8 @@ import { jsx as jsx164, jsxs as jsxs108 } from "react/jsx-runtime";
|
|
|
16097
16097
|
function defaultDownload(url) {
|
|
16098
16098
|
window.open(url, "_blank", "noopener,noreferrer");
|
|
16099
16099
|
}
|
|
16100
|
-
var
|
|
16101
|
-
function
|
|
16100
|
+
var FileInput = React60.forwardRef(
|
|
16101
|
+
function FileInput2({
|
|
16102
16102
|
label,
|
|
16103
16103
|
value,
|
|
16104
16104
|
onChange,
|
|
@@ -16267,7 +16267,7 @@ var DashboardFileInput = React60.forwardRef(
|
|
|
16267
16267
|
// src/dashboard/select-icons-box/SelectIconsBox.tsx
|
|
16268
16268
|
import * as React61 from "react";
|
|
16269
16269
|
import { jsx as jsx165, jsxs as jsxs109 } from "react/jsx-runtime";
|
|
16270
|
-
function
|
|
16270
|
+
function SelectIconsBox({
|
|
16271
16271
|
children,
|
|
16272
16272
|
icons,
|
|
16273
16273
|
renderIcon,
|
|
@@ -18779,22 +18779,14 @@ export {
|
|
|
18779
18779
|
CopyString,
|
|
18780
18780
|
Counter,
|
|
18781
18781
|
CounterSize,
|
|
18782
|
+
CreatableMultiSelect,
|
|
18782
18783
|
CustomCheckboxDropdownGroup,
|
|
18783
18784
|
DEFAULT_DISPLAY_FORMAT,
|
|
18784
18785
|
DEVICE_BREAKPOINTS,
|
|
18785
|
-
DashboardCreatableMultiSelect,
|
|
18786
|
-
DashboardDateRangePicker,
|
|
18787
|
-
DashboardDatepicker,
|
|
18788
|
-
DashboardFileInput,
|
|
18789
|
-
DashboardInfiniteScrollSelect,
|
|
18790
|
-
DashboardInput,
|
|
18791
|
-
DashboardMultiSelect,
|
|
18792
|
-
DashboardSelect,
|
|
18793
|
-
DashboardSelectIconsBox,
|
|
18794
|
-
DashboardTextarea,
|
|
18795
|
-
DashboardTimePicker,
|
|
18796
18786
|
DataTable,
|
|
18787
|
+
DateRangePicker,
|
|
18797
18788
|
DateTableFilter,
|
|
18789
|
+
Datepicker,
|
|
18798
18790
|
DebouncedSearchInput,
|
|
18799
18791
|
DefaultSelectTrigger,
|
|
18800
18792
|
Dialog,
|
|
@@ -18847,6 +18839,7 @@ export {
|
|
|
18847
18839
|
ExpandableContent,
|
|
18848
18840
|
ExternalLink,
|
|
18849
18841
|
FieldErrorMessage,
|
|
18842
|
+
FileInput,
|
|
18850
18843
|
FileInputButton,
|
|
18851
18844
|
FormBox,
|
|
18852
18845
|
Content5 as FormBoxContent,
|
|
@@ -18862,7 +18855,9 @@ export {
|
|
|
18862
18855
|
IconsDropdown,
|
|
18863
18856
|
Image2 as Image,
|
|
18864
18857
|
ImageFullScreenView,
|
|
18858
|
+
InfiniteScrollSelect,
|
|
18865
18859
|
InfoBox,
|
|
18860
|
+
Input,
|
|
18866
18861
|
InputOTP,
|
|
18867
18862
|
InputOTPGroup,
|
|
18868
18863
|
InputOTPSeparator,
|
|
@@ -18892,6 +18887,7 @@ export {
|
|
|
18892
18887
|
Modal,
|
|
18893
18888
|
ModalButton,
|
|
18894
18889
|
ModalLoader,
|
|
18890
|
+
MultiSelect,
|
|
18895
18891
|
NumberedList,
|
|
18896
18892
|
OverlayLoader,
|
|
18897
18893
|
Pagination,
|
|
@@ -18921,6 +18917,8 @@ export {
|
|
|
18921
18917
|
SectionGroup,
|
|
18922
18918
|
SectionTag,
|
|
18923
18919
|
SectionTagColors,
|
|
18920
|
+
Select,
|
|
18921
|
+
SelectIconsBox,
|
|
18924
18922
|
Separator3 as Separator,
|
|
18925
18923
|
Sheet,
|
|
18926
18924
|
SheetClose,
|
|
@@ -18985,7 +18983,9 @@ export {
|
|
|
18985
18983
|
TabsContent,
|
|
18986
18984
|
TabsList,
|
|
18987
18985
|
TabsTrigger,
|
|
18986
|
+
Textarea,
|
|
18988
18987
|
ThreeDotsLoader,
|
|
18988
|
+
TimePicker,
|
|
18989
18989
|
Timeline,
|
|
18990
18990
|
TimelineConnector,
|
|
18991
18991
|
TimelineContent,
|