ingeniuscliq-core 0.4.25 → 0.4.27
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/components/common/carousel/CustomCarousel.js +26 -0
- package/dist/components/common/carousel/CustomCarouselSection.js +41 -0
- package/dist/components/common/form/CustomFormField.js +29 -0
- package/dist/components/common/form/{FormCheckbox.tsx → FormCheckbox.js} +7 -7
- package/dist/components/common/form/{FormInput.tsx → FormInput.js} +5 -5
- package/dist/components/common/form/{FormSelect.tsx → FormSelect.js} +7 -7
- package/dist/components/common/form/{FormTextArea.tsx → FormTextArea.js} +5 -5
- package/dist/components/common/form/{FormWrapper.tsx → FormWrapper.js} +2 -2
- package/dist/components/common/logo/{Logo.tsx → Logo.js} +3 -3
- package/dist/components/common/pagination/{CustomPagination.tsx → CustomPagination.js} +6 -6
- package/dist/components/common/select/CustomSelect.js +27 -0
- package/dist/components/common/spinner/Spinner.js +32 -0
- package/dist/components/common/stepper/{Stepper.tsx → Stepper.js} +9 -9
- package/dist/components/layouts/CoreBaseLayout.js +19 -0
- package/dist/components/templates/CoreHomeLayout.js +8 -0
- package/dist/components/templates/{CorePreviewLayout.tsx → CorePreviewLayout.js} +3 -3
- package/dist/components/ui/accordion.js +44 -0
- package/dist/components/ui/{alert-dialog.tsx → alert-dialog.js} +28 -28
- package/dist/components/ui/{alert.tsx → alert.js} +5 -5
- package/dist/components/ui/{avatar.tsx → avatar.js} +11 -11
- package/dist/components/ui/{badge.tsx → badge.js} +3 -3
- package/dist/components/ui/{breadcrumb.tsx → breadcrumb.js} +13 -14
- package/dist/components/ui/{button.tsx → button.js} +4 -4
- package/dist/components/ui/{card.tsx → card.js} +8 -8
- package/dist/components/ui/{carousel.tsx → carousel.js} +14 -15
- package/dist/components/ui/{checkbox.tsx → checkbox.js} +9 -9
- package/dist/components/ui/{dialog.tsx → dialog.js} +26 -26
- package/dist/components/ui/{dropdown-menu.tsx → dropdown-menu.js} +37 -39
- package/dist/components/ui/{form.tsx → form.js} +10 -10
- package/dist/components/ui/{input.tsx → input.js} +2 -2
- package/dist/components/ui/{label.tsx → label.js} +6 -6
- package/dist/components/ui/{pagination.tsx → pagination.js} +16 -18
- package/dist/components/ui/{popover.tsx → popover.js} +8 -8
- package/dist/components/ui/radio-group.js +34 -0
- package/dist/components/ui/{select.tsx → select.js} +38 -40
- package/dist/components/ui/{separator.tsx → separator.js} +5 -5
- package/dist/components/ui/{sheet.tsx → sheet.js} +27 -27
- package/dist/components/ui/{skeleton.tsx → skeleton.js} +2 -2
- package/dist/components/ui/{slider.tsx → slider.js} +9 -9
- package/dist/components/ui/{stepper.tsx → stepper.js} +35 -35
- package/dist/components/ui/{switch.tsx → switch.js} +7 -7
- package/dist/components/ui/{table.tsx → table.js} +9 -9
- package/dist/components/ui/{tabs.tsx → tabs.js} +13 -13
- package/dist/components/ui/{textarea.tsx → textarea.js} +2 -2
- package/dist/components/ui/{tooltip.tsx → tooltip.js} +8 -8
- package/dist/helpers/axiosGlobal.js +1 -2
- package/dist/hooks/useNotification.js +1 -1
- package/dist/index.js +45 -45
- package/dist/lib/utils.js +2 -2
- package/dist/modules/CoreAuth/classes/CoreAuthBuilder.js +1 -1
- package/dist/modules/CoreAuth/context/{AuthContext.tsx → AuthContext.js} +1 -1
- package/dist/modules/CoreAuth/index.js +2 -1
- package/dist/modules/CoreCustomization/classes/CoreCustomizationBuilder.js +1 -1
- package/dist/modules/CoreCustomization/index.js +1 -0
- package/dist/modules/CoreOrder/classes/CoreOrderBuilder.js +1 -1
- package/dist/modules/CoreOrder/index.js +1 -0
- package/dist/modules/CorePayForm/classes/CorePayFormBuilder.js +1 -1
- package/dist/modules/CorePayForm/index.js +1 -0
- package/dist/modules/CoreProduct/classes/CoreProductBuilder.js +1 -1
- package/dist/modules/CoreProduct/index.js +1 -0
- package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.js +1 -1
- package/dist/modules/CoreShipment/index.js +1 -0
- package/dist/modules/CoreShopCart/classes/CoreShopCartBuilder.js +1 -1
- package/package.json +2 -7
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index2.js +0 -3
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime2.js +0 -3
- package/dist/_virtual/react-jsx-runtime.development.js +0 -3
- package/dist/_virtual/react-jsx-runtime.production.js +0 -3
- package/dist/_virtual/use-sync-external-store-shim.development.js +0 -3
- package/dist/_virtual/use-sync-external-store-shim.production.js +0 -3
- package/dist/components/common/carousel/CustomCarousel.tsx +0 -26
- package/dist/components/common/carousel/CustomCarouselSection.tsx +0 -41
- package/dist/components/common/form/CustomFormField.tsx +0 -29
- package/dist/components/common/select/CustomSelect.tsx +0 -27
- package/dist/components/common/spinner/Spinner.tsx +0 -32
- package/dist/components/layouts/CoreBaseLayout.tsx +0 -19
- package/dist/components/templates/CoreHomeLayout.tsx +0 -8
- package/dist/components/ui/accordion.tsx +0 -44
- package/dist/components/ui/radio-group.tsx +0 -34
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -814
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -751
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -350
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -161
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -137
- package/dist/node_modules/@radix-ui/number/dist/index.js +0 -6
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -11
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +0 -305
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +0 -147
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -25
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +0 -118
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -270
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -145
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -70
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -39
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -79
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -321
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -11
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -211
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -267
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -29
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -207
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -15
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +0 -24
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +0 -834
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -299
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -283
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -17
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -130
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -43
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +0 -282
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -223
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +0 -1156
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +0 -30
- package/dist/node_modules/@radix-ui/react-slider/dist/index.js +0 -554
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -99
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +0 -152
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +0 -187
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -482
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -12
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -70
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -18
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +0 -16
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -7
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -15
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -40
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -35
- package/dist/node_modules/@stepperize/core/dist/index.js +0 -3
- package/dist/node_modules/@stepperize/react/dist/index.js +0 -6
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -137
- package/dist/node_modules/axios/index.js +0 -25
- package/dist/node_modules/axios/lib/adapters/adapters.js +0 -81
- package/dist/node_modules/axios/lib/adapters/fetch.js +0 -229
- package/dist/node_modules/axios/lib/adapters/xhr.js +0 -199
- package/dist/node_modules/axios/lib/axios.js +0 -86
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +0 -133
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +0 -23
- package/dist/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/dist/node_modules/axios/lib/core/Axios.js +0 -238
- package/dist/node_modules/axios/lib/core/AxiosError.js +0 -101
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +0 -312
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +0 -69
- package/dist/node_modules/axios/lib/core/buildFullPath.js +0 -22
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +0 -81
- package/dist/node_modules/axios/lib/core/mergeConfig.js +0 -106
- package/dist/node_modules/axios/lib/core/settle.js +0 -27
- package/dist/node_modules/axios/lib/core/transformData.js +0 -28
- package/dist/node_modules/axios/lib/defaults/index.js +0 -159
- package/dist/node_modules/axios/lib/defaults/transitional.js +0 -7
- package/dist/node_modules/axios/lib/env/data.js +0 -3
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -56
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
- package/dist/node_modules/axios/lib/helpers/bind.js +0 -7
- package/dist/node_modules/axios/lib/helpers/buildURL.js +0 -69
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +0 -15
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +0 -48
- package/dist/node_modules/axios/lib/helpers/cookies.js +0 -43
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +0 -93
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -15
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
- package/dist/node_modules/axios/lib/helpers/null.js +0 -4
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +0 -55
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +0 -46
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +0 -58
- package/dist/node_modules/axios/lib/helpers/speedometer.js +0 -53
- package/dist/node_modules/axios/lib/helpers/spread.js +0 -28
- package/dist/node_modules/axios/lib/helpers/throttle.js +0 -44
- package/dist/node_modules/axios/lib/helpers/toFormData.js +0 -219
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
- package/dist/node_modules/axios/lib/helpers/trackStream.js +0 -88
- package/dist/node_modules/axios/lib/helpers/validator.js +0 -99
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/dist/node_modules/axios/lib/platform/browser/index.js +0 -15
- package/dist/node_modules/axios/lib/platform/common/utils.js +0 -45
- package/dist/node_modules/axios/lib/platform/index.js +0 -9
- package/dist/node_modules/axios/lib/utils.js +0 -780
- package/dist/node_modules/class-variance-authority/dist/index.js +0 -44
- package/dist/node_modules/clsx/dist/clsx.js +0 -3
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1669
- package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +0 -37
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -38
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -8
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -43
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -30
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -20
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +0 -17
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +0 -17
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/circle.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +0 -18
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -17
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -28
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -363
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -44
- package/dist/node_modules/react/jsx-runtime.js +0 -19
- package/dist/node_modules/react-hook-form/dist/index.esm.js +0 -560
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -9
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -167
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -38
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -21
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -110
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -56
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -10
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -31
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -19
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -25
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -51
- package/dist/node_modules/sonner/dist/index.js +0 -299
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -3035
- package/dist/node_modules/tslib/tslib.es6.js +0 -56
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -24
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -48
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -42
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -21
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -77
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -106
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -77
- package/dist/node_modules/use-sync-external-store/shim/index.js +0 -19
- package/dist/node_modules/zustand/esm/react.js +0 -22
- package/dist/node_modules/zustand/esm/vanilla.js +0 -24
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { cva } from '
|
|
3
|
+
import { cva } from 'class-variance-authority';
|
|
4
4
|
import { cn } from '../../lib/utils.js';
|
|
5
5
|
|
|
6
6
|
const alertVariants = cva(
|
|
@@ -17,7 +17,7 @@ const alertVariants = cva(
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
|
-
const Alert = React.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */
|
|
20
|
+
const Alert = React.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
21
21
|
"div",
|
|
22
22
|
{
|
|
23
23
|
ref,
|
|
@@ -27,7 +27,7 @@ const Alert = React.forwardRef(({ className, variant, ...props }, ref) => /* @__
|
|
|
27
27
|
}
|
|
28
28
|
));
|
|
29
29
|
Alert.displayName = "Alert";
|
|
30
|
-
const AlertTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
30
|
+
const AlertTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
31
31
|
"h5",
|
|
32
32
|
{
|
|
33
33
|
ref,
|
|
@@ -36,7 +36,7 @@ const AlertTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
36
36
|
}
|
|
37
37
|
));
|
|
38
38
|
AlertTitle.displayName = "AlertTitle";
|
|
39
|
-
const AlertDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
39
|
+
const AlertDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
ref,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
4
4
|
import { cn } from '../../lib/utils.js';
|
|
5
5
|
|
|
6
|
-
const Avatar = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
7
|
-
Root,
|
|
6
|
+
const Avatar = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7
|
+
AvatarPrimitive.Root,
|
|
8
8
|
{
|
|
9
9
|
ref,
|
|
10
10
|
className: cn(
|
|
@@ -14,18 +14,18 @@ const Avatar = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
14
14
|
...props
|
|
15
15
|
}
|
|
16
16
|
));
|
|
17
|
-
Avatar.displayName = Root.displayName;
|
|
18
|
-
const AvatarImage = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
19
|
-
Image,
|
|
17
|
+
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
|
18
|
+
const AvatarImage = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
19
|
+
AvatarPrimitive.Image,
|
|
20
20
|
{
|
|
21
21
|
ref,
|
|
22
22
|
className: cn("aspect-square h-full w-full", className),
|
|
23
23
|
...props
|
|
24
24
|
}
|
|
25
25
|
));
|
|
26
|
-
AvatarImage.displayName = Image.displayName;
|
|
27
|
-
const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
28
|
-
Fallback,
|
|
26
|
+
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
27
|
+
const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
28
|
+
AvatarPrimitive.Fallback,
|
|
29
29
|
{
|
|
30
30
|
ref,
|
|
31
31
|
className: cn(
|
|
@@ -35,6 +35,6 @@ const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
35
35
|
...props
|
|
36
36
|
}
|
|
37
37
|
));
|
|
38
|
-
AvatarFallback.displayName = Fallback.displayName;
|
|
38
|
+
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
39
39
|
|
|
40
40
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { cva } from '
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { cva } from 'class-variance-authority';
|
|
3
3
|
import { cn } from '../../lib/utils.js';
|
|
4
4
|
|
|
5
5
|
const badgeVariants = cva(
|
|
@@ -20,7 +20,7 @@ const badgeVariants = cva(
|
|
|
20
20
|
);
|
|
21
21
|
function Badge({ className, variant, asChild, ...props }) {
|
|
22
22
|
const Comp = asChild ? "span" : "div";
|
|
23
|
-
return /* @__PURE__ */
|
|
23
|
+
return /* @__PURE__ */ jsx(Comp, { className: cn(badgeVariants({ variant }), className), ...props });
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export { Badge, badgeVariants };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { ChevronRight, MoreHorizontal } from 'lucide-react';
|
|
4
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
4
5
|
import { cn } from '../../lib/utils.js';
|
|
5
|
-
import ChevronRight from '../../node_modules/lucide-react/dist/esm/icons/chevron-right.js';
|
|
6
|
-
import Ellipsis from '../../node_modules/lucide-react/dist/esm/icons/ellipsis.js';
|
|
7
6
|
|
|
8
|
-
const Breadcrumb = React.forwardRef(({ ...props }, ref) => /* @__PURE__ */
|
|
7
|
+
const Breadcrumb = React.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
|
|
9
8
|
Breadcrumb.displayName = "Breadcrumb";
|
|
10
|
-
const BreadcrumbList = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
9
|
+
const BreadcrumbList = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
11
10
|
"ol",
|
|
12
11
|
{
|
|
13
12
|
ref,
|
|
@@ -19,7 +18,7 @@ const BreadcrumbList = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
19
18
|
}
|
|
20
19
|
));
|
|
21
20
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
22
|
-
const BreadcrumbItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
21
|
+
const BreadcrumbItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
23
22
|
"li",
|
|
24
23
|
{
|
|
25
24
|
ref,
|
|
@@ -30,7 +29,7 @@ const BreadcrumbItem = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
30
29
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
31
30
|
const BreadcrumbLink = React.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
32
31
|
const Comp = asChild ? Slot : "a";
|
|
33
|
-
return /* @__PURE__ */
|
|
32
|
+
return /* @__PURE__ */ jsx(
|
|
34
33
|
Comp,
|
|
35
34
|
{
|
|
36
35
|
ref,
|
|
@@ -40,7 +39,7 @@ const BreadcrumbLink = React.forwardRef(({ asChild, className, ...props }, ref)
|
|
|
40
39
|
);
|
|
41
40
|
});
|
|
42
41
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
43
|
-
const BreadcrumbPage = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
42
|
+
const BreadcrumbPage = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
44
43
|
"span",
|
|
45
44
|
{
|
|
46
45
|
ref,
|
|
@@ -56,21 +55,21 @@ const BreadcrumbSeparator = ({
|
|
|
56
55
|
children,
|
|
57
56
|
className,
|
|
58
57
|
...props
|
|
59
|
-
}) => /* @__PURE__ */
|
|
58
|
+
}) => /* @__PURE__ */ jsx(
|
|
60
59
|
"li",
|
|
61
60
|
{
|
|
62
61
|
role: "presentation",
|
|
63
62
|
"aria-hidden": "true",
|
|
64
63
|
className: cn("[&>svg]:size-3.5", className),
|
|
65
64
|
...props,
|
|
66
|
-
children: children ?? /* @__PURE__ */
|
|
65
|
+
children: children ?? /* @__PURE__ */ jsx(ChevronRight, {})
|
|
67
66
|
}
|
|
68
67
|
);
|
|
69
68
|
BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
70
69
|
const BreadcrumbEllipsis = ({
|
|
71
70
|
className,
|
|
72
71
|
...props
|
|
73
|
-
}) => /* @__PURE__ */
|
|
72
|
+
}) => /* @__PURE__ */ jsxs(
|
|
74
73
|
"span",
|
|
75
74
|
{
|
|
76
75
|
role: "presentation",
|
|
@@ -78,8 +77,8 @@ const BreadcrumbEllipsis = ({
|
|
|
78
77
|
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
79
78
|
...props,
|
|
80
79
|
children: [
|
|
81
|
-
/* @__PURE__ */
|
|
82
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }),
|
|
81
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "More" })
|
|
83
82
|
]
|
|
84
83
|
}
|
|
85
84
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { cva } from '
|
|
3
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
4
|
+
import { cva } from 'class-variance-authority';
|
|
5
5
|
import { cn } from '../../lib/utils.js';
|
|
6
6
|
|
|
7
7
|
const buttonVariants = cva(
|
|
@@ -32,7 +32,7 @@ const buttonVariants = cva(
|
|
|
32
32
|
const Button = React.forwardRef(
|
|
33
33
|
({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
34
34
|
const Comp = asChild ? Slot : "button";
|
|
35
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ jsx(
|
|
36
36
|
Comp,
|
|
37
37
|
{
|
|
38
38
|
className: cn(buttonVariants({ variant, size, className })),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { cn } from '../../lib/utils.js';
|
|
4
4
|
|
|
5
|
-
const Card = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
5
|
+
const Card = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
|
8
8
|
ref,
|
|
@@ -14,7 +14,7 @@ const Card = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
14
14
|
}
|
|
15
15
|
));
|
|
16
16
|
Card.displayName = "Card";
|
|
17
|
-
const CardHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
17
|
+
const CardHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
18
18
|
"div",
|
|
19
19
|
{
|
|
20
20
|
ref,
|
|
@@ -23,7 +23,7 @@ const CardHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
23
23
|
}
|
|
24
24
|
));
|
|
25
25
|
CardHeader.displayName = "CardHeader";
|
|
26
|
-
const CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
26
|
+
const CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
27
27
|
"div",
|
|
28
28
|
{
|
|
29
29
|
ref,
|
|
@@ -35,7 +35,7 @@ const CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
35
35
|
}
|
|
36
36
|
));
|
|
37
37
|
CardTitle.displayName = "CardTitle";
|
|
38
|
-
const CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
38
|
+
const CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
41
41
|
ref,
|
|
@@ -44,7 +44,7 @@ const CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
44
44
|
}
|
|
45
45
|
));
|
|
46
46
|
CardDescription.displayName = "CardDescription";
|
|
47
|
-
const CardAction = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
47
|
+
const CardAction = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
48
48
|
"div",
|
|
49
49
|
{
|
|
50
50
|
ref,
|
|
@@ -53,9 +53,9 @@ const CardAction = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
53
53
|
}
|
|
54
54
|
));
|
|
55
55
|
CardAction.displayName = "CardAction";
|
|
56
|
-
const CardContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
56
|
+
const CardContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
57
57
|
CardContent.displayName = "CardContent";
|
|
58
|
-
const CardFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
58
|
+
const CardFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
59
59
|
"div",
|
|
60
60
|
{
|
|
61
61
|
ref,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import useEmblaCarousel from '
|
|
3
|
+
import useEmblaCarousel from 'embla-carousel-react';
|
|
4
|
+
import { ArrowLeft, ArrowRight } from 'lucide-react';
|
|
4
5
|
import { cn } from '../../lib/utils.js';
|
|
5
|
-
import { Button } from './button.
|
|
6
|
-
import ArrowLeft from '../../node_modules/lucide-react/dist/esm/icons/arrow-left.js';
|
|
7
|
-
import ArrowRight from '../../node_modules/lucide-react/dist/esm/icons/arrow-right.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
8
7
|
|
|
9
8
|
const CarouselContext = React.createContext(null);
|
|
10
9
|
function useCarousel() {
|
|
@@ -75,7 +74,7 @@ const Carousel = React.forwardRef(
|
|
|
75
74
|
api?.off("select", onSelect);
|
|
76
75
|
};
|
|
77
76
|
}, [api, onSelect]);
|
|
78
|
-
return /* @__PURE__ */
|
|
77
|
+
return /* @__PURE__ */ jsx(
|
|
79
78
|
CarouselContext.Provider,
|
|
80
79
|
{
|
|
81
80
|
value: {
|
|
@@ -88,7 +87,7 @@ const Carousel = React.forwardRef(
|
|
|
88
87
|
canScrollPrev,
|
|
89
88
|
canScrollNext
|
|
90
89
|
},
|
|
91
|
-
children: /* @__PURE__ */
|
|
90
|
+
children: /* @__PURE__ */ jsx(
|
|
92
91
|
"div",
|
|
93
92
|
{
|
|
94
93
|
ref,
|
|
@@ -107,7 +106,7 @@ const Carousel = React.forwardRef(
|
|
|
107
106
|
Carousel.displayName = "Carousel";
|
|
108
107
|
const CarouselContent = React.forwardRef(({ className, ...props }, ref) => {
|
|
109
108
|
const { carouselRef, orientation } = useCarousel();
|
|
110
|
-
return /* @__PURE__ */
|
|
109
|
+
return /* @__PURE__ */ jsx("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
111
110
|
"div",
|
|
112
111
|
{
|
|
113
112
|
ref,
|
|
@@ -123,7 +122,7 @@ const CarouselContent = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
123
122
|
CarouselContent.displayName = "CarouselContent";
|
|
124
123
|
const CarouselItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
125
124
|
const { orientation } = useCarousel();
|
|
126
|
-
return /* @__PURE__ */
|
|
125
|
+
return /* @__PURE__ */ jsx(
|
|
127
126
|
"div",
|
|
128
127
|
{
|
|
129
128
|
ref,
|
|
@@ -141,7 +140,7 @@ const CarouselItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
141
140
|
CarouselItem.displayName = "CarouselItem";
|
|
142
141
|
const CarouselPrevious = React.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
143
142
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
144
|
-
return /* @__PURE__ */
|
|
143
|
+
return /* @__PURE__ */ jsxs(
|
|
145
144
|
Button,
|
|
146
145
|
{
|
|
147
146
|
ref,
|
|
@@ -156,8 +155,8 @@ const CarouselPrevious = React.forwardRef(({ className, variant = "outline", siz
|
|
|
156
155
|
onClick: scrollPrev,
|
|
157
156
|
...props,
|
|
158
157
|
children: [
|
|
159
|
-
/* @__PURE__ */
|
|
160
|
-
/* @__PURE__ */
|
|
158
|
+
/* @__PURE__ */ jsx(ArrowLeft, { className: "h-4 w-4" }),
|
|
159
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Previous slide" })
|
|
161
160
|
]
|
|
162
161
|
}
|
|
163
162
|
);
|
|
@@ -165,7 +164,7 @@ const CarouselPrevious = React.forwardRef(({ className, variant = "outline", siz
|
|
|
165
164
|
CarouselPrevious.displayName = "CarouselPrevious";
|
|
166
165
|
const CarouselNext = React.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
167
166
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
168
|
-
return /* @__PURE__ */
|
|
167
|
+
return /* @__PURE__ */ jsxs(
|
|
169
168
|
Button,
|
|
170
169
|
{
|
|
171
170
|
ref,
|
|
@@ -180,8 +179,8 @@ const CarouselNext = React.forwardRef(({ className, variant = "outline", size =
|
|
|
180
179
|
onClick: scrollNext,
|
|
181
180
|
...props,
|
|
182
181
|
children: [
|
|
183
|
-
/* @__PURE__ */
|
|
184
|
-
/* @__PURE__ */
|
|
182
|
+
/* @__PURE__ */ jsx(ArrowRight, { className: "h-4 w-4" }),
|
|
183
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Next slide" })
|
|
185
184
|
]
|
|
186
185
|
}
|
|
187
186
|
);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
4
|
+
import { Check } from 'lucide-react';
|
|
4
5
|
import { cn } from '../../lib/utils.js';
|
|
5
|
-
import Check from '../../node_modules/lucide-react/dist/esm/icons/check.js';
|
|
6
6
|
|
|
7
|
-
const Checkbox = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
8
|
-
|
|
7
|
+
const Checkbox = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
8
|
+
CheckboxPrimitive.Root,
|
|
9
9
|
{
|
|
10
10
|
ref,
|
|
11
11
|
"data-slot": "checkbox",
|
|
@@ -14,15 +14,15 @@ const Checkbox = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
14
14
|
className
|
|
15
15
|
),
|
|
16
16
|
...props,
|
|
17
|
-
children: /* @__PURE__ */
|
|
18
|
-
|
|
17
|
+
children: /* @__PURE__ */ jsx(
|
|
18
|
+
CheckboxPrimitive.Indicator,
|
|
19
19
|
{
|
|
20
20
|
className: cn("flex items-center justify-center text-current"),
|
|
21
|
-
children: /* @__PURE__ */
|
|
21
|
+
children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" })
|
|
22
22
|
}
|
|
23
23
|
)
|
|
24
24
|
}
|
|
25
25
|
));
|
|
26
|
-
Checkbox.displayName =
|
|
26
|
+
Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
27
27
|
|
|
28
28
|
export { Checkbox };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
import { X } from 'lucide-react';
|
|
4
5
|
import { cn } from '../../lib/utils.js';
|
|
5
|
-
import X from '../../node_modules/lucide-react/dist/esm/icons/x.js';
|
|
6
6
|
|
|
7
|
-
const Dialog = Root;
|
|
8
|
-
const DialogTrigger = Trigger;
|
|
9
|
-
const DialogPortal = Portal;
|
|
10
|
-
const DialogClose = Close;
|
|
11
|
-
const DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
12
|
-
Overlay,
|
|
7
|
+
const Dialog = DialogPrimitive.Root;
|
|
8
|
+
const DialogTrigger = DialogPrimitive.Trigger;
|
|
9
|
+
const DialogPortal = DialogPrimitive.Portal;
|
|
10
|
+
const DialogClose = DialogPrimitive.Close;
|
|
11
|
+
const DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
12
|
+
DialogPrimitive.Overlay,
|
|
13
13
|
{
|
|
14
14
|
ref,
|
|
15
15
|
className: cn(
|
|
@@ -19,11 +19,11 @@ const DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
19
19
|
...props
|
|
20
20
|
}
|
|
21
21
|
));
|
|
22
|
-
DialogOverlay.displayName = Overlay.displayName;
|
|
23
|
-
const DialogContent = React.forwardRef(({ className, children, showCloseButton = true, ...props }, ref) => /* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
Content,
|
|
22
|
+
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
23
|
+
const DialogContent = React.forwardRef(({ className, children, showCloseButton = true, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
|
|
24
|
+
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
25
|
+
/* @__PURE__ */ jsxs(
|
|
26
|
+
DialogPrimitive.Content,
|
|
27
27
|
{
|
|
28
28
|
ref,
|
|
29
29
|
className: cn(
|
|
@@ -33,19 +33,19 @@ const DialogContent = React.forwardRef(({ className, children, showCloseButton =
|
|
|
33
33
|
...props,
|
|
34
34
|
children: [
|
|
35
35
|
children,
|
|
36
|
-
showCloseButton && /* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
/* @__PURE__ */
|
|
36
|
+
showCloseButton && /* @__PURE__ */ jsxs(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
37
|
+
/* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
|
|
38
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
39
39
|
] })
|
|
40
40
|
]
|
|
41
41
|
}
|
|
42
42
|
)
|
|
43
43
|
] }));
|
|
44
|
-
DialogContent.displayName = Content.displayName;
|
|
44
|
+
DialogContent.displayName = DialogPrimitive.Content.displayName;
|
|
45
45
|
const DialogHeader = ({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}) => /* @__PURE__ */
|
|
48
|
+
}) => /* @__PURE__ */ jsx(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
className: cn(
|
|
@@ -59,7 +59,7 @@ DialogHeader.displayName = "DialogHeader";
|
|
|
59
59
|
const DialogFooter = ({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}) => /* @__PURE__ */
|
|
62
|
+
}) => /* @__PURE__ */ jsx(
|
|
63
63
|
"div",
|
|
64
64
|
{
|
|
65
65
|
className: cn(
|
|
@@ -70,8 +70,8 @@ const DialogFooter = ({
|
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
DialogFooter.displayName = "DialogFooter";
|
|
73
|
-
const DialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
74
|
-
Title,
|
|
73
|
+
const DialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
74
|
+
DialogPrimitive.Title,
|
|
75
75
|
{
|
|
76
76
|
ref,
|
|
77
77
|
className: cn(
|
|
@@ -81,15 +81,15 @@ const DialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
81
81
|
...props
|
|
82
82
|
}
|
|
83
83
|
));
|
|
84
|
-
DialogTitle.displayName = Title.displayName;
|
|
85
|
-
const DialogDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
86
|
-
Description,
|
|
84
|
+
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
85
|
+
const DialogDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
86
|
+
DialogPrimitive.Description,
|
|
87
87
|
{
|
|
88
88
|
ref,
|
|
89
89
|
className: cn("text-sm text-muted-foreground", className),
|
|
90
90
|
...props
|
|
91
91
|
}
|
|
92
92
|
));
|
|
93
|
-
DialogDescription.displayName = Description.displayName;
|
|
93
|
+
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
94
94
|
|
|
95
95
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
4
|
+
import { ChevronRight, Check, Circle } from 'lucide-react';
|
|
4
5
|
import { cn } from '../../lib/utils.js';
|
|
5
|
-
import ChevronRight from '../../node_modules/lucide-react/dist/esm/icons/chevron-right.js';
|
|
6
|
-
import Check from '../../node_modules/lucide-react/dist/esm/icons/check.js';
|
|
7
|
-
import Circle from '../../node_modules/lucide-react/dist/esm/icons/circle.js';
|
|
8
6
|
|
|
9
|
-
const DropdownMenu =
|
|
10
|
-
const DropdownMenuTrigger = Trigger;
|
|
11
|
-
const DropdownMenuGroup =
|
|
12
|
-
const DropdownMenuPortal =
|
|
13
|
-
const DropdownMenuSub =
|
|
14
|
-
const DropdownMenuRadioGroup =
|
|
15
|
-
const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */
|
|
16
|
-
|
|
7
|
+
const DropdownMenu = DropdownMenuPrimitive.Root;
|
|
8
|
+
const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
9
|
+
const DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
10
|
+
const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
11
|
+
const DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
12
|
+
const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
13
|
+
const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
14
|
+
DropdownMenuPrimitive.SubTrigger,
|
|
17
15
|
{
|
|
18
16
|
ref,
|
|
19
17
|
className: cn(
|
|
@@ -24,13 +22,13 @@ const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, .
|
|
|
24
22
|
...props,
|
|
25
23
|
children: [
|
|
26
24
|
children,
|
|
27
|
-
/* @__PURE__ */
|
|
25
|
+
/* @__PURE__ */ jsx(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
28
26
|
]
|
|
29
27
|
}
|
|
30
28
|
));
|
|
31
|
-
DropdownMenuSubTrigger.displayName =
|
|
32
|
-
const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
33
|
-
|
|
29
|
+
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
30
|
+
const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
31
|
+
DropdownMenuPrimitive.SubContent,
|
|
34
32
|
{
|
|
35
33
|
ref,
|
|
36
34
|
className: cn(
|
|
@@ -40,9 +38,9 @@ const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) =
|
|
|
40
38
|
...props
|
|
41
39
|
}
|
|
42
40
|
));
|
|
43
|
-
DropdownMenuSubContent.displayName =
|
|
44
|
-
const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
45
|
-
|
|
41
|
+
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
42
|
+
const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
43
|
+
DropdownMenuPrimitive.Content,
|
|
46
44
|
{
|
|
47
45
|
ref,
|
|
48
46
|
sideOffset,
|
|
@@ -53,9 +51,9 @@ const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
53
51
|
...props
|
|
54
52
|
}
|
|
55
53
|
) }));
|
|
56
|
-
DropdownMenuContent.displayName =
|
|
57
|
-
const DropdownMenuItem = React.forwardRef(({ className, inset, variant = "default", ...props }, ref) => /* @__PURE__ */
|
|
58
|
-
|
|
54
|
+
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
55
|
+
const DropdownMenuItem = React.forwardRef(({ className, inset, variant = "default", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
56
|
+
DropdownMenuPrimitive.Item,
|
|
59
57
|
{
|
|
60
58
|
ref,
|
|
61
59
|
className: cn(
|
|
@@ -67,9 +65,9 @@ const DropdownMenuItem = React.forwardRef(({ className, inset, variant = "defaul
|
|
|
67
65
|
...props
|
|
68
66
|
}
|
|
69
67
|
));
|
|
70
|
-
DropdownMenuItem.displayName =
|
|
71
|
-
const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */
|
|
72
|
-
|
|
68
|
+
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
69
|
+
const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
70
|
+
DropdownMenuPrimitive.CheckboxItem,
|
|
73
71
|
{
|
|
74
72
|
ref,
|
|
75
73
|
className: cn(
|
|
@@ -79,14 +77,14 @@ const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checke
|
|
|
79
77
|
checked,
|
|
80
78
|
...props,
|
|
81
79
|
children: [
|
|
82
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) }) }),
|
|
83
81
|
children
|
|
84
82
|
]
|
|
85
83
|
}
|
|
86
84
|
));
|
|
87
|
-
DropdownMenuCheckboxItem.displayName =
|
|
88
|
-
const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
89
|
-
|
|
85
|
+
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
86
|
+
const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
87
|
+
DropdownMenuPrimitive.RadioItem,
|
|
90
88
|
{
|
|
91
89
|
ref,
|
|
92
90
|
className: cn(
|
|
@@ -95,14 +93,14 @@ const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props
|
|
|
95
93
|
),
|
|
96
94
|
...props,
|
|
97
95
|
children: [
|
|
98
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
99
97
|
children
|
|
100
98
|
]
|
|
101
99
|
}
|
|
102
100
|
));
|
|
103
|
-
DropdownMenuRadioItem.displayName =
|
|
104
|
-
const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */
|
|
105
|
-
|
|
101
|
+
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
102
|
+
const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
103
|
+
DropdownMenuPrimitive.Label,
|
|
106
104
|
{
|
|
107
105
|
ref,
|
|
108
106
|
className: cn(
|
|
@@ -113,21 +111,21 @@ const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref)
|
|
|
113
111
|
...props
|
|
114
112
|
}
|
|
115
113
|
));
|
|
116
|
-
DropdownMenuLabel.displayName =
|
|
117
|
-
const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
118
|
-
|
|
114
|
+
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
115
|
+
const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
116
|
+
DropdownMenuPrimitive.Separator,
|
|
119
117
|
{
|
|
120
118
|
ref,
|
|
121
119
|
className: cn("-mx-1 my-1 h-px bg-muted", className),
|
|
122
120
|
...props
|
|
123
121
|
}
|
|
124
122
|
));
|
|
125
|
-
DropdownMenuSeparator.displayName =
|
|
123
|
+
DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
|
|
126
124
|
const DropdownMenuShortcut = ({
|
|
127
125
|
className,
|
|
128
126
|
...props
|
|
129
127
|
}) => {
|
|
130
|
-
return /* @__PURE__ */
|
|
128
|
+
return /* @__PURE__ */ jsx(
|
|
131
129
|
"span",
|
|
132
130
|
{
|
|
133
131
|
className: cn("ml-auto text-xs tracking-widest opacity-60", className),
|