@enadhq/enad-react-sdk 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +288 -0
- package/dist/client/cart/adapters/brink.d.ts +29 -0
- package/dist/client/cart/adapters/brink.d.ts.map +1 -0
- package/dist/client/cart/adapters/brink.mjs +154 -0
- package/dist/client/cart/adapters/brink.mjs.map +1 -0
- package/dist/client/cart/adapters/index.d.ts +3 -0
- package/dist/client/cart/adapters/index.d.ts.map +1 -0
- package/dist/client/cart/adapters/index.mjs +5 -0
- package/dist/client/cart/adapters/index.mjs.map +1 -0
- package/dist/client/cart/adapters/mock.d.ts +20 -0
- package/dist/client/cart/adapters/mock.d.ts.map +1 -0
- package/dist/client/cart/adapters/mock.mjs +76 -0
- package/dist/client/cart/adapters/mock.mjs.map +1 -0
- package/dist/client/cart/components/cart-drawer.d.ts +17 -0
- package/dist/client/cart/components/cart-drawer.d.ts.map +1 -0
- package/dist/client/cart/components/cart-drawer.mjs +311 -0
- package/dist/client/cart/components/cart-drawer.mjs.map +1 -0
- package/dist/client/cart/components/cart-trigger.d.ts +10 -0
- package/dist/client/cart/components/cart-trigger.d.ts.map +1 -0
- package/dist/client/cart/components/cart-trigger.mjs +34 -0
- package/dist/client/cart/components/cart-trigger.mjs.map +1 -0
- package/dist/client/cart/components/promo-code-input.d.ts +16 -0
- package/dist/client/cart/components/promo-code-input.d.ts.map +1 -0
- package/dist/client/cart/components/promo-code-input.mjs +92 -0
- package/dist/client/cart/components/promo-code-input.mjs.map +1 -0
- package/dist/client/cart/constants/session.d.ts +2 -0
- package/dist/client/cart/constants/session.d.ts.map +1 -0
- package/dist/client/cart/constants/session.mjs +5 -0
- package/dist/client/cart/constants/session.mjs.map +1 -0
- package/dist/client/cart/contexts/cart.d.ts +36 -0
- package/dist/client/cart/contexts/cart.d.ts.map +1 -0
- package/dist/client/cart/contexts/cart.mjs +20 -0
- package/dist/client/cart/contexts/cart.mjs.map +1 -0
- package/dist/client/cart/hooks/useCart.d.ts +26 -0
- package/dist/client/cart/hooks/useCart.d.ts.map +1 -0
- package/dist/client/cart/hooks/useCart.mjs +25 -0
- package/dist/client/cart/hooks/useCart.mjs.map +1 -0
- package/dist/client/cart/hooks/useCartActions.d.ts +25 -0
- package/dist/client/cart/hooks/useCartActions.d.ts.map +1 -0
- package/dist/client/cart/hooks/useCartActions.mjs +49 -0
- package/dist/client/cart/hooks/useCartActions.mjs.map +1 -0
- package/dist/client/cart/index.d.ts +12 -0
- package/dist/client/cart/index.d.ts.map +1 -0
- package/dist/client/cart/index.mjs +16 -0
- package/dist/client/cart/index.mjs.map +1 -0
- package/dist/client/cart/queries/addToCartQueryFn.d.ts +7 -0
- package/dist/client/cart/queries/addToCartQueryFn.d.ts.map +1 -0
- package/dist/client/cart/queries/addToCartQueryFn.mjs +27 -0
- package/dist/client/cart/queries/addToCartQueryFn.mjs.map +1 -0
- package/dist/client/cart/queries/getCartQueryFn.d.ts +4 -0
- package/dist/client/cart/queries/getCartQueryFn.d.ts.map +1 -0
- package/dist/client/cart/queries/getCartQueryFn.mjs +34 -0
- package/dist/client/cart/queries/getCartQueryFn.mjs.map +1 -0
- package/dist/client/cart/queries/removeCartItemQueryFn.d.ts +6 -0
- package/dist/client/cart/queries/removeCartItemQueryFn.d.ts.map +1 -0
- package/dist/client/cart/queries/removeCartItemQueryFn.mjs +24 -0
- package/dist/client/cart/queries/removeCartItemQueryFn.mjs.map +1 -0
- package/dist/client/cart/queries/updateCartItemQueryFn.d.ts +7 -0
- package/dist/client/cart/queries/updateCartItemQueryFn.d.ts.map +1 -0
- package/dist/client/cart/queries/updateCartItemQueryFn.mjs +27 -0
- package/dist/client/cart/queries/updateCartItemQueryFn.mjs.map +1 -0
- package/dist/client/cart/types/adapter.d.ts +110 -0
- package/dist/client/cart/types/adapter.d.ts.map +1 -0
- package/dist/client/cart/types/adapter.mjs +12 -0
- package/dist/client/cart/types/adapter.mjs.map +1 -0
- package/dist/client/cart/types/cart.d.ts +52 -0
- package/dist/client/cart/types/cart.d.ts.map +1 -0
- package/dist/client/cart/types/cart.mjs +1 -0
- package/dist/client/cart/types/cart.mjs.map +1 -0
- package/dist/client/cart/utils/session.d.ts +5 -0
- package/dist/client/cart/utils/session.d.ts.map +1 -0
- package/dist/client/cart/utils/session.mjs +21 -0
- package/dist/client/cart/utils/session.mjs.map +1 -0
- package/dist/client/cms/storyblok/preview/registerStoryblokBridge.d.ts +7 -0
- package/dist/client/cms/storyblok/preview/registerStoryblokBridge.d.ts.map +1 -0
- package/dist/client/cms/storyblok/preview/registerStoryblokBridge.mjs +25 -0
- package/dist/client/cms/storyblok/preview/registerStoryblokBridge.mjs.map +1 -0
- package/dist/client/cms/storyblok/preview/storyblok-preview-syncer.d.ts +20 -0
- package/dist/client/cms/storyblok/preview/storyblok-preview-syncer.d.ts.map +1 -0
- package/dist/client/cms/storyblok/preview/storyblok-preview-syncer.mjs +79 -0
- package/dist/client/cms/storyblok/preview/storyblok-preview-syncer.mjs.map +1 -0
- package/dist/client/global/auth/withAuth.d.ts +5 -0
- package/dist/client/global/auth/withAuth.d.ts.map +1 -0
- package/dist/client/global/auth/withAuth.mjs +25 -0
- package/dist/client/global/auth/withAuth.mjs.map +1 -0
- package/dist/client/global/components/error-boundary.d.ts +18 -0
- package/dist/client/global/components/error-boundary.d.ts.map +1 -0
- package/dist/client/global/components/error-boundary.mjs +41 -0
- package/dist/client/global/components/error-boundary.mjs.map +1 -0
- package/dist/client/global/config/index.d.ts +17 -0
- package/dist/client/global/config/index.d.ts.map +1 -0
- package/dist/client/global/config/index.mjs +34 -0
- package/dist/client/global/config/index.mjs.map +1 -0
- package/dist/client/global/constants/tags.d.ts +15 -0
- package/dist/client/global/constants/tags.d.ts.map +1 -0
- package/dist/client/global/constants/tags.mjs +18 -0
- package/dist/client/global/constants/tags.mjs.map +1 -0
- package/dist/client/global/index.d.ts +6 -0
- package/dist/client/global/index.d.ts.map +1 -0
- package/dist/client/global/index.mjs +7 -0
- package/dist/client/global/index.mjs.map +1 -0
- package/dist/client/global/providers/enad-provider.d.ts +48 -0
- package/dist/client/global/providers/enad-provider.d.ts.map +1 -0
- package/dist/client/global/providers/enad-provider.mjs +40 -0
- package/dist/client/global/providers/enad-provider.mjs.map +1 -0
- package/dist/client/icons/adapters/hugeicons.d.ts +9 -0
- package/dist/client/icons/adapters/hugeicons.d.ts.map +1 -0
- package/dist/client/icons/adapters/hugeicons.mjs +117 -0
- package/dist/client/icons/adapters/hugeicons.mjs.map +1 -0
- package/dist/client/icons/adapters/lucide.d.ts +8 -0
- package/dist/client/icons/adapters/lucide.d.ts.map +1 -0
- package/dist/client/icons/adapters/lucide.mjs +108 -0
- package/dist/client/icons/adapters/lucide.mjs.map +1 -0
- package/dist/client/icons/adapters/phosphor.d.ts +11 -0
- package/dist/client/icons/adapters/phosphor.d.ts.map +1 -0
- package/dist/client/icons/adapters/phosphor.mjs +108 -0
- package/dist/client/icons/adapters/phosphor.mjs.map +1 -0
- package/dist/client/icons/icon-context.d.ts +13 -0
- package/dist/client/icons/icon-context.d.ts.map +1 -0
- package/dist/client/icons/icon-context.mjs +27 -0
- package/dist/client/icons/icon-context.mjs.map +1 -0
- package/dist/client/icons/index.d.ts +9 -0
- package/dist/client/icons/index.d.ts.map +1 -0
- package/dist/client/icons/index.mjs +16 -0
- package/dist/client/icons/index.mjs.map +1 -0
- package/dist/client/icons/types.d.ts +60 -0
- package/dist/client/icons/types.d.ts.map +1 -0
- package/dist/client/icons/types.mjs +1 -0
- package/dist/client/icons/types.mjs.map +1 -0
- package/dist/client/motion/config.d.ts +42 -0
- package/dist/client/motion/config.d.ts.map +1 -0
- package/dist/client/motion/config.mjs +44 -0
- package/dist/client/motion/config.mjs.map +1 -0
- package/dist/client/motion/hover.d.ts +36 -0
- package/dist/client/motion/hover.d.ts.map +1 -0
- package/dist/client/motion/hover.mjs +19 -0
- package/dist/client/motion/hover.mjs.map +1 -0
- package/dist/client/motion/index.d.ts +4 -0
- package/dist/client/motion/index.d.ts.map +1 -0
- package/dist/client/motion/index.mjs +13 -0
- package/dist/client/motion/index.mjs.map +1 -0
- package/dist/client/motion/stagger.d.ts +36 -0
- package/dist/client/motion/stagger.d.ts.map +1 -0
- package/dist/client/motion/stagger.mjs +17 -0
- package/dist/client/motion/stagger.mjs.map +1 -0
- package/dist/client/search/actions/searchAction.d.ts +2 -0
- package/dist/client/search/actions/searchAction.d.ts.map +1 -0
- package/dist/client/search/actions/searchAction.mjs +18 -0
- package/dist/client/search/actions/searchAction.mjs.map +1 -0
- package/dist/client/search/components/search-bar.d.ts +8 -0
- package/dist/client/search/components/search-bar.d.ts.map +1 -0
- package/dist/client/search/components/search-bar.mjs +34 -0
- package/dist/client/search/components/search-bar.mjs.map +1 -0
- package/dist/client/search/hooks/useSearch.d.ts +14 -0
- package/dist/client/search/hooks/useSearch.d.ts.map +1 -0
- package/dist/client/search/hooks/useSearch.mjs +37 -0
- package/dist/client/search/hooks/useSearch.mjs.map +1 -0
- package/dist/client/search/index.d.ts +2 -0
- package/dist/client/search/index.d.ts.map +1 -0
- package/dist/client/search/index.mjs +5 -0
- package/dist/client/search/index.mjs.map +1 -0
- package/dist/client/storefront/blocks/accordion-block.d.ts +4 -0
- package/dist/client/storefront/blocks/accordion-block.d.ts.map +1 -0
- package/dist/client/storefront/blocks/accordion-block.mjs +43 -0
- package/dist/client/storefront/blocks/accordion-block.mjs.map +1 -0
- package/dist/client/storefront/blocks/card-image-with-caption.d.ts +4 -0
- package/dist/client/storefront/blocks/card-image-with-caption.d.ts.map +1 -0
- package/dist/client/storefront/blocks/card-image-with-caption.mjs +27 -0
- package/dist/client/storefront/blocks/card-image-with-caption.mjs.map +1 -0
- package/dist/client/storefront/blocks/card-video.d.ts +4 -0
- package/dist/client/storefront/blocks/card-video.d.ts.map +1 -0
- package/dist/client/storefront/blocks/card-video.mjs +43 -0
- package/dist/client/storefront/blocks/card-video.mjs.map +1 -0
- package/dist/client/storefront/blocks/content-with-gallery.d.ts +4 -0
- package/dist/client/storefront/blocks/content-with-gallery.d.ts.map +1 -0
- package/dist/client/storefront/blocks/content-with-gallery.mjs +48 -0
- package/dist/client/storefront/blocks/content-with-gallery.mjs.map +1 -0
- package/dist/client/storefront/blocks/content-with-image-product-data.d.ts +4 -0
- package/dist/client/storefront/blocks/content-with-image-product-data.d.ts.map +1 -0
- package/dist/client/storefront/blocks/content-with-image-product-data.mjs +45 -0
- package/dist/client/storefront/blocks/content-with-image-product-data.mjs.map +1 -0
- package/dist/client/storefront/blocks/gallery-with-caption.d.ts +4 -0
- package/dist/client/storefront/blocks/gallery-with-caption.d.ts.map +1 -0
- package/dist/client/storefront/blocks/gallery-with-caption.mjs +36 -0
- package/dist/client/storefront/blocks/gallery-with-caption.mjs.map +1 -0
- package/dist/client/storefront/blocks/gallery-with-link-blocks.d.ts +4 -0
- package/dist/client/storefront/blocks/gallery-with-link-blocks.d.ts.map +1 -0
- package/dist/client/storefront/blocks/gallery-with-link-blocks.mjs +24 -0
- package/dist/client/storefront/blocks/gallery-with-link-blocks.mjs.map +1 -0
- package/dist/client/storefront/blocks/gallery.d.ts +4 -0
- package/dist/client/storefront/blocks/gallery.d.ts.map +1 -0
- package/dist/client/storefront/blocks/gallery.mjs +47 -0
- package/dist/client/storefront/blocks/gallery.mjs.map +1 -0
- package/dist/client/storefront/blocks/hero.d.ts +4 -0
- package/dist/client/storefront/blocks/hero.d.ts.map +1 -0
- package/dist/client/storefront/blocks/hero.mjs +357 -0
- package/dist/client/storefront/blocks/hero.mjs.map +1 -0
- package/dist/client/storefront/blocks/image-block.d.ts +4 -0
- package/dist/client/storefront/blocks/image-block.d.ts.map +1 -0
- package/dist/client/storefront/blocks/image-block.mjs +29 -0
- package/dist/client/storefront/blocks/image-block.mjs.map +1 -0
- package/dist/client/storefront/blocks/index.d.ts +20 -0
- package/dist/client/storefront/blocks/index.d.ts.map +1 -0
- package/dist/client/storefront/blocks/index.mjs +41 -0
- package/dist/client/storefront/blocks/index.mjs.map +1 -0
- package/dist/client/storefront/blocks/link-block-small.d.ts +4 -0
- package/dist/client/storefront/blocks/link-block-small.d.ts.map +1 -0
- package/dist/client/storefront/blocks/link-block-small.mjs +35 -0
- package/dist/client/storefront/blocks/link-block-small.mjs.map +1 -0
- package/dist/client/storefront/blocks/link-block.d.ts +4 -0
- package/dist/client/storefront/blocks/link-block.d.ts.map +1 -0
- package/dist/client/storefront/blocks/link-block.mjs +150 -0
- package/dist/client/storefront/blocks/link-block.mjs.map +1 -0
- package/dist/client/storefront/blocks/product-card.d.ts +4 -0
- package/dist/client/storefront/blocks/product-card.d.ts.map +1 -0
- package/dist/client/storefront/blocks/product-card.mjs +228 -0
- package/dist/client/storefront/blocks/product-card.mjs.map +1 -0
- package/dist/client/storefront/blocks/product-image.d.ts +4 -0
- package/dist/client/storefront/blocks/product-image.d.ts.map +1 -0
- package/dist/client/storefront/blocks/product-image.mjs +109 -0
- package/dist/client/storefront/blocks/product-image.mjs.map +1 -0
- package/dist/client/storefront/blocks/spacer.d.ts +4 -0
- package/dist/client/storefront/blocks/spacer.d.ts.map +1 -0
- package/dist/client/storefront/blocks/spacer.mjs +14 -0
- package/dist/client/storefront/blocks/spacer.mjs.map +1 -0
- package/dist/client/storefront/blocks/text-content-with-image.d.ts +4 -0
- package/dist/client/storefront/blocks/text-content-with-image.d.ts.map +1 -0
- package/dist/client/storefront/blocks/text-content-with-image.mjs +225 -0
- package/dist/client/storefront/blocks/text-content-with-image.mjs.map +1 -0
- package/dist/client/storefront/blocks/text-content.d.ts +4 -0
- package/dist/client/storefront/blocks/text-content.d.ts.map +1 -0
- package/dist/client/storefront/blocks/text-content.mjs +150 -0
- package/dist/client/storefront/blocks/text-content.mjs.map +1 -0
- package/dist/client/storefront/blocks/truncated-text.d.ts +4 -0
- package/dist/client/storefront/blocks/truncated-text.d.ts.map +1 -0
- package/dist/client/storefront/blocks/truncated-text.mjs +36 -0
- package/dist/client/storefront/blocks/truncated-text.mjs.map +1 -0
- package/dist/client/storefront/blocks/variable-text-content.d.ts +4 -0
- package/dist/client/storefront/blocks/variable-text-content.d.ts.map +1 -0
- package/dist/client/storefront/blocks/variable-text-content.mjs +15 -0
- package/dist/client/storefront/blocks/variable-text-content.mjs.map +1 -0
- package/dist/client/storefront/carousel/index.d.ts +2 -0
- package/dist/client/storefront/carousel/index.d.ts.map +1 -0
- package/dist/client/storefront/carousel/index.mjs +5 -0
- package/dist/client/storefront/carousel/index.mjs.map +1 -0
- package/dist/client/storefront/carousel/swipeable-carousel.d.ts +14 -0
- package/dist/client/storefront/carousel/swipeable-carousel.d.ts.map +1 -0
- package/dist/client/storefront/carousel/swipeable-carousel.mjs +80 -0
- package/dist/client/storefront/carousel/swipeable-carousel.mjs.map +1 -0
- package/dist/client/storefront/checkout/address-form.d.ts +31 -0
- package/dist/client/storefront/checkout/address-form.d.ts.map +1 -0
- package/dist/client/storefront/checkout/address-form.mjs +124 -0
- package/dist/client/storefront/checkout/address-form.mjs.map +1 -0
- package/dist/client/storefront/checkout/cart-summary.d.ts +40 -0
- package/dist/client/storefront/checkout/cart-summary.d.ts.map +1 -0
- package/dist/client/storefront/checkout/cart-summary.mjs +150 -0
- package/dist/client/storefront/checkout/cart-summary.mjs.map +1 -0
- package/dist/client/storefront/checkout/checkout-stepper.d.ts +13 -0
- package/dist/client/storefront/checkout/checkout-stepper.d.ts.map +1 -0
- package/dist/client/storefront/checkout/checkout-stepper.mjs +58 -0
- package/dist/client/storefront/checkout/checkout-stepper.mjs.map +1 -0
- package/dist/client/storefront/checkout/index.d.ts +15 -0
- package/dist/client/storefront/checkout/index.d.ts.map +1 -0
- package/dist/client/storefront/checkout/index.mjs +17 -0
- package/dist/client/storefront/checkout/index.mjs.map +1 -0
- package/dist/client/storefront/checkout/order-confirmation.d.ts +10 -0
- package/dist/client/storefront/checkout/order-confirmation.d.ts.map +1 -0
- package/dist/client/storefront/checkout/order-confirmation.mjs +27 -0
- package/dist/client/storefront/checkout/order-confirmation.mjs.map +1 -0
- package/dist/client/storefront/checkout/order-summary.d.ts +29 -0
- package/dist/client/storefront/checkout/order-summary.d.ts.map +1 -0
- package/dist/client/storefront/checkout/order-summary.mjs +106 -0
- package/dist/client/storefront/checkout/order-summary.mjs.map +1 -0
- package/dist/client/storefront/checkout/payment-method-selector.d.ts +18 -0
- package/dist/client/storefront/checkout/payment-method-selector.d.ts.map +1 -0
- package/dist/client/storefront/checkout/payment-method-selector.mjs +61 -0
- package/dist/client/storefront/checkout/payment-method-selector.mjs.map +1 -0
- package/dist/client/storefront/checkout/shipping-method-selector.d.ts +23 -0
- package/dist/client/storefront/checkout/shipping-method-selector.d.ts.map +1 -0
- package/dist/client/storefront/checkout/shipping-method-selector.mjs +77 -0
- package/dist/client/storefront/checkout/shipping-method-selector.mjs.map +1 -0
- package/dist/client/storefront/components/badge.d.ts +8 -0
- package/dist/client/storefront/components/badge.d.ts.map +1 -0
- package/dist/client/storefront/components/badge.mjs +28 -0
- package/dist/client/storefront/components/badge.mjs.map +1 -0
- package/dist/client/storefront/components/country-redirect.d.ts +30 -0
- package/dist/client/storefront/components/country-redirect.d.ts.map +1 -0
- package/dist/client/storefront/components/country-redirect.mjs +121 -0
- package/dist/client/storefront/components/country-redirect.mjs.map +1 -0
- package/dist/client/storefront/components/empty-state.d.ts +38 -0
- package/dist/client/storefront/components/empty-state.d.ts.map +1 -0
- package/dist/client/storefront/components/empty-state.mjs +55 -0
- package/dist/client/storefront/components/empty-state.mjs.map +1 -0
- package/dist/client/storefront/components/image-lightbox.d.ts +13 -0
- package/dist/client/storefront/components/image-lightbox.d.ts.map +1 -0
- package/dist/client/storefront/components/image-lightbox.mjs +275 -0
- package/dist/client/storefront/components/image-lightbox.mjs.map +1 -0
- package/dist/client/storefront/components/infinite-scroll.d.ts +37 -0
- package/dist/client/storefront/components/infinite-scroll.d.ts.map +1 -0
- package/dist/client/storefront/components/infinite-scroll.mjs +83 -0
- package/dist/client/storefront/components/infinite-scroll.mjs.map +1 -0
- package/dist/client/storefront/components/language-selector.d.ts +5 -0
- package/dist/client/storefront/components/language-selector.d.ts.map +1 -0
- package/dist/client/storefront/components/language-selector.mjs +58 -0
- package/dist/client/storefront/components/language-selector.mjs.map +1 -0
- package/dist/client/storefront/components/newsletter-signup.d.ts +14 -0
- package/dist/client/storefront/components/newsletter-signup.d.ts.map +1 -0
- package/dist/client/storefront/components/newsletter-signup.mjs +81 -0
- package/dist/client/storefront/components/newsletter-signup.mjs.map +1 -0
- package/dist/client/storefront/components/price.d.ts +14 -0
- package/dist/client/storefront/components/price.d.ts.map +1 -0
- package/dist/client/storefront/components/price.mjs +46 -0
- package/dist/client/storefront/components/price.mjs.map +1 -0
- package/dist/client/storefront/components/product-recommendations.d.ts +18 -0
- package/dist/client/storefront/components/product-recommendations.d.ts.map +1 -0
- package/dist/client/storefront/components/product-recommendations.mjs +108 -0
- package/dist/client/storefront/components/product-recommendations.mjs.map +1 -0
- package/dist/client/storefront/components/product-tabs.d.ts +12 -0
- package/dist/client/storefront/components/product-tabs.d.ts.map +1 -0
- package/dist/client/storefront/components/product-tabs.mjs +64 -0
- package/dist/client/storefront/components/product-tabs.mjs.map +1 -0
- package/dist/client/storefront/components/quick-view.d.ts +25 -0
- package/dist/client/storefront/components/quick-view.d.ts.map +1 -0
- package/dist/client/storefront/components/quick-view.mjs +149 -0
- package/dist/client/storefront/components/quick-view.mjs.map +1 -0
- package/dist/client/storefront/components/review-summary.d.ts +17 -0
- package/dist/client/storefront/components/review-summary.d.ts.map +1 -0
- package/dist/client/storefront/components/review-summary.mjs +66 -0
- package/dist/client/storefront/components/review-summary.mjs.map +1 -0
- package/dist/client/storefront/components/search-autocomplete.d.ts +25 -0
- package/dist/client/storefront/components/search-autocomplete.d.ts.map +1 -0
- package/dist/client/storefront/components/search-autocomplete.mjs +183 -0
- package/dist/client/storefront/components/search-autocomplete.mjs.map +1 -0
- package/dist/client/storefront/components/section-nav.d.ts +20 -0
- package/dist/client/storefront/components/section-nav.d.ts.map +1 -0
- package/dist/client/storefront/components/section-nav.mjs +175 -0
- package/dist/client/storefront/components/section-nav.mjs.map +1 -0
- package/dist/client/storefront/components/share-button.d.ts +19 -0
- package/dist/client/storefront/components/share-button.d.ts.map +1 -0
- package/dist/client/storefront/components/share-button.mjs +95 -0
- package/dist/client/storefront/components/share-button.mjs.map +1 -0
- package/dist/client/storefront/components/skeleton.d.ts +12 -0
- package/dist/client/storefront/components/skeleton.d.ts.map +1 -0
- package/dist/client/storefront/components/skeleton.mjs +70 -0
- package/dist/client/storefront/components/skeleton.mjs.map +1 -0
- package/dist/client/storefront/components/star-rating.d.ts +13 -0
- package/dist/client/storefront/components/star-rating.d.ts.map +1 -0
- package/dist/client/storefront/components/star-rating.mjs +240 -0
- package/dist/client/storefront/components/star-rating.mjs.map +1 -0
- package/dist/client/storefront/components/testimonial.d.ts +20 -0
- package/dist/client/storefront/components/testimonial.d.ts.map +1 -0
- package/dist/client/storefront/components/testimonial.mjs +53 -0
- package/dist/client/storefront/components/testimonial.mjs.map +1 -0
- package/dist/client/storefront/components/trust-badges.d.ts +14 -0
- package/dist/client/storefront/components/trust-badges.d.ts.map +1 -0
- package/dist/client/storefront/components/trust-badges.mjs +25 -0
- package/dist/client/storefront/components/trust-badges.mjs.map +1 -0
- package/dist/client/storefront/components/variant-selector.d.ts +21 -0
- package/dist/client/storefront/components/variant-selector.d.ts.map +1 -0
- package/dist/client/storefront/components/variant-selector.mjs +41 -0
- package/dist/client/storefront/components/variant-selector.mjs.map +1 -0
- package/dist/client/storefront/components/wishlist-toggle.d.ts +12 -0
- package/dist/client/storefront/components/wishlist-toggle.d.ts.map +1 -0
- package/dist/client/storefront/components/wishlist-toggle.mjs +58 -0
- package/dist/client/storefront/components/wishlist-toggle.mjs.map +1 -0
- package/dist/client/storefront/filters/filter-chip.d.ts +10 -0
- package/dist/client/storefront/filters/filter-chip.d.ts.map +1 -0
- package/dist/client/storefront/filters/filter-chip.mjs +30 -0
- package/dist/client/storefront/filters/filter-chip.mjs.map +1 -0
- package/dist/client/storefront/filters/filter-group.d.ts +22 -0
- package/dist/client/storefront/filters/filter-group.d.ts.map +1 -0
- package/dist/client/storefront/filters/filter-group.mjs +102 -0
- package/dist/client/storefront/filters/filter-group.mjs.map +1 -0
- package/dist/client/storefront/filters/filter-panel.d.ts +25 -0
- package/dist/client/storefront/filters/filter-panel.d.ts.map +1 -0
- package/dist/client/storefront/filters/filter-panel.mjs +110 -0
- package/dist/client/storefront/filters/filter-panel.mjs.map +1 -0
- package/dist/client/storefront/filters/index.d.ts +6 -0
- package/dist/client/storefront/filters/index.d.ts.map +1 -0
- package/dist/client/storefront/filters/index.mjs +13 -0
- package/dist/client/storefront/filters/index.mjs.map +1 -0
- package/dist/client/storefront/filters/sort-select.d.ts +12 -0
- package/dist/client/storefront/filters/sort-select.d.ts.map +1 -0
- package/dist/client/storefront/filters/sort-select.mjs +34 -0
- package/dist/client/storefront/filters/sort-select.mjs.map +1 -0
- package/dist/client/storefront/filters/toggle-list-view.d.ts +8 -0
- package/dist/client/storefront/filters/toggle-list-view.d.ts.map +1 -0
- package/dist/client/storefront/filters/toggle-list-view.mjs +30 -0
- package/dist/client/storefront/filters/toggle-list-view.mjs.map +1 -0
- package/dist/client/storefront/hooks/use-section-observer.d.ts +12 -0
- package/dist/client/storefront/hooks/use-section-observer.d.ts.map +1 -0
- package/dist/client/storefront/hooks/use-section-observer.mjs +46 -0
- package/dist/client/storefront/hooks/use-section-observer.mjs.map +1 -0
- package/dist/client/storefront/index.d.ts +24 -0
- package/dist/client/storefront/index.d.ts.map +1 -0
- package/dist/client/storefront/index.mjs +26 -0
- package/dist/client/storefront/index.mjs.map +1 -0
- package/dist/client/storefront/layout/footer.d.ts +4 -0
- package/dist/client/storefront/layout/footer.d.ts.map +1 -0
- package/dist/client/storefront/layout/footer.mjs +56 -0
- package/dist/client/storefront/layout/footer.mjs.map +1 -0
- package/dist/client/storefront/layout/header.d.ts +4 -0
- package/dist/client/storefront/layout/header.d.ts.map +1 -0
- package/dist/client/storefront/layout/header.mjs +367 -0
- package/dist/client/storefront/layout/header.mjs.map +1 -0
- package/dist/client/storefront/layout/index.d.ts +5 -0
- package/dist/client/storefront/layout/index.d.ts.map +1 -0
- package/dist/client/storefront/layout/index.mjs +11 -0
- package/dist/client/storefront/layout/index.mjs.map +1 -0
- package/dist/client/storefront/layout/mobile-menu-drawer.d.ts +4 -0
- package/dist/client/storefront/layout/mobile-menu-drawer.d.ts.map +1 -0
- package/dist/client/storefront/layout/mobile-menu-drawer.mjs +93 -0
- package/dist/client/storefront/layout/mobile-menu-drawer.mjs.map +1 -0
- package/dist/client/storefront/layout/promotion-bar.d.ts +4 -0
- package/dist/client/storefront/layout/promotion-bar.d.ts.map +1 -0
- package/dist/client/storefront/layout/promotion-bar.mjs +79 -0
- package/dist/client/storefront/layout/promotion-bar.mjs.map +1 -0
- package/dist/client/storefront/primitives/breadcrumbs.d.ts +12 -0
- package/dist/client/storefront/primitives/breadcrumbs.d.ts.map +1 -0
- package/dist/client/storefront/primitives/breadcrumbs.mjs +37 -0
- package/dist/client/storefront/primitives/breadcrumbs.mjs.map +1 -0
- package/dist/client/storefront/primitives/button.d.ts +12 -0
- package/dist/client/storefront/primitives/button.d.ts.map +1 -0
- package/dist/client/storefront/primitives/button.mjs +51 -0
- package/dist/client/storefront/primitives/button.mjs.map +1 -0
- package/dist/client/storefront/primitives/checkbox.d.ts +10 -0
- package/dist/client/storefront/primitives/checkbox.d.ts.map +1 -0
- package/dist/client/storefront/primitives/checkbox.mjs +23 -0
- package/dist/client/storefront/primitives/checkbox.mjs.map +1 -0
- package/dist/client/storefront/primitives/download-item.d.ts +9 -0
- package/dist/client/storefront/primitives/download-item.d.ts.map +1 -0
- package/dist/client/storefront/primitives/download-item.mjs +28 -0
- package/dist/client/storefront/primitives/download-item.mjs.map +1 -0
- package/dist/client/storefront/primitives/index.d.ts +10 -0
- package/dist/client/storefront/primitives/index.d.ts.map +1 -0
- package/dist/client/storefront/primitives/index.mjs +21 -0
- package/dist/client/storefront/primitives/index.mjs.map +1 -0
- package/dist/client/storefront/primitives/input.d.ts +18 -0
- package/dist/client/storefront/primitives/input.d.ts.map +1 -0
- package/dist/client/storefront/primitives/input.mjs +118 -0
- package/dist/client/storefront/primitives/input.mjs.map +1 -0
- package/dist/client/storefront/primitives/pagination.d.ts +9 -0
- package/dist/client/storefront/primitives/pagination.d.ts.map +1 -0
- package/dist/client/storefront/primitives/pagination.mjs +86 -0
- package/dist/client/storefront/primitives/pagination.mjs.map +1 -0
- package/dist/client/storefront/primitives/quick-links.d.ts +11 -0
- package/dist/client/storefront/primitives/quick-links.d.ts.map +1 -0
- package/dist/client/storefront/primitives/quick-links.mjs +17 -0
- package/dist/client/storefront/primitives/quick-links.mjs.map +1 -0
- package/dist/client/storefront/primitives/select.d.ts +16 -0
- package/dist/client/storefront/primitives/select.d.ts.map +1 -0
- package/dist/client/storefront/primitives/select.mjs +35 -0
- package/dist/client/storefront/primitives/select.mjs.map +1 -0
- package/dist/client/storefront/primitives/text-link.d.ts +7 -0
- package/dist/client/storefront/primitives/text-link.d.ts.map +1 -0
- package/dist/client/storefront/primitives/text-link.mjs +10 -0
- package/dist/client/storefront/primitives/text-link.mjs.map +1 -0
- package/dist/client/storefront/product/color-swatch.d.ts +10 -0
- package/dist/client/storefront/product/color-swatch.d.ts.map +1 -0
- package/dist/client/storefront/product/color-swatch.mjs +32 -0
- package/dist/client/storefront/product/color-swatch.mjs.map +1 -0
- package/dist/client/storefront/product/index.d.ts +5 -0
- package/dist/client/storefront/product/index.d.ts.map +1 -0
- package/dist/client/storefront/product/index.mjs +11 -0
- package/dist/client/storefront/product/index.mjs.map +1 -0
- package/dist/client/storefront/product/material-selector.d.ts +15 -0
- package/dist/client/storefront/product/material-selector.d.ts.map +1 -0
- package/dist/client/storefront/product/material-selector.mjs +35 -0
- package/dist/client/storefront/product/material-selector.mjs.map +1 -0
- package/dist/client/storefront/product/product-usp.d.ts +7 -0
- package/dist/client/storefront/product/product-usp.d.ts.map +1 -0
- package/dist/client/storefront/product/product-usp.mjs +14 -0
- package/dist/client/storefront/product/product-usp.mjs.map +1 -0
- package/dist/client/storefront/product/quantity-picker.d.ts +10 -0
- package/dist/client/storefront/product/quantity-picker.d.ts.map +1 -0
- package/dist/client/storefront/product/quantity-picker.mjs +56 -0
- package/dist/client/storefront/product/quantity-picker.mjs.map +1 -0
- package/dist/client/storefront/types.d.ts +284 -0
- package/dist/client/storefront/types.d.ts.map +1 -0
- package/dist/client/storefront/types.mjs +20 -0
- package/dist/client/storefront/types.mjs.map +1 -0
- package/dist/client/theme/apply.d.ts +17 -0
- package/dist/client/theme/apply.d.ts.map +1 -0
- package/dist/client/theme/apply.mjs +133 -0
- package/dist/client/theme/apply.mjs.map +1 -0
- package/dist/client/theme/cli.d.ts +2 -0
- package/dist/client/theme/cli.d.ts.map +1 -0
- package/dist/client/theme/cli.mjs +453 -0
- package/dist/client/theme/cli.mjs.map +1 -0
- package/dist/client/theme/codec.d.ts +28 -0
- package/dist/client/theme/codec.d.ts.map +1 -0
- package/dist/client/theme/codec.mjs +88 -0
- package/dist/client/theme/codec.mjs.map +1 -0
- package/dist/client/theme/defaults.d.ts +64 -0
- package/dist/client/theme/defaults.d.ts.map +1 -0
- package/dist/client/theme/defaults.mjs +158 -0
- package/dist/client/theme/defaults.mjs.map +1 -0
- package/dist/client/theme/index.d.ts +8 -0
- package/dist/client/theme/index.d.ts.map +1 -0
- package/dist/client/theme/index.mjs +20 -0
- package/dist/client/theme/index.mjs.map +1 -0
- package/dist/client/theme/scan.d.ts +16 -0
- package/dist/client/theme/scan.d.ts.map +1 -0
- package/dist/client/theme/scan.mjs +25 -0
- package/dist/client/theme/scan.mjs.map +1 -0
- package/dist/client/ui/accordion.d.ts +8 -0
- package/dist/client/ui/accordion.d.ts.map +1 -0
- package/dist/client/ui/accordion.mjs +66 -0
- package/dist/client/ui/accordion.mjs.map +1 -0
- package/dist/client/ui/breadcrumb.d.ts +12 -0
- package/dist/client/ui/breadcrumb.d.ts.map +1 -0
- package/dist/client/ui/breadcrumb.mjs +104 -0
- package/dist/client/ui/breadcrumb.mjs.map +1 -0
- package/dist/client/ui/button.d.ts +11 -0
- package/dist/client/ui/button.d.ts.map +1 -0
- package/dist/client/ui/button.mjs +57 -0
- package/dist/client/ui/button.mjs.map +1 -0
- package/dist/client/ui/card.d.ts +10 -0
- package/dist/client/ui/card.d.ts.map +1 -0
- package/dist/client/ui/card.mjs +91 -0
- package/dist/client/ui/card.mjs.map +1 -0
- package/dist/client/ui/carousel.d.ts +20 -0
- package/dist/client/ui/carousel.d.ts.map +1 -0
- package/dist/client/ui/carousel.mjs +202 -0
- package/dist/client/ui/carousel.mjs.map +1 -0
- package/dist/client/ui/checkbox.d.ts +5 -0
- package/dist/client/ui/checkbox.d.ts.map +1 -0
- package/dist/client/ui/checkbox.mjs +34 -0
- package/dist/client/ui/checkbox.mjs.map +1 -0
- package/dist/client/ui/collapsible.d.ts +6 -0
- package/dist/client/ui/collapsible.d.ts.map +1 -0
- package/dist/client/ui/collapsible.mjs +36 -0
- package/dist/client/ui/collapsible.mjs.map +1 -0
- package/dist/client/ui/input.d.ts +4 -0
- package/dist/client/ui/input.d.ts.map +1 -0
- package/dist/client/ui/input.mjs +22 -0
- package/dist/client/ui/input.mjs.map +1 -0
- package/dist/client/ui/label.d.ts +5 -0
- package/dist/client/ui/label.d.ts.map +1 -0
- package/dist/client/ui/label.mjs +23 -0
- package/dist/client/ui/label.mjs.map +1 -0
- package/dist/client/ui/mid-truncate.d.ts +27 -0
- package/dist/client/ui/mid-truncate.d.ts.map +1 -0
- package/dist/client/ui/mid-truncate.mjs +25 -0
- package/dist/client/ui/mid-truncate.mjs.map +1 -0
- package/dist/client/ui/navigation-menu.d.ts +15 -0
- package/dist/client/ui/navigation-menu.d.ts.map +1 -0
- package/dist/client/ui/navigation-menu.mjs +172 -0
- package/dist/client/ui/navigation-menu.mjs.map +1 -0
- package/dist/client/ui/pagination.d.ts +14 -0
- package/dist/client/ui/pagination.d.ts.map +1 -0
- package/dist/client/ui/pagination.mjs +124 -0
- package/dist/client/ui/pagination.mjs.map +1 -0
- package/dist/client/ui/popover.d.ts +11 -0
- package/dist/client/ui/popover.d.ts.map +1 -0
- package/dist/client/ui/popover.mjs +82 -0
- package/dist/client/ui/popover.mjs.map +1 -0
- package/dist/client/ui/select.d.ts +16 -0
- package/dist/client/ui/select.d.ts.map +1 -0
- package/dist/client/ui/select.mjs +183 -0
- package/dist/client/ui/select.mjs.map +1 -0
- package/dist/client/ui/separator.d.ts +5 -0
- package/dist/client/ui/separator.d.ts.map +1 -0
- package/dist/client/ui/separator.mjs +27 -0
- package/dist/client/ui/separator.mjs.map +1 -0
- package/dist/client/ui/sheet.d.ts +15 -0
- package/dist/client/ui/sheet.d.ts.map +1 -0
- package/dist/client/ui/sheet.mjs +130 -0
- package/dist/client/ui/sheet.mjs.map +1 -0
- package/dist/client/ui/toggle-group.d.ts +10 -0
- package/dist/client/ui/toggle-group.d.ts.map +1 -0
- package/dist/client/ui/toggle-group.mjs +69 -0
- package/dist/client/ui/toggle-group.mjs.map +1 -0
- package/dist/client/ui/toggle.d.ts +10 -0
- package/dist/client/ui/toggle.d.ts.map +1 -0
- package/dist/client/ui/toggle.mjs +44 -0
- package/dist/client/ui/toggle.mjs.map +1 -0
- package/dist/client/ui/utils.d.ts +3 -0
- package/dist/client/ui/utils.d.ts.map +1 -0
- package/dist/client/ui/utils.mjs +9 -0
- package/dist/client/ui/utils.mjs.map +1 -0
- package/dist/client/ui-interfaces/accordion.d.ts +8 -0
- package/dist/client/ui-interfaces/accordion.d.ts.map +1 -0
- package/dist/client/ui-interfaces/accordion.mjs +72 -0
- package/dist/client/ui-interfaces/accordion.mjs.map +1 -0
- package/dist/client/ui-interfaces/breadcrumb.d.ts +12 -0
- package/dist/client/ui-interfaces/breadcrumb.d.ts.map +1 -0
- package/dist/client/ui-interfaces/breadcrumb.mjs +97 -0
- package/dist/client/ui-interfaces/breadcrumb.mjs.map +1 -0
- package/dist/client/ui-interfaces/button.d.ts +11 -0
- package/dist/client/ui-interfaces/button.d.ts.map +1 -0
- package/dist/client/ui-interfaces/button.mjs +57 -0
- package/dist/client/ui-interfaces/button.mjs.map +1 -0
- package/dist/client/ui-interfaces/card.d.ts +10 -0
- package/dist/client/ui-interfaces/card.d.ts.map +1 -0
- package/dist/client/ui-interfaces/card.mjs +78 -0
- package/dist/client/ui-interfaces/card.mjs.map +1 -0
- package/dist/client/ui-interfaces/carousel.d.ts +20 -0
- package/dist/client/ui-interfaces/carousel.d.ts.map +1 -0
- package/dist/client/ui-interfaces/carousel.mjs +188 -0
- package/dist/client/ui-interfaces/carousel.mjs.map +1 -0
- package/dist/client/ui-interfaces/checkbox.d.ts +5 -0
- package/dist/client/ui-interfaces/checkbox.d.ts.map +1 -0
- package/dist/client/ui-interfaces/checkbox.mjs +30 -0
- package/dist/client/ui-interfaces/checkbox.mjs.map +1 -0
- package/dist/client/ui-interfaces/collapsible.d.ts +7 -0
- package/dist/client/ui-interfaces/collapsible.d.ts.map +1 -0
- package/dist/client/ui-interfaces/collapsible.mjs +42 -0
- package/dist/client/ui-interfaces/collapsible.mjs.map +1 -0
- package/dist/client/ui-interfaces/index.d.ts +18 -0
- package/dist/client/ui-interfaces/index.d.ts.map +1 -0
- package/dist/client/ui-interfaces/index.mjs +18 -0
- package/dist/client/ui-interfaces/index.mjs.map +1 -0
- package/dist/client/ui-interfaces/input.d.ts +7 -0
- package/dist/client/ui-interfaces/input.d.ts.map +1 -0
- package/dist/client/ui-interfaces/input.mjs +39 -0
- package/dist/client/ui-interfaces/input.mjs.map +1 -0
- package/dist/client/ui-interfaces/label.d.ts +5 -0
- package/dist/client/ui-interfaces/label.d.ts.map +1 -0
- package/dist/client/ui-interfaces/label.mjs +23 -0
- package/dist/client/ui-interfaces/label.mjs.map +1 -0
- package/dist/client/ui-interfaces/navigation-menu.d.ts +15 -0
- package/dist/client/ui-interfaces/navigation-menu.d.ts.map +1 -0
- package/dist/client/ui-interfaces/navigation-menu.mjs +163 -0
- package/dist/client/ui-interfaces/navigation-menu.mjs.map +1 -0
- package/dist/client/ui-interfaces/pagination.d.ts +14 -0
- package/dist/client/ui-interfaces/pagination.d.ts.map +1 -0
- package/dist/client/ui-interfaces/pagination.mjs +103 -0
- package/dist/client/ui-interfaces/pagination.mjs.map +1 -0
- package/dist/client/ui-interfaces/popover.d.ts +8 -0
- package/dist/client/ui-interfaces/popover.d.ts.map +1 -0
- package/dist/client/ui-interfaces/popover.mjs +50 -0
- package/dist/client/ui-interfaces/popover.mjs.map +1 -0
- package/dist/client/ui-interfaces/select.d.ts +16 -0
- package/dist/client/ui-interfaces/select.d.ts.map +1 -0
- package/dist/client/ui-interfaces/select.mjs +159 -0
- package/dist/client/ui-interfaces/select.mjs.map +1 -0
- package/dist/client/ui-interfaces/separator.d.ts +5 -0
- package/dist/client/ui-interfaces/separator.d.ts.map +1 -0
- package/dist/client/ui-interfaces/separator.mjs +28 -0
- package/dist/client/ui-interfaces/separator.mjs.map +1 -0
- package/dist/client/ui-interfaces/sheet.d.ts +14 -0
- package/dist/client/ui-interfaces/sheet.d.ts.map +1 -0
- package/dist/client/ui-interfaces/sheet.mjs +140 -0
- package/dist/client/ui-interfaces/sheet.mjs.map +1 -0
- package/dist/client/ui-interfaces/toggle-group.d.ts +10 -0
- package/dist/client/ui-interfaces/toggle-group.d.ts.map +1 -0
- package/dist/client/ui-interfaces/toggle-group.mjs +67 -0
- package/dist/client/ui-interfaces/toggle-group.mjs.map +1 -0
- package/dist/client/ui-interfaces/toggle.d.ts +10 -0
- package/dist/client/ui-interfaces/toggle.d.ts.map +1 -0
- package/dist/client/ui-interfaces/toggle.mjs +45 -0
- package/dist/client/ui-interfaces/toggle.mjs.map +1 -0
- package/dist/client/ui-resolver/accordion.d.ts +11 -0
- package/dist/client/ui-resolver/accordion.d.ts.map +1 -0
- package/dist/client/ui-resolver/accordion.mjs +35 -0
- package/dist/client/ui-resolver/accordion.mjs.map +1 -0
- package/dist/client/ui-resolver/breadcrumb.d.ts +14 -0
- package/dist/client/ui-resolver/breadcrumb.d.ts.map +1 -0
- package/dist/client/ui-resolver/breadcrumb.mjs +53 -0
- package/dist/client/ui-resolver/breadcrumb.mjs.map +1 -0
- package/dist/client/ui-resolver/button.d.ts +12 -0
- package/dist/client/ui-resolver/button.d.ts.map +1 -0
- package/dist/client/ui-resolver/button.mjs +25 -0
- package/dist/client/ui-resolver/button.mjs.map +1 -0
- package/dist/client/ui-resolver/card.d.ts +14 -0
- package/dist/client/ui-resolver/card.d.ts.map +1 -0
- package/dist/client/ui-resolver/card.mjs +53 -0
- package/dist/client/ui-resolver/card.mjs.map +1 -0
- package/dist/client/ui-resolver/carousel.d.ts +13 -0
- package/dist/client/ui-resolver/carousel.d.ts.map +1 -0
- package/dist/client/ui-resolver/carousel.mjs +41 -0
- package/dist/client/ui-resolver/carousel.mjs.map +1 -0
- package/dist/client/ui-resolver/checkbox.d.ts +8 -0
- package/dist/client/ui-resolver/checkbox.d.ts.map +1 -0
- package/dist/client/ui-resolver/checkbox.mjs +17 -0
- package/dist/client/ui-resolver/checkbox.mjs.map +1 -0
- package/dist/client/ui-resolver/collapsible.d.ts +10 -0
- package/dist/client/ui-resolver/collapsible.d.ts.map +1 -0
- package/dist/client/ui-resolver/collapsible.mjs +29 -0
- package/dist/client/ui-resolver/collapsible.mjs.map +1 -0
- package/dist/client/ui-resolver/context.d.ts +10 -0
- package/dist/client/ui-resolver/context.d.ts.map +1 -0
- package/dist/client/ui-resolver/context.mjs +28 -0
- package/dist/client/ui-resolver/context.mjs.map +1 -0
- package/dist/client/ui-resolver/index.d.ts +19 -0
- package/dist/client/ui-resolver/index.d.ts.map +1 -0
- package/dist/client/ui-resolver/index.mjs +156 -0
- package/dist/client/ui-resolver/index.mjs.map +1 -0
- package/dist/client/ui-resolver/input.d.ts +8 -0
- package/dist/client/ui-resolver/input.d.ts.map +1 -0
- package/dist/client/ui-resolver/input.mjs +17 -0
- package/dist/client/ui-resolver/input.mjs.map +1 -0
- package/dist/client/ui-resolver/label.d.ts +8 -0
- package/dist/client/ui-resolver/label.d.ts.map +1 -0
- package/dist/client/ui-resolver/label.mjs +17 -0
- package/dist/client/ui-resolver/label.mjs.map +1 -0
- package/dist/client/ui-resolver/navigation-menu.d.ts +16 -0
- package/dist/client/ui-resolver/navigation-menu.d.ts.map +1 -0
- package/dist/client/ui-resolver/navigation-menu.mjs +64 -0
- package/dist/client/ui-resolver/navigation-menu.mjs.map +1 -0
- package/dist/client/ui-resolver/pagination.d.ts +14 -0
- package/dist/client/ui-resolver/pagination.d.ts.map +1 -0
- package/dist/client/ui-resolver/pagination.mjs +53 -0
- package/dist/client/ui-resolver/pagination.mjs.map +1 -0
- package/dist/client/ui-resolver/popover.d.ts +11 -0
- package/dist/client/ui-resolver/popover.d.ts.map +1 -0
- package/dist/client/ui-resolver/popover.mjs +35 -0
- package/dist/client/ui-resolver/popover.mjs.map +1 -0
- package/dist/client/ui-resolver/select.d.ts +15 -0
- package/dist/client/ui-resolver/select.d.ts.map +1 -0
- package/dist/client/ui-resolver/select.mjs +59 -0
- package/dist/client/ui-resolver/select.mjs.map +1 -0
- package/dist/client/ui-resolver/separator.d.ts +8 -0
- package/dist/client/ui-resolver/separator.d.ts.map +1 -0
- package/dist/client/ui-resolver/separator.mjs +17 -0
- package/dist/client/ui-resolver/separator.mjs.map +1 -0
- package/dist/client/ui-resolver/sheet.d.ts +15 -0
- package/dist/client/ui-resolver/sheet.d.ts.map +1 -0
- package/dist/client/ui-resolver/sheet.mjs +59 -0
- package/dist/client/ui-resolver/sheet.mjs.map +1 -0
- package/dist/client/ui-resolver/toggle-group.d.ts +9 -0
- package/dist/client/ui-resolver/toggle-group.d.ts.map +1 -0
- package/dist/client/ui-resolver/toggle-group.mjs +23 -0
- package/dist/client/ui-resolver/toggle-group.mjs.map +1 -0
- package/dist/client/ui-resolver/toggle.d.ts +12 -0
- package/dist/client/ui-resolver/toggle.d.ts.map +1 -0
- package/dist/client/ui-resolver/toggle.mjs +25 -0
- package/dist/client/ui-resolver/toggle.mjs.map +1 -0
- package/dist/client/user/actions/createResetPasswordLinkAction.d.ts +14 -0
- package/dist/client/user/actions/createResetPasswordLinkAction.d.ts.map +1 -0
- package/dist/client/user/actions/createResetPasswordLinkAction.mjs +30 -0
- package/dist/client/user/actions/createResetPasswordLinkAction.mjs.map +1 -0
- package/dist/client/user/actions/getUserAction.d.ts +3 -0
- package/dist/client/user/actions/getUserAction.d.ts.map +1 -0
- package/dist/client/user/actions/getUserAction.mjs +19 -0
- package/dist/client/user/actions/getUserAction.mjs.map +1 -0
- package/dist/client/user/actions/logInUserAction.d.ts +15 -0
- package/dist/client/user/actions/logInUserAction.d.ts.map +1 -0
- package/dist/client/user/actions/logInUserAction.mjs +34 -0
- package/dist/client/user/actions/logInUserAction.mjs.map +1 -0
- package/dist/client/user/actions/logoutUserAction.d.ts +2 -0
- package/dist/client/user/actions/logoutUserAction.d.ts.map +1 -0
- package/dist/client/user/actions/logoutUserAction.mjs +10 -0
- package/dist/client/user/actions/logoutUserAction.mjs.map +1 -0
- package/dist/client/user/actions/registerOrganisationAction.d.ts +9 -0
- package/dist/client/user/actions/registerOrganisationAction.d.ts.map +1 -0
- package/dist/client/user/actions/registerOrganisationAction.mjs +18 -0
- package/dist/client/user/actions/registerOrganisationAction.mjs.map +1 -0
- package/dist/client/user/actions/registerUserAction.d.ts +18 -0
- package/dist/client/user/actions/registerUserAction.d.ts.map +1 -0
- package/dist/client/user/actions/registerUserAction.mjs +42 -0
- package/dist/client/user/actions/registerUserAction.mjs.map +1 -0
- package/dist/client/user/actions/registerUserWithoutRedirectAction.d.ts +41 -0
- package/dist/client/user/actions/registerUserWithoutRedirectAction.d.ts.map +1 -0
- package/dist/client/user/actions/registerUserWithoutRedirectAction.mjs +58 -0
- package/dist/client/user/actions/registerUserWithoutRedirectAction.mjs.map +1 -0
- package/dist/client/user/actions/updatePasswordAction.d.ts +21 -0
- package/dist/client/user/actions/updatePasswordAction.d.ts.map +1 -0
- package/dist/client/user/actions/updatePasswordAction.mjs +37 -0
- package/dist/client/user/actions/updatePasswordAction.mjs.map +1 -0
- package/dist/client/user/api/userRoute.d.ts +7 -0
- package/dist/client/user/api/userRoute.d.ts.map +1 -0
- package/dist/client/user/api/userRoute.mjs +65 -0
- package/dist/client/user/api/userRoute.mjs.map +1 -0
- package/dist/client/user/clients/enad.d.ts +4 -0
- package/dist/client/user/clients/enad.d.ts.map +1 -0
- package/dist/client/user/clients/enad.mjs +19 -0
- package/dist/client/user/clients/enad.mjs.map +1 -0
- package/dist/client/user/components/login-form.d.ts +23 -0
- package/dist/client/user/components/login-form.d.ts.map +1 -0
- package/dist/client/user/components/login-form.mjs +117 -0
- package/dist/client/user/components/login-form.mjs.map +1 -0
- package/dist/client/user/components/reset-password-form.d.ts +20 -0
- package/dist/client/user/components/reset-password-form.d.ts.map +1 -0
- package/dist/client/user/components/reset-password-form.mjs +93 -0
- package/dist/client/user/components/reset-password-form.mjs.map +1 -0
- package/dist/client/user/components/sign-out.d.ts +8 -0
- package/dist/client/user/components/sign-out.d.ts.map +1 -0
- package/dist/client/user/components/sign-out.mjs +26 -0
- package/dist/client/user/components/sign-out.mjs.map +1 -0
- package/dist/client/user/components/signup-form.d.ts +27 -0
- package/dist/client/user/components/signup-form.d.ts.map +1 -0
- package/dist/client/user/components/signup-form.mjs +188 -0
- package/dist/client/user/components/signup-form.mjs.map +1 -0
- package/dist/client/user/components/signup-organisation-form.d.ts +55 -0
- package/dist/client/user/components/signup-organisation-form.d.ts.map +1 -0
- package/dist/client/user/components/signup-organisation-form.mjs +864 -0
- package/dist/client/user/components/signup-organisation-form.mjs.map +1 -0
- package/dist/client/user/components/update-password-form.d.ts +17 -0
- package/dist/client/user/components/update-password-form.d.ts.map +1 -0
- package/dist/client/user/components/update-password-form.mjs +60 -0
- package/dist/client/user/components/update-password-form.mjs.map +1 -0
- package/dist/client/user/hooks/index.d.ts +2 -0
- package/dist/client/user/hooks/index.d.ts.map +1 -0
- package/dist/client/user/hooks/index.mjs +2 -0
- package/dist/client/user/hooks/index.mjs.map +1 -0
- package/dist/client/user/hooks/useUser.d.ts +12 -0
- package/dist/client/user/hooks/useUser.d.ts.map +1 -0
- package/dist/client/user/hooks/useUser.mjs +32 -0
- package/dist/client/user/hooks/useUser.mjs.map +1 -0
- package/dist/client/user/index.d.ts +9 -0
- package/dist/client/user/index.d.ts.map +1 -0
- package/dist/client/user/index.mjs +17 -0
- package/dist/client/user/index.mjs.map +1 -0
- package/dist/client/user/types/user.d.ts +201 -0
- package/dist/client/user/types/user.d.ts.map +1 -0
- package/dist/client/user/types/user.mjs +1 -0
- package/dist/client/user/types/user.mjs.map +1 -0
- package/dist/client/user/utils/userCookieService.d.ts +19 -0
- package/dist/client/user/utils/userCookieService.d.ts.map +1 -0
- package/dist/client/user/utils/userCookieService.mjs +51 -0
- package/dist/client/user/utils/userCookieService.mjs.map +1 -0
- package/dist/client/wishlist/actions/addItemsToWishlistAction.d.ts +5 -0
- package/dist/client/wishlist/actions/addItemsToWishlistAction.d.ts.map +1 -0
- package/dist/client/wishlist/actions/addItemsToWishlistAction.mjs +20 -0
- package/dist/client/wishlist/actions/addItemsToWishlistAction.mjs.map +1 -0
- package/dist/client/wishlist/actions/createOrGetShareTokenAction.d.ts +3 -0
- package/dist/client/wishlist/actions/createOrGetShareTokenAction.d.ts.map +1 -0
- package/dist/client/wishlist/actions/createOrGetShareTokenAction.mjs +20 -0
- package/dist/client/wishlist/actions/createOrGetShareTokenAction.mjs.map +1 -0
- package/dist/client/wishlist/actions/createWishlistAction.d.ts +3 -0
- package/dist/client/wishlist/actions/createWishlistAction.d.ts.map +1 -0
- package/dist/client/wishlist/actions/createWishlistAction.mjs +16 -0
- package/dist/client/wishlist/actions/createWishlistAction.mjs.map +1 -0
- package/dist/client/wishlist/actions/deleteItemsFromWishlistAction.d.ts +5 -0
- package/dist/client/wishlist/actions/deleteItemsFromWishlistAction.d.ts.map +1 -0
- package/dist/client/wishlist/actions/deleteItemsFromWishlistAction.mjs +20 -0
- package/dist/client/wishlist/actions/deleteItemsFromWishlistAction.mjs.map +1 -0
- package/dist/client/wishlist/actions/deleteWishlistAction.d.ts +4 -0
- package/dist/client/wishlist/actions/deleteWishlistAction.d.ts.map +1 -0
- package/dist/client/wishlist/actions/deleteWishlistAction.mjs +16 -0
- package/dist/client/wishlist/actions/deleteWishlistAction.mjs.map +1 -0
- package/dist/client/wishlist/actions/getSharedWishlistAction.d.ts +3 -0
- package/dist/client/wishlist/actions/getSharedWishlistAction.d.ts.map +1 -0
- package/dist/client/wishlist/actions/getSharedWishlistAction.mjs +20 -0
- package/dist/client/wishlist/actions/getSharedWishlistAction.mjs.map +1 -0
- package/dist/client/wishlist/actions/getSpecificWishlistAction.d.ts +3 -0
- package/dist/client/wishlist/actions/getSpecificWishlistAction.d.ts.map +1 -0
- package/dist/client/wishlist/actions/getSpecificWishlistAction.mjs +20 -0
- package/dist/client/wishlist/actions/getSpecificWishlistAction.mjs.map +1 -0
- package/dist/client/wishlist/actions/getUserWishlists.d.ts +4 -0
- package/dist/client/wishlist/actions/getUserWishlists.d.ts.map +1 -0
- package/dist/client/wishlist/actions/getUserWishlists.mjs +25 -0
- package/dist/client/wishlist/actions/getUserWishlists.mjs.map +1 -0
- package/dist/client/wishlist/actions/revokeShareTokenAction.d.ts +4 -0
- package/dist/client/wishlist/actions/revokeShareTokenAction.d.ts.map +1 -0
- package/dist/client/wishlist/actions/revokeShareTokenAction.mjs +20 -0
- package/dist/client/wishlist/actions/revokeShareTokenAction.mjs.map +1 -0
- package/dist/client/wishlist/actions/updateWishlistAction.d.ts +3 -0
- package/dist/client/wishlist/actions/updateWishlistAction.d.ts.map +1 -0
- package/dist/client/wishlist/actions/updateWishlistAction.mjs +20 -0
- package/dist/client/wishlist/actions/updateWishlistAction.mjs.map +1 -0
- package/dist/client/wishlist/hooks/index.d.ts +2 -0
- package/dist/client/wishlist/hooks/index.d.ts.map +1 -0
- package/dist/client/wishlist/hooks/index.mjs +2 -0
- package/dist/client/wishlist/hooks/index.mjs.map +1 -0
- package/dist/client/wishlist/hooks/useWishlist.d.ts +95 -0
- package/dist/client/wishlist/hooks/useWishlist.d.ts.map +1 -0
- package/dist/client/wishlist/hooks/useWishlist.mjs +76 -0
- package/dist/client/wishlist/hooks/useWishlist.mjs.map +1 -0
- package/dist/client/wishlist/hooks/useWishlistActions.d.ts +44 -0
- package/dist/client/wishlist/hooks/useWishlistActions.d.ts.map +1 -0
- package/dist/client/wishlist/hooks/useWishlistActions.mjs +101 -0
- package/dist/client/wishlist/hooks/useWishlistActions.mjs.map +1 -0
- package/dist/client/wishlist/index.d.ts +5 -0
- package/dist/client/wishlist/index.d.ts.map +1 -0
- package/dist/client/wishlist/index.mjs +9 -0
- package/dist/client/wishlist/index.mjs.map +1 -0
- package/dist/client/wishlist/wishlist-drawer.d.ts +17 -0
- package/dist/client/wishlist/wishlist-drawer.d.ts.map +1 -0
- package/dist/client/wishlist/wishlist-drawer.mjs +199 -0
- package/dist/client/wishlist/wishlist-drawer.mjs.map +1 -0
- package/dist/styles.css +2 -0
- package/package.json +54 -32
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/client/ui-interfaces/toggle.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Toggle as TogglePrimitive } from \"radix-ui\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../ui/utils\";\n\nconst toggleVariants = cva(\n \"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-accent disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap cursor-pointer\",\n {\n variants: {\n variant: {\n default: \"bg-background\",\n outline:\n \"bg-background border border-input shadow-xs hover:bg-accent hover:text-accent-foreground\",\n },\n size: {\n default: \"h-9 px-2 min-w-9\",\n sm: \"h-8 px-1.5 min-w-8\",\n lg: \"h-10 px-2.5 min-w-10\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nfunction Toggle({\n className,\n variant,\n size,\n ...props\n}: React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>) {\n return (\n <TogglePrimitive.Root\n data-slot=\"toggle\"\n className={cn(toggleVariants({ variant, size, className }))}\n {...props}\n />\n );\n}\n\nexport { Toggle, toggleVariants };\n"],"mappings":";AAqCI;AAlCJ,SAAS,UAAU,uBAAuB;AAC1C,SAAS,WAA8B;AAEvC,SAAS,UAAU;AAEnB,MAAM,iBAAiB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,SACE;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,MACN;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAEA,SAAS,OAAO;AAAA,EACd;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAA4F;AAC1F,SACE;AAAA,IAAC,gBAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAW,GAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC;AAAA,MACzD,GAAG;AAAA;AAAA,EACN;AAEJ;","names":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DefaultAccordion from "../ui/accordion";
|
|
3
|
+
import { type ComponentSet } from "./context";
|
|
4
|
+
declare function Accordion({ componentSet, ...props }: React.ComponentProps<typeof DefaultAccordion.Accordion> & {
|
|
5
|
+
componentSet?: ComponentSet;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function AccordionItem(props: React.ComponentProps<typeof DefaultAccordion.AccordionItem>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function AccordionTrigger(props: React.ComponentProps<typeof DefaultAccordion.AccordionTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function AccordionContent(props: React.ComponentProps<typeof DefaultAccordion.AccordionContent>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
|
11
|
+
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/client/ui-resolver/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAE/D,iBAAS,SAAS,CAAC,EACjB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,GAAG;IAAE,YAAY,CAAC,EAAE,YAAY,CAAA;CAAE,2CAI3F;AAED,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,aAAa,CAAC,2CAIxF;AAED,iBAAS,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,gBAAgB,CAAC,2CAI9F;AAED,iBAAS,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,gBAAgB,CAAC,2CAI9F;AAED,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as DefaultAccordion from "../ui/accordion";
|
|
4
|
+
import * as MonoAccordion from "../ui-interfaces/accordion";
|
|
5
|
+
import { useComponentSet } from "./context";
|
|
6
|
+
function Accordion({
|
|
7
|
+
componentSet,
|
|
8
|
+
...props
|
|
9
|
+
}) {
|
|
10
|
+
const set = useComponentSet("accordion", componentSet);
|
|
11
|
+
const Comp = set === "mono" ? MonoAccordion.Accordion : DefaultAccordion.Accordion;
|
|
12
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
13
|
+
}
|
|
14
|
+
function AccordionItem(props) {
|
|
15
|
+
const set = useComponentSet("accordion");
|
|
16
|
+
const Comp = set === "mono" ? MonoAccordion.AccordionItem : DefaultAccordion.AccordionItem;
|
|
17
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
18
|
+
}
|
|
19
|
+
function AccordionTrigger(props) {
|
|
20
|
+
const set = useComponentSet("accordion");
|
|
21
|
+
const Comp = set === "mono" ? MonoAccordion.AccordionTrigger : DefaultAccordion.AccordionTrigger;
|
|
22
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
23
|
+
}
|
|
24
|
+
function AccordionContent(props) {
|
|
25
|
+
const set = useComponentSet("accordion");
|
|
26
|
+
const Comp = set === "mono" ? MonoAccordion.AccordionContent : DefaultAccordion.AccordionContent;
|
|
27
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
Accordion,
|
|
31
|
+
AccordionContent,
|
|
32
|
+
AccordionItem,
|
|
33
|
+
AccordionTrigger
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=accordion.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/client/ui-resolver/accordion.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as DefaultAccordion from \"../ui/accordion\";\nimport * as MonoAccordion from \"../ui-interfaces/accordion\";\nimport { useComponentSet, type ComponentSet } from \"./context\";\n\nfunction Accordion({\n componentSet,\n ...props\n}: React.ComponentProps<typeof DefaultAccordion.Accordion> & { componentSet?: ComponentSet }) {\n const set = useComponentSet(\"accordion\", componentSet);\n const Comp = set === \"mono\" ? MonoAccordion.Accordion : DefaultAccordion.Accordion;\n return <Comp {...props} />;\n}\n\nfunction AccordionItem(props: React.ComponentProps<typeof DefaultAccordion.AccordionItem>) {\n const set = useComponentSet(\"accordion\");\n const Comp = set === \"mono\" ? MonoAccordion.AccordionItem : DefaultAccordion.AccordionItem;\n return <Comp {...props} />;\n}\n\nfunction AccordionTrigger(props: React.ComponentProps<typeof DefaultAccordion.AccordionTrigger>) {\n const set = useComponentSet(\"accordion\");\n const Comp = set === \"mono\" ? MonoAccordion.AccordionTrigger : DefaultAccordion.AccordionTrigger;\n return <Comp {...props} />;\n}\n\nfunction AccordionContent(props: React.ComponentProps<typeof DefaultAccordion.AccordionContent>) {\n const set = useComponentSet(\"accordion\");\n const Comp = set === \"mono\" ? MonoAccordion.AccordionContent : DefaultAccordion.AccordionContent;\n return <Comp {...props} />;\n}\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\n"],"mappings":";AAaS;AAVT,YAAY,sBAAsB;AAClC,YAAY,mBAAmB;AAC/B,SAAS,uBAA0C;AAEnD,SAAS,UAAU;AAAA,EACjB;AAAA,EACA,GAAG;AACL,GAA8F;AAC5F,QAAM,MAAM,gBAAgB,aAAa,YAAY;AACrD,QAAM,OAAO,QAAQ,SAAS,cAAc,YAAY,iBAAiB;AACzE,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,cAAc,OAAoE;AACzF,QAAM,MAAM,gBAAgB,WAAW;AACvC,QAAM,OAAO,QAAQ,SAAS,cAAc,gBAAgB,iBAAiB;AAC7E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,iBAAiB,OAAuE;AAC/F,QAAM,MAAM,gBAAgB,WAAW;AACvC,QAAM,OAAO,QAAQ,SAAS,cAAc,mBAAmB,iBAAiB;AAChF,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,iBAAiB,OAAuE;AAC/F,QAAM,MAAM,gBAAgB,WAAW;AACvC,QAAM,OAAO,QAAQ,SAAS,cAAc,mBAAmB,iBAAiB;AAChF,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DefaultBreadcrumb from "../ui/breadcrumb";
|
|
3
|
+
import { type ComponentSet } from "./context";
|
|
4
|
+
declare function Breadcrumb({ componentSet, ...props }: React.ComponentProps<typeof DefaultBreadcrumb.Breadcrumb> & {
|
|
5
|
+
componentSet?: ComponentSet;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function BreadcrumbList(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbList>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function BreadcrumbItem(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbItem>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function BreadcrumbLink(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbLink>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function BreadcrumbPage(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbPage>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function BreadcrumbSeparator(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbSeparator>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function BreadcrumbEllipsis(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbEllipsis>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
|
|
14
|
+
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/client/ui-resolver/breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAE/D,iBAAS,UAAU,CAAC,EAClB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,UAAU,CAAC,GAAG;IAAE,YAAY,CAAC,EAAE,YAAY,CAAA;CAAE,2CAI7F;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,cAAc,CAAC,2CAI3F;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,cAAc,CAAC,2CAI3F;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,cAAc,CAAC,2CAI3F;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,cAAc,CAAC,2CAI3F;AAED,iBAAS,mBAAmB,CAC1B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,mBAAmB,CAAC,2CAM1E;AAED,iBAAS,kBAAkB,CACzB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,kBAAkB,CAAC,2CAMzE;AAED,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as DefaultBreadcrumb from "../ui/breadcrumb";
|
|
4
|
+
import * as MonoBreadcrumb from "../ui-interfaces/breadcrumb";
|
|
5
|
+
import { useComponentSet } from "./context";
|
|
6
|
+
function Breadcrumb({
|
|
7
|
+
componentSet,
|
|
8
|
+
...props
|
|
9
|
+
}) {
|
|
10
|
+
const set = useComponentSet("breadcrumb", componentSet);
|
|
11
|
+
const Comp = set === "mono" ? MonoBreadcrumb.Breadcrumb : DefaultBreadcrumb.Breadcrumb;
|
|
12
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
13
|
+
}
|
|
14
|
+
function BreadcrumbList(props) {
|
|
15
|
+
const set = useComponentSet("breadcrumb");
|
|
16
|
+
const Comp = set === "mono" ? MonoBreadcrumb.BreadcrumbList : DefaultBreadcrumb.BreadcrumbList;
|
|
17
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
18
|
+
}
|
|
19
|
+
function BreadcrumbItem(props) {
|
|
20
|
+
const set = useComponentSet("breadcrumb");
|
|
21
|
+
const Comp = set === "mono" ? MonoBreadcrumb.BreadcrumbItem : DefaultBreadcrumb.BreadcrumbItem;
|
|
22
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
23
|
+
}
|
|
24
|
+
function BreadcrumbLink(props) {
|
|
25
|
+
const set = useComponentSet("breadcrumb");
|
|
26
|
+
const Comp = set === "mono" ? MonoBreadcrumb.BreadcrumbLink : DefaultBreadcrumb.BreadcrumbLink;
|
|
27
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
28
|
+
}
|
|
29
|
+
function BreadcrumbPage(props) {
|
|
30
|
+
const set = useComponentSet("breadcrumb");
|
|
31
|
+
const Comp = set === "mono" ? MonoBreadcrumb.BreadcrumbPage : DefaultBreadcrumb.BreadcrumbPage;
|
|
32
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
33
|
+
}
|
|
34
|
+
function BreadcrumbSeparator(props) {
|
|
35
|
+
const set = useComponentSet("breadcrumb");
|
|
36
|
+
const Comp = set === "mono" ? MonoBreadcrumb.BreadcrumbSeparator : DefaultBreadcrumb.BreadcrumbSeparator;
|
|
37
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
38
|
+
}
|
|
39
|
+
function BreadcrumbEllipsis(props) {
|
|
40
|
+
const set = useComponentSet("breadcrumb");
|
|
41
|
+
const Comp = set === "mono" ? MonoBreadcrumb.BreadcrumbEllipsis : DefaultBreadcrumb.BreadcrumbEllipsis;
|
|
42
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
Breadcrumb,
|
|
46
|
+
BreadcrumbEllipsis,
|
|
47
|
+
BreadcrumbItem,
|
|
48
|
+
BreadcrumbLink,
|
|
49
|
+
BreadcrumbList,
|
|
50
|
+
BreadcrumbPage,
|
|
51
|
+
BreadcrumbSeparator
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=breadcrumb.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/client/ui-resolver/breadcrumb.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as DefaultBreadcrumb from \"../ui/breadcrumb\";\nimport * as MonoBreadcrumb from \"../ui-interfaces/breadcrumb\";\nimport { useComponentSet, type ComponentSet } from \"./context\";\n\nfunction Breadcrumb({\n componentSet,\n ...props\n}: React.ComponentProps<typeof DefaultBreadcrumb.Breadcrumb> & { componentSet?: ComponentSet }) {\n const set = useComponentSet(\"breadcrumb\", componentSet);\n const Comp = set === \"mono\" ? MonoBreadcrumb.Breadcrumb : DefaultBreadcrumb.Breadcrumb;\n return <Comp {...props} />;\n}\n\nfunction BreadcrumbList(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbList>) {\n const set = useComponentSet(\"breadcrumb\");\n const Comp = set === \"mono\" ? MonoBreadcrumb.BreadcrumbList : DefaultBreadcrumb.BreadcrumbList;\n return <Comp {...props} />;\n}\n\nfunction BreadcrumbItem(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbItem>) {\n const set = useComponentSet(\"breadcrumb\");\n const Comp = set === \"mono\" ? MonoBreadcrumb.BreadcrumbItem : DefaultBreadcrumb.BreadcrumbItem;\n return <Comp {...props} />;\n}\n\nfunction BreadcrumbLink(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbLink>) {\n const set = useComponentSet(\"breadcrumb\");\n const Comp = set === \"mono\" ? MonoBreadcrumb.BreadcrumbLink : DefaultBreadcrumb.BreadcrumbLink;\n return <Comp {...props} />;\n}\n\nfunction BreadcrumbPage(props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbPage>) {\n const set = useComponentSet(\"breadcrumb\");\n const Comp = set === \"mono\" ? MonoBreadcrumb.BreadcrumbPage : DefaultBreadcrumb.BreadcrumbPage;\n return <Comp {...props} />;\n}\n\nfunction BreadcrumbSeparator(\n props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbSeparator>,\n) {\n const set = useComponentSet(\"breadcrumb\");\n const Comp =\n set === \"mono\" ? MonoBreadcrumb.BreadcrumbSeparator : DefaultBreadcrumb.BreadcrumbSeparator;\n return <Comp {...props} />;\n}\n\nfunction BreadcrumbEllipsis(\n props: React.ComponentProps<typeof DefaultBreadcrumb.BreadcrumbEllipsis>,\n) {\n const set = useComponentSet(\"breadcrumb\");\n const Comp =\n set === \"mono\" ? MonoBreadcrumb.BreadcrumbEllipsis : DefaultBreadcrumb.BreadcrumbEllipsis;\n return <Comp {...props} />;\n}\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n};\n"],"mappings":";AAaS;AAVT,YAAY,uBAAuB;AACnC,YAAY,oBAAoB;AAChC,SAAS,uBAA0C;AAEnD,SAAS,WAAW;AAAA,EAClB;AAAA,EACA,GAAG;AACL,GAAgG;AAC9F,QAAM,MAAM,gBAAgB,cAAc,YAAY;AACtD,QAAM,OAAO,QAAQ,SAAS,eAAe,aAAa,kBAAkB;AAC5E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,eAAe,OAAsE;AAC5F,QAAM,MAAM,gBAAgB,YAAY;AACxC,QAAM,OAAO,QAAQ,SAAS,eAAe,iBAAiB,kBAAkB;AAChF,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,eAAe,OAAsE;AAC5F,QAAM,MAAM,gBAAgB,YAAY;AACxC,QAAM,OAAO,QAAQ,SAAS,eAAe,iBAAiB,kBAAkB;AAChF,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,eAAe,OAAsE;AAC5F,QAAM,MAAM,gBAAgB,YAAY;AACxC,QAAM,OAAO,QAAQ,SAAS,eAAe,iBAAiB,kBAAkB;AAChF,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,eAAe,OAAsE;AAC5F,QAAM,MAAM,gBAAgB,YAAY;AACxC,QAAM,OAAO,QAAQ,SAAS,eAAe,iBAAiB,kBAAkB;AAChF,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,oBACP,OACA;AACA,QAAM,MAAM,gBAAgB,YAAY;AACxC,QAAM,OACJ,QAAQ,SAAS,eAAe,sBAAsB,kBAAkB;AAC1E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,mBACP,OACA;AACA,QAAM,MAAM,gBAAgB,YAAY;AACxC,QAAM,OACJ,QAAQ,SAAS,eAAe,qBAAqB,kBAAkB;AACzE,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Button as DefaultButton } from "../ui/button";
|
|
3
|
+
import { type ComponentSet } from "./context";
|
|
4
|
+
declare function Button({ componentSet, ...props }: React.ComponentProps<typeof DefaultButton> & {
|
|
5
|
+
componentSet?: ComponentSet;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function useButtonVariants(): (props?: ({
|
|
8
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
9
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
+
export { Button, useButtonVariants };
|
|
12
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/client/ui-resolver/button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,aAAa,EAA2C,MAAM,cAAc,CAAC;AAKhG,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAE/D,iBAAS,MAAM,CAAC,EACd,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,YAAY,CAAC,EAAE,YAAY,CAAA;CAAE,2CAI9E;AAED,iBAAS,iBAAiB;;;+EAGzB;AAED,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Button as DefaultButton, buttonVariants as defaultButtonVariants } from "../ui/button";
|
|
4
|
+
import {
|
|
5
|
+
Button as MonoButton,
|
|
6
|
+
buttonVariants as monoButtonVariants
|
|
7
|
+
} from "../ui-interfaces/button";
|
|
8
|
+
import { useComponentSet } from "./context";
|
|
9
|
+
function Button({
|
|
10
|
+
componentSet,
|
|
11
|
+
...props
|
|
12
|
+
}) {
|
|
13
|
+
const set = useComponentSet("button", componentSet);
|
|
14
|
+
const Comp = set === "mono" ? MonoButton : DefaultButton;
|
|
15
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
16
|
+
}
|
|
17
|
+
function useButtonVariants() {
|
|
18
|
+
const set = useComponentSet("button");
|
|
19
|
+
return set === "mono" ? monoButtonVariants : defaultButtonVariants;
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
Button,
|
|
23
|
+
useButtonVariants
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=button.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/client/ui-resolver/button.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Button as DefaultButton, buttonVariants as defaultButtonVariants } from \"../ui/button\";\nimport {\n Button as MonoButton,\n buttonVariants as monoButtonVariants,\n} from \"../ui-interfaces/button\";\nimport { useComponentSet, type ComponentSet } from \"./context\";\n\nfunction Button({\n componentSet,\n ...props\n}: React.ComponentProps<typeof DefaultButton> & { componentSet?: ComponentSet }) {\n const set = useComponentSet(\"button\", componentSet);\n const Comp = set === \"mono\" ? MonoButton : DefaultButton;\n return <Comp {...props} />;\n}\n\nfunction useButtonVariants() {\n const set = useComponentSet(\"button\");\n return set === \"mono\" ? monoButtonVariants : defaultButtonVariants;\n}\n\nexport { Button, useButtonVariants };\n"],"mappings":";AAgBS;AAbT,SAAS,UAAU,eAAe,kBAAkB,6BAA6B;AACjF;AAAA,EACE,UAAU;AAAA,EACV,kBAAkB;AAAA,OACb;AACP,SAAS,uBAA0C;AAEnD,SAAS,OAAO;AAAA,EACd;AAAA,EACA,GAAG;AACL,GAAiF;AAC/E,QAAM,MAAM,gBAAgB,UAAU,YAAY;AAClD,QAAM,OAAO,QAAQ,SAAS,aAAa;AAC3C,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,oBAAoB;AAC3B,QAAM,MAAM,gBAAgB,QAAQ;AACpC,SAAO,QAAQ,SAAS,qBAAqB;AAC/C;","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DefaultCard from "../ui/card";
|
|
3
|
+
import { type ComponentSet } from "./context";
|
|
4
|
+
declare function Card({ componentSet, ...props }: React.ComponentProps<typeof DefaultCard.Card> & {
|
|
5
|
+
componentSet?: ComponentSet;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function CardHeader(props: React.ComponentProps<typeof DefaultCard.CardHeader>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function CardFooter(props: React.ComponentProps<typeof DefaultCard.CardFooter>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function CardTitle(props: React.ComponentProps<typeof DefaultCard.CardTitle>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function CardAction(props: React.ComponentProps<typeof DefaultCard.CardAction>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function CardDescription(props: React.ComponentProps<typeof DefaultCard.CardDescription>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function CardContent(props: React.ComponentProps<typeof DefaultCard.CardContent>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };
|
|
14
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/client/ui-resolver/card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,WAAW,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAE/D,iBAAS,IAAI,CAAC,EACZ,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,GAAG;IAAE,YAAY,CAAC,EAAE,YAAY,CAAA;CAAE,2CAIjF;AAED,iBAAS,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,UAAU,CAAC,2CAI7E;AAED,iBAAS,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,UAAU,CAAC,2CAI7E;AAED,iBAAS,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,2CAI3E;AAED,iBAAS,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,UAAU,CAAC,2CAI7E;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,eAAe,CAAC,2CAIvF;AAED,iBAAS,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,WAAW,CAAC,2CAI/E;AAED,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as DefaultCard from "../ui/card";
|
|
4
|
+
import * as MonoCard from "../ui-interfaces/card";
|
|
5
|
+
import { useComponentSet } from "./context";
|
|
6
|
+
function Card({
|
|
7
|
+
componentSet,
|
|
8
|
+
...props
|
|
9
|
+
}) {
|
|
10
|
+
const set = useComponentSet("card", componentSet);
|
|
11
|
+
const Comp = set === "mono" ? MonoCard.Card : DefaultCard.Card;
|
|
12
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
13
|
+
}
|
|
14
|
+
function CardHeader(props) {
|
|
15
|
+
const set = useComponentSet("card");
|
|
16
|
+
const Comp = set === "mono" ? MonoCard.CardHeader : DefaultCard.CardHeader;
|
|
17
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
18
|
+
}
|
|
19
|
+
function CardFooter(props) {
|
|
20
|
+
const set = useComponentSet("card");
|
|
21
|
+
const Comp = set === "mono" ? MonoCard.CardFooter : DefaultCard.CardFooter;
|
|
22
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
23
|
+
}
|
|
24
|
+
function CardTitle(props) {
|
|
25
|
+
const set = useComponentSet("card");
|
|
26
|
+
const Comp = set === "mono" ? MonoCard.CardTitle : DefaultCard.CardTitle;
|
|
27
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
28
|
+
}
|
|
29
|
+
function CardAction(props) {
|
|
30
|
+
const set = useComponentSet("card");
|
|
31
|
+
const Comp = set === "mono" ? MonoCard.CardAction : DefaultCard.CardAction;
|
|
32
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
33
|
+
}
|
|
34
|
+
function CardDescription(props) {
|
|
35
|
+
const set = useComponentSet("card");
|
|
36
|
+
const Comp = set === "mono" ? MonoCard.CardDescription : DefaultCard.CardDescription;
|
|
37
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
38
|
+
}
|
|
39
|
+
function CardContent(props) {
|
|
40
|
+
const set = useComponentSet("card");
|
|
41
|
+
const Comp = set === "mono" ? MonoCard.CardContent : DefaultCard.CardContent;
|
|
42
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
Card,
|
|
46
|
+
CardAction,
|
|
47
|
+
CardContent,
|
|
48
|
+
CardDescription,
|
|
49
|
+
CardFooter,
|
|
50
|
+
CardHeader,
|
|
51
|
+
CardTitle
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=card.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/client/ui-resolver/card.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as DefaultCard from \"../ui/card\";\nimport * as MonoCard from \"../ui-interfaces/card\";\nimport { useComponentSet, type ComponentSet } from \"./context\";\n\nfunction Card({\n componentSet,\n ...props\n}: React.ComponentProps<typeof DefaultCard.Card> & { componentSet?: ComponentSet }) {\n const set = useComponentSet(\"card\", componentSet);\n const Comp = set === \"mono\" ? MonoCard.Card : DefaultCard.Card;\n return <Comp {...props} />;\n}\n\nfunction CardHeader(props: React.ComponentProps<typeof DefaultCard.CardHeader>) {\n const set = useComponentSet(\"card\");\n const Comp = set === \"mono\" ? MonoCard.CardHeader : DefaultCard.CardHeader;\n return <Comp {...props} />;\n}\n\nfunction CardFooter(props: React.ComponentProps<typeof DefaultCard.CardFooter>) {\n const set = useComponentSet(\"card\");\n const Comp = set === \"mono\" ? MonoCard.CardFooter : DefaultCard.CardFooter;\n return <Comp {...props} />;\n}\n\nfunction CardTitle(props: React.ComponentProps<typeof DefaultCard.CardTitle>) {\n const set = useComponentSet(\"card\");\n const Comp = set === \"mono\" ? MonoCard.CardTitle : DefaultCard.CardTitle;\n return <Comp {...props} />;\n}\n\nfunction CardAction(props: React.ComponentProps<typeof DefaultCard.CardAction>) {\n const set = useComponentSet(\"card\");\n const Comp = set === \"mono\" ? MonoCard.CardAction : DefaultCard.CardAction;\n return <Comp {...props} />;\n}\n\nfunction CardDescription(props: React.ComponentProps<typeof DefaultCard.CardDescription>) {\n const set = useComponentSet(\"card\");\n const Comp = set === \"mono\" ? MonoCard.CardDescription : DefaultCard.CardDescription;\n return <Comp {...props} />;\n}\n\nfunction CardContent(props: React.ComponentProps<typeof DefaultCard.CardContent>) {\n const set = useComponentSet(\"card\");\n const Comp = set === \"mono\" ? MonoCard.CardContent : DefaultCard.CardContent;\n return <Comp {...props} />;\n}\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };\n"],"mappings":";AAaS;AAVT,YAAY,iBAAiB;AAC7B,YAAY,cAAc;AAC1B,SAAS,uBAA0C;AAEnD,SAAS,KAAK;AAAA,EACZ;AAAA,EACA,GAAG;AACL,GAAoF;AAClF,QAAM,MAAM,gBAAgB,QAAQ,YAAY;AAChD,QAAM,OAAO,QAAQ,SAAS,SAAS,OAAO,YAAY;AAC1D,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,WAAW,OAA4D;AAC9E,QAAM,MAAM,gBAAgB,MAAM;AAClC,QAAM,OAAO,QAAQ,SAAS,SAAS,aAAa,YAAY;AAChE,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,WAAW,OAA4D;AAC9E,QAAM,MAAM,gBAAgB,MAAM;AAClC,QAAM,OAAO,QAAQ,SAAS,SAAS,aAAa,YAAY;AAChE,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,UAAU,OAA2D;AAC5E,QAAM,MAAM,gBAAgB,MAAM;AAClC,QAAM,OAAO,QAAQ,SAAS,SAAS,YAAY,YAAY;AAC/D,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,WAAW,OAA4D;AAC9E,QAAM,MAAM,gBAAgB,MAAM;AAClC,QAAM,OAAO,QAAQ,SAAS,SAAS,aAAa,YAAY;AAChE,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,gBAAgB,OAAiE;AACxF,QAAM,MAAM,gBAAgB,MAAM;AAClC,QAAM,OAAO,QAAQ,SAAS,SAAS,kBAAkB,YAAY;AACrE,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,YAAY,OAA6D;AAChF,QAAM,MAAM,gBAAgB,MAAM;AAClC,QAAM,OAAO,QAAQ,SAAS,SAAS,cAAc,YAAY;AACjE,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DefaultCarousel from "../ui/carousel";
|
|
3
|
+
import { type ComponentSet } from "./context";
|
|
4
|
+
type CarouselApi = DefaultCarousel.CarouselApi;
|
|
5
|
+
declare function Carousel({ componentSet, ...props }: React.ComponentProps<typeof DefaultCarousel.Carousel> & {
|
|
6
|
+
componentSet?: ComponentSet;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function CarouselContent(props: React.ComponentProps<typeof DefaultCarousel.CarouselContent>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function CarouselItem(props: React.ComponentProps<typeof DefaultCarousel.CarouselItem>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function CarouselPrevious(props: React.ComponentProps<typeof DefaultCarousel.CarouselPrevious>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function CarouselNext(props: React.ComponentProps<typeof DefaultCarousel.CarouselNext>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
|
|
13
|
+
//# sourceMappingURL=carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../../src/client/ui-resolver/carousel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,gBAAgB,CAAC;AAElD,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAE/D,KAAK,WAAW,GAAG,eAAe,CAAC,WAAW,CAAC;AAE/C,iBAAS,QAAQ,CAAC,EAChB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,GAAG;IAAE,YAAY,CAAC,EAAE,YAAY,CAAA;CAAE,2CAIzF;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,eAAe,CAAC,2CAI3F;AAED,iBAAS,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,YAAY,CAAC,2CAIrF;AAED,iBAAS,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,gBAAgB,CAAC,2CAI7F;AAED,iBAAS,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,YAAY,CAAC,2CAIrF;AAED,OAAO,EACL,KAAK,WAAW,EAChB,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,GACb,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as DefaultCarousel from "../ui/carousel";
|
|
4
|
+
import * as MonoCarousel from "../ui-interfaces/carousel";
|
|
5
|
+
import { useComponentSet } from "./context";
|
|
6
|
+
function Carousel({
|
|
7
|
+
componentSet,
|
|
8
|
+
...props
|
|
9
|
+
}) {
|
|
10
|
+
const set = useComponentSet("carousel", componentSet);
|
|
11
|
+
const Comp = set === "mono" ? MonoCarousel.Carousel : DefaultCarousel.Carousel;
|
|
12
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
13
|
+
}
|
|
14
|
+
function CarouselContent(props) {
|
|
15
|
+
const set = useComponentSet("carousel");
|
|
16
|
+
const Comp = set === "mono" ? MonoCarousel.CarouselContent : DefaultCarousel.CarouselContent;
|
|
17
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
18
|
+
}
|
|
19
|
+
function CarouselItem(props) {
|
|
20
|
+
const set = useComponentSet("carousel");
|
|
21
|
+
const Comp = set === "mono" ? MonoCarousel.CarouselItem : DefaultCarousel.CarouselItem;
|
|
22
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
23
|
+
}
|
|
24
|
+
function CarouselPrevious(props) {
|
|
25
|
+
const set = useComponentSet("carousel");
|
|
26
|
+
const Comp = set === "mono" ? MonoCarousel.CarouselPrevious : DefaultCarousel.CarouselPrevious;
|
|
27
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
28
|
+
}
|
|
29
|
+
function CarouselNext(props) {
|
|
30
|
+
const set = useComponentSet("carousel");
|
|
31
|
+
const Comp = set === "mono" ? MonoCarousel.CarouselNext : DefaultCarousel.CarouselNext;
|
|
32
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
Carousel,
|
|
36
|
+
CarouselContent,
|
|
37
|
+
CarouselItem,
|
|
38
|
+
CarouselNext,
|
|
39
|
+
CarouselPrevious
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=carousel.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/client/ui-resolver/carousel.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as DefaultCarousel from \"../ui/carousel\";\nimport * as MonoCarousel from \"../ui-interfaces/carousel\";\nimport { useComponentSet, type ComponentSet } from \"./context\";\n\ntype CarouselApi = DefaultCarousel.CarouselApi;\n\nfunction Carousel({\n componentSet,\n ...props\n}: React.ComponentProps<typeof DefaultCarousel.Carousel> & { componentSet?: ComponentSet }) {\n const set = useComponentSet(\"carousel\", componentSet);\n const Comp = set === \"mono\" ? MonoCarousel.Carousel : DefaultCarousel.Carousel;\n return <Comp {...props} />;\n}\n\nfunction CarouselContent(props: React.ComponentProps<typeof DefaultCarousel.CarouselContent>) {\n const set = useComponentSet(\"carousel\");\n const Comp = set === \"mono\" ? MonoCarousel.CarouselContent : DefaultCarousel.CarouselContent;\n return <Comp {...props} />;\n}\n\nfunction CarouselItem(props: React.ComponentProps<typeof DefaultCarousel.CarouselItem>) {\n const set = useComponentSet(\"carousel\");\n const Comp = set === \"mono\" ? MonoCarousel.CarouselItem : DefaultCarousel.CarouselItem;\n return <Comp {...props} />;\n}\n\nfunction CarouselPrevious(props: React.ComponentProps<typeof DefaultCarousel.CarouselPrevious>) {\n const set = useComponentSet(\"carousel\");\n const Comp = set === \"mono\" ? MonoCarousel.CarouselPrevious : DefaultCarousel.CarouselPrevious;\n return <Comp {...props} />;\n}\n\nfunction CarouselNext(props: React.ComponentProps<typeof DefaultCarousel.CarouselNext>) {\n const set = useComponentSet(\"carousel\");\n const Comp = set === \"mono\" ? MonoCarousel.CarouselNext : DefaultCarousel.CarouselNext;\n return <Comp {...props} />;\n}\n\nexport {\n type CarouselApi,\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselPrevious,\n CarouselNext,\n};\n"],"mappings":";AAeS;AAZT,YAAY,qBAAqB;AACjC,YAAY,kBAAkB;AAC9B,SAAS,uBAA0C;AAInD,SAAS,SAAS;AAAA,EAChB;AAAA,EACA,GAAG;AACL,GAA4F;AAC1F,QAAM,MAAM,gBAAgB,YAAY,YAAY;AACpD,QAAM,OAAO,QAAQ,SAAS,aAAa,WAAW,gBAAgB;AACtE,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,gBAAgB,OAAqE;AAC5F,QAAM,MAAM,gBAAgB,UAAU;AACtC,QAAM,OAAO,QAAQ,SAAS,aAAa,kBAAkB,gBAAgB;AAC7E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,aAAa,OAAkE;AACtF,QAAM,MAAM,gBAAgB,UAAU;AACtC,QAAM,OAAO,QAAQ,SAAS,aAAa,eAAe,gBAAgB;AAC1E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,iBAAiB,OAAsE;AAC9F,QAAM,MAAM,gBAAgB,UAAU;AACtC,QAAM,OAAO,QAAQ,SAAS,aAAa,mBAAmB,gBAAgB;AAC9E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,aAAa,OAAkE;AACtF,QAAM,MAAM,gBAAgB,UAAU;AACtC,QAAM,OAAO,QAAQ,SAAS,aAAa,eAAe,gBAAgB;AAC1E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;","names":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Checkbox as DefaultCheckbox } from "../ui/checkbox";
|
|
3
|
+
import { type ComponentSet } from "./context";
|
|
4
|
+
declare function Checkbox({ componentSet, ...props }: React.ComponentProps<typeof DefaultCheckbox> & {
|
|
5
|
+
componentSet?: ComponentSet;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Checkbox };
|
|
8
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/client/ui-resolver/checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAE/D,iBAAS,QAAQ,CAAC,EAChB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,GAAG;IAAE,YAAY,CAAC,EAAE,YAAY,CAAA;CAAE,2CAIhF;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Checkbox as DefaultCheckbox } from "../ui/checkbox";
|
|
4
|
+
import { Checkbox as MonoCheckbox } from "../ui-interfaces/checkbox";
|
|
5
|
+
import { useComponentSet } from "./context";
|
|
6
|
+
function Checkbox({
|
|
7
|
+
componentSet,
|
|
8
|
+
...props
|
|
9
|
+
}) {
|
|
10
|
+
const set = useComponentSet("checkbox", componentSet);
|
|
11
|
+
const Comp = set === "mono" ? MonoCheckbox : DefaultCheckbox;
|
|
12
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
Checkbox
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=checkbox.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/client/ui-resolver/checkbox.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Checkbox as DefaultCheckbox } from \"../ui/checkbox\";\nimport { Checkbox as MonoCheckbox } from \"../ui-interfaces/checkbox\";\nimport { useComponentSet, type ComponentSet } from \"./context\";\n\nfunction Checkbox({\n componentSet,\n ...props\n}: React.ComponentProps<typeof DefaultCheckbox> & { componentSet?: ComponentSet }) {\n const set = useComponentSet(\"checkbox\", componentSet);\n const Comp = set === \"mono\" ? MonoCheckbox : DefaultCheckbox;\n return <Comp {...props} />;\n}\n\nexport { Checkbox };\n"],"mappings":";AAaS;AAVT,SAAS,YAAY,uBAAuB;AAC5C,SAAS,YAAY,oBAAoB;AACzC,SAAS,uBAA0C;AAEnD,SAAS,SAAS;AAAA,EAChB;AAAA,EACA,GAAG;AACL,GAAmF;AACjF,QAAM,MAAM,gBAAgB,YAAY,YAAY;AACpD,QAAM,OAAO,QAAQ,SAAS,eAAe;AAC7C,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DefaultCollapsible from "../ui/collapsible";
|
|
3
|
+
import { type ComponentSet } from "./context";
|
|
4
|
+
declare function Collapsible({ componentSet, ...props }: React.ComponentProps<typeof DefaultCollapsible.Collapsible> & {
|
|
5
|
+
componentSet?: ComponentSet;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function CollapsibleTrigger(props: React.ComponentProps<typeof DefaultCollapsible.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function CollapsibleContent(props: React.ComponentProps<typeof DefaultCollapsible.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
|
10
|
+
//# sourceMappingURL=collapsible.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../src/client/ui-resolver/collapsible.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,kBAAkB,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAE/D,iBAAS,WAAW,CAAC,EACnB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,WAAW,CAAC,GAAG;IAAE,YAAY,CAAC,EAAE,YAAY,CAAA;CAAE,2CAI/F;AAED,iBAAS,kBAAkB,CACzB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,kBAAkB,CAAC,2CAM1E;AAED,iBAAS,kBAAkB,CACzB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,kBAAkB,CAAC,2CAM1E;AAED,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as DefaultCollapsible from "../ui/collapsible";
|
|
4
|
+
import * as MonoCollapsible from "../ui-interfaces/collapsible";
|
|
5
|
+
import { useComponentSet } from "./context";
|
|
6
|
+
function Collapsible({
|
|
7
|
+
componentSet,
|
|
8
|
+
...props
|
|
9
|
+
}) {
|
|
10
|
+
const set = useComponentSet("collapsible", componentSet);
|
|
11
|
+
const Comp = set === "mono" ? MonoCollapsible.Collapsible : DefaultCollapsible.Collapsible;
|
|
12
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
13
|
+
}
|
|
14
|
+
function CollapsibleTrigger(props) {
|
|
15
|
+
const set = useComponentSet("collapsible");
|
|
16
|
+
const Comp = set === "mono" ? MonoCollapsible.CollapsibleTrigger : DefaultCollapsible.CollapsibleTrigger;
|
|
17
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
18
|
+
}
|
|
19
|
+
function CollapsibleContent(props) {
|
|
20
|
+
const set = useComponentSet("collapsible");
|
|
21
|
+
const Comp = set === "mono" ? MonoCollapsible.CollapsibleContent : DefaultCollapsible.CollapsibleContent;
|
|
22
|
+
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
Collapsible,
|
|
26
|
+
CollapsibleContent,
|
|
27
|
+
CollapsibleTrigger
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=collapsible.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/client/ui-resolver/collapsible.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as DefaultCollapsible from \"../ui/collapsible\";\nimport * as MonoCollapsible from \"../ui-interfaces/collapsible\";\nimport { useComponentSet, type ComponentSet } from \"./context\";\n\nfunction Collapsible({\n componentSet,\n ...props\n}: React.ComponentProps<typeof DefaultCollapsible.Collapsible> & { componentSet?: ComponentSet }) {\n const set = useComponentSet(\"collapsible\", componentSet);\n const Comp = set === \"mono\" ? MonoCollapsible.Collapsible : DefaultCollapsible.Collapsible;\n return <Comp {...props} />;\n}\n\nfunction CollapsibleTrigger(\n props: React.ComponentProps<typeof DefaultCollapsible.CollapsibleTrigger>,\n) {\n const set = useComponentSet(\"collapsible\");\n const Comp =\n set === \"mono\" ? MonoCollapsible.CollapsibleTrigger : DefaultCollapsible.CollapsibleTrigger;\n return <Comp {...props} />;\n}\n\nfunction CollapsibleContent(\n props: React.ComponentProps<typeof DefaultCollapsible.CollapsibleContent>,\n) {\n const set = useComponentSet(\"collapsible\");\n const Comp =\n set === \"mono\" ? MonoCollapsible.CollapsibleContent : DefaultCollapsible.CollapsibleContent;\n return <Comp {...props} />;\n}\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent };\n"],"mappings":";AAaS;AAVT,YAAY,wBAAwB;AACpC,YAAY,qBAAqB;AACjC,SAAS,uBAA0C;AAEnD,SAAS,YAAY;AAAA,EACnB;AAAA,EACA,GAAG;AACL,GAAkG;AAChG,QAAM,MAAM,gBAAgB,eAAe,YAAY;AACvD,QAAM,OAAO,QAAQ,SAAS,gBAAgB,cAAc,mBAAmB;AAC/E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,mBACP,OACA;AACA,QAAM,MAAM,gBAAgB,aAAa;AACzC,QAAM,OACJ,QAAQ,SAAS,gBAAgB,qBAAqB,mBAAmB;AAC3E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,SAAS,mBACP,OACA;AACA,QAAM,MAAM,gBAAgB,aAAa;AACzC,QAAM,OACJ,QAAQ,SAAS,gBAAgB,qBAAqB,mBAAmB;AAC3E,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ComponentSet = "default" | "mono";
|
|
2
|
+
export type ComponentName = "button" | "input" | "label" | "checkbox" | "select" | "breadcrumb" | "pagination" | "card" | "accordion" | "carousel" | "collapsible" | "navigation-menu" | "popover" | "separator" | "sheet" | "toggle" | "toggle-group";
|
|
3
|
+
export type ComponentOverrides = Partial<Record<ComponentName, ComponentSet>>;
|
|
4
|
+
export declare function ComponentSetProvider({ value, overrides, children, }: {
|
|
5
|
+
value: ComponentSet;
|
|
6
|
+
overrides?: ComponentOverrides;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function useComponentSet(component?: ComponentName, inline?: ComponentSet): ComponentSet;
|
|
10
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/client/ui-resolver/context.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,MAAM,CAAC;AAE9C,MAAM,MAAM,aAAa,GACrB,QAAQ,GACR,OAAO,GACP,OAAO,GACP,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,YAAY,GACZ,MAAM,GACN,WAAW,GACX,UAAU,GACV,aAAa,GACb,iBAAiB,GACjB,SAAS,GACT,WAAW,GACX,OAAO,GACP,QAAQ,GACR,cAAc,CAAC;AAEnB,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC,CAAC;AAY9E,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,SAAS,EACT,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,YAAY,CAAC;IACpB,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,2CAGA;AAED,wBAAgB,eAAe,CAAC,SAAS,CAAC,EAAE,aAAa,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAO9F"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useContext, useMemo } from "react";
|
|
4
|
+
const ComponentSetContext = createContext({
|
|
5
|
+
base: "default",
|
|
6
|
+
overrides: {}
|
|
7
|
+
});
|
|
8
|
+
function ComponentSetProvider({
|
|
9
|
+
value,
|
|
10
|
+
overrides,
|
|
11
|
+
children
|
|
12
|
+
}) {
|
|
13
|
+
const config = useMemo(() => ({ base: value, overrides: overrides ?? {} }), [value, overrides]);
|
|
14
|
+
return /* @__PURE__ */ jsx(ComponentSetContext.Provider, { value: config, children });
|
|
15
|
+
}
|
|
16
|
+
function useComponentSet(component, inline) {
|
|
17
|
+
const config = useContext(ComponentSetContext);
|
|
18
|
+
if (inline) return inline;
|
|
19
|
+
if (component && config.overrides[component]) {
|
|
20
|
+
return config.overrides[component];
|
|
21
|
+
}
|
|
22
|
+
return config.base;
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
ComponentSetProvider,
|
|
26
|
+
useComponentSet
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=context.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/client/ui-resolver/context.tsx"],"sourcesContent":["\"use client\";\n\nimport { createContext, useContext, useMemo } from \"react\";\n\nexport type ComponentSet = \"default\" | \"mono\";\n\nexport type ComponentName =\n | \"button\"\n | \"input\"\n | \"label\"\n | \"checkbox\"\n | \"select\"\n | \"breadcrumb\"\n | \"pagination\"\n | \"card\"\n | \"accordion\"\n | \"carousel\"\n | \"collapsible\"\n | \"navigation-menu\"\n | \"popover\"\n | \"separator\"\n | \"sheet\"\n | \"toggle\"\n | \"toggle-group\";\n\nexport type ComponentOverrides = Partial<Record<ComponentName, ComponentSet>>;\n\ninterface ComponentSetConfig {\n base: ComponentSet;\n overrides: ComponentOverrides;\n}\n\nconst ComponentSetContext = createContext<ComponentSetConfig>({\n base: \"default\",\n overrides: {},\n});\n\nexport function ComponentSetProvider({\n value,\n overrides,\n children,\n}: {\n value: ComponentSet;\n overrides?: ComponentOverrides;\n children: React.ReactNode;\n}) {\n const config = useMemo(() => ({ base: value, overrides: overrides ?? {} }), [value, overrides]);\n return <ComponentSetContext.Provider value={config}>{children}</ComponentSetContext.Provider>;\n}\n\nexport function useComponentSet(component?: ComponentName, inline?: ComponentSet): ComponentSet {\n const config = useContext(ComponentSetContext);\n if (inline) return inline;\n if (component && config.overrides[component]) {\n return config.overrides[component];\n }\n return config.base;\n}\n"],"mappings":";AA+CS;AA7CT,SAAS,eAAe,YAAY,eAAe;AA8BnD,MAAM,sBAAsB,cAAkC;AAAA,EAC5D,MAAM;AAAA,EACN,WAAW,CAAC;AACd,CAAC;AAEM,SAAS,qBAAqB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AACF,GAIG;AACD,QAAM,SAAS,QAAQ,OAAO,EAAE,MAAM,OAAO,WAAW,aAAa,CAAC,EAAE,IAAI,CAAC,OAAO,SAAS,CAAC;AAC9F,SAAO,oBAAC,oBAAoB,UAApB,EAA6B,OAAO,QAAS,UAAS;AAChE;AAEO,SAAS,gBAAgB,WAA2B,QAAqC;AAC9F,QAAM,SAAS,WAAW,mBAAmB;AAC7C,MAAI,OAAQ,QAAO;AACnB,MAAI,aAAa,OAAO,UAAU,SAAS,GAAG;AAC5C,WAAO,OAAO,UAAU,SAAS;AAAA,EACnC;AACA,SAAO,OAAO;AAChB;","names":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { ComponentSetProvider, useComponentSet, type ComponentSet, type ComponentName, type ComponentOverrides, } from "./context";
|
|
2
|
+
export { Button, useButtonVariants } from "./button";
|
|
3
|
+
export { Input } from "./input";
|
|
4
|
+
export { Label } from "./label";
|
|
5
|
+
export { Checkbox } from "./checkbox";
|
|
6
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, } from "./select";
|
|
7
|
+
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, } from "./breadcrumb";
|
|
8
|
+
export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, } from "./pagination";
|
|
9
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, } from "./card";
|
|
10
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "./accordion";
|
|
11
|
+
export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, } from "./carousel";
|
|
12
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent } from "./collapsible";
|
|
13
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, useNavigationMenuTriggerStyle, } from "./navigation-menu";
|
|
14
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from "./popover";
|
|
15
|
+
export { Separator } from "./separator";
|
|
16
|
+
export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, } from "./sheet";
|
|
17
|
+
export { Toggle, useToggleVariants } from "./toggle";
|
|
18
|
+
export { ToggleGroup, ToggleGroupItem } from "./toggle-group";
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/ui-resolver/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACxB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,GACZ,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EACf,WAAW,GACZ,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3F,OAAO,EACL,KAAK,WAAW,EAChB,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EACL,KAAK,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
|