@vite-mf-monorepo/ui 0.5.8 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Avatar/Avatar.d.ts +6 -8
- package/dist/Avatar/Avatar.d.ts.map +1 -0
- package/dist/Avatar/index.d.ts +3 -3
- package/dist/Avatar/index.d.ts.map +1 -0
- package/dist/Badge/Badge.d.ts +8 -10
- package/dist/Badge/Badge.d.ts.map +1 -0
- package/dist/Badge/index.d.ts +3 -4
- package/dist/Badge/index.d.ts.map +1 -0
- package/dist/Button/Button.utils.d.ts +9 -12
- package/dist/Button/Button.utils.d.ts.map +1 -0
- package/dist/Button/index.d.ts +3 -6
- package/dist/Button/index.d.ts.map +1 -0
- package/dist/Card/Card.d.ts +6 -8
- package/dist/Card/Card.d.ts.map +1 -0
- package/dist/Card/index.d.ts +3 -3
- package/dist/Card/index.d.ts.map +1 -0
- package/dist/Carousel/Carousel.d.ts +7 -9
- package/dist/Carousel/Carousel.d.ts.map +1 -0
- package/dist/Carousel/CarouselCounter.d.ts +4 -6
- package/dist/Carousel/CarouselCounter.d.ts.map +1 -0
- package/dist/Carousel/CarouselError.d.ts +4 -6
- package/dist/Carousel/CarouselError.d.ts.map +1 -0
- package/dist/Carousel/CarouselItem.d.ts +5 -7
- package/dist/Carousel/CarouselItem.d.ts.map +1 -0
- package/dist/Carousel/CarouselLoading.d.ts +4 -6
- package/dist/Carousel/CarouselLoading.d.ts.map +1 -0
- package/dist/Carousel/CarouselNavigation.d.ts +5 -7
- package/dist/Carousel/CarouselNavigation.d.ts.map +1 -0
- package/dist/Carousel/CarouselPagination.d.ts +4 -6
- package/dist/Carousel/CarouselPagination.d.ts.map +1 -0
- package/dist/Carousel/index.d.ts +13 -8
- package/dist/Carousel/index.d.ts.map +1 -0
- package/dist/HeroImage/HeroImage.d.ts +4 -6
- package/dist/HeroImage/HeroImage.d.ts.map +1 -0
- package/dist/HeroImage/index.d.ts +3 -2
- package/dist/HeroImage/index.d.ts.map +1 -0
- package/dist/Icon/Icon.d.ts +7 -9
- package/dist/Icon/Icon.d.ts.map +1 -0
- package/dist/Icon/index.d.ts +3 -3
- package/dist/Icon/index.d.ts.map +1 -0
- package/dist/IconButton/IconButton.d.ts +6 -8
- package/dist/IconButton/IconButton.d.ts.map +1 -0
- package/dist/IconButton/index.d.ts +3 -4
- package/dist/IconButton/index.d.ts.map +1 -0
- package/dist/Image/Image.d.ts +8 -10
- package/dist/Image/Image.d.ts.map +1 -0
- package/dist/Image/index.d.ts +3 -3
- package/dist/Image/index.d.ts.map +1 -0
- package/dist/Input/Input.d.ts +14 -0
- package/dist/Input/Input.d.ts.map +1 -0
- package/dist/Input/Input.js +2 -0
- package/dist/Input/Input.js.map +1 -0
- package/dist/Input/index.d.ts +3 -0
- package/dist/Input/index.d.ts.map +1 -0
- package/dist/Input/index.js +2 -0
- package/dist/Input/index.js.map +1 -0
- package/dist/Listbox/ListboxItem.d.ts +26 -0
- package/dist/Listbox/ListboxItem.d.ts.map +1 -0
- package/dist/Listbox/ListboxItem.js +2 -0
- package/dist/Listbox/ListboxItem.js.map +1 -0
- package/dist/Listbox/ListboxList.d.ts +16 -0
- package/dist/Listbox/ListboxList.d.ts.map +1 -0
- package/dist/Listbox/ListboxList.js +2 -0
- package/dist/Listbox/ListboxList.js.map +1 -0
- package/dist/Listbox/index.d.ts +5 -0
- package/dist/Listbox/index.d.ts.map +1 -0
- package/dist/Listbox/index.js +2 -0
- package/dist/Listbox/index.js.map +1 -0
- package/dist/Menu/Menu.d.ts +19 -0
- package/dist/Menu/Menu.d.ts.map +1 -0
- package/dist/Menu/Menu.js +2 -0
- package/dist/Menu/Menu.js.map +1 -0
- package/dist/Menu/MenuContext.d.ts +14 -0
- package/dist/Menu/MenuContext.d.ts.map +1 -0
- package/dist/Menu/MenuContext.js +2 -0
- package/dist/Menu/MenuContext.js.map +1 -0
- package/dist/Menu/MenuItem.d.ts +11 -0
- package/dist/Menu/MenuItem.d.ts.map +1 -0
- package/dist/Menu/MenuItem.js +2 -0
- package/dist/Menu/MenuItem.js.map +1 -0
- package/dist/Menu/index.d.ts +5 -0
- package/dist/Menu/index.d.ts.map +1 -0
- package/dist/Menu/index.js +2 -0
- package/dist/Menu/index.js.map +1 -0
- package/dist/Modal/Modal.d.ts +5 -7
- package/dist/Modal/Modal.d.ts.map +1 -0
- package/dist/Modal/index.d.ts +3 -3
- package/dist/Modal/index.d.ts.map +1 -0
- package/dist/MovieCard/MovieCard.utils.d.ts +7 -11
- package/dist/MovieCard/MovieCard.utils.d.ts.map +1 -0
- package/dist/MovieCard/MovieCardContent.d.ts +5 -7
- package/dist/MovieCard/MovieCardContent.d.ts.map +1 -0
- package/dist/MovieCard/index.d.ts +3 -6
- package/dist/MovieCard/index.d.ts.map +1 -0
- package/dist/Portal/Portal.d.ts +8 -0
- package/dist/Portal/Portal.d.ts.map +1 -0
- package/dist/Portal/Portal.js +2 -0
- package/dist/Portal/Portal.js.map +1 -0
- package/dist/Portal/index.d.ts +3 -0
- package/dist/Portal/index.d.ts.map +1 -0
- package/dist/Portal/index.js +2 -0
- package/dist/Portal/index.js.map +1 -0
- package/dist/Rating/CircleRating.d.ts +5 -7
- package/dist/Rating/CircleRating.d.ts.map +1 -0
- package/dist/Rating/Rating.d.ts +6 -8
- package/dist/Rating/Rating.d.ts.map +1 -0
- package/dist/Rating/StarsRating.d.ts +5 -7
- package/dist/Rating/StarsRating.d.ts.map +1 -0
- package/dist/Rating/index.d.ts +3 -2
- package/dist/Rating/index.d.ts.map +1 -0
- package/dist/Skeleton/Skeleton.d.ts +5 -7
- package/dist/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/Skeleton/index.d.ts +3 -3
- package/dist/Skeleton/index.d.ts.map +1 -0
- package/dist/Spinner/Spinner.d.ts +4 -6
- package/dist/Spinner/Spinner.d.ts.map +1 -0
- package/dist/Spinner/index.d.ts +3 -2
- package/dist/Spinner/index.d.ts.map +1 -0
- package/dist/Tabs/Tabs.d.ts +9 -11
- package/dist/Tabs/Tabs.d.ts.map +1 -0
- package/dist/Tabs/TabsContext.d.ts +5 -11
- package/dist/Tabs/TabsContext.d.ts.map +1 -0
- package/dist/Tabs/TabsList.d.ts +5 -7
- package/dist/Tabs/TabsList.d.ts.map +1 -0
- package/dist/Tabs/TabsListContext.d.ts +4 -6
- package/dist/Tabs/TabsListContext.d.ts.map +1 -0
- package/dist/Tabs/TabsPanel.d.ts +5 -7
- package/dist/Tabs/TabsPanel.d.ts.map +1 -0
- package/dist/Tabs/TabsTrigger.d.ts +5 -7
- package/dist/Tabs/TabsTrigger.d.ts.map +1 -0
- package/dist/Tabs/index.d.ts +6 -6
- package/dist/Tabs/index.d.ts.map +1 -0
- package/dist/Talent/Talent.d.ts +6 -8
- package/dist/Talent/Talent.d.ts.map +1 -0
- package/dist/Talent/index.d.ts +3 -4
- package/dist/Talent/index.d.ts.map +1 -0
- package/dist/TrailerCard/TrailerCard.d.ts +4 -6
- package/dist/TrailerCard/TrailerCard.d.ts.map +1 -0
- package/dist/TrailerCard/index.d.ts +3 -2
- package/dist/TrailerCard/index.d.ts.map +1 -0
- package/dist/Typeahead/Typeahead.d.ts +58 -0
- package/dist/Typeahead/Typeahead.d.ts.map +1 -0
- package/dist/Typeahead/Typeahead.js +2 -0
- package/dist/Typeahead/Typeahead.js.map +1 -0
- package/dist/Typeahead/TypeaheadContext.d.ts +45 -0
- package/dist/Typeahead/TypeaheadContext.d.ts.map +1 -0
- package/dist/Typeahead/TypeaheadContext.js +2 -0
- package/dist/Typeahead/TypeaheadContext.js.map +1 -0
- package/dist/Typeahead/TypeaheadEmpty.d.ts +18 -0
- package/dist/Typeahead/TypeaheadEmpty.d.ts.map +1 -0
- package/dist/Typeahead/TypeaheadEmpty.js +2 -0
- package/dist/Typeahead/TypeaheadEmpty.js.map +1 -0
- package/dist/Typeahead/TypeaheadHighlight.d.ts +19 -0
- package/dist/Typeahead/TypeaheadHighlight.d.ts.map +1 -0
- package/dist/Typeahead/TypeaheadHighlight.js +2 -0
- package/dist/Typeahead/TypeaheadHighlight.js.map +1 -0
- package/dist/Typeahead/TypeaheadInput.d.ts +21 -0
- package/dist/Typeahead/TypeaheadInput.d.ts.map +1 -0
- package/dist/Typeahead/TypeaheadInput.js +2 -0
- package/dist/Typeahead/TypeaheadInput.js.map +1 -0
- package/dist/Typeahead/TypeaheadItem.d.ts +26 -0
- package/dist/Typeahead/TypeaheadItem.d.ts.map +1 -0
- package/dist/Typeahead/TypeaheadItem.js +2 -0
- package/dist/Typeahead/TypeaheadItem.js.map +1 -0
- package/dist/Typeahead/TypeaheadMenu.d.ts +17 -0
- package/dist/Typeahead/TypeaheadMenu.d.ts.map +1 -0
- package/dist/Typeahead/TypeaheadMenu.js +2 -0
- package/dist/Typeahead/TypeaheadMenu.js.map +1 -0
- package/dist/Typeahead/index.d.ts +8 -0
- package/dist/Typeahead/index.d.ts.map +1 -0
- package/dist/Typeahead/index.js +2 -0
- package/dist/Typeahead/index.js.map +1 -0
- package/dist/Typography/Typography.d.ts +6 -8
- package/dist/Typography/Typography.d.ts.map +1 -0
- package/dist/Typography/index.d.ts +3 -2
- package/dist/Typography/index.d.ts.map +1 -0
- package/dist/index.d.ts +46 -32
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/next/Button/Button.d.ts +4 -9
- package/dist/next/Button/Button.d.ts.map +1 -0
- package/dist/next/Button/Button.types.d.ts +9 -11
- package/dist/next/Button/Button.types.d.ts.map +1 -0
- package/dist/next/Button/index.d.ts +3 -6
- package/dist/next/Button/index.d.ts.map +1 -0
- package/dist/next/HeroImage/HeroImage.d.ts +4 -6
- package/dist/next/HeroImage/HeroImage.d.ts.map +1 -0
- package/dist/next/HeroImage/index.d.ts +3 -2
- package/dist/next/HeroImage/index.d.ts.map +1 -0
- package/dist/next/Image/NextImage.d.ts +4 -8
- package/dist/next/Image/NextImage.d.ts.map +1 -0
- package/dist/next/Image/NextImage.types.d.ts +4 -6
- package/dist/next/Image/NextImage.types.d.ts.map +1 -0
- package/dist/next/Image/NextImageClient.d.ts +4 -8
- package/dist/next/Image/NextImageClient.d.ts.map +1 -0
- package/dist/next/Image/NextImageClient.types.d.ts +4 -6
- package/dist/next/Image/NextImageClient.types.d.ts.map +1 -0
- package/dist/next/Image/index.d.ts +5 -7
- package/dist/next/Image/index.d.ts.map +1 -0
- package/dist/next/MovieCard/MovieCard.d.ts +4 -9
- package/dist/next/MovieCard/MovieCard.d.ts.map +1 -0
- package/dist/next/MovieCard/MovieCard.types.d.ts +6 -10
- package/dist/next/MovieCard/MovieCard.types.d.ts.map +1 -0
- package/dist/next/MovieCard/MovieCardContent.d.ts +5 -7
- package/dist/next/MovieCard/MovieCardContent.d.ts.map +1 -0
- package/dist/next/MovieCard/index.d.ts +3 -6
- package/dist/next/MovieCard/index.d.ts.map +1 -0
- package/dist/next/index.d.ts +9 -16
- package/dist/next/index.d.ts.map +1 -0
- package/dist/react-router/Button/Button.d.ts +4 -9
- package/dist/react-router/Button/Button.d.ts.map +1 -0
- package/dist/react-router/Button/Button.types.d.ts +8 -10
- package/dist/react-router/Button/Button.types.d.ts.map +1 -0
- package/dist/react-router/Button/index.d.ts +3 -6
- package/dist/react-router/Button/index.d.ts.map +1 -0
- package/dist/react-router/MovieCard/MovieCard.d.ts +4 -9
- package/dist/react-router/MovieCard/MovieCard.d.ts.map +1 -0
- package/dist/react-router/MovieCard/MovieCard.types.d.ts +5 -9
- package/dist/react-router/MovieCard/MovieCard.types.d.ts.map +1 -0
- package/dist/react-router/MovieCard/index.d.ts +3 -6
- package/dist/react-router/MovieCard/index.d.ts.map +1 -0
- package/dist/react-router/index.d.ts +5 -10
- package/dist/react-router/index.d.ts.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListboxList } from '../Listbox';
|
|
2
|
+
import type { ComponentProps, FC } from 'react';
|
|
3
|
+
/** Props for Typeahead.Menu — omits variant (managed by context) */
|
|
4
|
+
export type TypeaheadMenuProps = Omit<ComponentProps<typeof ListboxList>, 'variant'>;
|
|
5
|
+
/**
|
|
6
|
+
* Dropdown listbox for the Typeahead compound component.
|
|
7
|
+
*
|
|
8
|
+
* Renders a `<ul role="listbox">` below the input when the menu is open.
|
|
9
|
+
* Positioned absolutely by default, or via Portal when `portal` is enabled
|
|
10
|
+
* on the parent Typeahead (avoids overflow clipping). Portal mode tracks
|
|
11
|
+
* scroll and resize to keep the menu anchored to the input.
|
|
12
|
+
*
|
|
13
|
+
* Must be used within a `<Typeahead>` provider.
|
|
14
|
+
*/
|
|
15
|
+
declare const TypeaheadMenu: FC<TypeaheadMenuProps>;
|
|
16
|
+
export default TypeaheadMenu;
|
|
17
|
+
//# sourceMappingURL=TypeaheadMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeaheadMenu.d.ts","sourceRoot":"","sources":["../../src/Typeahead/TypeaheadMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAKxC,OAAO,KAAK,EAAiB,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE9D,oEAAoE;AACpE,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,cAAc,CAAC,OAAO,WAAW,CAAC,EAClC,SAAS,CACV,CAAA;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyDzC,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as u}from"react/jsx-runtime";import w from"clsx";import{useContext as x,useEffect as h,useState as y}from"react";import{ListboxList as L}from"../Listbox";import{Portal as P}from"../Portal";import{TypeaheadContext as v}from"./TypeaheadContext";const C=({className:p,children:a,...d})=>{const n=x(v);if(!n)throw new Error("Typeahead.Menu must be used within Typeahead");const{isOpen:r,menuId:l,variant:f,portal:t,inputRef:i}=n,[m,c]=y({});if(h(()=>{if(!t||!r||!i.current)return;const e=()=>{const o=i.current?.getBoundingClientRect();o&&c({position:"fixed",top:o.bottom+4,left:o.left,width:o.width})};return e(),window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}},[t,r,i]),!r)return null;const s=u(L,{variant:f,id:l,role:"listbox",style:t?m:void 0,className:w(t?"ui:z-50":"ui:absolute ui:left-0 ui:z-50 ui:mt-1 ui:w-full",p),...d,children:a});return t?u(P,{children:s}):s};var M=C;export{M as default};
|
|
2
|
+
//# sourceMappingURL=TypeaheadMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Typeahead/TypeaheadMenu.tsx"],"sourcesContent":["import clsx from 'clsx'\nimport { useContext, useEffect, useState } from 'react'\n\nimport { ListboxList } from '../Listbox'\nimport { Portal } from '../Portal'\n\nimport { TypeaheadContext } from './TypeaheadContext'\n\nimport type { CSSProperties, ComponentProps, FC } from 'react'\n\n/** Props for Typeahead.Menu — omits variant (managed by context) */\nexport type TypeaheadMenuProps = Omit<\n ComponentProps<typeof ListboxList>,\n 'variant'\n>\n\n/**\n * Dropdown listbox for the Typeahead compound component.\n *\n * Renders a `<ul role=\"listbox\">` below the input when the menu is open.\n * Positioned absolutely by default, or via Portal when `portal` is enabled\n * on the parent Typeahead (avoids overflow clipping). Portal mode tracks\n * scroll and resize to keep the menu anchored to the input.\n *\n * Must be used within a `<Typeahead>` provider.\n */\nconst TypeaheadMenu: FC<TypeaheadMenuProps> = ({\n className,\n children,\n ...rest\n}) => {\n const context = useContext(TypeaheadContext)\n if (!context) throw new Error('Typeahead.Menu must be used within Typeahead')\n\n const { isOpen, menuId, variant, portal, inputRef } = context\n const [position, setPosition] = useState<CSSProperties>({})\n\n useEffect(() => {\n if (!portal || !isOpen || !inputRef.current) return\n\n const updatePosition = () => {\n const rect = inputRef.current?.getBoundingClientRect()\n if (!rect) return\n setPosition({\n position: 'fixed',\n top: rect.bottom + 4,\n left: rect.left,\n width: rect.width,\n })\n }\n\n updatePosition()\n\n window.addEventListener('scroll', updatePosition, true)\n window.addEventListener('resize', updatePosition)\n\n return () => {\n window.removeEventListener('scroll', updatePosition, true)\n window.removeEventListener('resize', updatePosition)\n }\n }, [portal, isOpen, inputRef])\n\n if (!isOpen) return null\n\n const listbox = (\n <ListboxList\n variant={variant}\n id={menuId}\n role=\"listbox\"\n style={portal ? position : undefined}\n className={clsx(\n portal ? 'ui:z-50' : 'ui:absolute ui:left-0 ui:z-50 ui:mt-1 ui:w-full',\n className\n )}\n {...rest}\n >\n {children}\n </ListboxList>\n )\n\n if (portal) return <Portal>{listbox}</Portal>\n\n return listbox\n}\n\nexport default TypeaheadMenu\n"],"mappings":"AAiEI,cAAAA,MAAA,oBAjEJ,OAAOC,MAAU,OACjB,OAAS,cAAAC,EAAY,aAAAC,EAAW,YAAAC,MAAgB,QAEhD,OAAS,eAAAC,MAAmB,aAC5B,OAAS,UAAAC,MAAc,YAEvB,OAAS,oBAAAC,MAAwB,qBAoBjC,MAAMC,EAAwC,CAAC,CAC7C,UAAAC,EACA,SAAAC,EACA,GAAGC,CACL,IAAM,CACJ,MAAMC,EAAUV,EAAWK,CAAgB,EAC3C,GAAI,CAACK,EAAS,MAAM,IAAI,MAAM,8CAA8C,EAE5E,KAAM,CAAE,OAAAC,EAAQ,OAAAC,EAAQ,QAAAC,EAAS,OAAAC,EAAQ,SAAAC,CAAS,EAAIL,EAChD,CAACM,EAAUC,CAAW,EAAIf,EAAwB,CAAC,CAAC,EA2B1D,GAzBAD,EAAU,IAAM,CACd,GAAI,CAACa,GAAU,CAACH,GAAU,CAACI,EAAS,QAAS,OAE7C,MAAMG,EAAiB,IAAM,CAC3B,MAAMC,EAAOJ,EAAS,SAAS,sBAAsB,EAChDI,GACLF,EAAY,CACV,SAAU,QACV,IAAKE,EAAK,OAAS,EACnB,KAAMA,EAAK,KACX,MAAOA,EAAK,KACd,CAAC,CACH,EAEA,OAAAD,EAAe,EAEf,OAAO,iBAAiB,SAAUA,EAAgB,EAAI,EACtD,OAAO,iBAAiB,SAAUA,CAAc,EAEzC,IAAM,CACX,OAAO,oBAAoB,SAAUA,EAAgB,EAAI,EACzD,OAAO,oBAAoB,SAAUA,CAAc,CACrD,CACF,EAAG,CAACJ,EAAQH,EAAQI,CAAQ,CAAC,EAEzB,CAACJ,EAAQ,OAAO,KAEpB,MAAMS,EACJtB,EAACK,EAAA,CACC,QAASU,EACT,GAAID,EACJ,KAAK,UACL,MAAOE,EAASE,EAAW,OAC3B,UAAWjB,EACTe,EAAS,UAAY,kDACrBP,CACF,EACC,GAAGE,EAEH,SAAAD,EACH,EAGF,OAAIM,EAAehB,EAACM,EAAA,CAAQ,SAAAgB,EAAQ,EAE7BA,CACT,EAEA,IAAOC,EAAQf","names":["jsx","clsx","useContext","useEffect","useState","ListboxList","Portal","TypeaheadContext","TypeaheadMenu","className","children","rest","context","isOpen","menuId","variant","portal","inputRef","position","setPosition","updatePosition","rect","listbox","TypeaheadMenu_default"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as Typeahead } from './Typeahead';
|
|
2
|
+
export type { TypeaheadProps } from './Typeahead';
|
|
3
|
+
export type { TypeaheadEmptyProps } from './TypeaheadEmpty';
|
|
4
|
+
export type { TypeaheadHighlightProps } from './TypeaheadHighlight';
|
|
5
|
+
export type { TypeaheadInputProps } from './TypeaheadInput';
|
|
6
|
+
export type { TypeaheadItemProps } from './TypeaheadItem';
|
|
7
|
+
export type { TypeaheadMenuProps } from './TypeaheadMenu';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Typeahead/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAC3D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACnE,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAC3D,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACzD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Typeahead/index.ts"],"sourcesContent":["export { default as Typeahead } from './Typeahead'\nexport type { TypeaheadProps } from './Typeahead'\nexport type { TypeaheadEmptyProps } from './TypeaheadEmpty'\nexport type { TypeaheadHighlightProps } from './TypeaheadHighlight'\nexport type { TypeaheadInputProps } from './TypeaheadInput'\nexport type { TypeaheadItemProps } from './TypeaheadItem'\nexport type { TypeaheadMenuProps } from './TypeaheadMenu'\n"],"mappings":"AAAA,OAAoB,WAAXA,MAA4B","names":["default"]}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body' | 'body-sm' | 'body-lg' | 'lead' | 'caption' | 'caption-xs' | 'label' | 'muted' | 'blockquote';
|
|
5
|
-
interface TypographyProps extends HTMLAttributes<HTMLElement> {
|
|
1
|
+
import type { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body' | 'body-sm' | 'body-lg' | 'lead' | 'caption' | 'caption-xs' | 'label' | 'muted' | 'blockquote';
|
|
3
|
+
export interface TypographyProps extends HTMLAttributes<HTMLElement> {
|
|
6
4
|
/** Visual style variant */
|
|
7
5
|
variant: TypographyVariant;
|
|
8
6
|
/** Override semantic HTML tag */
|
|
@@ -12,6 +10,6 @@ interface TypographyProps extends HTMLAttributes<HTMLElement> {
|
|
|
12
10
|
/** Content */
|
|
13
11
|
children: ReactNode;
|
|
14
12
|
}
|
|
15
|
-
declare function Typography({ variant, as, className, children, ...rest }: Readonly<TypographyProps>): react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
declare function Typography({ variant, as, className, children, ...rest }: Readonly<TypographyProps>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
14
|
+
export default Typography;
|
|
15
|
+
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography/Typography.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEnE,MAAM,MAAM,iBAAiB,GACzB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,SAAS,GACT,SAAS,GACT,MAAM,GACN,SAAS,GACT,YAAY,GACZ,OAAO,GACP,OAAO,GACP,YAAY,CAAA;AAEhB,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,WAAW,CAAC;IAClE,2BAA2B;IAC3B,OAAO,EAAE,iBAAiB,CAAA;IAC1B,iCAAiC;IACjC,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc;IACd,QAAQ,EAAE,SAAS,CAAA;CACpB;AA0CD,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,EAAE,EACF,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,QAAQ,CAAC,eAAe,CAAC,0FAQ3B;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { default as Typography
|
|
2
|
-
|
|
1
|
+
export { default as Typography } from './Typography';
|
|
2
|
+
export type { TypographyProps, TypographyVariant } from './Typography';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,32 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import './styles.css';
|
|
2
|
+
export { Avatar } from './Avatar';
|
|
3
|
+
export type { AvatarProps, AvatarSize } from './Avatar';
|
|
4
|
+
export { Badge } from './Badge';
|
|
5
|
+
export type { BadgeProps, BadgeSize, BadgeVariant } from './Badge';
|
|
6
|
+
export { Button } from './Button';
|
|
7
|
+
export type { ButtonProps } from './Button';
|
|
8
|
+
export { Card } from './Card';
|
|
9
|
+
export type { CardProps, CardVariant } from './Card';
|
|
10
|
+
export { Icon } from './Icon';
|
|
11
|
+
export type { IconProps, IconName, IconSize } from './Icon';
|
|
12
|
+
export { IconButton } from './IconButton';
|
|
13
|
+
export type { IconButtonProps } from './IconButton';
|
|
14
|
+
export { Image } from './Image';
|
|
15
|
+
export type { AspectRatio, ImageProps, ImageState } from './Image';
|
|
16
|
+
export { Input } from './Input';
|
|
17
|
+
export type { InputProps, InputSize, InputMessageType } from './Input';
|
|
18
|
+
export { Menu } from './Menu';
|
|
19
|
+
export type { MenuProps, MenuItemProps, MenuVariant } from './Menu';
|
|
20
|
+
export { HeroImage } from './HeroImage';
|
|
21
|
+
export type { HeroImageProps } from './HeroImage';
|
|
22
|
+
export { Modal } from './Modal';
|
|
23
|
+
export type { ModalProps } from './Modal';
|
|
24
|
+
export { Rating } from './Rating';
|
|
25
|
+
export type { RatingProps, RatingSize, RatingVariant } from './Rating';
|
|
26
|
+
export { MovieCard } from './MovieCard';
|
|
27
|
+
export type { MovieCardProps } from './MovieCard';
|
|
28
|
+
export { TrailerCard } from './TrailerCard';
|
|
29
|
+
export type { TrailerCardProps } from './TrailerCard';
|
|
30
|
+
export { Carousel, CarouselCounter, CarouselItem, CarouselLoading, CarouselNavigation, CarouselPagination, } from './Carousel';
|
|
31
|
+
export type { CarouselArrowPosition, CarouselCounterProps, CarouselItemProps, CarouselLoadingProps, CarouselNavigationPosition, CarouselNavigationProps, CarouselPaginationProps, CarouselProps, CarouselVariant, } from './Carousel';
|
|
32
|
+
export { Tabs } from './Tabs';
|
|
33
|
+
export type { TabsProps, TabsVariant } from './Tabs';
|
|
34
|
+
export { Skeleton } from './Skeleton';
|
|
35
|
+
export type { SkeletonProps } from './Skeleton';
|
|
36
|
+
export { Talent } from './Talent';
|
|
37
|
+
export type { TalentProps } from './Talent';
|
|
38
|
+
export { Typography } from './Typography';
|
|
39
|
+
export type { TypographyProps, TypographyVariant } from './Typography';
|
|
40
|
+
export { Portal } from './Portal';
|
|
41
|
+
export type { PortalProps } from './Portal';
|
|
42
|
+
export { Spinner } from './Spinner';
|
|
43
|
+
export type { SpinnerProps } from './Spinner';
|
|
44
|
+
export { Typeahead } from './Typeahead';
|
|
45
|
+
export type { TypeaheadProps, TypeaheadItemProps, TypeaheadEmptyProps, TypeaheadInputProps, TypeaheadMenuProps, } from './Typeahead';
|
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AAErB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAElE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAE3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAElE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAEtE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAEtE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErD,OAAO,EACL,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,YAAY,CAAA;AACnB,YAAY,EACV,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,EACvB,aAAa,EACb,eAAe,GAChB,MAAM,YAAY,CAAA;AAEnB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,aAAa,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./styles.css";import{Avatar as t}from"./Avatar";import{Badge as
|
|
1
|
+
import"./styles.css";import{Avatar as t}from"./Avatar";import{Badge as a}from"./Badge";import{Button as m}from"./Button";import{Card as f}from"./Card";import{Icon as x}from"./Icon";import{IconButton as P}from"./IconButton";import{Image as l}from"./Image";import{Input as C}from"./Input";import{Menu as I}from"./Menu";import{HeroImage as M}from"./HeroImage";import{Modal as h}from"./Modal";import{Rating as v}from"./Rating";import{MovieCard as V}from"./MovieCard";import{TrailerCard as R}from"./TrailerCard";import{Carousel as b,CarouselCounter as N,CarouselItem as k,CarouselLoading as H,CarouselNavigation as L,CarouselPagination as w}from"./Carousel";import{Tabs as j}from"./Tabs";import{Skeleton as D}from"./Skeleton";import{Talent as G}from"./Talent";import{Typography as K}from"./Typography";import{Portal as Q}from"./Portal";import{Spinner as W}from"./Spinner";import{Typeahead as Y}from"./Typeahead";export{t as Avatar,a as Badge,m as Button,f as Card,b as Carousel,N as CarouselCounter,k as CarouselItem,H as CarouselLoading,L as CarouselNavigation,w as CarouselPagination,M as HeroImage,x as Icon,P as IconButton,l as Image,C as Input,I as Menu,h as Modal,V as MovieCard,Q as Portal,v as Rating,D as Skeleton,W as Spinner,j as Tabs,G as Talent,R as TrailerCard,Y as Typeahead,K as Typography};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import './styles.css'\n\nexport { Avatar } from './Avatar'\nexport type { AvatarProps, AvatarSize } from './Avatar'\n\nexport { Badge } from './Badge'\nexport type { BadgeProps, BadgeSize, BadgeVariant } from './Badge'\n\nexport { Button } from './Button'\nexport type { ButtonProps } from './Button'\n\nexport { Card } from './Card'\nexport type { CardProps, CardVariant } from './Card'\n\nexport { Icon } from './Icon'\nexport type { IconProps, IconName, IconSize } from './Icon'\n\nexport { IconButton } from './IconButton'\nexport type { IconButtonProps } from './IconButton'\n\nexport { Image } from './Image'\nexport type { AspectRatio, ImageProps, ImageState } from './Image'\n\nexport { HeroImage } from './HeroImage'\nexport type { HeroImageProps } from './HeroImage'\n\nexport { Modal } from './Modal'\nexport type { ModalProps } from './Modal'\n\nexport { Rating } from './Rating'\nexport type { RatingProps, RatingSize, RatingVariant } from './Rating'\n\nexport { MovieCard } from './MovieCard'\nexport type { MovieCardProps } from './MovieCard'\n\nexport { TrailerCard } from './TrailerCard'\nexport type { TrailerCardProps } from './TrailerCard'\n\nexport {\n Carousel,\n CarouselCounter,\n CarouselItem,\n CarouselLoading,\n CarouselNavigation,\n CarouselPagination,\n} from './Carousel'\nexport type {\n CarouselArrowPosition,\n CarouselCounterProps,\n CarouselItemProps,\n CarouselLoadingProps,\n CarouselNavigationPosition,\n CarouselNavigationProps,\n CarouselPaginationProps,\n CarouselProps,\n CarouselVariant,\n} from './Carousel'\n\nexport { Tabs } from './Tabs'\nexport type { TabsProps, TabsVariant } from './Tabs'\n\nexport { Skeleton } from './Skeleton'\nexport type { SkeletonProps } from './Skeleton'\n\nexport { Talent } from './Talent'\nexport type { TalentProps } from './Talent'\n\nexport { Typography } from './Typography'\nexport type { TypographyProps, TypographyVariant } from './Typography'\n\nexport { Spinner } from './Spinner'\nexport type { SpinnerProps } from './Spinner'\n"],"mappings":"AAAA,MAAO,eAEP,OAAS,UAAAA,MAAc,WAGvB,OAAS,SAAAC,MAAa,UAGtB,OAAS,UAAAC,MAAc,WAGvB,OAAS,QAAAC,MAAY,SAGrB,OAAS,QAAAC,MAAY,SAGrB,OAAS,cAAAC,MAAkB,eAG3B,OAAS,SAAAC,MAAa,UAGtB,OAAS,aAAAC,MAAiB,cAG1B,OAAS,SAAAC,MAAa,UAGtB,OAAS,UAAAC,MAAc,WAGvB,OAAS,aAAAC,MAAiB,cAG1B,OAAS,eAAAC,MAAmB,gBAG5B,OACE,YAAAC,EACA,mBAAAC,EACA,gBAAAC,EACA,mBAAAC,EACA,sBAAAC,EACA,sBAAAC,MACK,aAaP,OAAS,QAAAC,MAAY,SAGrB,OAAS,YAAAC,MAAgB,aAGzB,OAAS,UAAAC,MAAc,WAGvB,OAAS,cAAAC,MAAkB,eAG3B,OAAS,WAAAC,MAAe","names":["Avatar","Badge","Button","Card","Icon","IconButton","Image","HeroImage","Modal","Rating","MovieCard","TrailerCard","Carousel","CarouselCounter","CarouselItem","CarouselLoading","CarouselNavigation","CarouselPagination","Tabs","Skeleton","Talent","Typography","Spinner"]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import './styles.css'\n\nexport { Avatar } from './Avatar'\nexport type { AvatarProps, AvatarSize } from './Avatar'\n\nexport { Badge } from './Badge'\nexport type { BadgeProps, BadgeSize, BadgeVariant } from './Badge'\n\nexport { Button } from './Button'\nexport type { ButtonProps } from './Button'\n\nexport { Card } from './Card'\nexport type { CardProps, CardVariant } from './Card'\n\nexport { Icon } from './Icon'\nexport type { IconProps, IconName, IconSize } from './Icon'\n\nexport { IconButton } from './IconButton'\nexport type { IconButtonProps } from './IconButton'\n\nexport { Image } from './Image'\nexport type { AspectRatio, ImageProps, ImageState } from './Image'\n\nexport { Input } from './Input'\nexport type { InputProps, InputSize, InputMessageType } from './Input'\n\nexport { Menu } from './Menu'\nexport type { MenuProps, MenuItemProps, MenuVariant } from './Menu'\n\nexport { HeroImage } from './HeroImage'\nexport type { HeroImageProps } from './HeroImage'\n\nexport { Modal } from './Modal'\nexport type { ModalProps } from './Modal'\n\nexport { Rating } from './Rating'\nexport type { RatingProps, RatingSize, RatingVariant } from './Rating'\n\nexport { MovieCard } from './MovieCard'\nexport type { MovieCardProps } from './MovieCard'\n\nexport { TrailerCard } from './TrailerCard'\nexport type { TrailerCardProps } from './TrailerCard'\n\nexport {\n Carousel,\n CarouselCounter,\n CarouselItem,\n CarouselLoading,\n CarouselNavigation,\n CarouselPagination,\n} from './Carousel'\nexport type {\n CarouselArrowPosition,\n CarouselCounterProps,\n CarouselItemProps,\n CarouselLoadingProps,\n CarouselNavigationPosition,\n CarouselNavigationProps,\n CarouselPaginationProps,\n CarouselProps,\n CarouselVariant,\n} from './Carousel'\n\nexport { Tabs } from './Tabs'\nexport type { TabsProps, TabsVariant } from './Tabs'\n\nexport { Skeleton } from './Skeleton'\nexport type { SkeletonProps } from './Skeleton'\n\nexport { Talent } from './Talent'\nexport type { TalentProps } from './Talent'\n\nexport { Typography } from './Typography'\nexport type { TypographyProps, TypographyVariant } from './Typography'\n\nexport { Portal } from './Portal'\nexport type { PortalProps } from './Portal'\n\nexport { Spinner } from './Spinner'\nexport type { SpinnerProps } from './Spinner'\n\nexport { Typeahead } from './Typeahead'\nexport type {\n TypeaheadProps,\n TypeaheadItemProps,\n TypeaheadEmptyProps,\n TypeaheadInputProps,\n TypeaheadMenuProps,\n} from './Typeahead'\n"],"mappings":"AAAA,MAAO,eAEP,OAAS,UAAAA,MAAc,WAGvB,OAAS,SAAAC,MAAa,UAGtB,OAAS,UAAAC,MAAc,WAGvB,OAAS,QAAAC,MAAY,SAGrB,OAAS,QAAAC,MAAY,SAGrB,OAAS,cAAAC,MAAkB,eAG3B,OAAS,SAAAC,MAAa,UAGtB,OAAS,SAAAC,MAAa,UAGtB,OAAS,QAAAC,MAAY,SAGrB,OAAS,aAAAC,MAAiB,cAG1B,OAAS,SAAAC,MAAa,UAGtB,OAAS,UAAAC,MAAc,WAGvB,OAAS,aAAAC,MAAiB,cAG1B,OAAS,eAAAC,MAAmB,gBAG5B,OACE,YAAAC,EACA,mBAAAC,EACA,gBAAAC,EACA,mBAAAC,EACA,sBAAAC,EACA,sBAAAC,MACK,aAaP,OAAS,QAAAC,MAAY,SAGrB,OAAS,YAAAC,MAAgB,aAGzB,OAAS,UAAAC,MAAc,WAGvB,OAAS,cAAAC,MAAkB,eAG3B,OAAS,UAAAC,MAAc,WAGvB,OAAS,WAAAC,MAAe,YAGxB,OAAS,aAAAC,MAAiB","names":["Avatar","Badge","Button","Card","Icon","IconButton","Image","Input","Menu","HeroImage","Modal","Rating","MovieCard","TrailerCard","Carousel","CarouselCounter","CarouselItem","CarouselLoading","CarouselNavigation","CarouselPagination","Tabs","Skeleton","Talent","Typography","Portal","Spinner","Typeahead"]}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import 'next/link';
|
|
6
|
-
|
|
7
|
-
declare function Button(props: Readonly<NextButtonProps>): react_jsx_runtime.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { Button as default };
|
|
1
|
+
import type { NextButtonProps } from './Button.types';
|
|
2
|
+
declare function Button(props: Readonly<NextButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Button;
|
|
4
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/next/Button/Button.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAErD,iBAAS,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,eAAe,CAAC,2CAyE/C;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { IconName } from '../../Icon
|
|
2
|
-
import { LinkProps } from 'next/link';
|
|
3
|
-
import { ButtonHTMLAttributes } from 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
|
|
1
|
+
import type { IconName } from '../../Icon';
|
|
2
|
+
import type { LinkProps } from 'next/link';
|
|
3
|
+
import type { ButtonHTMLAttributes } from 'react';
|
|
6
4
|
interface ButtonVisualProps {
|
|
7
5
|
/** Visual variant of the button */
|
|
8
6
|
variant?: 'primary' | 'secondary' | 'destructive' | 'outline' | 'ghost';
|
|
@@ -13,15 +11,15 @@ interface ButtonVisualProps {
|
|
|
13
11
|
/** Icon position relative to children */
|
|
14
12
|
iconPosition?: 'left' | 'right';
|
|
15
13
|
}
|
|
16
|
-
type NextButtonAsButton = ButtonVisualProps & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
14
|
+
export type NextButtonAsButton = ButtonVisualProps & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
17
15
|
as?: 'button' | undefined;
|
|
18
16
|
};
|
|
19
|
-
type NextButtonAsLink = ButtonVisualProps & Omit<LinkProps, 'as'> & {
|
|
17
|
+
export type NextButtonAsLink = ButtonVisualProps & Omit<LinkProps, 'as'> & {
|
|
20
18
|
as: 'link';
|
|
21
19
|
className?: string;
|
|
22
20
|
children?: React.ReactNode;
|
|
23
21
|
};
|
|
24
|
-
type NextButtonAsZoneLink = ButtonVisualProps & {
|
|
22
|
+
export type NextButtonAsZoneLink = ButtonVisualProps & {
|
|
25
23
|
/** Render as a plain anchor for cross-zone navigation (multi-zones). */
|
|
26
24
|
as: 'zone-link';
|
|
27
25
|
/** Navigation URL */
|
|
@@ -29,6 +27,6 @@ type NextButtonAsZoneLink = ButtonVisualProps & {
|
|
|
29
27
|
className?: string;
|
|
30
28
|
children?: React.ReactNode;
|
|
31
29
|
};
|
|
32
|
-
type NextButtonProps = NextButtonAsButton | NextButtonAsLink | NextButtonAsZoneLink;
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
export type NextButtonProps = NextButtonAsButton | NextButtonAsLink | NextButtonAsZoneLink;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=Button.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../src/next/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAEjD,UAAU,iBAAiB;IACzB,mCAAmC;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,CAAA;IACvE,yBAAyB;IACzB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,2BAA2B;IAC3B,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CAChC;AAED,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAChD,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IACxC,EAAE,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC1B,CAAA;AAEH,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAC9C,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAEH,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG;IACrD,wEAAwE;IACxE,EAAE,EAAE,WAAW,CAAA;IACf,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,eAAe,GACvB,kBAAkB,GAClB,gBAAgB,GAChB,oBAAoB,CAAA"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
export { default as Button } from './Button
|
|
2
|
-
export { NextButtonAsButton, NextButtonAsLink,
|
|
3
|
-
|
|
4
|
-
import '../../Icon/Icon.js';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'next/link';
|
|
1
|
+
export { default as Button } from './Button';
|
|
2
|
+
export type { NextButtonProps, NextButtonAsButton, NextButtonAsLink, } from './Button.types';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/next/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,gBAAgB,CAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
interface NextHeroImageProps {
|
|
1
|
+
export interface NextHeroImageProps {
|
|
4
2
|
/** Backdrop path from TMDB API (e.g. "/abc123.jpg") */
|
|
5
3
|
backdropPath?: string | null;
|
|
6
4
|
/** Alt text for the image */
|
|
@@ -8,6 +6,6 @@ interface NextHeroImageProps {
|
|
|
8
6
|
/** Base64 blur data URL for instant placeholder */
|
|
9
7
|
blurDataURL?: string;
|
|
10
8
|
}
|
|
11
|
-
declare function HeroImage({ backdropPath, title, blurDataURL, }: Readonly<NextHeroImageProps>):
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
declare function HeroImage({ backdropPath, title, blurDataURL, }: Readonly<NextHeroImageProps>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default HeroImage;
|
|
11
|
+
//# sourceMappingURL=HeroImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeroImage.d.ts","sourceRoot":"","sources":["../../../src/next/HeroImage/HeroImage.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,iBAAS,SAAS,CAAC,EACjB,YAAY,EACZ,KAAK,EACL,WAAW,GACZ,EAAE,QAAQ,CAAC,kBAAkB,CAAC,2CA+B9B;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { default as HeroImage
|
|
2
|
-
|
|
1
|
+
export { default as HeroImage } from './HeroImage';
|
|
2
|
+
export type { NextHeroImageProps } from './HeroImage';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/next/HeroImage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
declare function NextImage({ aspectRatio, blurDataURL, className, imageClassName, imageStyle, style, ...rest }: Readonly<NextImageProps>): react_jsx_runtime.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { NextImage as default };
|
|
1
|
+
import type { NextImageProps } from './NextImage.types';
|
|
2
|
+
declare function NextImage({ aspectRatio, blurDataURL, className, imageClassName, imageStyle, style, ...rest }: Readonly<NextImageProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default NextImage;
|
|
4
|
+
//# sourceMappingURL=NextImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NextImage.d.ts","sourceRoot":"","sources":["../../../src/next/Image/NextImage.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAEvD,iBAAS,SAAS,CAAC,EACjB,WAAW,EACX,WAAW,EACX,SAAS,EACT,cAAc,EACd,UAAU,EACV,KAAK,EACL,GAAG,IAAI,EACR,EAAE,QAAQ,CAAC,cAAc,CAAC,2CAe1B;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ImageProps } from 'next/image';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
|
-
|
|
4
|
-
interface NextImageProps extends Omit<ImageProps, 'placeholder'> {
|
|
1
|
+
import type { ImageProps } from 'next/image';
|
|
2
|
+
import type { CSSProperties } from 'react';
|
|
3
|
+
export interface NextImageProps extends Omit<ImageProps, 'placeholder'> {
|
|
5
4
|
/** Container aspect ratio (e.g. '2/3', '16/9') */
|
|
6
5
|
aspectRatio?: string;
|
|
7
6
|
/** Base64 blur data URL — auto-sets placeholder="blur" when provided */
|
|
@@ -11,5 +10,4 @@ interface NextImageProps extends Omit<ImageProps, 'placeholder'> {
|
|
|
11
10
|
/** Inline styles applied directly to the `<Image>` element (overrides fill defaults) */
|
|
12
11
|
imageStyle?: CSSProperties;
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
export type { NextImageProps };
|
|
13
|
+
//# sourceMappingURL=NextImage.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NextImage.types.d.ts","sourceRoot":"","sources":["../../../src/next/Image/NextImage.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,UAAU,EAAE,aAAa,CAAC;IACrE,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,wFAAwF;IACxF,UAAU,CAAC,EAAE,aAAa,CAAA;CAC3B"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
declare function NextImageClient({ fallback, aspectRatio, blurDataURL, className, imageClassName, onLoad, onError, style, ...rest }: Readonly<NextImageClientProps>): react_jsx_runtime.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { NextImageClient as default };
|
|
1
|
+
import type { NextImageClientProps } from './NextImageClient.types';
|
|
2
|
+
declare function NextImageClient({ fallback, aspectRatio, blurDataURL, className, imageClassName, onLoad, onError, style, ...rest }: Readonly<NextImageClientProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default NextImageClient;
|
|
4
|
+
//# sourceMappingURL=NextImageClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NextImageClient.d.ts","sourceRoot":"","sources":["../../../src/next/Image/NextImageClient.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAInE,iBAAS,eAAe,CAAC,EACvB,QAAQ,EACR,WAAW,EACX,WAAW,EACX,SAAS,EACT,cAAc,EACd,MAAM,EACN,OAAO,EACP,KAAK,EACL,GAAG,IAAI,EACR,EAAE,QAAQ,CAAC,oBAAoB,CAAC,2CAuEhC;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ImageProps } from 'next/image';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
interface NextImageClientProps extends Omit<ImageProps, 'placeholder'> {
|
|
1
|
+
import type { ImageProps } from 'next/image';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
export interface NextImageClientProps extends Omit<ImageProps, 'placeholder'> {
|
|
5
4
|
/** Custom fallback content on error (default: Photo icon) */
|
|
6
5
|
fallback?: ReactNode;
|
|
7
6
|
/** Container aspect ratio (e.g. '2/3', '16/9') */
|
|
@@ -11,5 +10,4 @@ interface NextImageClientProps extends Omit<ImageProps, 'placeholder'> {
|
|
|
11
10
|
/** Classes applied directly to the `<Image>` element */
|
|
12
11
|
imageClassName?: string;
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
export type { NextImageClientProps };
|
|
13
|
+
//# sourceMappingURL=NextImageClient.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NextImageClient.types.d.ts","sourceRoot":"","sources":["../../../src/next/Image/NextImageClient.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,UAAU,EAAE,aAAa,CAAC;IAC3E,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
export { default as NextImage } from './NextImage
|
|
2
|
-
export { default as NextImageClient } from './NextImageClient
|
|
3
|
-
export { NextImageProps } from './NextImage.types
|
|
4
|
-
export { NextImageClientProps } from './NextImageClient.types
|
|
5
|
-
|
|
6
|
-
import 'next/image';
|
|
7
|
-
import 'react';
|
|
1
|
+
export { default as NextImage } from './NextImage';
|
|
2
|
+
export { default as NextImageClient } from './NextImageClient';
|
|
3
|
+
export type { NextImageProps } from './NextImage.types';
|
|
4
|
+
export type { NextImageClientProps } from './NextImageClient.types';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/next/Image/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAC9D,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AACvD,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import 'react';
|
|
6
|
-
|
|
7
|
-
declare function MovieCard({ id, title, posterUrl, voteAverage, year, className, imageLoading, blurDataURL, as, ...rest }: Readonly<NextMovieCardProps>): react_jsx_runtime.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { MovieCard as default };
|
|
1
|
+
import type { NextMovieCardProps } from './MovieCard.types';
|
|
2
|
+
declare function MovieCard({ id, title, posterUrl, voteAverage, year, className, imageLoading, blurDataURL, as, ...rest }: Readonly<NextMovieCardProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default MovieCard;
|
|
4
|
+
//# sourceMappingURL=MovieCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieCard.d.ts","sourceRoot":"","sources":["../../../src/next/MovieCard/MovieCard.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAE3D,iBAAS,SAAS,CAAC,EACjB,EAAE,EACF,KAAK,EACL,SAAS,EACT,WAAW,EACX,IAAI,EACJ,SAAS,EACT,YAAqB,EACrB,WAAW,EACX,EAAW,EACX,GAAG,IAAI,EACR,EAAE,QAAQ,CAAC,kBAAkB,CAAC,2CAsC9B;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import { MovieCardAsCard, MovieCardBaseProps
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import 'react';
|
|
5
|
-
|
|
6
|
-
interface NextMovieCardAsLink extends MovieCardBaseProps {
|
|
1
|
+
import type { MovieCardAsButton, MovieCardAsCard, MovieCardBaseProps } from '../../MovieCard/MovieCard.utils';
|
|
2
|
+
export type { MovieCardBaseProps, MovieCardAsCard, MovieCardAsButton };
|
|
3
|
+
export interface NextMovieCardAsLink extends MovieCardBaseProps {
|
|
7
4
|
/** Render as Next.js Link */
|
|
8
5
|
as: 'link';
|
|
9
6
|
/** Navigation path (required when as="link") */
|
|
10
7
|
href: string;
|
|
11
8
|
onClick?: never;
|
|
12
9
|
}
|
|
13
|
-
interface NextMovieCardAsZoneLink extends MovieCardBaseProps {
|
|
10
|
+
export interface NextMovieCardAsZoneLink extends MovieCardBaseProps {
|
|
14
11
|
/** Render as a plain anchor for cross-zone navigation (multi-zones). */
|
|
15
12
|
as: 'zone-link';
|
|
16
13
|
/** Navigation path (required when as="zone-link") */
|
|
17
14
|
href: string;
|
|
18
15
|
onClick?: never;
|
|
19
16
|
}
|
|
20
|
-
type NextMovieCardProps = MovieCardAsCard | NextMovieCardAsLink | NextMovieCardAsZoneLink | MovieCardAsButton;
|
|
21
|
-
|
|
22
|
-
export { MovieCardAsButton, MovieCardAsCard, MovieCardBaseProps, type NextMovieCardAsLink, type NextMovieCardAsZoneLink, type NextMovieCardProps };
|
|
17
|
+
export type NextMovieCardProps = MovieCardAsCard | NextMovieCardAsLink | NextMovieCardAsZoneLink | MovieCardAsButton;
|
|
18
|
+
//# sourceMappingURL=MovieCard.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieCard.types.d.ts","sourceRoot":"","sources":["../../../src/next/MovieCard/MovieCard.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EACnB,MAAM,iCAAiC,CAAA;AAExC,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAA;AAEtE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,KAAK,CAAA;CAChB;AAED,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB;IACjE,wEAAwE;IACxE,EAAE,EAAE,WAAW,CAAA;IACf,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,KAAK,CAAA;CAChB;AAED,MAAM,MAAM,kBAAkB,GAC1B,eAAe,GACf,mBAAmB,GACnB,uBAAuB,GACvB,iBAAiB,CAAA"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { ImageLoading } from '../../Image/Image
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
|
|
1
|
+
import type { ImageLoading } from '../../Image/Image';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
5
3
|
interface NextMovieCardContentProps {
|
|
6
4
|
id: number;
|
|
7
5
|
title: string;
|
|
@@ -14,6 +12,6 @@ interface NextMovieCardContentProps {
|
|
|
14
12
|
onClick?: (() => void) | undefined;
|
|
15
13
|
blurDataURL?: string;
|
|
16
14
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
export default function MovieCardContent({ id, title, posterUrl, voteAverage, year, className, imageLoading, isInteractive, onClick, blurDataURL, }: Readonly<NextMovieCardContentProps>): ReactNode;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=MovieCardContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieCardContent.d.ts","sourceRoot":"","sources":["../../../src/next/MovieCard/MovieCardContent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,UAAU,yBAAyB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,aAAa,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAA;IAClC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,EAAE,EACF,KAAK,EACL,SAAS,EACT,WAAW,EACX,IAAI,EACJ,SAAS,EACT,YAAqB,EACrB,aAAa,EACb,OAAO,EACP,WAAW,GACZ,EAAE,QAAQ,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAmDjD"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
export { default as MovieCard } from './MovieCard
|
|
2
|
-
export { NextMovieCardAsLink,
|
|
3
|
-
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import '../../Image/Image.js';
|
|
6
|
-
import 'react';
|
|
1
|
+
export { default as MovieCard } from './MovieCard';
|
|
2
|
+
export type { NextMovieCardProps, NextMovieCardAsLink, MovieCardBaseProps, MovieCardAsCard, MovieCardAsButton, } from './MovieCard.types';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/next/MovieCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,GAClB,MAAM,mBAAmB,CAAA"}
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { NextButtonAsButton, NextButtonAsLink,
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export { NextImageProps } from './Image
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
export { MovieCardAsButton, MovieCardAsCard, MovieCardBaseProps } from '../MovieCard/MovieCard.utils.js';
|
|
11
|
-
import 'react/jsx-runtime';
|
|
12
|
-
import '../Icon/Icon.js';
|
|
13
|
-
import 'react';
|
|
14
|
-
import 'next/link';
|
|
15
|
-
import 'next/image';
|
|
16
|
-
import '../Image/Image.js';
|
|
1
|
+
export { Button } from './Button';
|
|
2
|
+
export type { NextButtonProps, NextButtonAsButton, NextButtonAsLink, } from './Button';
|
|
3
|
+
export { HeroImage } from './HeroImage';
|
|
4
|
+
export type { NextHeroImageProps } from './HeroImage';
|
|
5
|
+
export { NextImage, NextImageClient } from './Image';
|
|
6
|
+
export type { NextImageProps, NextImageClientProps } from './Image';
|
|
7
|
+
export { MovieCard } from './MovieCard';
|
|
8
|
+
export type { NextMovieCardProps, NextMovieCardAsLink, MovieCardBaseProps, MovieCardAsCard, MovieCardAsButton, } from './MovieCard';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/next/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,UAAU,CAAA;AAEjB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACpD,YAAY,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,GAClB,MAAM,aAAa,CAAA"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import { ButtonProps } from './Button.types
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import 'react-router-dom';
|
|
6
|
-
|
|
7
|
-
declare function Button(props: Readonly<ButtonProps>): react_jsx_runtime.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { Button as default };
|
|
1
|
+
import type { ButtonProps } from './Button.types';
|
|
2
|
+
declare function Button(props: Readonly<ButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Button;
|
|
4
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/react-router/Button/Button.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD,iBAAS,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,2CAsD3C;AAED,eAAe,MAAM,CAAA"}
|