@resq-sw/ui 0.2.1 → 0.2.3
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 +165 -45
- package/lib/components/accordion/accordion.d.ts +0 -1
- package/lib/components/accordion/accordion.d.ts.map +1 -1
- package/lib/components/alert/alert.d.ts +5 -6
- package/lib/components/alert/alert.d.ts.map +1 -1
- package/lib/components/alert-dialog/alert-dialog.d.ts +13 -13
- package/lib/components/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/lib/components/aspect-ratio/aspect-ratio.d.ts +2 -3
- package/lib/components/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/lib/components/avatar/avatar.d.ts +7 -8
- package/lib/components/avatar/avatar.d.ts.map +1 -1
- package/lib/components/badge/badge.d.ts +2 -3
- package/lib/components/badge/badge.d.ts.map +1 -1
- package/lib/components/breadcrumb/breadcrumb.d.ts +8 -9
- package/lib/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/lib/components/button/button.d.ts +4 -5
- package/lib/components/button/button.d.ts.map +1 -1
- package/lib/components/button-group/button-group.d.ts +7 -8
- package/lib/components/button-group/button-group.d.ts.map +1 -1
- package/lib/components/calendar/calendar.d.ts +3 -4
- package/lib/components/calendar/calendar.d.ts.map +1 -1
- package/lib/components/card/card.d.ts +8 -9
- package/lib/components/card/card.d.ts.map +1 -1
- package/lib/components/carousel/carousel.d.ts +6 -7
- package/lib/components/carousel/carousel.d.ts.map +1 -1
- package/lib/components/chart/chart.d.ts +5 -6
- package/lib/components/chart/chart.d.ts.map +1 -1
- package/lib/components/checkbox/checkbox.d.ts +2 -3
- package/lib/components/checkbox/checkbox.d.ts.map +1 -1
- package/lib/components/collapsible/collapsible.d.ts +4 -5
- package/lib/components/collapsible/collapsible.d.ts.map +1 -1
- package/lib/components/combobox/combobox.d.ts +15 -16
- package/lib/components/combobox/combobox.d.ts.map +1 -1
- package/lib/components/command/command.d.ts +10 -11
- package/lib/components/command/command.d.ts.map +1 -1
- package/lib/components/context-menu/context-menu.d.ts +16 -17
- package/lib/components/context-menu/context-menu.d.ts.map +1 -1
- package/lib/components/dialog/dialog.d.ts +11 -11
- package/lib/components/dialog/dialog.d.ts.map +1 -1
- package/lib/components/direction/direction.d.ts +2 -3
- package/lib/components/direction/direction.d.ts.map +1 -1
- package/lib/components/drawer/drawer.d.ts +11 -12
- package/lib/components/drawer/drawer.d.ts.map +1 -1
- package/lib/components/dropdown-menu/dropdown-menu.d.ts +16 -17
- package/lib/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/lib/components/empty/empty.d.ts +9 -10
- package/lib/components/empty/empty.d.ts.map +1 -1
- package/lib/components/field/field.d.ts +14 -15
- package/lib/components/field/field.d.ts.map +1 -1
- package/lib/components/hover-card/hover-card.d.ts +4 -5
- package/lib/components/hover-card/hover-card.d.ts.map +1 -1
- package/lib/components/input/input.d.ts +2 -3
- package/lib/components/input/input.d.ts.map +1 -1
- package/lib/components/input-group/input-group.d.ts +10 -11
- package/lib/components/input-group/input-group.d.ts.map +1 -1
- package/lib/components/input-otp/input-otp.d.ts +5 -6
- package/lib/components/input-otp/input-otp.d.ts.map +1 -1
- package/lib/components/item/item.d.ts +14 -15
- package/lib/components/item/item.d.ts.map +1 -1
- package/lib/components/kbd/kbd.d.ts +3 -4
- package/lib/components/kbd/kbd.d.ts.map +1 -1
- package/lib/components/label/label.d.ts +2 -3
- package/lib/components/label/label.d.ts.map +1 -1
- package/lib/components/menubar/menubar.d.ts +17 -18
- package/lib/components/menubar/menubar.d.ts.map +1 -1
- package/lib/components/native-select/native-select.d.ts +4 -5
- package/lib/components/native-select/native-select.d.ts.map +1 -1
- package/lib/components/navigation-menu/navigation-menu.d.ts +11 -12
- package/lib/components/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/lib/components/pagination/pagination.d.ts +8 -9
- package/lib/components/pagination/pagination.d.ts.map +1 -1
- package/lib/components/picture/index.d.ts +3 -0
- package/lib/components/picture/index.js +2 -0
- package/lib/components/picture/picture.d.ts +86 -0
- package/lib/components/picture/picture.d.ts.map +1 -0
- package/lib/components/picture/picture.js +139 -0
- package/lib/components/picture/picture.js.map +1 -0
- package/lib/components/picture/types.d.ts +21 -0
- package/lib/components/picture/types.d.ts.map +1 -0
- package/lib/components/picture/types.js +0 -0
- package/lib/components/popover/popover.d.ts +8 -9
- package/lib/components/popover/popover.d.ts.map +1 -1
- package/lib/components/progress/progress.d.ts +2 -3
- package/lib/components/progress/progress.d.ts.map +1 -1
- package/lib/components/radio-group/radio-group.d.ts +3 -4
- package/lib/components/radio-group/radio-group.d.ts.map +1 -1
- package/lib/components/resizable/resizable.d.ts +4 -5
- package/lib/components/resizable/resizable.d.ts.map +1 -1
- package/lib/components/scroll-area/scroll-area.d.ts +3 -4
- package/lib/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/lib/components/select/select.d.ts +11 -12
- package/lib/components/select/select.d.ts.map +1 -1
- package/lib/components/separator/separator.d.ts +2 -3
- package/lib/components/separator/separator.d.ts.map +1 -1
- package/lib/components/sheet/sheet.d.ts +9 -10
- package/lib/components/sheet/sheet.d.ts.map +1 -1
- package/lib/components/sidebar/sidebar.d.ts +26 -27
- package/lib/components/sidebar/sidebar.d.ts.map +1 -1
- package/lib/components/skeleton/skeleton.d.ts +2 -3
- package/lib/components/skeleton/skeleton.d.ts.map +1 -1
- package/lib/components/slider/slider.d.ts +2 -3
- package/lib/components/slider/slider.d.ts.map +1 -1
- package/lib/components/sonner/sonner.d.ts +2 -3
- package/lib/components/sonner/sonner.d.ts.map +1 -1
- package/lib/components/spinner/spinner.d.ts +2 -3
- package/lib/components/spinner/spinner.d.ts.map +1 -1
- package/lib/components/switch/switch.d.ts +2 -3
- package/lib/components/switch/switch.d.ts.map +1 -1
- package/lib/components/table/table.d.ts +9 -10
- package/lib/components/table/table.d.ts.map +1 -1
- package/lib/components/tabs/tabs.d.ts +7 -8
- package/lib/components/tabs/tabs.d.ts.map +1 -1
- package/lib/components/textarea/textarea.d.ts +2 -3
- package/lib/components/textarea/textarea.d.ts.map +1 -1
- package/lib/components/toggle/toggle.d.ts +4 -5
- package/lib/components/toggle/toggle.d.ts.map +1 -1
- package/lib/components/toggle-group/toggle-group.d.ts +3 -4
- package/lib/components/toggle-group/toggle-group.d.ts.map +1 -1
- package/lib/components/tooltip/tooltip.d.ts +5 -6
- package/lib/components/tooltip/tooltip.d.ts.map +1 -1
- package/lib/hooks/use-mobile.d.ts.map +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.js +3 -1
- package/lib/lib/utils.d.ts.map +1 -1
- package/package.json +400 -393
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils.js";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { useCallback, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
5
|
+
//#region src/components/picture/picture.tsx
|
|
6
|
+
/**
|
|
7
|
+
* Copyright 2025 GDG on Campus Farmingdale State College
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
20
|
+
*/
|
|
21
|
+
function useEventCallback(fn) {
|
|
22
|
+
const ref = useRef(() => {
|
|
23
|
+
throw new Error("Cannot call an event callback during rendering.");
|
|
24
|
+
});
|
|
25
|
+
useLayoutEffect(() => {
|
|
26
|
+
ref.current = fn;
|
|
27
|
+
});
|
|
28
|
+
return useCallback((...args) => ref.current(...args), []);
|
|
29
|
+
}
|
|
30
|
+
const defaultRootElement = "img";
|
|
31
|
+
const pictureVariants = cva("", {
|
|
32
|
+
variants: {
|
|
33
|
+
variant: {
|
|
34
|
+
responsive: "w-full h-auto object-contain",
|
|
35
|
+
fixed: "w-auto h-auto object-none",
|
|
36
|
+
cover: "w-full h-full object-cover",
|
|
37
|
+
contain: "w-full h-full object-contain",
|
|
38
|
+
thumbnail: "w-24 h-24 rounded-lg object-cover",
|
|
39
|
+
avatar: "w-12 h-12 rounded-full object-cover",
|
|
40
|
+
hero: "w-full h-[60vh] object-cover",
|
|
41
|
+
card: "w-full h-48 rounded-lg object-cover"
|
|
42
|
+
},
|
|
43
|
+
isLoading: {
|
|
44
|
+
true: "animate-pulse bg-muted",
|
|
45
|
+
false: ""
|
|
46
|
+
},
|
|
47
|
+
rounded: {
|
|
48
|
+
none: "rounded-none",
|
|
49
|
+
sm: "rounded-sm",
|
|
50
|
+
md: "rounded-md",
|
|
51
|
+
lg: "rounded-lg",
|
|
52
|
+
xl: "rounded-xl",
|
|
53
|
+
full: "rounded-full"
|
|
54
|
+
},
|
|
55
|
+
shadow: {
|
|
56
|
+
none: "shadow-none",
|
|
57
|
+
sm: "shadow-sm",
|
|
58
|
+
md: "shadow-md",
|
|
59
|
+
lg: "shadow-lg",
|
|
60
|
+
xl: "shadow-xl"
|
|
61
|
+
},
|
|
62
|
+
transition: {
|
|
63
|
+
none: "",
|
|
64
|
+
hover: "transition-transform duration-200 hover:scale-105",
|
|
65
|
+
zoom: "transition-all duration-300 hover:scale-110",
|
|
66
|
+
fade: "transition-opacity duration-200 hover:opacity-80"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
defaultVariants: {
|
|
70
|
+
variant: "responsive",
|
|
71
|
+
isLoading: false,
|
|
72
|
+
rounded: "none",
|
|
73
|
+
shadow: "none",
|
|
74
|
+
transition: "none"
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
const PictureInternal = ({ component: Component = defaultRootElement, variant, src, alt = "", loading = "lazy", sizes, srcSet, source, picture, rounded, shadow, transition, className, onLoad, onError, ...rest }) => {
|
|
78
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
79
|
+
const handleLoad = useEventCallback((e) => {
|
|
80
|
+
onLoad?.(e);
|
|
81
|
+
if (e.defaultPrevented) return;
|
|
82
|
+
setIsLoading(false);
|
|
83
|
+
});
|
|
84
|
+
const handleError = useEventCallback((e) => {
|
|
85
|
+
onError?.(e);
|
|
86
|
+
if (e.defaultPrevented) return;
|
|
87
|
+
setIsLoading(false);
|
|
88
|
+
console.warn("Image failed to load:", src);
|
|
89
|
+
});
|
|
90
|
+
const defaultProps = useMemo(() => ({
|
|
91
|
+
onLoad: handleLoad,
|
|
92
|
+
onError: handleError,
|
|
93
|
+
loading,
|
|
94
|
+
alt
|
|
95
|
+
}), [
|
|
96
|
+
loading,
|
|
97
|
+
alt,
|
|
98
|
+
handleLoad,
|
|
99
|
+
handleError
|
|
100
|
+
]);
|
|
101
|
+
const imgClassName = useMemo(() => cn(pictureVariants({
|
|
102
|
+
variant,
|
|
103
|
+
isLoading,
|
|
104
|
+
rounded,
|
|
105
|
+
shadow,
|
|
106
|
+
transition,
|
|
107
|
+
className
|
|
108
|
+
})), [
|
|
109
|
+
className,
|
|
110
|
+
variant,
|
|
111
|
+
isLoading,
|
|
112
|
+
rounded,
|
|
113
|
+
shadow,
|
|
114
|
+
transition
|
|
115
|
+
]);
|
|
116
|
+
const imgProps = {
|
|
117
|
+
...defaultProps,
|
|
118
|
+
...rest,
|
|
119
|
+
src,
|
|
120
|
+
srcSet,
|
|
121
|
+
sizes,
|
|
122
|
+
className: imgClassName,
|
|
123
|
+
"aria-busy": isLoading,
|
|
124
|
+
"aria-label": alt
|
|
125
|
+
};
|
|
126
|
+
return /* @__PURE__ */ jsxs("picture", {
|
|
127
|
+
className: cn("block", picture?.className),
|
|
128
|
+
children: [source && /* @__PURE__ */ jsx("source", {
|
|
129
|
+
srcSet: source.srcSet,
|
|
130
|
+
sizes: source.sizes,
|
|
131
|
+
media: source.media
|
|
132
|
+
}), /* @__PURE__ */ jsx(Component, { ...imgProps })]
|
|
133
|
+
});
|
|
134
|
+
};
|
|
135
|
+
const Picture = PictureInternal;
|
|
136
|
+
//#endregion
|
|
137
|
+
export { Picture, PictureInternal };
|
|
138
|
+
|
|
139
|
+
//# sourceMappingURL=picture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picture.js","names":[],"sources":["../../../src/components/picture/picture.tsx"],"sourcesContent":["/**\n * Copyright 2025 GDG on Campus Farmingdale State College\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport {\n\ttype ComponentProps,\n\ttype ElementType,\n\ttype ReactNode,\n\ttype SyntheticEvent,\n\tuseCallback,\n\tuseLayoutEffect,\n\tuseMemo,\n\tuseRef,\n\tuseState,\n} from \"react\";\nimport { cn } from \"../../lib/utils.js\";\nimport type { DistributiveOmit, Overwrite } from \"./types.js\";\n\nfunction useEventCallback<Args extends unknown[], R>(fn: (...args: Args) => R) {\n\tconst ref = useRef<(...args: Args) => R>(() => {\n\t\tthrow new Error(\"Cannot call an event callback during rendering.\");\n\t});\n\n\tuseLayoutEffect(() => {\n\t\tref.current = fn;\n\t});\n\n\treturn useCallback((...args: Args) => ref.current(...args), []);\n}\n\nconst defaultRootElement = \"img\" as const;\n\nconst pictureVariants = cva(\"\", {\n\tvariants: {\n\t\tvariant: {\n\t\t\tresponsive: \"w-full h-auto object-contain\",\n\t\t\tfixed: \"w-auto h-auto object-none\",\n\t\t\tcover: \"w-full h-full object-cover\",\n\t\t\tcontain: \"w-full h-full object-contain\",\n\t\t\tthumbnail: \"w-24 h-24 rounded-lg object-cover\",\n\t\t\tavatar: \"w-12 h-12 rounded-full object-cover\",\n\t\t\thero: \"w-full h-[60vh] object-cover\",\n\t\t\tcard: \"w-full h-48 rounded-lg object-cover\",\n\t\t},\n\t\tisLoading: {\n\t\t\ttrue: \"animate-pulse bg-muted\",\n\t\t\tfalse: \"\",\n\t\t},\n\t\trounded: {\n\t\t\tnone: \"rounded-none\",\n\t\t\tsm: \"rounded-sm\",\n\t\t\tmd: \"rounded-md\",\n\t\t\tlg: \"rounded-lg\",\n\t\t\txl: \"rounded-xl\",\n\t\t\tfull: \"rounded-full\",\n\t\t},\n\t\tshadow: {\n\t\t\tnone: \"shadow-none\",\n\t\t\tsm: \"shadow-sm\",\n\t\t\tmd: \"shadow-md\",\n\t\t\tlg: \"shadow-lg\",\n\t\t\txl: \"shadow-xl\",\n\t\t},\n\t\ttransition: {\n\t\t\tnone: \"\",\n\t\t\thover: \"transition-transform duration-200 hover:scale-105\",\n\t\t\tzoom: \"transition-all duration-300 hover:scale-110\",\n\t\t\tfade: \"transition-opacity duration-200 hover:opacity-80\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"responsive\",\n\t\tisLoading: false,\n\t\trounded: \"none\",\n\t\tshadow: \"none\",\n\t\ttransition: \"none\",\n\t},\n});\n\nnamespace Picture {\n\texport interface BaseRootElementProps {\n\t\tclassName?: string;\n\t\tonLoad?: React.ReactEventHandler<HTMLImageElement>;\n\t\tonError?: React.ReactEventHandler<HTMLImageElement>;\n\t}\n\n\texport type BaseRootElementType = ElementType<BaseRootElementProps>;\n\n\texport interface OwnProps extends Omit<VariantProps<typeof pictureVariants>, \"isLoading\"> {\n\t\t/**\n\t\t * Image source URL\n\t\t */\n\t\tsrc?: string;\n\n\t\t/**\n\t\t * Alternative text for accessibility\n\t\t */\n\t\talt?: string;\n\n\t\t/**\n\t\t * Loading strategy\n\t\t */\n\t\tloading?: \"lazy\" | \"eager\";\n\n\t\t/**\n\t\t * Responsive image sizes\n\t\t */\n\t\tsizes?: string;\n\n\t\t/**\n\t\t * Source set for responsive images\n\t\t */\n\t\tsrcSet?: string;\n\n\t\t/**\n\t\t * Override the default root element.\n\t\t */\n\t\tcomponent?: BaseRootElementType;\n\n\t\tsource?: {\n\t\t\tsrcSet?: string;\n\t\t\tsizes?: string;\n\t\t\tmedia?: string;\n\t\t};\n\n\t\tpicture?: {\n\t\t\tclassName?: string;\n\t\t};\n\t}\n\n\texport type Props<TRootElement extends BaseRootElementType = typeof defaultRootElement> =\n\t\tOverwrite<ComponentProps<TRootElement>, OwnProps>;\n\n\texport interface Type {\n\t\t<TRootElement extends BaseRootElementType = typeof defaultRootElement>(\n\t\t\tprops: Overwrite<Props<TRootElement>, { component: TRootElement }>,\n\t\t): ReactNode;\n\t\t(props: DistributiveOmit<Props, \"component\">): ReactNode;\n\t}\n}\n\nexport const PictureInternal = <\n\tTRootElement extends Picture.BaseRootElementType = typeof defaultRootElement,\n>({\n\tcomponent: Component = defaultRootElement,\n\tvariant,\n\tsrc,\n\talt = \"\",\n\tloading = \"lazy\",\n\tsizes,\n\tsrcSet,\n\tsource,\n\tpicture,\n\trounded,\n\tshadow,\n\ttransition,\n\tclassName,\n\tonLoad,\n\tonError,\n\t...rest\n}: Picture.Props<TRootElement>) => {\n\tconst [isLoading, setIsLoading] = useState<boolean>(true);\n\n\tconst handleLoad = useEventCallback((e: SyntheticEvent<HTMLImageElement>) => {\n\t\t(onLoad as any)?.(e);\n\t\tif (e.defaultPrevented) return;\n\t\tsetIsLoading(false);\n\t});\n\n\tconst handleError = useEventCallback((e: SyntheticEvent<HTMLImageElement>) => {\n\t\t(onError as any)?.(e);\n\t\tif (e.defaultPrevented) return;\n\t\tsetIsLoading(false);\n\t\tconsole.warn(\"Image failed to load:\", src);\n\t});\n\n\tconst defaultProps = useMemo<Partial<Picture.BaseRootElementProps>>(\n\t\t() => ({\n\t\t\tonLoad: handleLoad,\n\t\t\tonError: handleError,\n\t\t\tloading,\n\t\t\talt,\n\t\t}),\n\t\t[loading, alt, handleLoad, handleError],\n\t);\n\n\tconst imgClassName = useMemo<Picture.BaseRootElementProps[\"className\"]>(\n\t\t() =>\n\t\t\tcn(\n\t\t\t\tpictureVariants({\n\t\t\t\t\tvariant,\n\t\t\t\t\tisLoading,\n\t\t\t\t\trounded,\n\t\t\t\t\tshadow,\n\t\t\t\t\ttransition,\n\t\t\t\t\tclassName,\n\t\t\t\t}),\n\t\t\t),\n\t\t[className, variant, isLoading, rounded, shadow, transition],\n\t);\n\n\tconst imgProps = {\n\t\t...defaultProps,\n\t\t...rest,\n\t\tsrc,\n\t\tsrcSet,\n\t\tsizes,\n\t\tclassName: imgClassName,\n\t\t\"aria-busy\": isLoading,\n\t\t\"aria-label\": alt,\n\t};\n\n\treturn (\n\t\t<picture className={cn(\"block\", picture?.className)}>\n\t\t\t{source && <source srcSet={source.srcSet} sizes={source.sizes} media={source.media} />}\n\t\t\t<Component {...(imgProps as any)} />\n\t\t</picture>\n\t);\n};\n\nexport const Picture = PictureInternal as Picture.Type;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA+BA,SAAS,iBAA4C,IAA0B;CAC9E,MAAM,MAAM,aAAmC;AAC9C,QAAM,IAAI,MAAM,kDAAkD;GACjE;AAEF,uBAAsB;AACrB,MAAI,UAAU;GACb;AAEF,QAAO,aAAa,GAAG,SAAe,IAAI,QAAQ,GAAG,KAAK,EAAE,EAAE,CAAC;;AAGhE,MAAM,qBAAqB;AAE3B,MAAM,kBAAkB,IAAI,IAAI;CAC/B,UAAU;EACT,SAAS;GACR,YAAY;GACZ,OAAO;GACP,OAAO;GACP,SAAS;GACT,WAAW;GACX,QAAQ;GACR,MAAM;GACN,MAAM;GACN;EACD,WAAW;GACV,MAAM;GACN,OAAO;GACP;EACD,SAAS;GACR,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,MAAM;GACN;EACD,QAAQ;GACP,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ;EACD,YAAY;GACX,MAAM;GACN,OAAO;GACP,MAAM;GACN,MAAM;GACN;EACD;CACD,iBAAiB;EAChB,SAAS;EACT,WAAW;EACX,SAAS;EACT,QAAQ;EACR,YAAY;EACZ;CACD,CAAC;AAgEF,MAAa,mBAEX,EACD,WAAW,YAAY,oBACvB,SACA,KACA,MAAM,IACN,UAAU,QACV,OACA,QACA,QACA,SACA,SACA,QACA,YACA,WACA,QACA,SACA,GAAG,WAC+B;CAClC,MAAM,CAAC,WAAW,gBAAgB,SAAkB,KAAK;CAEzD,MAAM,aAAa,kBAAkB,MAAwC;AAC3E,WAAiB,EAAE;AACpB,MAAI,EAAE,iBAAkB;AACxB,eAAa,MAAM;GAClB;CAEF,MAAM,cAAc,kBAAkB,MAAwC;AAC5E,YAAkB,EAAE;AACrB,MAAI,EAAE,iBAAkB;AACxB,eAAa,MAAM;AACnB,UAAQ,KAAK,yBAAyB,IAAI;GACzC;CAEF,MAAM,eAAe,eACb;EACN,QAAQ;EACR,SAAS;EACT;EACA;EACA,GACD;EAAC;EAAS;EAAK;EAAY;EAAY,CACvC;CAED,MAAM,eAAe,cAEnB,GACC,gBAAgB;EACf;EACA;EACA;EACA;EACA;EACA;EACA,CAAC,CACF,EACF;EAAC;EAAW;EAAS;EAAW;EAAS;EAAQ;EAAW,CAC5D;CAED,MAAM,WAAW;EAChB,GAAG;EACH,GAAG;EACH;EACA;EACA;EACA,WAAW;EACX,aAAa;EACb,cAAc;EACd;AAED,QACC,qBAAC,WAAD;EAAS,WAAW,GAAG,SAAS,SAAS,UAAU;YAAnD,CACE,UAAU,oBAAC,UAAD;GAAQ,QAAQ,OAAO;GAAQ,OAAO,OAAO;GAAO,OAAO,OAAO;GAAS,CAAA,EACtF,oBAAC,WAAD,EAAW,GAAK,UAAoB,CAAA,CAC3B;;;AAIZ,MAAa,UAAU"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region src/components/picture/types.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2025 GDG on Campus Farmingdale State College
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
type Overwrite<T, U> = Omit<T, keyof U> & U;
|
|
18
|
+
type DistributiveOmit<T, K extends keyof any> = T extends any ? Omit<T, K> : never;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { DistributiveOmit, Overwrite };
|
|
21
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/components/picture/types.ts"],"mappings":";;AAgBA;;;;;;;;;;;;;;KAAY,SAAA,SAAkB,IAAA,CAAK,CAAA,QAAS,CAAA,IAAK,CAAA;AAAA,KACrC,gBAAA,2BAA2C,CAAA,eAAgB,IAAA,CAAK,CAAA,EAAG,CAAA"}
|
|
File without changes
|
|
@@ -1,36 +1,35 @@
|
|
|
1
1
|
import { Popover as Popover$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/popover.d.ts
|
|
6
|
-
|
|
7
6
|
declare function Popover({
|
|
8
7
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Popover$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime0.JSX.Element;
|
|
10
9
|
declare function PopoverAnchor({
|
|
11
10
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Popover$1.Anchor>):
|
|
11
|
+
}: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime0.JSX.Element;
|
|
13
12
|
declare function PopoverContent({
|
|
14
13
|
align,
|
|
15
14
|
className,
|
|
16
15
|
sideOffset,
|
|
17
16
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof Popover$1.Content>):
|
|
17
|
+
}: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime0.JSX.Element;
|
|
19
18
|
declare function PopoverDescription({
|
|
20
19
|
className,
|
|
21
20
|
...props
|
|
22
|
-
}: React.ComponentProps<"p">):
|
|
21
|
+
}: React.ComponentProps<"p">): react_jsx_runtime0.JSX.Element;
|
|
23
22
|
declare function PopoverHeader({
|
|
24
23
|
className,
|
|
25
24
|
...props
|
|
26
|
-
}: React.ComponentProps<"div">):
|
|
25
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
27
26
|
declare function PopoverTitle({
|
|
28
27
|
className,
|
|
29
28
|
...props
|
|
30
|
-
}: React.ComponentProps<"h2">):
|
|
29
|
+
}: React.ComponentProps<"h2">): react_jsx_runtime0.JSX.Element;
|
|
31
30
|
declare function PopoverTrigger({
|
|
32
31
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Popover$1.Trigger>):
|
|
32
|
+
}: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
34
33
|
//#endregion
|
|
35
34
|
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
|
|
36
35
|
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","names":[],"sources":["../../../src/components/popover/popover.tsx"],"
|
|
1
|
+
{"version":3,"file":"popover.d.ts","names":[],"sources":["../../../src/components/popover/popover.tsx"],"mappings":";;;;;iBAuBS,OAAA,CAAA;EAAA,GAAa;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,SAAA,CAAiB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAIxE,aAAA,CAAA;EAAA,GAAmB;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,SAAA,CAAiB,MAAA,IAAO,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAIhF,cAAA,CAAA;EACR,KAAA;EACA,SAAA;EACA,UAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,SAAA,CAAiB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAiB/C,kBAAA,CAAA;EAAqB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,QAAmB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUrE,aAAA,CAAA;EAAgB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUlE,YAAA,CAAA;EAAe,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,SAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAIhE,cAAA,CAAA;EAAA,GAAoB;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,SAAA,CAAiB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Progress as Progress$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/progress/progress.d.ts
|
|
6
|
-
|
|
7
6
|
declare function Progress({
|
|
8
7
|
className,
|
|
9
8
|
value,
|
|
10
9
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Progress$1.Root>):
|
|
10
|
+
}: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime0.JSX.Element;
|
|
12
11
|
//#endregion
|
|
13
12
|
export { Progress };
|
|
14
13
|
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","names":[],"sources":["../../../src/components/progress/progress.tsx"],"
|
|
1
|
+
{"version":3,"file":"progress.d.ts","names":[],"sources":["../../../src/components/progress/progress.tsx"],"mappings":";;;;;iBAuBS,QAAA,CAAA;EACR,SAAA;EACA,KAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,UAAA,CAAkB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { RadioGroup as RadioGroup$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio-group/radio-group.d.ts
|
|
6
|
-
|
|
7
6
|
declare function RadioGroup({
|
|
8
7
|
className,
|
|
9
8
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof RadioGroup$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime0.JSX.Element;
|
|
11
10
|
declare function RadioGroupItem({
|
|
12
11
|
className,
|
|
13
12
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof RadioGroup$1.Item>):
|
|
13
|
+
}: React.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime0.JSX.Element;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { RadioGroup, RadioGroupItem };
|
|
17
16
|
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.d.ts","names":[],"sources":["../../../src/components/radio-group/radio-group.tsx"],"
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","names":[],"sources":["../../../src/components/radio-group/radio-group.tsx"],"mappings":";;;;;iBAwBS,UAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,YAAA,CAAoB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAU/C,cAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,YAAA,CAAoB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { Group, Panel, Separator } from "react-resizable-panels";
|
|
4
4
|
|
|
5
5
|
//#region src/components/resizable/resizable.d.ts
|
|
6
|
-
|
|
7
6
|
declare function ResizableHandle({
|
|
8
7
|
className,
|
|
9
8
|
withHandle,
|
|
10
9
|
...props
|
|
11
10
|
}: React.ComponentProps<typeof Separator> & {
|
|
12
11
|
withHandle?: boolean;
|
|
13
|
-
}):
|
|
12
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
14
13
|
declare function ResizablePanel({
|
|
15
14
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Panel>):
|
|
15
|
+
}: React.ComponentProps<typeof Panel>): react_jsx_runtime0.JSX.Element;
|
|
17
16
|
declare function ResizablePanelGroup({
|
|
18
17
|
className,
|
|
19
18
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Group>):
|
|
19
|
+
}: React.ComponentProps<typeof Group>): react_jsx_runtime0.JSX.Element;
|
|
21
20
|
//#endregion
|
|
22
21
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
23
22
|
//# sourceMappingURL=resizable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable.d.ts","names":[],"sources":["../../../src/components/resizable/resizable.tsx"],"
|
|
1
|
+
{"version":3,"file":"resizable.d.ts","names":[],"sources":["../../../src/components/resizable/resizable.tsx"],"mappings":";;;;;iBAuBS,eAAA,CAAA;EACR,SAAA;EACA,UAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,SAAA;EAC9B,UAAA;AAAA,IACA,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAeQ,cAAA,CAAA;EAAA,GAAoB;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAI/D,mBAAA,CAAA;EAAsB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { ScrollArea as ScrollArea$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/scroll-area/scroll-area.d.ts
|
|
6
|
-
|
|
7
6
|
declare function ScrollArea({
|
|
8
7
|
children,
|
|
9
8
|
className,
|
|
10
9
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof ScrollArea$1.Root>):
|
|
10
|
+
}: React.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime0.JSX.Element;
|
|
12
11
|
declare function ScrollBar({
|
|
13
12
|
className,
|
|
14
13
|
orientation,
|
|
15
14
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>):
|
|
15
|
+
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime0.JSX.Element;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { ScrollArea, ScrollBar };
|
|
19
18
|
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-area.d.ts","names":[],"sources":["../../../src/components/scroll-area/scroll-area.tsx"],"
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","names":[],"sources":["../../../src/components/scroll-area/scroll-area.tsx"],"mappings":";;;;;iBAuBS,UAAA,CAAA;EACR,QAAA;EACA,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,YAAA,CAAoB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAmB/C,SAAA,CAAA;EACR,SAAA;EACA,WAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,YAAA,CAAoB,mBAAA,IAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
import { Select as Select$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/select/select.d.ts
|
|
6
|
-
|
|
7
6
|
declare function Select({
|
|
8
7
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Select$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Select$1.Root>): react_jsx_runtime0.JSX.Element;
|
|
10
9
|
declare function SelectContent({
|
|
11
10
|
align,
|
|
12
11
|
children,
|
|
13
12
|
className,
|
|
14
13
|
position,
|
|
15
14
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Select$1.Content>):
|
|
15
|
+
}: React.ComponentProps<typeof Select$1.Content>): react_jsx_runtime0.JSX.Element;
|
|
17
16
|
declare function SelectGroup({
|
|
18
17
|
className,
|
|
19
18
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Select$1.Group>):
|
|
19
|
+
}: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime0.JSX.Element;
|
|
21
20
|
declare function SelectItem({
|
|
22
21
|
children,
|
|
23
22
|
className,
|
|
24
23
|
...props
|
|
25
|
-
}: React.ComponentProps<typeof Select$1.Item>):
|
|
24
|
+
}: React.ComponentProps<typeof Select$1.Item>): react_jsx_runtime0.JSX.Element;
|
|
26
25
|
declare function SelectLabel({
|
|
27
26
|
className,
|
|
28
27
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof Select$1.Label>):
|
|
28
|
+
}: React.ComponentProps<typeof Select$1.Label>): react_jsx_runtime0.JSX.Element;
|
|
30
29
|
declare function SelectScrollDownButton({
|
|
31
30
|
className,
|
|
32
31
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Select$1.ScrollDownButton>):
|
|
32
|
+
}: React.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime0.JSX.Element;
|
|
34
33
|
declare function SelectScrollUpButton({
|
|
35
34
|
className,
|
|
36
35
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Select$1.ScrollUpButton>):
|
|
36
|
+
}: React.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime0.JSX.Element;
|
|
38
37
|
declare function SelectSeparator({
|
|
39
38
|
className,
|
|
40
39
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof Select$1.Separator>):
|
|
40
|
+
}: React.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime0.JSX.Element;
|
|
42
41
|
declare function SelectTrigger({
|
|
43
42
|
children,
|
|
44
43
|
className,
|
|
@@ -46,10 +45,10 @@ declare function SelectTrigger({
|
|
|
46
45
|
...props
|
|
47
46
|
}: React.ComponentProps<typeof Select$1.Trigger> & {
|
|
48
47
|
size?: "default" | "sm";
|
|
49
|
-
}):
|
|
48
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
50
49
|
declare function SelectValue({
|
|
51
50
|
...props
|
|
52
|
-
}: React.ComponentProps<typeof Select$1.Value>):
|
|
51
|
+
}: React.ComponentProps<typeof Select$1.Value>): react_jsx_runtime0.JSX.Element;
|
|
53
52
|
//#endregion
|
|
54
53
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
55
54
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","names":[],"sources":["../../../src/components/select/select.tsx"],"
|
|
1
|
+
{"version":3,"file":"select.d.ts","names":[],"sources":["../../../src/components/select/select.tsx"],"mappings":";;;;;iBAwBS,MAAA,CAAA;EAAA,GAAY;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAItE,aAAA,CAAA;EACR,KAAA;EACA,QAAA;EACA,SAAA;EACA,QAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAgC9C,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUvF,UAAA,CAAA;EACR,QAAA;EACA,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAoB3C,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUvF,sBAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,gBAAA,IAAiB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAevD,oBAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,cAAA,IAAe,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAerD,eAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,SAAA,IAAU,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUhD,aAAA,CAAA;EACR,QAAA;EACA,SAAA;EACA,IAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,OAAA;EAC9C,IAAA;AAAA,IACA,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAmBQ,WAAA,CAAA;EAAA,GAAiB;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { Separator as Separator$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/separator/separator.d.ts
|
|
6
|
-
|
|
7
6
|
declare function Separator({
|
|
8
7
|
className,
|
|
9
8
|
decorative,
|
|
10
9
|
orientation,
|
|
11
10
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Separator$1.Root>):
|
|
11
|
+
}: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime0.JSX.Element;
|
|
13
12
|
//#endregion
|
|
14
13
|
export { Separator };
|
|
15
14
|
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.d.ts","names":[],"sources":["../../../src/components/separator/separator.tsx"],"
|
|
1
|
+
{"version":3,"file":"separator.d.ts","names":[],"sources":["../../../src/components/separator/separator.tsx"],"mappings":";;;;;iBAuBS,SAAA,CAAA;EACR,SAAA;EACA,UAAA;EACA,WAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,WAAA,CAAmB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { Dialog } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/sheet/sheet.d.ts
|
|
6
|
-
|
|
7
6
|
declare function Sheet({
|
|
8
7
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime0.JSX.Element;
|
|
10
9
|
declare function SheetClose({
|
|
11
10
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
11
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime0.JSX.Element;
|
|
13
12
|
declare function SheetContent({
|
|
14
13
|
children,
|
|
15
14
|
className,
|
|
@@ -19,26 +18,26 @@ declare function SheetContent({
|
|
|
19
18
|
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
20
19
|
showCloseButton?: boolean;
|
|
21
20
|
side?: "bottom" | "left" | "right" | "top";
|
|
22
|
-
}):
|
|
21
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
23
22
|
declare function SheetDescription({
|
|
24
23
|
className,
|
|
25
24
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
25
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime0.JSX.Element;
|
|
27
26
|
declare function SheetFooter({
|
|
28
27
|
className,
|
|
29
28
|
...props
|
|
30
|
-
}: React.ComponentProps<"div">):
|
|
29
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
31
30
|
declare function SheetHeader({
|
|
32
31
|
className,
|
|
33
32
|
...props
|
|
34
|
-
}: React.ComponentProps<"div">):
|
|
33
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
35
34
|
declare function SheetTitle({
|
|
36
35
|
className,
|
|
37
36
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
37
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime0.JSX.Element;
|
|
39
38
|
declare function SheetTrigger({
|
|
40
39
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
40
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
42
41
|
//#endregion
|
|
43
42
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
44
43
|
//# sourceMappingURL=sheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.d.ts","names":[],"sources":["../../../src/components/sheet/sheet.tsx"],"
|
|
1
|
+
{"version":3,"file":"sheet.d.ts","names":[],"sources":["../../../src/components/sheet/sheet.tsx"],"mappings":";;;;;iBAyBS,KAAA,CAAA;EAAA,GAAW;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,MAAA,CAAe,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAIpE,UAAA,CAAA;EAAA,GAAgB;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,MAAA,CAAe,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAI1E,YAAA,CAAA;EACR,QAAA;EACA,SAAA;EACA,eAAA;EACA,IAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,MAAA,CAAe,OAAA;EAC7C,eAAA;EACA,IAAA;AAAA,IACA,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBA2BQ,gBAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,MAAA,CAAe,WAAA,IAAY,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUjD,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUhE,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBA8BhE,UAAA,CAAA;EAAa,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,MAAA,CAAe,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUrF,YAAA,CAAA;EAAA,GAAkB;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,MAAA,CAAe,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|