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,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { cva } from '
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
3
|
+
import * as Stepperize from '@stepperize/react';
|
|
4
|
+
import { cva } from 'class-variance-authority';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { cn } from '../../lib/utils.js';
|
|
7
|
-
import { Button } from './button.
|
|
7
|
+
import { Button } from './button.js';
|
|
8
8
|
|
|
9
9
|
const StepperContext = React.createContext(null);
|
|
10
10
|
const useStepperProvider = () => {
|
|
@@ -15,14 +15,14 @@ const useStepperProvider = () => {
|
|
|
15
15
|
return context;
|
|
16
16
|
};
|
|
17
17
|
const defineStepper = (...steps) => {
|
|
18
|
-
const { Scoped, useStepper, ...rest } =
|
|
18
|
+
const { Scoped, useStepper, ...rest } = Stepperize.defineStepper(...steps);
|
|
19
19
|
const StepperContainer = ({
|
|
20
20
|
children,
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
23
|
}) => {
|
|
24
24
|
const methods = useStepper();
|
|
25
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ jsx(
|
|
26
26
|
"div",
|
|
27
27
|
{
|
|
28
28
|
"data-component": "stepper",
|
|
@@ -44,16 +44,16 @@ const defineStepper = (...steps) => {
|
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
46
|
}) => {
|
|
47
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ jsx(
|
|
48
48
|
StepperContext.Provider,
|
|
49
49
|
{
|
|
50
50
|
value: { variant, labelOrientation, tracking },
|
|
51
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ jsx(
|
|
52
52
|
Scoped,
|
|
53
53
|
{
|
|
54
54
|
initialStep: props.initialStep,
|
|
55
55
|
initialMetadata: props.initialMetadata,
|
|
56
|
-
children: /* @__PURE__ */
|
|
56
|
+
children: /* @__PURE__ */ jsx(StepperContainer, { className, ...props, children })
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
59
|
}
|
|
@@ -65,14 +65,14 @@ const defineStepper = (...steps) => {
|
|
|
65
65
|
...props
|
|
66
66
|
}) => {
|
|
67
67
|
const { variant } = useStepperProvider();
|
|
68
|
-
return /* @__PURE__ */
|
|
68
|
+
return /* @__PURE__ */ jsx(
|
|
69
69
|
"nav",
|
|
70
70
|
{
|
|
71
71
|
"data-component": "stepper-navigation",
|
|
72
72
|
"aria-label": ariaLabel,
|
|
73
73
|
role: "tablist",
|
|
74
74
|
...props,
|
|
75
|
-
children: /* @__PURE__ */
|
|
75
|
+
children: /* @__PURE__ */ jsx(
|
|
76
76
|
"ol",
|
|
77
77
|
{
|
|
78
78
|
"data-component": "stepper-navigation-list",
|
|
@@ -99,7 +99,7 @@ const defineStepper = (...steps) => {
|
|
|
99
99
|
const description = childMap.get("description");
|
|
100
100
|
const panel = childMap.get("panel");
|
|
101
101
|
if (variant === "circle") {
|
|
102
|
-
return /* @__PURE__ */
|
|
102
|
+
return /* @__PURE__ */ jsxs(
|
|
103
103
|
"li",
|
|
104
104
|
{
|
|
105
105
|
"data-component": "stepper-step",
|
|
@@ -108,14 +108,14 @@ const defineStepper = (...steps) => {
|
|
|
108
108
|
className
|
|
109
109
|
),
|
|
110
110
|
children: [
|
|
111
|
-
/* @__PURE__ */
|
|
111
|
+
/* @__PURE__ */ jsx(
|
|
112
112
|
CircleStepIndicator,
|
|
113
113
|
{
|
|
114
114
|
currentStep: stepIndex + 1,
|
|
115
115
|
totalSteps: steps2.length
|
|
116
116
|
}
|
|
117
117
|
),
|
|
118
|
-
/* @__PURE__ */
|
|
118
|
+
/* @__PURE__ */ jsxs(
|
|
119
119
|
"div",
|
|
120
120
|
{
|
|
121
121
|
"data-component": "stepper-step-content",
|
|
@@ -130,8 +130,8 @@ const defineStepper = (...steps) => {
|
|
|
130
130
|
}
|
|
131
131
|
);
|
|
132
132
|
}
|
|
133
|
-
return /* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
133
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
134
|
+
/* @__PURE__ */ jsxs(
|
|
135
135
|
"li",
|
|
136
136
|
{
|
|
137
137
|
"data-component": "stepper-step",
|
|
@@ -147,7 +147,7 @@ const defineStepper = (...steps) => {
|
|
|
147
147
|
"data-state": dataState,
|
|
148
148
|
"data-disabled": props.disabled,
|
|
149
149
|
children: [
|
|
150
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ jsx(
|
|
151
151
|
Button,
|
|
152
152
|
{
|
|
153
153
|
id: `step-${step.id}`,
|
|
@@ -172,7 +172,7 @@ const defineStepper = (...steps) => {
|
|
|
172
172
|
children: icon ?? stepIndex + 1
|
|
173
173
|
}
|
|
174
174
|
),
|
|
175
|
-
variant === "horizontal" && labelOrientation === "vertical" && /* @__PURE__ */
|
|
175
|
+
variant === "horizontal" && labelOrientation === "vertical" && /* @__PURE__ */ jsx(
|
|
176
176
|
StepperSeparator,
|
|
177
177
|
{
|
|
178
178
|
orientation: "horizontal",
|
|
@@ -182,7 +182,7 @@ const defineStepper = (...steps) => {
|
|
|
182
182
|
disabled: props.disabled
|
|
183
183
|
}
|
|
184
184
|
),
|
|
185
|
-
/* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ jsxs(
|
|
186
186
|
"div",
|
|
187
187
|
{
|
|
188
188
|
"data-component": "stepper-step-content",
|
|
@@ -196,7 +196,7 @@ const defineStepper = (...steps) => {
|
|
|
196
196
|
]
|
|
197
197
|
}
|
|
198
198
|
),
|
|
199
|
-
variant === "horizontal" && labelOrientation === "horizontal" && /* @__PURE__ */
|
|
199
|
+
variant === "horizontal" && labelOrientation === "horizontal" && /* @__PURE__ */ jsx(
|
|
200
200
|
StepperSeparator,
|
|
201
201
|
{
|
|
202
202
|
orientation: "horizontal",
|
|
@@ -205,8 +205,8 @@ const defineStepper = (...steps) => {
|
|
|
205
205
|
disabled: props.disabled
|
|
206
206
|
}
|
|
207
207
|
),
|
|
208
|
-
variant === "vertical" && /* @__PURE__ */
|
|
209
|
-
!isLast && /* @__PURE__ */
|
|
208
|
+
variant === "vertical" && /* @__PURE__ */ jsxs("div", { className: "flex gap-4", children: [
|
|
209
|
+
!isLast && /* @__PURE__ */ jsx("div", { className: "flex justify-center ps-[calc(var(--spacing)_*_4.5_-_1px)]", children: /* @__PURE__ */ jsx(
|
|
210
210
|
StepperSeparator,
|
|
211
211
|
{
|
|
212
212
|
orientation: "vertical",
|
|
@@ -215,7 +215,7 @@ const defineStepper = (...steps) => {
|
|
|
215
215
|
disabled: props.disabled
|
|
216
216
|
}
|
|
217
217
|
) }),
|
|
218
|
-
/* @__PURE__ */
|
|
218
|
+
/* @__PURE__ */ jsx("div", { className: "my-3 flex-1 ps-4", children: panel })
|
|
219
219
|
] })
|
|
220
220
|
] });
|
|
221
221
|
},
|
|
@@ -224,7 +224,7 @@ const defineStepper = (...steps) => {
|
|
|
224
224
|
Panel: ({ children, asChild, ...props }) => {
|
|
225
225
|
const Comp = asChild ? Slot : "div";
|
|
226
226
|
const { tracking } = useStepperProvider();
|
|
227
|
-
return /* @__PURE__ */
|
|
227
|
+
return /* @__PURE__ */ jsx(
|
|
228
228
|
Comp,
|
|
229
229
|
{
|
|
230
230
|
"data-component": "stepper-step-panel",
|
|
@@ -236,7 +236,7 @@ const defineStepper = (...steps) => {
|
|
|
236
236
|
},
|
|
237
237
|
Controls: ({ children, className, asChild, ...props }) => {
|
|
238
238
|
const Comp = asChild ? Slot : "div";
|
|
239
|
-
return /* @__PURE__ */
|
|
239
|
+
return /* @__PURE__ */ jsx(
|
|
240
240
|
Comp,
|
|
241
241
|
{
|
|
242
242
|
"data-component": "stepper-controls",
|
|
@@ -256,7 +256,7 @@ const Title = ({
|
|
|
256
256
|
...props
|
|
257
257
|
}) => {
|
|
258
258
|
const Comp = asChild ? Slot : "h4";
|
|
259
|
-
return /* @__PURE__ */
|
|
259
|
+
return /* @__PURE__ */ jsx(
|
|
260
260
|
Comp,
|
|
261
261
|
{
|
|
262
262
|
"data-component": "stepper-step-title",
|
|
@@ -273,7 +273,7 @@ const Description = ({
|
|
|
273
273
|
...props
|
|
274
274
|
}) => {
|
|
275
275
|
const Comp = asChild ? Slot : "p";
|
|
276
|
-
return /* @__PURE__ */
|
|
276
|
+
return /* @__PURE__ */ jsx(
|
|
277
277
|
Comp,
|
|
278
278
|
{
|
|
279
279
|
"data-component": "stepper-step-description",
|
|
@@ -293,7 +293,7 @@ const StepperSeparator = ({
|
|
|
293
293
|
if (isLast) {
|
|
294
294
|
return null;
|
|
295
295
|
}
|
|
296
|
-
return /* @__PURE__ */
|
|
296
|
+
return /* @__PURE__ */ jsx(
|
|
297
297
|
"div",
|
|
298
298
|
{
|
|
299
299
|
"data-component": "stepper-separator",
|
|
@@ -316,7 +316,7 @@ const CircleStepIndicator = ({
|
|
|
316
316
|
const circumference = radius * 2 * Math.PI;
|
|
317
317
|
const fillPercentage = currentStep / totalSteps * 100;
|
|
318
318
|
const dashOffset = circumference - circumference * fillPercentage / 100;
|
|
319
|
-
return /* @__PURE__ */
|
|
319
|
+
return /* @__PURE__ */ jsxs(
|
|
320
320
|
"div",
|
|
321
321
|
{
|
|
322
322
|
"data-component": "stepper-step-indicator",
|
|
@@ -327,9 +327,9 @@ const CircleStepIndicator = ({
|
|
|
327
327
|
tabIndex: -1,
|
|
328
328
|
className: "relative inline-flex items-center justify-center",
|
|
329
329
|
children: [
|
|
330
|
-
/* @__PURE__ */
|
|
331
|
-
/* @__PURE__ */
|
|
332
|
-
/* @__PURE__ */
|
|
330
|
+
/* @__PURE__ */ jsxs("svg", { width: size, height: size, children: [
|
|
331
|
+
/* @__PURE__ */ jsx("title", { children: "Step Indicator" }),
|
|
332
|
+
/* @__PURE__ */ jsx(
|
|
333
333
|
"circle",
|
|
334
334
|
{
|
|
335
335
|
cx: size / 2,
|
|
@@ -341,7 +341,7 @@ const CircleStepIndicator = ({
|
|
|
341
341
|
className: "text-muted-foreground"
|
|
342
342
|
}
|
|
343
343
|
),
|
|
344
|
-
/* @__PURE__ */
|
|
344
|
+
/* @__PURE__ */ jsx(
|
|
345
345
|
"circle",
|
|
346
346
|
{
|
|
347
347
|
cx: size / 2,
|
|
@@ -357,7 +357,7 @@ const CircleStepIndicator = ({
|
|
|
357
357
|
}
|
|
358
358
|
)
|
|
359
359
|
] }),
|
|
360
|
-
/* @__PURE__ */
|
|
360
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsxs("span", { className: "text-sm font-medium", "aria-live": "polite", children: [
|
|
361
361
|
currentStep,
|
|
362
362
|
" of ",
|
|
363
363
|
totalSteps
|
|
@@ -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 SwitchPrimitive from '@radix-ui/react-switch';
|
|
4
4
|
import { cn } from '../../lib/utils.js';
|
|
5
5
|
|
|
6
|
-
const Switch = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
7
|
-
Root,
|
|
6
|
+
const Switch = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7
|
+
SwitchPrimitive.Root,
|
|
8
8
|
{
|
|
9
9
|
className: cn(
|
|
10
10
|
"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
@@ -12,8 +12,8 @@ const Switch = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
12
12
|
),
|
|
13
13
|
...props,
|
|
14
14
|
ref,
|
|
15
|
-
children: /* @__PURE__ */
|
|
16
|
-
Thumb,
|
|
15
|
+
children: /* @__PURE__ */ jsx(
|
|
16
|
+
SwitchPrimitive.Thumb,
|
|
17
17
|
{
|
|
18
18
|
className: cn(
|
|
19
19
|
"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
@@ -22,6 +22,6 @@ const Switch = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
22
22
|
)
|
|
23
23
|
}
|
|
24
24
|
));
|
|
25
|
-
Switch.displayName = Root.displayName;
|
|
25
|
+
Switch.displayName = SwitchPrimitive.Root.displayName;
|
|
26
26
|
|
|
27
27
|
export { Switch };
|
|
@@ -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 Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
5
|
+
const Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(
|
|
6
6
|
"table",
|
|
7
7
|
{
|
|
8
8
|
ref,
|
|
@@ -11,9 +11,9 @@ const Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
11
11
|
}
|
|
12
12
|
) }));
|
|
13
13
|
Table.displayName = "Table";
|
|
14
|
-
const TableHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
14
|
+
const TableHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
|
|
15
15
|
TableHeader.displayName = "TableHeader";
|
|
16
|
-
const TableBody = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
16
|
+
const TableBody = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
17
17
|
"tbody",
|
|
18
18
|
{
|
|
19
19
|
ref,
|
|
@@ -22,7 +22,7 @@ const TableBody = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
22
22
|
}
|
|
23
23
|
));
|
|
24
24
|
TableBody.displayName = "TableBody";
|
|
25
|
-
const TableFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
25
|
+
const TableFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
26
26
|
"tfoot",
|
|
27
27
|
{
|
|
28
28
|
ref,
|
|
@@ -34,7 +34,7 @@ const TableFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
34
34
|
}
|
|
35
35
|
));
|
|
36
36
|
TableFooter.displayName = "TableFooter";
|
|
37
|
-
const TableRow = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
37
|
+
const TableRow = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
38
38
|
"tr",
|
|
39
39
|
{
|
|
40
40
|
ref,
|
|
@@ -46,7 +46,7 @@ const TableRow = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
46
46
|
}
|
|
47
47
|
));
|
|
48
48
|
TableRow.displayName = "TableRow";
|
|
49
|
-
const TableHead = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
49
|
+
const TableHead = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
50
50
|
"th",
|
|
51
51
|
{
|
|
52
52
|
ref,
|
|
@@ -58,7 +58,7 @@ const TableHead = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
58
58
|
}
|
|
59
59
|
));
|
|
60
60
|
TableHead.displayName = "TableHead";
|
|
61
|
-
const TableCell = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
61
|
+
const TableCell = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
62
62
|
"td",
|
|
63
63
|
{
|
|
64
64
|
ref,
|
|
@@ -67,7 +67,7 @@ const TableCell = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
67
67
|
}
|
|
68
68
|
));
|
|
69
69
|
TableCell.displayName = "TableCell";
|
|
70
|
-
const TableCaption = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
70
|
+
const TableCaption = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
71
71
|
"caption",
|
|
72
72
|
{
|
|
73
73
|
ref,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
4
4
|
import { cn } from '../../lib/utils.js';
|
|
5
5
|
|
|
6
|
-
const Tabs = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
7
|
-
Tabs.displayName =
|
|
8
|
-
const TabsList = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
9
|
-
List,
|
|
6
|
+
const Tabs = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Root, { ref, className: cn(className), ...props }));
|
|
7
|
+
Tabs.displayName = TabsPrimitive.Root.displayName;
|
|
8
|
+
const TabsList = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
9
|
+
TabsPrimitive.List,
|
|
10
10
|
{
|
|
11
11
|
ref,
|
|
12
12
|
className: cn(
|
|
@@ -16,9 +16,9 @@ const TabsList = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
16
16
|
...props
|
|
17
17
|
}
|
|
18
18
|
));
|
|
19
|
-
TabsList.displayName = List.displayName;
|
|
20
|
-
const TabsTrigger = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
21
|
-
Trigger,
|
|
19
|
+
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
20
|
+
const TabsTrigger = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
21
|
+
TabsPrimitive.Trigger,
|
|
22
22
|
{
|
|
23
23
|
ref,
|
|
24
24
|
className: cn(
|
|
@@ -28,9 +28,9 @@ const TabsTrigger = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
28
28
|
...props
|
|
29
29
|
}
|
|
30
30
|
));
|
|
31
|
-
TabsTrigger.displayName = Trigger.displayName;
|
|
32
|
-
const TabsContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
33
|
-
Content,
|
|
31
|
+
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
32
|
+
const TabsContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
33
|
+
TabsPrimitive.Content,
|
|
34
34
|
{
|
|
35
35
|
ref,
|
|
36
36
|
className: cn(
|
|
@@ -40,6 +40,6 @@ const TabsContent = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
40
40
|
...props
|
|
41
41
|
}
|
|
42
42
|
));
|
|
43
|
-
TabsContent.displayName = Content.displayName;
|
|
43
|
+
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
44
44
|
|
|
45
45
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -1,9 +1,9 @@
|
|
|
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
5
|
const Textarea = React.forwardRef(({ className, outlined, ...props }, ref) => {
|
|
6
|
-
return /* @__PURE__ */
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
7
|
"textarea",
|
|
8
8
|
{
|
|
9
9
|
"data-slot": outlined ? "textarea" : "form-control",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
4
4
|
import { cn } from '../../lib/utils.js';
|
|
5
5
|
|
|
6
|
-
const TooltipProvider = Provider;
|
|
7
|
-
const Tooltip =
|
|
8
|
-
const TooltipTrigger = Trigger;
|
|
9
|
-
const TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
10
|
-
|
|
6
|
+
const TooltipProvider = TooltipPrimitive.Provider;
|
|
7
|
+
const Tooltip = TooltipPrimitive.Root;
|
|
8
|
+
const TooltipTrigger = TooltipPrimitive.Trigger;
|
|
9
|
+
const TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
10
|
+
TooltipPrimitive.Content,
|
|
11
11
|
{
|
|
12
12
|
ref,
|
|
13
13
|
sideOffset,
|
|
@@ -18,6 +18,6 @@ const TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }
|
|
|
18
18
|
...props
|
|
19
19
|
}
|
|
20
20
|
));
|
|
21
|
-
TooltipContent.displayName =
|
|
21
|
+
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
22
22
|
|
|
23
23
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
package/dist/index.js
CHANGED
|
@@ -27,51 +27,51 @@ export { CoreShopCartBaseService } from './modules/CoreShopCart/services/base.js
|
|
|
27
27
|
export { CoreShipmentBuilder } from './modules/CoreShipment/classes/CoreShipmentBuilder.js';
|
|
28
28
|
export { CoreShipmentBaseService } from './modules/CoreShipment/services/base.js';
|
|
29
29
|
export { CoreShippingMethodTypesEnum } from './modules/CoreShipment/types/CoreShipment.js';
|
|
30
|
-
export { CoreBaseLayout } from './components/layouts/CoreBaseLayout.
|
|
31
|
-
export { CoreHomeLayout } from './components/templates/CoreHomeLayout.
|
|
32
|
-
export { CorePreviewLayout } from './components/templates/CorePreviewLayout.
|
|
33
|
-
export { CustomCarousel } from './components/common/carousel/CustomCarousel.
|
|
34
|
-
export { CustomCarouselSection } from './components/common/carousel/CustomCarouselSection.
|
|
35
|
-
export { FormInput } from './components/common/form/FormInput.
|
|
36
|
-
export { FormTextArea } from './components/common/form/FormTextArea.
|
|
37
|
-
export { FormSelect } from './components/common/form/FormSelect.
|
|
38
|
-
export { FormCheckbox } from './components/common/form/FormCheckbox.
|
|
39
|
-
export { FormWrapper } from './components/common/form/FormWrapper.
|
|
40
|
-
export { CustomFormField } from './components/common/form/CustomFormField.
|
|
41
|
-
export { Logo } from './components/common/logo/Logo.
|
|
42
|
-
export { CustomPagination } from './components/common/pagination/CustomPagination.
|
|
43
|
-
export { CustomSelect } from './components/common/select/CustomSelect.
|
|
44
|
-
export { Spinner } from './components/common/spinner/Spinner.
|
|
45
|
-
export { Stepper } from './components/common/stepper/Stepper.
|
|
46
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './components/ui/accordion.
|
|
47
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './components/ui/alert-dialog.
|
|
48
|
-
export { Alert, AlertDescription, AlertTitle } from './components/ui/alert.
|
|
49
|
-
export { Avatar, AvatarFallback, AvatarImage } from './components/ui/avatar.
|
|
50
|
-
export { Badge, badgeVariants } from './components/ui/badge.
|
|
51
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './components/ui/breadcrumb.
|
|
52
|
-
export { Button, buttonVariants } from './components/ui/button.
|
|
53
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './components/ui/card.
|
|
54
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from './components/ui/carousel.
|
|
55
|
-
export { Checkbox } from './components/ui/checkbox.
|
|
56
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './components/ui/dialog.
|
|
57
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/ui/dropdown-menu.
|
|
58
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './components/ui/form.
|
|
59
|
-
export { Input } from './components/ui/input.
|
|
60
|
-
export { Label } from './components/ui/label.
|
|
61
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './components/ui/pagination.
|
|
62
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './components/ui/popover.
|
|
63
|
-
export { RadioGroup, RadioGroupItem } from './components/ui/radio-group.
|
|
64
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './components/ui/select.
|
|
65
|
-
export { Separator } from './components/ui/separator.
|
|
66
|
-
export { defineStepper } from './components/ui/stepper.
|
|
67
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from './components/ui/sheet.
|
|
68
|
-
export { Skeleton } from './components/ui/skeleton.
|
|
69
|
-
export { Slider } from './components/ui/slider.
|
|
70
|
-
export { Switch } from './components/ui/switch.
|
|
71
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './components/ui/table.
|
|
72
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/ui/tabs.
|
|
73
|
-
export { Textarea } from './components/ui/textarea.
|
|
74
|
-
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './components/ui/tooltip.
|
|
30
|
+
export { CoreBaseLayout } from './components/layouts/CoreBaseLayout.js';
|
|
31
|
+
export { CoreHomeLayout } from './components/templates/CoreHomeLayout.js';
|
|
32
|
+
export { CorePreviewLayout } from './components/templates/CorePreviewLayout.js';
|
|
33
|
+
export { CustomCarousel } from './components/common/carousel/CustomCarousel.js';
|
|
34
|
+
export { CustomCarouselSection } from './components/common/carousel/CustomCarouselSection.js';
|
|
35
|
+
export { FormInput } from './components/common/form/FormInput.js';
|
|
36
|
+
export { FormTextArea } from './components/common/form/FormTextArea.js';
|
|
37
|
+
export { FormSelect } from './components/common/form/FormSelect.js';
|
|
38
|
+
export { FormCheckbox } from './components/common/form/FormCheckbox.js';
|
|
39
|
+
export { FormWrapper } from './components/common/form/FormWrapper.js';
|
|
40
|
+
export { CustomFormField } from './components/common/form/CustomFormField.js';
|
|
41
|
+
export { Logo } from './components/common/logo/Logo.js';
|
|
42
|
+
export { CustomPagination } from './components/common/pagination/CustomPagination.js';
|
|
43
|
+
export { CustomSelect } from './components/common/select/CustomSelect.js';
|
|
44
|
+
export { Spinner } from './components/common/spinner/Spinner.js';
|
|
45
|
+
export { Stepper } from './components/common/stepper/Stepper.js';
|
|
46
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './components/ui/accordion.js';
|
|
47
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './components/ui/alert-dialog.js';
|
|
48
|
+
export { Alert, AlertDescription, AlertTitle } from './components/ui/alert.js';
|
|
49
|
+
export { Avatar, AvatarFallback, AvatarImage } from './components/ui/avatar.js';
|
|
50
|
+
export { Badge, badgeVariants } from './components/ui/badge.js';
|
|
51
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './components/ui/breadcrumb.js';
|
|
52
|
+
export { Button, buttonVariants } from './components/ui/button.js';
|
|
53
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './components/ui/card.js';
|
|
54
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from './components/ui/carousel.js';
|
|
55
|
+
export { Checkbox } from './components/ui/checkbox.js';
|
|
56
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './components/ui/dialog.js';
|
|
57
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/ui/dropdown-menu.js';
|
|
58
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './components/ui/form.js';
|
|
59
|
+
export { Input } from './components/ui/input.js';
|
|
60
|
+
export { Label } from './components/ui/label.js';
|
|
61
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './components/ui/pagination.js';
|
|
62
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './components/ui/popover.js';
|
|
63
|
+
export { RadioGroup, RadioGroupItem } from './components/ui/radio-group.js';
|
|
64
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './components/ui/select.js';
|
|
65
|
+
export { Separator } from './components/ui/separator.js';
|
|
66
|
+
export { defineStepper } from './components/ui/stepper.js';
|
|
67
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from './components/ui/sheet.js';
|
|
68
|
+
export { Skeleton } from './components/ui/skeleton.js';
|
|
69
|
+
export { Slider } from './components/ui/slider.js';
|
|
70
|
+
export { Switch } from './components/ui/switch.js';
|
|
71
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './components/ui/table.js';
|
|
72
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/ui/tabs.js';
|
|
73
|
+
export { Textarea } from './components/ui/textarea.js';
|
|
74
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './components/ui/tooltip.js';
|
|
75
75
|
export { useIsMobile } from './hooks/use-mobile.js';
|
|
76
76
|
export { useLanguage } from './hooks/useLanguage.js';
|
|
77
77
|
export { useNotify } from './hooks/useNotification.js';
|
package/dist/lib/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { clsx } from '
|
|
2
|
-
import { twMerge } from '
|
|
1
|
+
import { clsx } from 'clsx';
|
|
2
|
+
import { twMerge } from 'tailwind-merge';
|
|
3
3
|
|
|
4
4
|
function cn(...inputs) {
|
|
5
5
|
return twMerge(clsx(inputs));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { create } from 'zustand';
|
|
1
2
|
import { persist } from '../../../node_modules/zustand/esm/middleware.js';
|
|
2
3
|
import { CoreAuthBaseService } from '../services/base.js';
|
|
3
|
-
import { create } from '../../../node_modules/zustand/esm/react.js';
|
|
4
4
|
|
|
5
5
|
class CoreAuthBuilder {
|
|
6
6
|
authService;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import 'zustand';
|
|
1
2
|
import '../../helpers/axiosGlobal.js';
|
|
2
3
|
export { createAuthStore, resetAuthStore, setAuthStore, useAuthStore } from './stores/authStore.js';
|
|
3
|
-
import './context/AuthContext.
|
|
4
|
+
import './context/AuthContext.js';
|
|
4
5
|
import { loadModuleTranslations } from '../../i18n/utils/loadModuleTranslations.js';
|
|
5
6
|
import enTranslations from './locale/en.json.js';
|
|
6
7
|
import esTranslations from './locale/es.json.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { create } from 'zustand';
|
|
1
2
|
import { persist } from '../../../node_modules/zustand/esm/middleware.js';
|
|
2
3
|
import { CoreCustomizationBaseService } from '../services/base.js';
|
|
3
|
-
import { create } from '../../../node_modules/zustand/esm/react.js';
|
|
4
4
|
|
|
5
5
|
class CoreCustomizationBuilder {
|
|
6
6
|
customizationService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { create } from 'zustand';
|
|
1
2
|
import { persist } from '../../../node_modules/zustand/esm/middleware.js';
|
|
2
3
|
import { CoreOrderBaseService } from '../services/base.js';
|
|
3
|
-
import { create } from '../../../node_modules/zustand/esm/react.js';
|
|
4
4
|
|
|
5
5
|
class CoreOrderBuilder {
|
|
6
6
|
orderService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { create } from 'zustand';
|
|
1
2
|
import { persist } from '../../../node_modules/zustand/esm/middleware.js';
|
|
2
3
|
import { CorePayFormBaseService } from '../services/base.js';
|
|
3
|
-
import { create } from '../../../node_modules/zustand/esm/react.js';
|
|
4
4
|
|
|
5
5
|
class CorePayFormBuilder {
|
|
6
6
|
payFormService;
|