@lssm/lib.ui-kit-web 1.6.0 → 1.7.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/dist/index.js +0 -1
- package/dist/ui/alert-dialog.d.ts +12 -12
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert.d.ts +6 -6
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/atoms/FilterSelect/types.js +0 -1
- package/dist/ui/atoms/Pagination/types.js +0 -1
- package/dist/ui/atoms/SearchInput/types.js +0 -1
- package/dist/ui/badge.d.ts +4 -4
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/button.d.ts +5 -5
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/calendar.d.ts +3 -3
- package/dist/ui/card.d.ts +8 -8
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/carousel.d.ts +6 -6
- package/dist/ui/checkbox.d.ts +2 -2
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/command.d.ts +10 -10
- package/dist/ui/confirm-dialog.d.ts +2 -2
- package/dist/ui/context-menu.d.ts +2 -2
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/cta.d.ts +1 -1
- package/dist/ui/date-picker.d.ts +2 -2
- package/dist/ui/date-picker.d.ts.map +1 -1
- package/dist/ui/date-range-picker.d.ts +2 -2
- package/dist/ui/datetime-picker.d.ts +2 -2
- package/dist/ui/datetime-picker.d.ts.map +1 -1
- package/dist/ui/dialog.d.ts +11 -11
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/drawer.d.ts +11 -11
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/empty-state.d.ts +4 -4
- package/dist/ui/empty-state.d.ts.map +1 -1
- package/dist/ui/empty.d.ts +9 -9
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/field.d.ts +14 -14
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/hover-card.d.ts +4 -4
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/input-group.d.ts +10 -10
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-otp.d.ts +2 -2
- package/dist/ui/input.d.ts +2 -2
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/link.d.ts +3 -3
- package/dist/ui/live-region.d.ts +2 -2
- package/dist/ui/live-region.d.ts.map +1 -1
- package/dist/ui/loading-button.d.ts +2 -2
- package/dist/ui/loading-button.d.ts.map +1 -1
- package/dist/ui/map/MapBase.d.ts +2 -2
- package/dist/ui/map/MapGeoJsonOverlay.d.ts +2 -2
- package/dist/ui/map/MapGeoJsonOverlay.d.ts.map +1 -1
- package/dist/ui/map/MapHeatmapH3.d.ts +2 -2
- package/dist/ui/map/MapHeatmapH3.d.ts.map +1 -1
- package/dist/ui/map/MapMarkers.d.ts +2 -2
- package/dist/ui/map/MapMarkers.d.ts.map +1 -1
- package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
- package/dist/ui/marketing/FeatureGrid.d.ts.map +1 -1
- package/dist/ui/marketing/Hero.d.ts +2 -2
- package/dist/ui/marketing/Hero.d.ts.map +1 -1
- package/dist/ui/marketing/PricingTable.d.ts +2 -2
- package/dist/ui/marketing/PricingTable.d.ts.map +1 -1
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/molecules/Autocomplete/index.d.ts +2 -2
- package/dist/ui/molecules/SearchAndFilter/types.js +0 -1
- package/dist/ui/molecules/SkeletonList.d.ts +2 -2
- package/dist/ui/nav-layout.d.ts +8 -8
- package/dist/ui/nav-layout.d.ts.map +1 -1
- package/dist/ui/navigation-menu.d.ts +11 -11
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +3 -7
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/dist/ui/organisms/ListPage/ListPage.d.ts +2 -2
- package/dist/ui/organisms/ListPage/types.js +0 -1
- package/dist/ui/page-header.d.ts +4 -4
- package/dist/ui/page-header.d.ts.map +1 -1
- package/dist/ui/pagination.d.ts +6 -6
- package/dist/ui/popover.d.ts +5 -5
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/radio-group.d.ts.map +1 -1
- package/dist/ui/resizable.d.ts +7 -7
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/route-announcer.d.ts +2 -2
- package/dist/ui/scroll-area.d.ts +3 -3
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/section.d.ts +9 -9
- package/dist/ui/section.d.ts.map +1 -1
- package/dist/ui/select.d.ts +11 -11
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/separator.d.ts +2 -2
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/sheet.d.ts +9 -9
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sidebar.d.ts +4 -4
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/skip-link.d.ts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/sonner.d.ts +2 -2
- package/dist/ui/stack.d.ts +13 -13
- package/dist/ui/stack.d.ts.map +1 -1
- package/dist/ui/stat-card-group.d.ts +2 -2
- package/dist/ui/stepper.d.ts +4 -4
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/tabs.d.ts +5 -5
- package/dist/ui/text.d.ts +2 -2
- package/dist/ui/text.d.ts.map +1 -1
- package/dist/ui/textarea.d.ts +2 -2
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/time-picker.d.ts +2 -2
- package/dist/ui/time-picker.d.ts.map +1 -1
- package/dist/ui/toast.d.ts +2 -2
- package/dist/ui/toast.d.ts.map +1 -1
- package/dist/ui/toaster.d.ts +2 -2
- package/dist/ui/toaster.d.ts.map +1 -1
- package/dist/ui/toggle-group.d.ts +3 -3
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle.d.ts +4 -4
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/tooltip.d.ts +5 -5
- package/dist/ui/typography.d.ts +12 -12
- package/dist/ui/typography.d.ts.map +1 -1
- package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
- package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
- package/package.json +1 -1
package/dist/ui/live-region.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/live-region.d.ts
|
|
5
5
|
type LiveRegionPoliteness = 'polite' | 'assertive';
|
|
@@ -11,7 +11,7 @@ declare function SRLiveRegionProvider({
|
|
|
11
11
|
children
|
|
12
12
|
}: {
|
|
13
13
|
children: React$1.ReactNode;
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime64.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { LiveRegionPoliteness, SRLiveRegionProvider, useSRLiveRegion };
|
|
17
17
|
//# sourceMappingURL=live-region.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live-region.d.ts","names":[],"sources":["../../ui/live-region.tsx"],"sourcesContent":[],"mappings":";;;;KAIY,oBAAA;UAQF,wBAAA;wCAC8B;AATxC;AAQU,iBAOM,eAAA,CAAA,CAPkB,EAOH,wBAN6B;AAM5C,iBAOA,oBAAA,CAPe;EAAA;CAAA,EAAA;EAOf,QAAA,EAGJ,OAAA,CAAM,SAHkB;CAClC,CAAA,EAGD,
|
|
1
|
+
{"version":3,"file":"live-region.d.ts","names":[],"sources":["../../ui/live-region.tsx"],"sourcesContent":[],"mappings":";;;;KAIY,oBAAA;UAQF,wBAAA;wCAC8B;AATxC;AAQU,iBAOM,eAAA,CAAA,CAPkB,EAOH,wBAN6B;AAM5C,iBAOA,oBAAA,CAPe;EAAA;CAAA,EAAA;EAOf,QAAA,EAGJ,OAAA,CAAM,SAHkB;CAClC,CAAA,EAGD,mBAAA,CAAA,GAAA,CAAA,OAHC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonProps } from "./button.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/loading-button.d.ts
|
|
6
6
|
interface LoadingButtonProps extends ButtonProps {
|
|
@@ -14,7 +14,7 @@ declare function LoadingButton({
|
|
|
14
14
|
children,
|
|
15
15
|
disabled,
|
|
16
16
|
...props
|
|
17
|
-
}: LoadingButtonProps):
|
|
17
|
+
}: LoadingButtonProps): react_jsx_runtime63.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { LoadingButton };
|
|
20
20
|
//# sourceMappingURL=loading-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loading-button.d.ts","names":[],"sources":["../../ui/loading-button.tsx"],"sourcesContent":[],"mappings":";;;;;UAOU,kBAAA,SAA2B;;;EAA3B,QAAA,EAGE,KAAA,CAAM,SAHW;AAM7B;AACE,iBADc,aAAA,CACd;EAAA,SAAA;EAAA,WAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAKC,kBALD,CAAA,EAKmB,
|
|
1
|
+
{"version":3,"file":"loading-button.d.ts","names":[],"sources":["../../ui/loading-button.tsx"],"sourcesContent":[],"mappings":";;;;;UAOU,kBAAA,SAA2B;;;EAA3B,QAAA,EAGE,KAAA,CAAM,SAHW;AAM7B;AACE,iBADc,aAAA,CACd;EAAA,SAAA;EAAA,WAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAKC,kBALD,CAAA,EAKmB,mBAAA,CAAA,GAAA,CAAA,OALnB"}
|
package/dist/ui/map/MapBase.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime149 from "react/jsx-runtime";
|
|
3
3
|
import { MapRef } from "react-map-gl/maplibre";
|
|
4
4
|
|
|
5
5
|
//#region ui/map/MapBase.d.ts
|
|
@@ -23,7 +23,7 @@ interface MapBaseProps {
|
|
|
23
23
|
onMapRef?: (ref: MapRef | null) => void;
|
|
24
24
|
children?: ReactNode;
|
|
25
25
|
}
|
|
26
|
-
declare function MapBase(props: MapBaseProps):
|
|
26
|
+
declare function MapBase(props: MapBaseProps): react_jsx_runtime149.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { BBox, MapBase, MapBase as default, MapBaseProps };
|
|
29
29
|
//# sourceMappingURL=MapBase.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime177 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/map/MapGeoJsonOverlay.d.ts
|
|
4
4
|
interface GeoJsonOverlayProps {
|
|
@@ -10,7 +10,7 @@ interface GeoJsonOverlayProps {
|
|
|
10
10
|
lineWidth?: number;
|
|
11
11
|
lineOpacity?: number;
|
|
12
12
|
}
|
|
13
|
-
declare function MapGeoJsonOverlay(props: GeoJsonOverlayProps):
|
|
13
|
+
declare function MapGeoJsonOverlay(props: GeoJsonOverlayProps): react_jsx_runtime177.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { GeoJsonOverlayProps, MapGeoJsonOverlay, MapGeoJsonOverlay as default };
|
|
16
16
|
//# sourceMappingURL=MapGeoJsonOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapGeoJsonOverlay.d.ts","names":[],"sources":["../../../ui/map/MapGeoJsonOverlay.tsx"],"sourcesContent":[],"mappings":";;;UAKiB,mBAAA;;QAET,OAAA,CAAQ;EAFC,SAAA,CAAA,EAAA,MAAA;EAUD,WAAA,CAAA,EAAA,MAAiB;;;;;iBAAjB,iBAAA,QAAyB,sBAAmB,
|
|
1
|
+
{"version":3,"file":"MapGeoJsonOverlay.d.ts","names":[],"sources":["../../../ui/map/MapGeoJsonOverlay.tsx"],"sourcesContent":[],"mappings":";;;UAKiB,mBAAA;;QAET,OAAA,CAAQ;EAFC,SAAA,CAAA,EAAA,MAAA;EAUD,WAAA,CAAA,EAAA,MAAiB;;;;;iBAAjB,iBAAA,QAAyB,sBAAmB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime228 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/map/MapHeatmapH3.d.ts
|
|
4
4
|
interface H3FeatureProperties {
|
|
@@ -12,7 +12,7 @@ interface H3HeatmapProps {
|
|
|
12
12
|
colorStops?: [number, string][];
|
|
13
13
|
maxCount?: number;
|
|
14
14
|
}
|
|
15
|
-
declare function MapHeatmapH3(props: H3HeatmapProps):
|
|
15
|
+
declare function MapHeatmapH3(props: H3HeatmapProps): react_jsx_runtime228.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { H3FeatureProperties, H3HeatmapProps, MapHeatmapH3, MapHeatmapH3 as default };
|
|
18
18
|
//# sourceMappingURL=MapHeatmapH3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapHeatmapH3.d.ts","names":[],"sources":["../../../ui/map/MapHeatmapH3.tsx"],"sourcesContent":[],"mappings":";;;UAKiB,mBAAA;;;EAAA,KAAA,EAAA,MAAA;AAMjB;AAGI,UAHa,cAAA,CAGL;EAAU,EAAA,CAAA,EAAQ,MAAA;EAC1B,IAAA,EAFI,OAAA,CAAQ,iBAEZ,CADA,OAAA,CAAQ,OACR,GADkB,OAAA,CAAQ,YAC1B,EAAA,mBAAA,CAAA;EAFI,UAAQ,CAAA,EAAA,CAAA,MAAA,EAAA,MAAA,CAAA,EAAA;EAAiB,QAAA,CAAA,EAAA,MAAA;AAwBjC;iBAAgB,YAAA,QAAoB,iBAAc,
|
|
1
|
+
{"version":3,"file":"MapHeatmapH3.d.ts","names":[],"sources":["../../../ui/map/MapHeatmapH3.tsx"],"sourcesContent":[],"mappings":";;;UAKiB,mBAAA;;;EAAA,KAAA,EAAA,MAAA;AAMjB;AAGI,UAHa,cAAA,CAGL;EAAU,EAAA,CAAA,EAAQ,MAAA;EAC1B,IAAA,EAFI,OAAA,CAAQ,iBAEZ,CADA,OAAA,CAAQ,OACR,GADkB,OAAA,CAAQ,YAC1B,EAAA,mBAAA,CAAA;EAFI,UAAQ,CAAA,EAAA,CAAA,MAAA,EAAA,MAAA,CAAA,EAAA;EAAiB,QAAA,CAAA,EAAA,MAAA;AAwBjC;iBAAgB,YAAA,QAAoB,iBAAc,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime227 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/map/MapMarkers.d.ts
|
|
4
4
|
interface MapPoint {
|
|
@@ -14,7 +14,7 @@ declare function MapMarkers({
|
|
|
14
14
|
points
|
|
15
15
|
}: {
|
|
16
16
|
points: MapPoint[];
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime227.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { MapMarkers, MapMarkers as default, MapPoint };
|
|
20
20
|
//# sourceMappingURL=MapMarkers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapMarkers.d.ts","names":[],"sources":["../../../ui/map/MapMarkers.tsx"],"sourcesContent":[],"mappings":";;;UAKiB,QAAA;;;EAAA,GAAA,EAAA,MAAQ;EAUT,KAAA,CAAA,EAAA,MAAU;EAAG,IAAA,CAAA,EAAA,MAAA;EAAoB,SAAA,CAAA,EAAA,MAAA;EAAY,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;;iBAA7C,UAAA;;;UAAiC;IAAY,
|
|
1
|
+
{"version":3,"file":"MapMarkers.d.ts","names":[],"sources":["../../../ui/map/MapMarkers.tsx"],"sourcesContent":[],"mappings":";;;UAKiB,QAAA;;;EAAA,GAAA,EAAA,MAAQ;EAUT,KAAA,CAAA,EAAA,MAAU;EAAG,IAAA,CAAA,EAAA,MAAA;EAAoB,SAAA,CAAA,EAAA,MAAA;EAAY,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;;iBAA7C,UAAA;;;UAAiC;IAAY,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime245 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/marketing/FeatureGrid.d.ts
|
|
5
5
|
interface FeatureItem {
|
|
@@ -15,7 +15,7 @@ declare function FeatureGrid({
|
|
|
15
15
|
items: FeatureItem[];
|
|
16
16
|
columns?: 2 | 3 | 4;
|
|
17
17
|
className?: string;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime245.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { FeatureGrid, FeatureItem };
|
|
21
21
|
//# sourceMappingURL=FeatureGrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureGrid.d.ts","names":[],"sources":["../../../ui/marketing/FeatureGrid.tsx"],"sourcesContent":[],"mappings":";;;;UAGiB,WAAA;SACR,OAAA,CAAM;gBACC,OAAA,CAAM;EAFL,IAAA,CAAA,EAGR,OAAA,CAAM,SAHa;;AAEZ,iBAIA,WAAA,CAJM;EAAA,KAAA;EAAA,OAAA;EAAA;CAAA,EAAA;EACb,KAAM,EAQN,WARM,EAAA;EAAS,OAAA,CAAA,EAAA,CAAA,GAAA,CAAA,GAAA,CAAA;EAGR,SAAA,CAAA,EAAA,MAAW;CACzB,CAAA,EAOD,
|
|
1
|
+
{"version":3,"file":"FeatureGrid.d.ts","names":[],"sources":["../../../ui/marketing/FeatureGrid.tsx"],"sourcesContent":[],"mappings":";;;;UAGiB,WAAA;SACR,OAAA,CAAM;gBACC,OAAA,CAAM;EAFL,IAAA,CAAA,EAGR,OAAA,CAAM,SAHa;;AAEZ,iBAIA,WAAA,CAJM;EAAA,KAAA;EAAA,OAAA;EAAA;CAAA,EAAA;EACb,KAAM,EAQN,WARM,EAAA;EAAS,OAAA,CAAA,EAAA,CAAA,GAAA,CAAA,GAAA,CAAA;EAGR,SAAA,CAAA,EAAA,MAAW;CACzB,CAAA,EAOD,oBAAA,CAAA,GAAA,CAAA,OAPC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime244 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/marketing/Hero.d.ts
|
|
5
5
|
declare function Hero({
|
|
@@ -22,7 +22,7 @@ declare function Hero({
|
|
|
22
22
|
onClick?: () => void;
|
|
23
23
|
};
|
|
24
24
|
className?: string;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime244.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Hero };
|
|
28
28
|
//# sourceMappingURL=Hero.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hero.d.ts","names":[],"sources":["../../../ui/marketing/Hero.tsx"],"sourcesContent":[],"mappings":";;;;iBAIgB,IAAA;;;;;;;SAOP,OAAA,CAAM;aACF,OAAA,CAAM;EARH,UAAI,CAAA,EAAA;IAClB,KAAA,EAAA,MAAA;IACA,IAAA,CAAA,EAAA,MAAA;IACA,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EACA,CAAA;EACA,YAAA,CAAA,EAAA;IAEO,KAAM,EAAA,MAAA;IACF,IAAM,CAAA,EAAA,MAAA;IAIlB,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EAAA,CAAA;;IAAA,
|
|
1
|
+
{"version":3,"file":"Hero.d.ts","names":[],"sources":["../../../ui/marketing/Hero.tsx"],"sourcesContent":[],"mappings":";;;;iBAIgB,IAAA;;;;;;;SAOP,OAAA,CAAM;aACF,OAAA,CAAM;EARH,UAAI,CAAA,EAAA;IAClB,KAAA,EAAA,MAAA;IACA,IAAA,CAAA,EAAA,MAAA;IACA,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EACA,CAAA;EACA,YAAA,CAAA,EAAA;IAEO,KAAM,EAAA,MAAA;IACF,IAAM,CAAA,EAAA,MAAA;IAIlB,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EAAA,CAAA;;IAAA,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime246 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/marketing/PricingTable.d.ts
|
|
4
4
|
interface PricingTier {
|
|
@@ -19,7 +19,7 @@ declare function PricingTable({
|
|
|
19
19
|
}: {
|
|
20
20
|
tiers: PricingTier[];
|
|
21
21
|
className?: string;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime246.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { PricingTable, PricingTier };
|
|
25
25
|
//# sourceMappingURL=PricingTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PricingTable.d.ts","names":[],"sources":["../../../ui/marketing/PricingTable.tsx"],"sourcesContent":[],"mappings":";;;UAIiB,WAAA;;;EAAA,OAAA,CAAA,EAAA,MAAW;EASZ,QAAA,EAAA,MAAY,EAAA;EAC1B,GAAA,CAAA,EAAA;IACA,KAAA,EAAA,MAAA;IAEO,IAAA,CAAA,EAAA,MAAA;IAER,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EAAA,CAAA;;;iBANe,YAAA;;;;SAIP;;IAER,
|
|
1
|
+
{"version":3,"file":"PricingTable.d.ts","names":[],"sources":["../../../ui/marketing/PricingTable.tsx"],"sourcesContent":[],"mappings":";;;UAIiB,WAAA;;;EAAA,OAAA,CAAA,EAAA,MAAW;EASZ,QAAA,EAAA,MAAY,EAAA;EAC1B,GAAA,CAAA,EAAA;IACA,KAAA,EAAA,MAAA;IAEO,IAAA,CAAA,EAAA,MAAA;IAER,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EAAA,CAAA;;;iBANe,YAAA;;;;SAIP;;IAER,oBAAA,CAAA,GAAA,CAAA"}
|
package/dist/ui/menubar.d.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime76 from "react/jsx-runtime";
|
|
3
3
|
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
4
4
|
|
|
5
5
|
//#region ui/menubar.d.ts
|
|
6
6
|
declare function Menubar({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime76.JSX.Element;
|
|
10
10
|
declare function MenubarMenu({
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.Menu>):
|
|
12
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime76.JSX.Element;
|
|
13
13
|
declare function MenubarGroup({
|
|
14
14
|
...props
|
|
15
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.Group>):
|
|
15
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime76.JSX.Element;
|
|
16
16
|
declare function MenubarPortal({
|
|
17
17
|
...props
|
|
18
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.Portal>):
|
|
18
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime76.JSX.Element;
|
|
19
19
|
declare function MenubarRadioGroup({
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>):
|
|
21
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime76.JSX.Element;
|
|
22
22
|
declare function MenubarTrigger({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>):
|
|
25
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime76.JSX.Element;
|
|
26
26
|
declare function MenubarContent({
|
|
27
27
|
className,
|
|
28
28
|
align,
|
|
29
29
|
alignOffset,
|
|
30
30
|
sideOffset,
|
|
31
31
|
...props
|
|
32
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.Content>):
|
|
32
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime76.JSX.Element;
|
|
33
33
|
declare function MenubarItem({
|
|
34
34
|
className,
|
|
35
35
|
inset,
|
|
@@ -38,36 +38,36 @@ declare function MenubarItem({
|
|
|
38
38
|
}: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
|
|
39
39
|
inset?: boolean;
|
|
40
40
|
variant?: 'default' | 'destructive';
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime76.JSX.Element;
|
|
42
42
|
declare function MenubarCheckboxItem({
|
|
43
43
|
className,
|
|
44
44
|
children,
|
|
45
45
|
checked,
|
|
46
46
|
...props
|
|
47
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>):
|
|
47
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime76.JSX.Element;
|
|
48
48
|
declare function MenubarRadioItem({
|
|
49
49
|
className,
|
|
50
50
|
children,
|
|
51
51
|
...props
|
|
52
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>):
|
|
52
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime76.JSX.Element;
|
|
53
53
|
declare function MenubarLabel({
|
|
54
54
|
className,
|
|
55
55
|
inset,
|
|
56
56
|
...props
|
|
57
57
|
}: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
|
|
58
58
|
inset?: boolean;
|
|
59
|
-
}):
|
|
59
|
+
}): react_jsx_runtime76.JSX.Element;
|
|
60
60
|
declare function MenubarSeparator({
|
|
61
61
|
className,
|
|
62
62
|
...props
|
|
63
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.Separator>):
|
|
63
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime76.JSX.Element;
|
|
64
64
|
declare function MenubarShortcut({
|
|
65
65
|
className,
|
|
66
66
|
...props
|
|
67
|
-
}: React$1.ComponentProps<'span'>):
|
|
67
|
+
}: React$1.ComponentProps<'span'>): react_jsx_runtime76.JSX.Element;
|
|
68
68
|
declare function MenubarSub({
|
|
69
69
|
...props
|
|
70
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.Sub>):
|
|
70
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime76.JSX.Element;
|
|
71
71
|
declare function MenubarSubTrigger({
|
|
72
72
|
className,
|
|
73
73
|
inset,
|
|
@@ -75,11 +75,11 @@ declare function MenubarSubTrigger({
|
|
|
75
75
|
...props
|
|
76
76
|
}: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
|
|
77
77
|
inset?: boolean;
|
|
78
|
-
}):
|
|
78
|
+
}): react_jsx_runtime76.JSX.Element;
|
|
79
79
|
declare function MenubarSubContent({
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>):
|
|
82
|
+
}: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime76.JSX.Element;
|
|
83
83
|
//#endregion
|
|
84
84
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
85
85
|
//# sourceMappingURL=menubar.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime178 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/molecules/Autocomplete/index.d.ts
|
|
4
|
-
declare function ComboBoxResponsive():
|
|
4
|
+
declare function ComboBoxResponsive(): react_jsx_runtime178.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { ComboBoxResponsive };
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime247 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/molecules/SkeletonList.d.ts
|
|
4
4
|
interface Props {
|
|
@@ -10,7 +10,7 @@ declare function SkeletonList({
|
|
|
10
10
|
count,
|
|
11
11
|
className,
|
|
12
12
|
itemClassName
|
|
13
|
-
}: Props):
|
|
13
|
+
}: Props): react_jsx_runtime247.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SkeletonList };
|
|
16
16
|
//# sourceMappingURL=SkeletonList.d.ts.map
|
package/dist/ui/nav-layout.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from "./navigation-menu.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/nav-layout.d.ts
|
|
7
7
|
declare const navPanelVariants: (props?: ({
|
|
8
8
|
width?: "sm" | "lg" | "md" | "full" | null | undefined;
|
|
9
|
-
padding?: "
|
|
10
|
-
} &
|
|
9
|
+
padding?: "none" | "sm" | "md" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
11
11
|
interface NavPanelProps extends React$1.ComponentPropsWithoutRef<'div'> {
|
|
12
12
|
width?: 'sm' | 'md' | 'lg' | 'full';
|
|
13
13
|
padding?: 'none' | 'sm' | 'md';
|
|
@@ -17,7 +17,7 @@ declare function NavPanel({
|
|
|
17
17
|
padding,
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: NavPanelProps):
|
|
20
|
+
}: NavPanelProps): react_jsx_runtime158.JSX.Element;
|
|
21
21
|
declare function NavSimpleList({
|
|
22
22
|
title,
|
|
23
23
|
items
|
|
@@ -28,7 +28,7 @@ declare function NavSimpleList({
|
|
|
28
28
|
label: string;
|
|
29
29
|
description?: string;
|
|
30
30
|
}[];
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime158.JSX.Element;
|
|
32
32
|
declare function NavColumns({
|
|
33
33
|
columns
|
|
34
34
|
}: {
|
|
@@ -40,7 +40,7 @@ declare function NavColumns({
|
|
|
40
40
|
description?: string;
|
|
41
41
|
}[];
|
|
42
42
|
}[];
|
|
43
|
-
}):
|
|
43
|
+
}): react_jsx_runtime158.JSX.Element;
|
|
44
44
|
declare function NavCategorizedWithPreview({
|
|
45
45
|
categories,
|
|
46
46
|
modules,
|
|
@@ -65,7 +65,7 @@ declare function NavCategorizedWithPreview({
|
|
|
65
65
|
activeKey: string | null;
|
|
66
66
|
setActiveKey: (k: string | null) => void;
|
|
67
67
|
preview: React$1.ReactNode;
|
|
68
|
-
}):
|
|
68
|
+
}): react_jsx_runtime158.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { NavCategorizedWithPreview, NavColumns, NavigationMenuContent as NavContent, NavigationMenuItem as NavItem, NavigationMenuLink as NavLink, NavigationMenuList as NavList, NavPanel, NavPanelProps, NavigationMenu as NavRoot, NavSimpleList, NavigationMenuTrigger as NavTrigger, navPanelVariants };
|
|
71
71
|
//# sourceMappingURL=nav-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nav-layout.d.ts","names":[],"sources":["../../ui/nav-layout.tsx"],"sourcesContent":[],"mappings":";;;;;;cAYa;;;IAkBX
|
|
1
|
+
{"version":3,"file":"nav-layout.d.ts","names":[],"sources":["../../ui/nav-layout.tsx"],"sourcesContent":[],"mappings":";;;;;;cAYa;;;IAkBX,gCAAA,CAAA;AAlBW,UAoBI,aAAA,SAAsB,OAAA,CAAM,wBAF3C,CAAA,KAAA,CAAA,CAAA;EAEe,KAAA,CAAA,EAAA,IAAA,GAAA,IAAc,GAAA,IAAA,GAAQ,MAAA;EAKvB,OAAA,CAAA,EAAA,MAAQ,GAAA,IAAA,GAAA,IAAA;;AAEtB,iBAFc,QAAA,CAEd;EAAA,KAAA;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAGC,aAHD,CAAA,EAGc,oBAAA,CAAA,GAAA,CAAA,OAHd;AACA,iBAYc,aAAA,CAZd;EAAA,KAAA;EAAA;CAAA,EAAA;EAEC,KAAA,CAAA,EAcO,OAAA,CAAM,SAdb;EAAa,KAAA,EAAA;IAAA,IAAA,EAAA,MAAA;IAUA,KAAA,EAAA,MAAa;IAC3B,WAAA,CAAA,EAAA,MAAA;EACA,CAAA,EAAA;CAEQ,CAAA,EAET,oBAAA,CAAA,GAAA,CAAA,OAFe;AAEf,iBA4Be,UAAA,CA5Bf;EAAA;CAAA,EAAA;EAAA,OAAA,EAAA;IA4Be,KAAA,CAAA,EAAA,MAAU;IA2CV,KAAA,EAAA;MACd,IAAA,EAAA,MAAA;MACA,KAAA,EAAA,MAAA;MACA,WAAA,CAAA,EAAA,MAAA;IACA,CAAA,EAAA;EACA,CAAA,EAAA;CACA,CAAA,EA1CD,oBAAA,CAAA,GAAA,CAAA,OA0CC;AACA,iBAPc,yBAAA,CAOd;EAAA,UAAA;EAAA,OAAA;EAAA,cAAA;EAAA,iBAAA;EAAA,SAAA;EAAA,YAAA;EAAA;CAAA,EAAA;EAaS,UAAM,EAAA;IAChB,GAAA,EAAA,MAAA;IAAA,KAAA,EAAA,MAAA;;;;;;;;;;;;WADU,OAAA,CAAM;IAChB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime150 from "react/jsx-runtime";
|
|
3
3
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types10 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/navigation-menu.d.ts
|
|
7
7
|
declare function NavigationMenu({
|
|
@@ -11,37 +11,37 @@ declare function NavigationMenu({
|
|
|
11
11
|
...props
|
|
12
12
|
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
13
13
|
viewport?: boolean;
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime150.JSX.Element;
|
|
15
15
|
declare function NavigationMenuList({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>):
|
|
18
|
+
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime150.JSX.Element;
|
|
19
19
|
declare function NavigationMenuItem({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>):
|
|
23
|
-
declare const navigationMenuTriggerStyle: (props?:
|
|
22
|
+
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime150.JSX.Element;
|
|
23
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types10.ClassProp | undefined) => string;
|
|
24
24
|
declare function NavigationMenuTrigger({
|
|
25
25
|
className,
|
|
26
26
|
children,
|
|
27
27
|
...props
|
|
28
|
-
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>):
|
|
28
|
+
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime150.JSX.Element;
|
|
29
29
|
declare function NavigationMenuContent({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>):
|
|
32
|
+
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime150.JSX.Element;
|
|
33
33
|
declare function NavigationMenuViewport({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>):
|
|
36
|
+
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime150.JSX.Element;
|
|
37
37
|
declare function NavigationMenuLink({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>):
|
|
40
|
+
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime150.JSX.Element;
|
|
41
41
|
declare function NavigationMenuIndicator({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>):
|
|
44
|
+
}: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime150.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
47
47
|
//# sourceMappingURL=navigation-menu.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime248 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/organisms/ErrorBoundary/ErrorBoundary.d.ts
|
|
5
5
|
interface ErrorBoundaryState {
|
|
@@ -22,7 +22,7 @@ declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBou
|
|
|
22
22
|
static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState>;
|
|
23
23
|
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
24
24
|
resetError: () => void;
|
|
25
|
-
render(): string | number | bigint | boolean |
|
|
25
|
+
render(): string | number | bigint | boolean | react_jsx_runtime248.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
|
|
26
26
|
}
|
|
27
27
|
declare const useErrorHandler: () => (error: Error) => never;
|
|
28
28
|
//#endregion
|
|
@@ -8,7 +8,6 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
|
|
9
9
|
//#region ui/organisms/ErrorBoundary/ErrorBoundary.tsx
|
|
10
10
|
const DefaultErrorFallback = ({ error, errorId, resetError }) => {
|
|
11
|
-
const isDevelopment = process.env.NODE_ENV === "development";
|
|
12
11
|
return /* @__PURE__ */ jsx("div", {
|
|
13
12
|
className: "flex min-h-screen items-center justify-center bg-gray-50 px-4",
|
|
14
13
|
children: /* @__PURE__ */ jsxs("div", {
|
|
@@ -26,7 +25,7 @@ const DefaultErrorFallback = ({ error, errorId, resetError }) => {
|
|
|
26
25
|
className: "mb-6 text-gray-600",
|
|
27
26
|
children: "Nous nous excusons pour ce désagrément. Notre équipe a été notifiée et travaille à résoudre le problème."
|
|
28
27
|
}),
|
|
29
|
-
|
|
28
|
+
/* @__PURE__ */ jsxs("div", {
|
|
30
29
|
className: "mb-6 rounded-md bg-red-50 p-4 text-left",
|
|
31
30
|
children: [
|
|
32
31
|
/* @__PURE__ */ jsx("p", {
|
|
@@ -56,10 +55,7 @@ const DefaultErrorFallback = ({ error, errorId, resetError }) => {
|
|
|
56
55
|
children: [/* @__PURE__ */ jsx(Home, { className: "h-4 w-4" }), "Accueil"]
|
|
57
56
|
})]
|
|
58
57
|
}),
|
|
59
|
-
|
|
60
|
-
className: "mt-4 text-sm text-gray-500",
|
|
61
|
-
children: ["Code d'erreur: ", errorId]
|
|
62
|
-
})
|
|
58
|
+
false
|
|
63
59
|
]
|
|
64
60
|
})
|
|
65
61
|
});
|
|
@@ -83,7 +79,7 @@ var ErrorBoundary = class extends React.Component {
|
|
|
83
79
|
const errorId = `err_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
|
|
84
80
|
this.setState({ errorId });
|
|
85
81
|
this.props.onError?.(error, errorInfo);
|
|
86
|
-
|
|
82
|
+
console.error("ErrorBoundary caught an error:", error, errorInfo);
|
|
87
83
|
}
|
|
88
84
|
resetError = () => {
|
|
89
85
|
this.setState({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.js","names":["DefaultErrorFallback: React.FC<ErrorFallbackProps>"],"sources":["../../../../ui/organisms/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["'use client';\n\nimport React from 'react';\n// import * as Sentry from '@sentry/nextjs';\nimport { AlertTriangle, RefreshCw, Home } from 'lucide-react';\nimport { Button } from '../../button';\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n errorId: string | null;\n}\n\ninterface ErrorBoundaryProps {\n children: React.ReactNode;\n fallback?: React.ComponentType<ErrorFallbackProps>;\n onError?: (error: Error, errorInfo: React.ErrorInfo) => void;\n}\n\ninterface ErrorFallbackProps {\n error: Error;\n errorId: string | null;\n resetError: () => void;\n}\n\nconst DefaultErrorFallback: React.FC<ErrorFallbackProps> = ({\n error,\n errorId,\n resetError,\n}) => {\n const isDevelopment = process.env.NODE_ENV === 'development';\n\n return (\n <div className=\"flex min-h-screen items-center justify-center bg-gray-50 px-4\">\n <div className=\"w-full max-w-md rounded-lg bg-white p-6 text-center shadow-lg\">\n <div className=\"mb-4 flex justify-center\">\n <AlertTriangle className=\"h-12 w-12 text-red-500\" />\n </div>\n\n <h1 className=\"mb-2 text-2xl font-semibold text-gray-900\">\n Une erreur s'est produite\n </h1>\n\n <p className=\"mb-6 text-gray-600\">\n Nous nous excusons pour ce désagrément. Notre équipe a été notifiée et\n travaille à résoudre le problème.\n </p>\n\n {isDevelopment && (\n <div className=\"mb-6 rounded-md bg-red-50 p-4 text-left\">\n <p className=\"mb-2 text-base font-medium text-red-800\">\n Erreur de développement:\n </p>\n <p className=\"font-mono text-sm break-all text-red-700\">\n {error.message}\n </p>\n {errorId && (\n <p className=\"mt-2 text-sm text-red-600\">ID: {errorId}</p>\n )}\n </div>\n )}\n\n <div className=\"flex flex-col justify-center gap-3 sm:flex-row\">\n <Button onClick={resetError} className=\"flex items-center gap-2\">\n <RefreshCw className=\"h-4 w-4\" />\n Réessayer\n </Button>\n\n <Button\n onClick={() => (window.location.href = '/')}\n variant=\"secondary\"\n className=\"flex items-center gap-2\"\n >\n <Home className=\"h-4 w-4\" />\n Accueil\n </Button>\n </div>\n\n {!isDevelopment && errorId && (\n <p className=\"mt-4 text-sm text-gray-500\">Code d'erreur: {errorId}</p>\n )}\n </div>\n </div>\n );\n};\n\nexport class ErrorBoundary extends React.Component<\n ErrorBoundaryProps,\n ErrorBoundaryState\n> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = {\n hasError: false,\n error: null,\n errorId: null,\n };\n }\n\n static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState> {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, errorInfo: React.ErrorInfo) {\n // Generate unique error ID\n const errorId = `err_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;\n\n // Log to Sentry with additional context\n // Sentry.withScope((scope) => {\n // scope.setTag('errorBoundary', true);\n // scope.setContext('errorInfo', { ...errorInfo });\n // scope.setContext('errorId', { errorId });\n // Sentry.captureException(error);\n // });\n\n // Update state with error ID\n this.setState({ errorId });\n\n // Call custom error handler if provided\n this.props.onError?.(error, errorInfo);\n\n // Log to console in development\n if (process.env.NODE_ENV === 'development') {\n console.error('ErrorBoundary caught an error:', error, errorInfo);\n }\n }\n\n resetError = () => {\n this.setState({\n hasError: false,\n error: null,\n errorId: null,\n });\n };\n\n render() {\n if (this.state.hasError && this.state.error) {\n const FallbackComponent = this.props.fallback || DefaultErrorFallback;\n\n return (\n <FallbackComponent\n error={this.state.error}\n errorId={this.state.errorId}\n resetError={this.resetError}\n />\n );\n }\n\n return this.props.children;\n }\n}\n\n// Hook for functional components to trigger error boundary\nexport const useErrorHandler = () => {\n return React.useCallback((error: Error) => {\n // This will be caught by the nearest error boundary\n throw error;\n }, []);\n};\n\nexport type { ErrorBoundaryProps, ErrorFallbackProps };\n"],"mappings":";;;;;;;;;AAyBA,MAAMA,wBAAsD,EAC1D,OACA,SACA,iBACI;
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.js","names":["DefaultErrorFallback: React.FC<ErrorFallbackProps>"],"sources":["../../../../ui/organisms/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["'use client';\n\nimport React from 'react';\n// import * as Sentry from '@sentry/nextjs';\nimport { AlertTriangle, RefreshCw, Home } from 'lucide-react';\nimport { Button } from '../../button';\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n errorId: string | null;\n}\n\ninterface ErrorBoundaryProps {\n children: React.ReactNode;\n fallback?: React.ComponentType<ErrorFallbackProps>;\n onError?: (error: Error, errorInfo: React.ErrorInfo) => void;\n}\n\ninterface ErrorFallbackProps {\n error: Error;\n errorId: string | null;\n resetError: () => void;\n}\n\nconst DefaultErrorFallback: React.FC<ErrorFallbackProps> = ({\n error,\n errorId,\n resetError,\n}) => {\n const isDevelopment = process.env.NODE_ENV === 'development';\n\n return (\n <div className=\"flex min-h-screen items-center justify-center bg-gray-50 px-4\">\n <div className=\"w-full max-w-md rounded-lg bg-white p-6 text-center shadow-lg\">\n <div className=\"mb-4 flex justify-center\">\n <AlertTriangle className=\"h-12 w-12 text-red-500\" />\n </div>\n\n <h1 className=\"mb-2 text-2xl font-semibold text-gray-900\">\n Une erreur s'est produite\n </h1>\n\n <p className=\"mb-6 text-gray-600\">\n Nous nous excusons pour ce désagrément. Notre équipe a été notifiée et\n travaille à résoudre le problème.\n </p>\n\n {isDevelopment && (\n <div className=\"mb-6 rounded-md bg-red-50 p-4 text-left\">\n <p className=\"mb-2 text-base font-medium text-red-800\">\n Erreur de développement:\n </p>\n <p className=\"font-mono text-sm break-all text-red-700\">\n {error.message}\n </p>\n {errorId && (\n <p className=\"mt-2 text-sm text-red-600\">ID: {errorId}</p>\n )}\n </div>\n )}\n\n <div className=\"flex flex-col justify-center gap-3 sm:flex-row\">\n <Button onClick={resetError} className=\"flex items-center gap-2\">\n <RefreshCw className=\"h-4 w-4\" />\n Réessayer\n </Button>\n\n <Button\n onClick={() => (window.location.href = '/')}\n variant=\"secondary\"\n className=\"flex items-center gap-2\"\n >\n <Home className=\"h-4 w-4\" />\n Accueil\n </Button>\n </div>\n\n {!isDevelopment && errorId && (\n <p className=\"mt-4 text-sm text-gray-500\">Code d'erreur: {errorId}</p>\n )}\n </div>\n </div>\n );\n};\n\nexport class ErrorBoundary extends React.Component<\n ErrorBoundaryProps,\n ErrorBoundaryState\n> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = {\n hasError: false,\n error: null,\n errorId: null,\n };\n }\n\n static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState> {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, errorInfo: React.ErrorInfo) {\n // Generate unique error ID\n const errorId = `err_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;\n\n // Log to Sentry with additional context\n // Sentry.withScope((scope) => {\n // scope.setTag('errorBoundary', true);\n // scope.setContext('errorInfo', { ...errorInfo });\n // scope.setContext('errorId', { errorId });\n // Sentry.captureException(error);\n // });\n\n // Update state with error ID\n this.setState({ errorId });\n\n // Call custom error handler if provided\n this.props.onError?.(error, errorInfo);\n\n // Log to console in development\n if (process.env.NODE_ENV === 'development') {\n console.error('ErrorBoundary caught an error:', error, errorInfo);\n }\n }\n\n resetError = () => {\n this.setState({\n hasError: false,\n error: null,\n errorId: null,\n });\n };\n\n render() {\n if (this.state.hasError && this.state.error) {\n const FallbackComponent = this.props.fallback || DefaultErrorFallback;\n\n return (\n <FallbackComponent\n error={this.state.error}\n errorId={this.state.errorId}\n resetError={this.resetError}\n />\n );\n }\n\n return this.props.children;\n }\n}\n\n// Hook for functional components to trigger error boundary\nexport const useErrorHandler = () => {\n return React.useCallback((error: Error) => {\n // This will be caught by the nearest error boundary\n throw error;\n }, []);\n};\n\nexport type { ErrorBoundaryProps, ErrorFallbackProps };\n"],"mappings":";;;;;;;;;AAyBA,MAAMA,wBAAsD,EAC1D,OACA,SACA,iBACI;AAGJ,QACE,oBAAC;EAAI,WAAU;YACb,qBAAC;GAAI,WAAU;;IACb,oBAAC;KAAI,WAAU;eACb,oBAAC,iBAAc,WAAU,2BAA2B;MAChD;IAEN,oBAAC;KAAG,WAAU;eAA4C;MAErD;IAEL,oBAAC;KAAE,WAAU;eAAqB;MAG9B;IAGF,qBAAC;KAAI,WAAU;;MACb,oBAAC;OAAE,WAAU;iBAA0C;QAEnD;MACJ,oBAAC;OAAE,WAAU;iBACV,MAAM;QACL;MACH,WACC,qBAAC;OAAE,WAAU;kBAA4B,QAAK;QAAY;;MAExD;IAGR,qBAAC;KAAI,WAAU;gBACb,qBAAC;MAAO,SAAS;MAAY,WAAU;iBACrC,oBAAC,aAAU,WAAU,YAAY;OAE1B,EAET,qBAAC;MACC,eAAgB,OAAO,SAAS,OAAO;MACvC,SAAQ;MACR,WAAU;iBAEV,oBAAC,QAAK,WAAU,YAAY;OAErB;MACL;IAEL;;IAGG;GACF;;AAIV,IAAa,gBAAb,cAAmC,MAAM,UAGvC;CACA,YAAY,OAA2B;AACrC,QAAM,MAAM;AACZ,OAAK,QAAQ;GACX,UAAU;GACV,OAAO;GACP,SAAS;GACV;;CAGH,OAAO,yBAAyB,OAA2C;AACzE,SAAO;GACL,UAAU;GACV;GACD;;CAGH,kBAAkB,OAAc,WAA4B;EAE1D,MAAM,UAAU,OAAO,KAAK,KAAK,CAAC,GAAG,KAAK,QAAQ,CAAC,SAAS,GAAG,CAAC,OAAO,GAAG,EAAE;AAW5E,OAAK,SAAS,EAAE,SAAS,CAAC;AAG1B,OAAK,MAAM,UAAU,OAAO,UAAU;AAIpC,UAAQ,MAAM,kCAAkC,OAAO,UAAU;;CAIrE,mBAAmB;AACjB,OAAK,SAAS;GACZ,UAAU;GACV,OAAO;GACP,SAAS;GACV,CAAC;;CAGJ,SAAS;AACP,MAAI,KAAK,MAAM,YAAY,KAAK,MAAM,MAGpC,QACE,oBAHwB,KAAK,MAAM,YAAY;GAI7C,OAAO,KAAK,MAAM;GAClB,SAAS,KAAK,MAAM;GACpB,YAAY,KAAK;IACjB;AAIN,SAAO,KAAK,MAAM;;;AAKtB,MAAa,wBAAwB;AACnC,QAAO,MAAM,aAAa,UAAiB;AAEzC,QAAM;IACL,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ListPageProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime250 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/organisms/ListPage/ListPage.d.ts
|
|
5
5
|
declare function ListPage<T>({
|
|
@@ -23,7 +23,7 @@ declare function ListPage<T>({
|
|
|
23
23
|
renderStats,
|
|
24
24
|
className,
|
|
25
25
|
itemClassName
|
|
26
|
-
}: ListPageProps<T>):
|
|
26
|
+
}: ListPageProps<T>): react_jsx_runtime250.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ListPage };
|
|
29
29
|
//# sourceMappingURL=ListPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/ui/page-header.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime143 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types9 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/page-header.d.ts
|
|
7
7
|
declare const headerVariants: (props?: ({
|
|
8
8
|
spacing?: "sm" | "lg" | "md" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types9.ClassProp) | undefined) => string;
|
|
10
10
|
interface PageHeaderProps extends VariantProps<typeof headerVariants> {
|
|
11
11
|
breadcrumb?: React$1.ReactNode;
|
|
12
12
|
title: React$1.ReactNode;
|
|
@@ -21,7 +21,7 @@ declare function PageHeader({
|
|
|
21
21
|
actions,
|
|
22
22
|
spacing,
|
|
23
23
|
className
|
|
24
|
-
}: PageHeaderProps):
|
|
24
|
+
}: PageHeaderProps): react_jsx_runtime143.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { PageHeader, PageHeaderProps };
|
|
27
27
|
//# sourceMappingURL=page-header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-header.d.ts","names":[],"sources":["../../ui/page-header.tsx"],"sourcesContent":[],"mappings":";;;;;;cAKM;;IAWJ,
|
|
1
|
+
{"version":3,"file":"page-header.d.ts","names":[],"sources":["../../ui/page-header.tsx"],"sourcesContent":[],"mappings":";;;;;;cAKM;;IAWJ,+BAAA,CAAA;UAEe,eAAA,SAAwB,oBAAoB;EAbvD,UAAA,CAAA,EAcS,OAAA,CAAM,SAHnB;EAEe,KAAA,EAER,OAAA,CAAM,SAFkB;EAA4B,QAAA,CAAA,EAGhD,OAAA,CAAM,SAH0C;EAC9C,OAAM,CAAA,EAGT,OAAA,CAAM,SAHG;EACZ,SAAM,CAAA,EAAA,MAAA;;AAEH,iBAII,UAAA,CAJE;EAAA,UAAA;EAAA,KAAA;EAAA,QAAA;EAAA,OAAA;EAAA,OAAA;EAAA;AAAA,CAAA,EAWf,eAXe,CAAA,EAWA,oBAAA,CAAA,GAAA,CAAA,OAXA"}
|