@q2devel/q2-storybook 1.0.68 → 1.0.69
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HorizontalTabProps } from '@/components/Web/tabs/HorizontalTab';
|
|
2
|
-
import { PriceFormatOptions } from '@/utils/generalHelperFunction';
|
|
3
1
|
import { Product, ProductVariation } from '@q2devel/q2-core';
|
|
2
|
+
import { PriceFormatOptions } from '../../../utils/generalHelperFunction';
|
|
3
|
+
import { HorizontalTabProps } from '../../Web/tabs/HorizontalTab';
|
|
4
4
|
export type ProductDetail = {
|
|
5
5
|
name: string;
|
|
6
6
|
items: string[];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import Button from '@/components/Base/button/Button';
|
|
4
|
-
import Heading from '@/components/Base/heading/Heading';
|
|
5
|
-
import { HorizontalTab } from '@/components/Web/tabs/HorizontalTab';
|
|
6
|
-
import { formatPercentage, formatPrice, formatPriceForHTML, formatPriceString, } from '@/utils/generalHelperFunction';
|
|
7
3
|
import { Tab, TabGroup, TabList, TabPanel, TabPanels } from '@headlessui/react';
|
|
8
4
|
import { MinusIcon, PlusIcon } from '@heroicons/react/24/outline';
|
|
9
5
|
import { useRef, useState } from 'react';
|
|
6
|
+
import { formatPercentage, formatPrice, formatPriceForHTML, formatPriceString, } from '../../../utils/generalHelperFunction';
|
|
10
7
|
import { buildClassesByJoining } from '../../../utils/StyleHelper';
|
|
8
|
+
import Button from '../../Base/button/Button';
|
|
9
|
+
import Heading from '../../Base/heading/Heading';
|
|
11
10
|
import { ImageGalleryModal } from '../../Base/image-gallery-modal/ImageGalleryModal';
|
|
11
|
+
import { HorizontalTab } from '../../Web/tabs/HorizontalTab';
|
|
12
12
|
import LikeButton from '../wishlist/LikeButton';
|
|
13
13
|
import WishlistDropdown from '../wishlist/WishlistDropdown';
|
|
14
14
|
export const ProductDetail = ({ name = '', price = 0, href = '', discountPercent = 0, description = '', detail = { tabs: [] }, buttonText = 'Add to bag', className = '',
|