@usequeek/theme-kit 0.1.0 → 0.1.1

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.
Files changed (42) hide show
  1. package/apps/follow-card.tsx +1 -0
  2. package/apps/subscribe-form.tsx +1 -0
  3. package/components/auth/auth-email-login-step.tsx +1 -0
  4. package/components/auth/auth-email-otp-step.tsx +1 -0
  5. package/components/auth/auth-email-otp-verify-step.tsx +1 -0
  6. package/components/auth/auth-email-register-step.tsx +1 -0
  7. package/components/auth/auth-flow.tsx +1 -0
  8. package/components/auth/auth-signup-step.tsx +1 -0
  9. package/components/blog/category-filter.tsx +1 -0
  10. package/components/blog/pagination.tsx +1 -0
  11. package/components/blog/post-categories.tsx +1 -0
  12. package/components/blog/post-meta.tsx +1 -0
  13. package/components/blog/related-posts.tsx +1 -0
  14. package/components/blog/share-buttons.tsx +1 -0
  15. package/components/cart/cart-panel-controller.tsx +1 -0
  16. package/components/cart/default-cart-shell.tsx +1 -0
  17. package/components/checkout/checkout-contact.tsx +1 -0
  18. package/components/checkout/default-checkout-shell.tsx +1 -0
  19. package/components/checkout/policy-links.tsx +1 -0
  20. package/components/markdown.tsx +1 -0
  21. package/components/product-media-frame.tsx +1 -0
  22. package/components/variant-picker.tsx +1 -0
  23. package/edit-mode-active.tsx +1 -0
  24. package/edit-mode.tsx +1 -0
  25. package/hooks/use-auth-flow.tsx +1 -0
  26. package/package.json +1 -1
  27. package/page-renderer.tsx +1 -0
  28. package/provider.tsx +1 -0
  29. package/shared-blocks/button.tsx +1 -0
  30. package/shared-blocks/callout.tsx +1 -0
  31. package/shared-blocks/content-default.tsx +1 -0
  32. package/shared-blocks/divider.tsx +1 -0
  33. package/shared-blocks/embed.tsx +1 -0
  34. package/shared-blocks/faq.tsx +1 -0
  35. package/shared-blocks/image.tsx +1 -0
  36. package/shared-blocks/product-qa.tsx +1 -0
  37. package/shared-blocks/quote.tsx +1 -0
  38. package/shared-blocks/reviews.tsx +1 -0
  39. package/shared-blocks/table.tsx +1 -0
  40. package/shared-blocks/video.tsx +1 -0
  41. package/theme-context.tsx +1 -0
  42. package/utils/benefit-icon.tsx +1 -0
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useState, useCallback, useEffect } from 'react';
4
5
  import { useStorefront } from '../provider';
5
6
  import { useUserStore } from '../stores/user-store';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useCallback, useId, useState } from 'react';
4
5
  import { useStorefront } from '../provider';
5
6
  import { getQueekClient } from '../sdk/queek-client';
@@ -1,4 +1,5 @@
1
1
  'use client';
2
+ import type { JSX } from 'react';
2
3
  import { useAuthFlow } from '../../hooks/use-auth-flow';
3
4
 
4
5
  export function AuthEmailLoginStep(): JSX.Element {
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useAuthFlow } from '../../hooks/use-auth-flow';
4
5
 
5
6
  export function AuthEmailOtpStep(): JSX.Element {
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useRef } from 'react';
4
5
  import { useAuthFlow } from '../../hooks/use-auth-flow';
5
6
 
@@ -1,4 +1,5 @@
1
1
  'use client';
2
+ import type { JSX } from 'react';
2
3
  import { useAuthFlow } from '../../hooks/use-auth-flow';
3
4
 
4
5
  export function AuthEmailRegisterStep(): JSX.Element {
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { AuthFlowProvider, useAuthFlow } from '../../hooks/use-auth-flow';
4
5
  import { AuthEmailOtpStep } from './auth-email-otp-step';
5
6
  import { AuthEmailOtpVerifyStep } from './auth-email-otp-verify-step';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useAuthFlow } from '../../hooks/use-auth-flow';
4
5
 
5
6
  export function AuthSignupStep(): JSX.Element {
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import Link from 'next/link';
4
5
  import type { BlogCategory } from '../../types/page';
5
6
  import { useStorefront } from '../../provider';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import Link from 'next/link';
4
5
  import type { Pagination } from '../../types/page';
5
6
  import { useStorefront } from '../../provider';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import Link from 'next/link';
4
5
  import type { BlogCategory } from '../../types/page';
5
6
  import { useStorefront } from '../../provider';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { Post } from '../../types/page';
4
5
  import { useStorefront } from '../../provider';
5
6
  import { Image } from '../image';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import Link from 'next/link';
4
5
  import type { Post } from '../../types/page';
5
6
  import { useStorefront } from '../../provider';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useEffect, useState } from 'react';
4
5
 
5
6
  interface ShareButtonsProps {
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useEffect, type ReactNode } from 'react';
4
5
  import { useRouter } from 'next/navigation';
5
6
  import type { CartItem } from '../../types/cart';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useRef, useState } from 'react';
4
5
  import Link from 'next/link';
5
6
  import type { CartShellProps } from '../../types/theme';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useEffect, useRef, useState } from 'react';
4
5
  import { useAuth } from '../../hooks/use-auth';
5
6
  import { Image } from '../image';
@@ -1,4 +1,5 @@
1
1
  'use client';
2
+ import type { JSX } from 'react';
2
3
  import Link from 'next/link';
3
4
  import type { CheckoutShellProps } from '../../types/theme';
4
5
  import { formatMoney } from '../../utils/format';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useEffect, useSyncExternalStore } from 'react';
4
5
  import { createPortal } from 'react-dom';
5
6
  import Link from 'next/link';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { ComponentPropsWithoutRef } from 'react';
4
5
  import ReactMarkdown from 'react-markdown';
5
6
  import remarkGfm from 'remark-gfm';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { Image, type PlaceholderProp } from './image';
4
5
  import type { ImageIntent } from '../utils/image-srcset';
5
6
  import type { MediaFrame } from '../utils/product-media';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { Product, ProductVariant } from '../types/product';
4
5
  import './variant-picker.css';
5
6
 
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { Block } from './types/block';
4
5
  import { useEditPreviewStore } from './stores/edit-preview-store';
5
6
  import { useEffect, useRef, useState, type ReactNode } from 'react';
package/edit-mode.tsx CHANGED
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useEffect, useState, type ReactNode } from 'react';
4
5
  import dynamic from 'next/dynamic';
5
6
 
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { createContext, useContext, useState, type ReactNode } from 'react';
4
5
  import { QueekSdkError, type EmailVerifyOtpResponse } from '@queekai/client-sdk';
5
6
  import { useStorefront } from '../provider';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usequeek/theme-kit",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
6
  "description": "The framework a Queek storefront theme is built against.",
package/page-renderer.tsx CHANGED
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { Component, Suspense, use, useEffect, useMemo, type ComponentType, type ReactNode } from 'react';
4
5
  import type { Block, BlockDataMap } from './types/block';
5
6
  import type { Product } from './types/product';
package/provider.tsx CHANGED
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { createContext, useContext, useMemo, useRef, type ReactNode } from 'react';
4
5
  import type { Menu } from './types/menu';
5
6
  import type { ReviewItem } from './types/block';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import Link from 'next/link';
4
5
  import type { ButtonBlockData } from '../types/block';
5
6
 
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { CalloutBlockData, CalloutTone } from '../types/block';
4
5
  import { Markdown } from '../components/markdown';
5
6
 
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { ContentBlockData } from '../types/block';
4
5
  import { Markdown } from '../components/markdown';
5
6
 
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { DividerBlockData } from '../types/block';
4
5
 
5
6
  /**
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { EmbedBlockData } from '../types/block';
4
5
 
5
6
  /**
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { FaqBlockData } from '../types/block';
4
5
 
5
6
  /**
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { ImageBlockData } from '../types/block';
4
5
  import { Image } from '../components/image';
5
6
 
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useState } from 'react';
4
5
  import type { ProductQaBlockData, ProductQuestionItem } from '../types/block';
5
6
  import { Image } from '../components/image';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { QuoteBlockData } from '../types/block';
4
5
 
5
6
  /**
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { useEffect, useRef, useState } from 'react';
4
5
  import type { ReviewItem, ReviewsBlockData, ReviewsSummary } from '../types/block';
5
6
  import { Image } from '../components/image';
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { TableBlockData } from '../types/block';
4
5
 
5
6
  /**
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import type { VideoBlockData } from '../types/block';
4
5
  import { resolveVideoEmbedUrl } from '../utils/video-embed';
5
6
 
package/theme-context.tsx CHANGED
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import type { JSX } from 'react';
3
4
  import { createContext, useContext, type ReactNode } from 'react';
4
5
  import type { ThemeModule } from './types/theme';
5
6
 
@@ -1,3 +1,4 @@
1
+ import type { JSX } from 'react';
1
2
  /**
2
3
  * Shared icon-keyword vocabulary for "benefit row" content blocks (glow's
3
4
  * `trust-badges`, any theme's `features-columns`, and similar icon+title+text