@rfdtech/components 1.15.0 → 1.21.0
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/README.md +86 -31
- package/dist/components/app-header/AppHeader.d.ts +2 -2
- package/dist/components/app-header/AppHeader.d.ts.map +1 -1
- package/dist/components/app-header/AppHeaderProfile.d.ts.map +1 -1
- package/dist/components/app-header/AppHeaderSearch.d.ts.map +1 -1
- package/dist/components/app-layout/AppBody.d.ts +2 -2
- package/dist/components/app-layout/AppBody.d.ts.map +1 -1
- package/dist/components/app-layout/AppLayout.d.ts +5 -1
- package/dist/components/app-layout/AppLayout.d.ts.map +1 -1
- package/dist/components/app-layout/AppLayoutInner.d.ts +8 -0
- package/dist/components/app-layout/AppLayoutInner.d.ts.map +1 -0
- package/dist/components/app-layout/AppSidebar.d.ts +2 -3
- package/dist/components/app-layout/AppSidebar.d.ts.map +1 -1
- package/dist/components/avatar/Avatar.d.ts +4 -0
- package/dist/components/avatar/Avatar.d.ts.map +1 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb/breadcrumb-context.d.ts +17 -0
- package/dist/components/breadcrumb/breadcrumb-context.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +2 -0
- package/dist/components/breadcrumb/index.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/BulkImportModal.d.ts +1 -1
- package/dist/components/bulk-import-modal/BulkImportModal.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/constants.d.ts +8 -0
- package/dist/components/bulk-import-modal/constants.d.ts.map +1 -0
- package/dist/components/bulk-import-modal/hooks/useBulkImportFlow.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/index.d.ts +5 -4
- package/dist/components/bulk-import-modal/index.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/internal/FieldMappingSelect.d.ts +5 -1
- package/dist/components/bulk-import-modal/internal/FieldMappingSelect.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/steps/MatchColumnsStep.d.ts +2 -1
- package/dist/components/bulk-import-modal/steps/MatchColumnsStep.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/steps/SelectHeaderRowStep.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/steps/UploadStep.d.ts +4 -2
- package/dist/components/bulk-import-modal/steps/UploadStep.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/steps/ValidateDataStep.d.ts +8 -10
- package/dist/components/bulk-import-modal/steps/ValidateDataStep.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/utils/mapRowsToRecords.d.ts +1 -0
- package/dist/components/bulk-import-modal/utils/mapRowsToRecords.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/utils/parseSpreadsheetFile.d.ts +4 -0
- package/dist/components/bulk-import-modal/utils/parseSpreadsheetFile.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/utils/validateMappedRows.d.ts +2 -1
- package/dist/components/bulk-import-modal/utils/validateMappedRows.d.ts.map +1 -1
- package/dist/components/bulk-import-modal/utils/validateRowsChunked.d.ts +11 -0
- package/dist/components/bulk-import-modal/utils/validateRowsChunked.d.ts.map +1 -0
- package/dist/components/card/Card.d.ts +4 -1
- package/dist/components/card/Card.d.ts.map +1 -1
- package/dist/components/card/index.d.ts +2 -2
- package/dist/components/card/index.d.ts.map +1 -1
- package/dist/components/command/Command.d.ts.map +1 -1
- package/dist/components/command/CommandPopoverContext.d.ts +15 -0
- package/dist/components/command/CommandPopoverContext.d.ts.map +1 -0
- package/dist/components/date-range-selector/DateRangeSelector.d.ts.map +1 -1
- package/dist/components/dialog/Dialog.d.ts.map +1 -1
- package/dist/components/dropdown/Dropdown.d.ts +1 -1
- package/dist/components/dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/form/Form.d.ts.map +1 -1
- package/dist/components/metric-card/MetricCard.d.ts.map +1 -1
- package/dist/components/modal/Modal.d.ts.map +1 -1
- package/dist/components/modal/index.d.ts +1 -1
- package/dist/components/modal/index.d.ts.map +1 -1
- package/dist/components/phone-number-input/PhoneNumberInput.d.ts.map +1 -1
- package/dist/components/sidebar/Sidebar.d.ts +1 -1
- package/dist/components/sidebar/Sidebar.d.ts.map +1 -1
- package/dist/components/sidebar/SidebarContext.d.ts.map +1 -1
- package/dist/components/sortable/Sortable.d.ts.map +1 -1
- package/dist/components/sortable/SortableContext.d.ts.map +1 -1
- package/dist/components/table/ProgressModal.d.ts +13 -0
- package/dist/components/table/ProgressModal.d.ts.map +1 -0
- package/dist/components/table/Table.d.ts +2 -15
- package/dist/components/table/Table.d.ts.map +1 -1
- package/dist/components/table/TableHeader.d.ts +4 -0
- package/dist/components/table/TableHeader.d.ts.map +1 -1
- package/dist/components/table/TablePagination.d.ts.map +1 -1
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/theme/ThemeProvider.d.ts +1 -1
- package/dist/components/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/components/tooltip/Tooltip.d.ts +4 -0
- package/dist/components/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/Tooltip.test.d.ts +2 -0
- package/dist/components/tooltip/Tooltip.test.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/upload-field/UploadField.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useComposedRefs.d.ts +14 -0
- package/dist/hooks/useComposedRefs.d.ts.map +1 -0
- package/dist/hooks/useConfirmBeforeUnload.d.ts +9 -0
- package/dist/hooks/useConfirmBeforeUnload.d.ts.map +1 -0
- package/dist/hooks/useTableState.d.ts.map +1 -1
- package/dist/index.cjs +50 -198
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16532 -13235
- package/dist/test/mocks/lottie-react.d.ts +2 -0
- package/dist/test/mocks/lottie-react.d.ts.map +1 -0
- package/dist/types/avatar.d.ts +18 -0
- package/dist/types/avatar.d.ts.map +1 -0
- package/dist/types/bulk-import-modal.d.ts +38 -15
- package/dist/types/bulk-import-modal.d.ts.map +1 -1
- package/dist/types/button.d.ts +1 -1
- package/dist/types/button.d.ts.map +1 -1
- package/dist/types/card.d.ts +10 -8
- package/dist/types/card.d.ts.map +1 -1
- package/dist/types/checkbox.d.ts +1 -1
- package/dist/types/checkbox.d.ts.map +1 -1
- package/dist/types/dropdown.d.ts +2 -0
- package/dist/types/dropdown.d.ts.map +1 -1
- package/dist/types/metric-card.d.ts +4 -0
- package/dist/types/metric-card.d.ts.map +1 -1
- package/dist/types/modal.d.ts +5 -0
- package/dist/types/modal.d.ts.map +1 -1
- package/dist/types/sidebar.d.ts +4 -2
- package/dist/types/sidebar.d.ts.map +1 -1
- package/dist/types/table.d.ts +17 -2
- package/dist/types/table.d.ts.map +1 -1
- package/dist/types/theme.d.ts +2 -0
- package/dist/types/theme.d.ts.map +1 -1
- package/dist/types/tooltip.d.ts +13 -0
- package/dist/types/tooltip.d.ts.map +1 -0
- package/dist/utils/stringToColor.d.ts +9 -0
- package/dist/utils/stringToColor.d.ts.map +1 -0
- package/package.json +39 -16
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type { CardProps } from "../../types/card";
|
|
1
|
+
import type { CardProps, CardHeaderProps, CardTitleProps, CardActionsProps } from "../../types/card";
|
|
2
2
|
import "./styles/card.css";
|
|
3
3
|
export declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export declare const CardHeader: import("react").ForwardRefExoticComponent<CardHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export declare const CardTitle: import("react").ForwardRefExoticComponent<CardTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
6
|
+
export declare const CardActions: import("react").ForwardRefExoticComponent<CardActionsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
7
|
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAErG,OAAO,mBAAmB,CAAC;AAE3B,eAAO,MAAM,IAAI,sGAaf,CAAC;AAEH,eAAO,MAAM,UAAU,4GAarB,CAAC;AAEH,eAAO,MAAM,SAAS,+GAapB,CAAC;AAEH,eAAO,MAAM,WAAW,6GAatB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Card } from "./Card";
|
|
2
|
-
export type { CardProps,
|
|
1
|
+
export { Card, CardHeader, CardTitle, CardActions } from "./Card";
|
|
2
|
+
export type { CardProps, CardHeaderProps, CardTitleProps, CardActionsProps } from "../../types/card";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAClE,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../../src/components/command/Command.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../../src/components/command/Command.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAY7B,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,YAAY,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAqB1E,eAAO,MAAM,OAAO,yGA+BnB,CAAC;AAEF,eAAO,MAAM,aAAa,+GAmFzB,CAAC;AAEF,eAAO,MAAM,YAAY,gHA0GxB,CAAC;AAEF,eAAO,MAAM,WAAW,6GA2CvB,CAAC;AAEF,eAAO,MAAM,YAAY,8GAYxB,CAAC;AAEF,eAAO,MAAM,YAAY,8GAuCxB,CAAC;AAEF,eAAO,MAAM,WAAW,6GAYvB,CAAC;AAEF,eAAO,MAAM,eAAe,8GAW3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,kHAW3B,CAAC;AAEH,eAAO,MAAM,cAAc,gHAY1B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ReactNode, type RefObject } from "react";
|
|
2
|
+
export interface CommandPopoverContextValue {
|
|
3
|
+
isInline: boolean;
|
|
4
|
+
open: boolean;
|
|
5
|
+
setOpen: (open: boolean) => void;
|
|
6
|
+
inputWrapperRef: RefObject<HTMLDivElement | null>;
|
|
7
|
+
blurTimeoutRef: RefObject<ReturnType<typeof setTimeout> | undefined>;
|
|
8
|
+
cancelPendingClose: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function CommandPopoverProvider({ children, value, }: {
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
value: CommandPopoverContextValue;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
export declare function useCommandPopover(): CommandPopoverContextValue | null;
|
|
15
|
+
//# sourceMappingURL=CommandPopoverContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandPopoverContext.d.ts","sourceRoot":"","sources":["../../../src/components/command/CommandPopoverContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElF,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,eAAe,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAClD,cAAc,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC,CAAC;IACrE,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAID,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,0BAA0B,CAAC;CACnC,+BAMA;AAED,wBAAgB,iBAAiB,sCAEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangeSelector.d.ts","sourceRoot":"","sources":["../../../src/components/date-range-selector/DateRangeSelector.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACf,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EAAE,cAAc,EAAE,CAAC;AAK/B,OAAO,kCAAkC,CAAC;AA8M1C,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"DateRangeSelector.d.ts","sourceRoot":"","sources":["../../../src/components/date-range-selector/DateRangeSelector.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACf,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EAAE,cAAc,EAAE,CAAC;AAK/B,OAAO,kCAAkC,CAAC;AA8M1C,eAAO,MAAM,iBAAiB,mHA4R5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,qBAAqB,CAAC;AAE7B,eAAO,MAAM,MAAM,iDAAuB,CAAC;AAC3C,eAAO,MAAM,aAAa,kIAA0B,CAAC;AACrD,eAAO,MAAM,YAAY,uDAAyB,CAAC;AACnD,eAAO,MAAM,WAAW,gIAAwB,CAAC;AAEjD,eAAO,MAAM,aAAa,+GAUzB,CAAC;AAEF,eAAO,MAAM,aAAa,+
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,qBAAqB,CAAC;AAE7B,eAAO,MAAM,MAAM,iDAAuB,CAAC;AAC3C,eAAO,MAAM,aAAa,kIAA0B,CAAC;AACrD,eAAO,MAAM,YAAY,uDAAyB,CAAC;AACnD,eAAO,MAAM,WAAW,gIAAwB,CAAC;AAEjD,eAAO,MAAM,aAAa,+GAUzB,CAAC;AAEF,eAAO,MAAM,aAAa,+GAwBzB,CAAC;AAEF,eAAO,MAAM,WAAW,iHAUvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yHAe5B,CAAC;AAEH,eAAO,MAAM,YAAY,8GAYxB,CAAC;AAEF,eAAO,MAAM,UAAU,4GAYtB,CAAC;AAEF,eAAO,MAAM,YAAY,8GAYxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { DropdownProps } from "../../types/dropdown";
|
|
2
2
|
import "./styles/dropdown.css";
|
|
3
|
-
export declare function Dropdown({ value, onValueChange, options, placeholder, clearable, disabled, invalid, "aria-label": ariaLabel, classNames, className, }: DropdownProps): import("react").JSX.Element;
|
|
3
|
+
export declare function Dropdown({ value, onValueChange, options, placeholder, clearable, disabled, invalid, "aria-label": ariaLabel, formatOption, classNames, className, }: DropdownProps): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/Dropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/Dropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,uBAAuB,CAAC;AAK/B,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,aAAa,EACb,OAAO,EACP,WAAyB,EACzB,SAAiB,EACjB,QAAgB,EAChB,OAAe,EACf,YAAY,EAAE,SAAS,EACvB,YAAY,EACZ,UAAU,EACV,SAAS,GACV,EAAE,aAAa,+BAmFf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/form/Form.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/form/Form.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAG3E,eAAO,MAAM,IAAI,0YAAe,CAAC;AAEjC,wBAAgB,SAAS,CACvB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,YAAY,EAAE,KAAK,CAAC,+BAWlD;AAED,wBAAgB,YAAY,IAAI,kBAAkB,CAiBjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetricCard.d.ts","sourceRoot":"","sources":["../../../src/components/metric-card/MetricCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,yBAAyB,CAAC;AAE5E,OAAO,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"MetricCard.d.ts","sourceRoot":"","sources":["../../../src/components/metric-card/MetricCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,yBAAyB,CAAC;AAE5E,OAAO,0BAA0B,CAAC;AAuClC,eAAO,MAAM,UAAU,4GAwHtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,oBAAoB,CAAC;AAG5B,eAAO,MAAM,KAAK,iDAAuB,CAAC;AAC1C,eAAO,MAAM,YAAY,kIAA0B,CAAC;AACpD,eAAO,MAAM,WAAW,uDAAyB,CAAC;AAClD,eAAO,MAAM,UAAU,gIAAwB,CAAC;AAEhD,eAAO,MAAM,YAAY,8GAUxB,CAAC;AAEF,eAAO,MAAM,YAAY,8GAgJxB,CAAC;AAEF,eAAO,MAAM,WAAW,0GAUvB,CAAC;AAEF,eAAO,MAAM,UAAU,gHAUtB,CAAC;AAEF,eAAO,MAAM,gBAAgB,wHAe3B,CAAC;AAEH,eAAO,MAAM,SAAS,2GAUrB,CAAC;AAEF,eAAO,MAAM,WAAW,0GAUvB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Modal, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, } from "./Modal";
|
|
2
|
-
export type { ModalBodyClassNames, ModalBodyProps, ModalContentClassNames, ModalContentProps, ModalDescriptionClassNames, ModalDescriptionProps, ModalFooterClassNames, ModalFooterProps, ModalHeaderClassNames, ModalHeaderProps, ModalOverlayClassNames, ModalOverlayProps, ModalTitleClassNames, ModalTitleProps, } from "../../types/modal";
|
|
2
|
+
export type { ModalBodyClassNames, ModalBodyProps, ModalContentClassNames, ModalContentProps, ModalDescriptionClassNames, ModalDescriptionProps, ModalFooterClassNames, ModalFooterProps, ModalHeaderClassNames, ModalHeaderProps, ModalOverlayClassNames, ModalOverlayProps, ModalSize, ModalTitleClassNames, ModalTitleProps, } from "../../types/modal";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACb,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,GAChB,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACb,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,SAAS,EACT,oBAAoB,EACpB,eAAe,GAChB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneNumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/phone-number-input/PhoneNumberInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PhoneNumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/phone-number-input/PhoneNumberInput.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAG5E,OAAO,iCAAiC,CAAC;AAuCzC,eAAO,MAAM,gBAAgB,oHAmN3B,CAAC"}
|
|
@@ -14,5 +14,5 @@ export declare const SidebarGroup: import("react").ForwardRefExoticComponent<Sid
|
|
|
14
14
|
export declare const SidebarGroupLabel: import("react").ForwardRefExoticComponent<SidebarGroupLabelProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
15
15
|
export declare const SidebarItem: import("react").ForwardRefExoticComponent<SidebarItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export declare const SidebarBadge: import("react").ForwardRefExoticComponent<SidebarBadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
17
|
-
export declare const SidebarLink: import("react").ForwardRefExoticComponent<SidebarLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
17
|
+
export declare const SidebarLink: import("react").ForwardRefExoticComponent<SidebarLinkProps & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
18
18
|
//# sourceMappingURL=Sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/Sidebar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/Sidebar.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAQ/D,eAAO,MAAM,OAAO,sGAuBlB,CAAC;AAEH,eAAO,MAAM,cAAc,mHA2BzB,CAAC;AAEH,eAAO,MAAM,cAAc,mHA+BzB,CAAC;AAEH,eAAO,MAAM,eAAe,oHA+B1B,CAAC;AAEH,eAAO,MAAM,aAAa,+GAWzB,CAAC;AAEF,eAAO,MAAM,YAAY,8GAWxB,CAAC;AAEF,eAAO,MAAM,cAAc,gHAuD1B,CAAC;AAEF,eAAO,MAAM,aAAa,+GAWzB,CAAC;AAEF,eAAO,MAAM,UAAU,yGAsBtB,CAAC;AAEF,eAAO,MAAM,YAAY,8GAWxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yHAgB5B,CAAC;AAEH,eAAO,MAAM,WAAW,6GAWvB,CAAC;AAEF,eAAO,MAAM,YAAY,+GAiBxB,CAAC;AAkBF,eAAO,MAAM,WAAW,oIA6FvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarContext.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/SidebarContext.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarContext.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/SidebarContext.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAIhE,UAAU,mBAAmB;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAID,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EAAE,QAAQ,EACd,WAAmB,EACnB,YAAY,EACZ,SAAS,EAAE,aAAa,EACxB,gBAAwB,EACxB,iBAAiB,EACjB,UAAgB,EAChB,UAAU,EACV,SAAS,EACT,QAAQ,GACT,EAAE,oBAAoB,+BAyEtB;AAED,wBAAgB,UAAU,wBAQzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sortable.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/Sortable.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACd,MAAM,sBAAsB,CAAC;AAU9B,OAAO,uBAAuB,CAAC;AAE/B,eAAO,MAAM,QAAQ,0GA0DpB,CAAC;AAEF,eAAO,MAAM,YAAY,8GA+BxB,CAAC;AAEF,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"Sortable.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/Sortable.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACd,MAAM,sBAAsB,CAAC;AAU9B,OAAO,uBAAuB,CAAC;AAE/B,eAAO,MAAM,QAAQ,0GA0DpB,CAAC;AAEF,eAAO,MAAM,YAAY,8GA+BxB,CAAC;AAEF,eAAO,MAAM,YAAY,8GAgFxB,CAAC;AA+CF,eAAO,MAAM,cAAc,mHA6C1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortableContext.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/SortableContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,
|
|
1
|
+
{"version":3,"file":"SortableContext.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/SortableContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,UAAU,oBAAoB;IAC5B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAID,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;CACrB,+BAYA;AAED,wBAAgB,kBAAkB,yBAQjC;AAED,UAAU,wBAAwB;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,MAAM,MAAM,IAAI,CAAC;IACjC,UAAU,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,mBAAmB,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IACxD,UAAU,EAAE,mBAAmB,CAAC;IAChC,SAAS,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACnD,KAAK,EAAE,aAAa,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;CACrB;AAID,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,wBAAwB,CAAC;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB,+BAMA;AAED,wBAAgB,sBAAsB,6BAQrC;AAED,wBAAgB,6BAA6B,SAI5C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type HTMLAttributes } from "react";
|
|
2
|
+
import "./styles/progress-modal.css";
|
|
3
|
+
interface ProgressModalClassNames {
|
|
4
|
+
root?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ProgressModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
open: boolean;
|
|
8
|
+
progress?: number;
|
|
9
|
+
classNames?: ProgressModalClassNames;
|
|
10
|
+
}
|
|
11
|
+
export declare const ProgressModal: import("react").ForwardRefExoticComponent<ProgressModalProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=ProgressModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressModal.d.ts","sourceRoot":"","sources":["../../../src/components/table/ProgressModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2C,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAUrF,OAAO,6BAA6B,CAAC;AAErC,UAAU,uBAAuB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,uBAAuB,CAAC;CACtC;AAID,eAAO,MAAM,aAAa,+GAsCzB,CAAC"}
|
|
@@ -1,26 +1,13 @@
|
|
|
1
1
|
import { type ReactNode, type Ref } from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { TableContentProps } from "../../types/table";
|
|
3
3
|
import type { TableProps } from "../../types/table";
|
|
4
4
|
import "./styles/table.css";
|
|
5
5
|
export declare const Table: import("react").ForwardRefExoticComponent<TableProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
|
|
7
|
-
className?: string;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
columns?: TableColumn<T>[];
|
|
10
|
-
data?: T[];
|
|
11
|
-
rowKey?: (row: T) => string | number;
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
loadingRows?: number;
|
|
14
|
-
selectable?: boolean;
|
|
15
|
-
selectedIds?: Set<string | number>;
|
|
16
|
-
onSelectionChange?: (selectedIds: Set<string | number>) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const TableContent: <T>(props: TableContentInnerProps<T> & {
|
|
6
|
+
export declare const TableContent: <T>(props: TableContentProps<T> & {
|
|
19
7
|
ref?: Ref<HTMLDivElement>;
|
|
20
8
|
}) => React.ReactElement;
|
|
21
9
|
export declare const TableFooter: import("react").ForwardRefExoticComponent<{
|
|
22
10
|
className?: string;
|
|
23
11
|
children?: ReactNode;
|
|
24
12
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
-
export {};
|
|
26
13
|
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EAEd,KAAK,GAAG,EAET,MAAM,OAAO,CAAC;AAUf,OAAO,KAAK,EAAe,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,mBAAmB,CAAC;AAEnE,OAAO,oBAAoB,CAAC;AA4B5B,eAAO,MAAM,KAAK,uGAoBhB,CAAC;AA6ZH,eAAO,MAAM,YAAY,EAAqC,CAAC,CAAC,EAC9D,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;CAAE,KACxD,KAAK,CAAC,YAAY,CAAC;AAIxB,eAAO,MAAM,WAAW;gBAER,MAAM;eAAa,SAAS;kDAO1C,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import type { TableSearchProps, TableFilterProps } from "../../types/table";
|
|
3
3
|
import "./styles/table.css";
|
|
4
|
+
export declare const TableActions: import("react").ForwardRefExoticComponent<{
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
8
|
export declare const TableHeader: import("react").ForwardRefExoticComponent<{
|
|
5
9
|
className?: string;
|
|
6
10
|
children?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/table/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE5E,OAAO,oBAAoB,CAAC;AAc5B,eAAO,MAAM,WAAW;gBAER,MAAM;eAAa,SAAS;kDAW1C,CAAC;AAIH,eAAO,MAAM,WAAW,+GAiGvB,CAAC;AAIF,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/table/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE5E,OAAO,oBAAoB,CAAC;AAc5B,eAAO,MAAM,YAAY;gBAET,MAAM;eAAa,SAAS;kDAW1C,CAAC;AAIH,eAAO,MAAM,WAAW;gBAER,MAAM;eAAa,SAAS;kDAW1C,CAAC;AAIH,eAAO,MAAM,WAAW,+GAiGvB,CAAC;AAIF,eAAO,MAAM,WAAW,6GAgIvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TablePagination.d.ts","sourceRoot":"","sources":["../../../src/components/table/TablePagination.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,oBAAoB,CAAC;AA4E5B,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"TablePagination.d.ts","sourceRoot":"","sources":["../../../src/components/table/TablePagination.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,oBAAoB,CAAC;AA4E5B,eAAO,MAAM,eAAe,oHAsH1B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Table, TableContent, TableFooter } from "./Table";
|
|
2
|
-
export { TableHeader, TableSearch, TableFilter } from "./TableHeader";
|
|
2
|
+
export { TableHeader, TableSearch, TableFilter, TableActions } from "./TableHeader";
|
|
3
3
|
export { TablePagination } from "./TablePagination";
|
|
4
4
|
export { TableBulkActions } from "./TableBulkActions";
|
|
5
|
-
export type { TableClassNames, TableColumn, TableContentProps, TableFilterProps, TableFooterProps, TableHeaderProps, TableProps, TableSearchProps, PaginationControlsProps, TableBulkAction, TableBulkActionsClassNames, TableBulkActionsProps, } from "../../types/table";
|
|
5
|
+
export type { TableClassNames, TableColumn, TableContentProps, TableFilterProps, TableFooterProps, TableHeaderProps, TableProps, TableSearchProps, PaginationControlsProps, TableBulkAction, TableBulkActionsClassNames, TableBulkActionsProps, TableRowAction, } from "../../types/table";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EACV,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,uBAAuB,EACvB,eAAe,EACf,0BAA0B,EAC1B,qBAAqB,EACrB,cAAc,GACf,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ThemeProviderProps } from "../../types/theme";
|
|
2
|
-
export declare function ThemeProvider({ theme: controlledTheme, defaultTheme, onThemeChange, className, style, children, }: ThemeProviderProps): import("react").JSX.Element;
|
|
2
|
+
export declare function ThemeProvider({ theme: controlledTheme, defaultTheme, onThemeChange, storageKey, className, style, children, }: ThemeProviderProps): import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/components/theme/ThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAY,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAItE,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EAAE,eAAe,EACtB,YAAuB,EACvB,aAAa,EACb,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,kBAAkB,+
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/components/theme/ThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAY,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAItE,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EAAE,eAAe,EACtB,YAAuB,EACvB,aAAa,EACb,UAAwB,EACxB,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,kBAAkB,+BAuFpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/Tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,sBAAsB,CAAC;AAE9B,eAAO,MAAM,OAAO,yGA8DnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.test.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/Tooltip.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACV,iBAAiB,EACjB,YAAY,GACb,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadField.d.ts","sourceRoot":"","sources":["../../../src/components/upload-field/UploadField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UploadField.d.ts","sourceRoot":"","sources":["../../../src/components/upload-field/UploadField.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,2BAA2B,CAAC;AA2DnC,eAAO,MAAM,WAAW,6GAmPvB,CAAC"}
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { useConfirmBeforeUnload } from "./useConfirmBeforeUnload";
|
|
1
2
|
export { useDebounce } from "./useDebounce";
|
|
2
3
|
export { createBrowserSearchParamAdapter } from "./createBrowserSearchParamAdapter";
|
|
3
4
|
export { createSearchParamAdapter } from "./createSearchParamAdapter";
|
|
@@ -13,4 +14,5 @@ export type { UseTablePaginationOptions, UseTablePaginationReturn, } from "./use
|
|
|
13
14
|
export { useTableState } from "./useTableState";
|
|
14
15
|
export type { TableFilters, UseTableStateOptions, UseTableStateReturn, } from "./useTableState";
|
|
15
16
|
export type { SearchParamAdapter, SearchParamOverlayData, SearchParamOverlayIdInput, SearchParamOverlayState, UseSearchParamOverlayOptions, UseSearchParamOverlayReturn, } from "../types/search-param-overlay";
|
|
17
|
+
export { composeRefs, useComposedRefs } from "./useComposedRefs";
|
|
16
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,gBAAgB,GACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAw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MAAM,kBAAkB,CAAC;AAClD,YAAY,EACV,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EACV,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACV,YAAY,EACZ,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,EACvB,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
type PossibleRef<T> = React.Ref<T> | undefined;
|
|
3
|
+
/**
|
|
4
|
+
* A utility to compose multiple refs together
|
|
5
|
+
* Accepts callback refs and RefObject(s)
|
|
6
|
+
*/
|
|
7
|
+
declare function composeRefs<T>(...refs: PossibleRef<T>[]): React.RefCallback<T>;
|
|
8
|
+
/**
|
|
9
|
+
* A custom hook that composes multiple refs
|
|
10
|
+
* Accepts callback refs and RefObject(s)
|
|
11
|
+
*/
|
|
12
|
+
declare function useComposedRefs<T>(...refs: PossibleRef<T>[]): React.RefCallback<T>;
|
|
13
|
+
export { composeRefs, useComposedRefs };
|
|
14
|
+
//# sourceMappingURL=useComposedRefs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useComposedRefs.d.ts","sourceRoot":"","sources":["../../src/hooks/useComposedRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;AAc/C;;;GAGG;AACH,iBAAS,WAAW,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CA4BvE;AAED;;;GAGG;AACH,iBAAS,eAAe,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAG3E;AAED,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shows a browser confirmation prompt when the user tries to close, refresh,
|
|
3
|
+
* or navigate away from the page while `shouldConfirm` is true.
|
|
4
|
+
*
|
|
5
|
+
* @param shouldConfirm - Whether to show the prompt.
|
|
6
|
+
* @param message - Custom message (most browsers ignore this and show their own).
|
|
7
|
+
*/
|
|
8
|
+
export declare function useConfirmBeforeUnload(shouldConfirm: boolean, message?: string): void;
|
|
9
|
+
//# sourceMappingURL=useConfirmBeforeUnload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmBeforeUnload.d.ts","sourceRoot":"","sources":["../../src/hooks/useConfirmBeforeUnload.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,aAAa,EAAE,OAAO,EACtB,OAAO,CAAC,EAAE,MAAM,GACf,IAAI,CAiBN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableState.d.ts","sourceRoot":"","sources":["../../src/hooks/useTableState.ts"],"names":[],"mappings":"AAKA,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIlD,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM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