[{"data":1,"prerenderedAt":1809},["ShallowReactive",2],{"docs-navigation":3,"docs:\u002Fdocs\u002Fcomponents\u002Fswipe-views":644,"changelog:swipe-views":1650,"dependencies:swipe-views":1699,"docs-component-pages":1703,"install-code:swipe-views":1791},[4],{"title":5,"path":6,"stem":7,"children":8,"page":65},"Docs","\u002Fdocs","docs",[9,66,604,628],{"title":10,"component":11,"category":11,"description":11,"path":12,"stem":13,"children":14,"page":65},"Getting Started",null,"\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[15,20,25,30,35,40,45,50,55,60],{"title":16,"path":17,"stem":18,"component":11,"category":11,"description":19},"Quick start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F01.quick-start","It's dangerous to go alone! Take this. Install the kit, add your first component and set up what your app needs once.",{"title":21,"path":22,"stem":23,"component":11,"category":11,"description":24},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F02.installation","It works on my machine. Now on yours too. Set up a project, add components and keep them up to date.",{"title":26,"path":27,"stem":28,"component":11,"category":11,"description":29},"Theming","\u002Fdocs\u002Fgetting-started\u002Ftheming","docs\u002F1.getting-started\u002F03.theming","Any colour you like, as long as it's yours. Change the brand colour, add your own tones and switch to dark mode.",{"title":31,"path":32,"stem":33,"component":11,"category":11,"description":34},"Typography","\u002Fdocs\u002Fgetting-started\u002Ftypography","docs\u002F1.getting-started\u002F04.typography","Comic Sans not included. Size text by what it does, and change a whole role in one place.",{"title":36,"path":37,"stem":38,"component":11,"category":11,"description":39},"Motion","\u002Fdocs\u002Fgetting-started\u002Fmotion","docs\u002F1.getting-started\u002F05.motion","Move fast and break nothing. Pick the easing curve and duration that fit what's moving.",{"title":41,"path":42,"stem":43,"component":11,"category":11,"description":44},"Overlays","\u002Fdocs\u002Fgetting-started\u002Foverlays","docs\u002F1.getting-started\u002F06.overlays","One does not simply click outside a menu. Set up overlays once, and see why the first outside click only closes them.",{"title":46,"path":47,"stem":48,"component":11,"category":11,"description":49},"Icons","\u002Fdocs\u002Fgetting-started\u002Ficons","docs\u002F1.getting-started\u002F07.icons","A picture is worth a thousand words. An icon, about one. Use Lucide or any other set, sized and coloured by the component it sits in.",{"title":51,"path":52,"stem":53,"component":11,"category":11,"description":54},"Sizing","\u002Fdocs\u002Fgetting-started\u002Fsizing","docs\u002F1.getting-started\u002F08.sizing","One size fits all. Well, five. Every size prop runs on one scale that you can retune in one place.",{"title":56,"path":57,"stem":58,"component":11,"category":11,"description":59},"Radius","\u002Fdocs\u002Fgetting-started\u002Fradius","docs\u002F1.getting-started\u002F09.radius","Three roles, one base, and two rules that keep nested corners concentric at any radius.",{"title":61,"path":62,"stem":63,"component":11,"category":11,"description":64},"Accessibility","\u002Fdocs\u002Fgetting-started\u002Faccessibility","docs\u002F1.getting-started\u002F10.accessibility","Fat fingers welcome. Keep small controls easy to tap without making them look any bigger.",false,{"title":67,"component":11,"category":11,"description":11,"path":68,"stem":69,"children":70,"page":65},"Components","\u002Fdocs\u002Fcomponents","docs\u002F2.components",[71,77,83,89,95,101,107,113,119,125,131,137,143,149,155,161,167,173,179,185,191,197,203,209,215,221,227,233,239,245,251,257,263,269,275,281,287,293,299,305,311,317,323,329,335,341,347,353,359,365,371,377,383,389,395,401,407,413,419,425,431,437,443,449,455,461,467,473,479,485,491,497,503,509,515,521,527,533,539,545,551,557,563,569,575,581,587,593,598],{"title":72,"path":73,"stem":74,"component":75,"category":11,"description":76},"Button","\u002Fdocs\u002Fcomponents\u002Fbutton","docs\u002F2.components\u002F01.button","button","Yes, it's a button. You click it, it does things. We're as surprised as you are.",{"title":78,"path":79,"stem":80,"component":81,"category":11,"description":82},"Button Group","\u002Fdocs\u002Fcomponents\u002Fbutton-group","docs\u002F2.components\u002F02.button-group","button-group","Buttons that decided to move in together.",{"title":84,"path":85,"stem":86,"component":87,"category":11,"description":88},"Toggle","\u002Fdocs\u002Fcomponents\u002Ftoggle","docs\u002F2.components\u002F03.toggle","toggle","A two-state button with Button's variants, colours and sizes, and its own look when on.",{"title":90,"path":91,"stem":92,"component":93,"category":11,"description":94},"Toggle Group","\u002Fdocs\u002Fcomponents\u002Ftoggle-group","docs\u002F2.components\u002F04.toggle-group","toggle-group","Like a button group, but they remember what you picked",{"title":96,"path":97,"stem":98,"component":99,"category":11,"description":100},"Toolbar","\u002Fdocs\u002Fcomponents\u002Ftoolbar","docs\u002F2.components\u002F05.toolbar","toolbar","Your app's utility belt. A row or column of buttons, toggles, links and separators. One Tab gets you in, arrow keys do the rest.",{"title":102,"path":103,"stem":104,"component":105,"category":11,"description":106},"Input","\u002Fdocs\u002Fcomponents\u002Finput","docs\u002F2.components\u002F06.input","input","You type, it holds. That's the whole deal.",{"title":108,"path":109,"stem":110,"component":111,"category":11,"description":112},"Input Floating","\u002Fdocs\u002Fcomponents\u002Finput-floating","docs\u002F2.components\u002F07.input-floating","input-floating","The label moves out of the way so you can type. Polite. A text input with a label that floats inside it, in all of Input's variants and sizes.",{"title":114,"path":115,"stem":116,"component":117,"category":11,"description":118},"Input Group","\u002Fdocs\u002Fcomponents\u002Finput-group","docs\u002F2.components\u002F08.input-group","input-group","An input that brought friends. An input or textarea framed together with icons, text and buttons, in all of Input's variants and sizes.",{"title":120,"path":121,"stem":122,"component":123,"category":11,"description":124},"Input Number","\u002Fdocs\u002Fcomponents\u002Finput-number","docs\u002F2.components\u002F09.input-number","input-number","For when typing \"5\" is just too much effort. A number field with stepper buttons inside the frame.",{"title":126,"path":127,"stem":128,"component":129,"category":11,"description":130},"Input Time","\u002Fdocs\u002Fcomponents\u002Finput-time","docs\u002F2.components\u002F10.input-time","input-time","Time is money. This one's free.",{"title":132,"path":133,"stem":134,"component":135,"category":11,"description":136},"Input Date","\u002Fdocs\u002Fcomponents\u002Finput-date","docs\u002F2.components\u002F11.input-date","input-date","For birthdays, deadlines and other dates you'd rather not think about.",{"title":138,"path":139,"stem":140,"component":141,"category":11,"description":142},"Pin Input","\u002Fdocs\u002Fcomponents\u002Fpin-input","docs\u002F2.components\u002F12.pin-input","pin-input","Check your SMS. We'll wait. One box per character, for one-time codes and PINs.",{"title":144,"path":145,"stem":146,"component":147,"category":11,"description":148},"Textarea","\u002Fdocs\u002Fcomponents\u002Ftextarea","docs\u002F2.components\u002F13.textarea","textarea","Input, but it has more to say.",{"title":150,"path":151,"stem":152,"component":153,"category":11,"description":154},"Tags Input","\u002Fdocs\u002Fcomponents\u002Ftags-input","docs\u002F2.components\u002F14.tags-input","tags-input","Words that got promoted to badges. Type a tag, press Enter, and it turns into a badge. All in one text field.",{"title":156,"path":157,"stem":158,"component":159,"category":11,"description":160},"Editable","\u002Fdocs\u002Fcomponents\u002Feditable","docs\u002F2.components\u002F15.editable","editable","Text that turns into a field when you click it, and back into text when you are done. It keeps the type of wherever you put it.",{"title":162,"path":163,"stem":164,"component":165,"category":11,"description":166},"Checkbox","\u002Fdocs\u002Fcomponents\u002Fcheckbox","docs\u002F2.components\u002F16.checkbox","checkbox","You have a choice. Three, actually. A checkbox with checked, unchecked and indeterminate states.",{"title":168,"path":169,"stem":170,"component":171,"category":11,"description":172},"Radio Group","\u002Fdocs\u002Fcomponents\u002Fradio-group","docs\u002F2.components\u002F17.radio-group","radio-group","You have no choice. Well, one. A set of radio buttons where exactly one can be selected.",{"title":174,"path":175,"stem":176,"component":177,"category":11,"description":178},"Switch","\u002Fdocs\u002Fcomponents\u002Fswitch","docs\u002F2.components\u002F18.switch","switch","Is this a checkbox?",{"title":180,"path":181,"stem":182,"component":183,"category":11,"description":184},"Slider","\u002Fdocs\u002Fcomponents\u002Fslider","docs\u002F2.components\u002F19.slider","slider","Slide to unlock. Just kidding, slide to pick.",{"title":186,"path":187,"stem":188,"component":189,"category":11,"description":190},"Rating","\u002Fdocs\u002Fcomponents\u002Frating","docs\u002F2.components\u002F20.rating","rating","Everyone's a critic. Now they have stars.",{"title":192,"path":193,"stem":194,"component":195,"category":11,"description":196},"Choice Group","\u002Fdocs\u002Fcomponents\u002Fchoice-group","docs\u002F2.components\u002F21.choice-group","choice-group","Sign my petition. It's only as complicated as you make it. Layouts for checkbox and radio groups a plain stack, cards, a bordered list or a table, in a column or a row.",{"title":198,"path":199,"stem":200,"component":201,"category":11,"description":202},"Select","\u002Fdocs\u002Fcomponents\u002Fselect","docs\u002F2.components\u002F22.select","select","Looks like an input. It's a trap! A list of options behind a trigger that looks like an Input.",{"title":204,"path":205,"stem":206,"component":207,"category":11,"description":208},"Combobox","\u002Fdocs\u002Fcomponents\u002Fcombobox","docs\u002F2.components\u002F23.combobox","combobox","Ctrl+F for your dropdown. A text input that filters a list of options as you type.",{"title":210,"path":211,"stem":212,"component":213,"category":11,"description":214},"Listbox","\u002Fdocs\u002Fcomponents\u002Flistbox","docs\u002F2.components\u002F24.listbox","listbox","No dropdown. No surprises. A list to pick one or more options from, with icons, titles and descriptions.",{"title":216,"path":217,"stem":218,"component":219,"category":11,"description":220},"Color picker","\u002Fdocs\u002Fcomponents\u002Fcolor-picker","docs\u002F2.components\u002F25.color-picker","color-picker","Fifty shades of grey. And 16.7 million others. A colour picker built from parts an area, channel sliders, a field, a preview and swatches.",{"title":222,"path":223,"stem":224,"component":225,"category":11,"description":226},"Calendar","\u002Fdocs\u002Fcomponents\u002Fcalendar","docs\u002F2.components\u002F26.calendar","calendar","Thirty days hath September, and this grid knows all of them. A month to pick a date from.",{"title":228,"path":229,"stem":230,"component":231,"category":11,"description":232},"Range Calendar","\u002Fdocs\u002Fcomponents\u002Frange-calendar","docs\u002F2.components\u002F27.range-calendar","range-calendar","From here to there, in two clicks. A calendar for the start and the end of something.",{"title":234,"path":235,"stem":236,"component":237,"category":11,"description":238},"Date Picker","\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F2.components\u002F28.date-picker","date-picker","Type it if you know it, pick it if you don't. Nobody remembers what day the 14th is.",{"title":240,"path":241,"stem":242,"component":243,"category":11,"description":244},"Date Range Picker","\u002Fdocs\u002Fcomponents\u002Fdate-range-picker","docs\u002F2.components\u002F29.date-range-picker","date-range-picker","Check-in, check-out, and a calendar for the bit in between. Late checkout not included.",{"title":246,"path":247,"stem":248,"component":249,"category":11,"description":250},"Field","\u002Fdocs\u002Fcomponents\u002Ffield","docs\u002F2.components\u002F30.field","field","Your input's personal assistant. Label, description and error for one form control, wired to it automatically.",{"title":252,"path":253,"stem":254,"component":255,"category":11,"description":256},"Label","\u002Fdocs\u002Fcomponents\u002Flabel","docs\u002F2.components\u002F31.label","label","Hello, my name is Email. An accessible name for a form control.",{"title":258,"path":259,"stem":260,"component":261,"category":11,"description":262},"File Upload","\u002Fdocs\u002Fcomponents\u002Ffile-upload","docs\u002F2.components\u002F32.file-upload","file-upload","Drop it like it's hot. Or click, or paste. We'll check its size first.",{"title":264,"path":265,"stem":266,"component":267,"category":11,"description":268},"Dialog","\u002Fdocs\u002Fcomponents\u002Fdialog","docs\u002F2.components\u002F33.dialog","dialog","We need to talk. A modal window with a header, a scrolling body and a footer. Open it from a template or straight from code.",{"title":270,"path":271,"stem":272,"component":273,"category":11,"description":274},"Alert Dialog","\u002Fdocs\u002Fcomponents\u002Falert-dialog","docs\u002F2.components\u002F34.alert-dialog","alert-dialog","Updating Linux… wait, where did Linux go? This is why we ask first. A modal that interrupts with a question and waits for an answer.",{"title":276,"path":277,"stem":278,"component":279,"category":11,"description":280},"Drawer","\u002Fdocs\u002Fcomponents\u002Fdrawer","docs\u002F2.components\u002F35.drawer","drawer","Wait, it's all swipeable? Always has been. A panel that slides in from any edge and swipes away, with a handle, swipe-to-open from the edge, and a bottom that stays above the keyboard.",{"title":282,"path":283,"stem":284,"component":285,"category":11,"description":286},"Drawer Menu","\u002Fdocs\u002Fcomponents\u002Fdrawer-menu","docs\u002F2.components\u002F36.drawer-menu","drawer-menu","We need to go deeper. A menu in a drawer for touch screens, with checkbox and radio items and submenus that drill down in the same sheet.",{"title":288,"path":289,"stem":290,"component":291,"category":11,"description":292},"Popover","\u002Fdocs\u002Fcomponents\u002Fpopover","docs\u002F2.components\u002F37.popover","popover","Rich content in a floating panel anchored to a trigger.",{"title":294,"path":295,"stem":296,"component":297,"category":11,"description":298},"Hover Card","\u002Fdocs\u002Fcomponents\u002Fhover-card","docs\u002F2.components\u002F38.hover-card","hover-card","Sneak peek, no commitment. A preview card for links, shown on hover or focus.",{"title":300,"path":301,"stem":302,"component":303,"category":11,"description":304},"Tour","\u002Fdocs\u002Fcomponents\u002Ftour","docs\u002F2.components\u002F39.tour","tour","Let me show you around. A popover that walks from one element to the next, driven by useTour.",{"title":306,"path":307,"stem":308,"component":309,"category":11,"description":310},"Tooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F2.components\u002F40.tooltip","tooltip","It looks like you're hovering over a button. Would you like help? A short hint about a control, shown on hover, keyboard focus or a long press.",{"title":312,"path":313,"stem":314,"component":315,"category":11,"description":316},"Menu","\u002Fdocs\u002Fcomponents\u002Fmenu","docs\u002F2.components\u002F41.menu","menu","One menu to rule them all. A dropdown and a context menu in one component that attaches to whatever it sits in.",{"title":318,"path":319,"stem":320,"component":321,"category":11,"description":322},"Command","\u002Fdocs\u002Fcomponents\u002Fcommand","docs\u002F2.components\u002F42.command","command","A filterable list of commands, inline or in a dialog, built on Reka UI's Listbox.",{"title":324,"path":325,"stem":326,"component":327,"category":11,"description":328},"Toast","\u002Fdocs\u002Fcomponents\u002Ftoast","docs\u002F2.components\u002F43.toast","toast","Brief messages from a useToast() service — ids to update and remove, promises, groups, and a stacked Toaster that expands on hover.",{"title":330,"path":331,"stem":332,"component":333,"category":11,"description":334},"Tabs","\u002Fdocs\u002Fcomponents\u002Ftabs","docs\u002F2.components\u002F44.tabs","tabs","Panels switched by a row or column of tabs, with an indicator that slides to the active one.",{"title":336,"path":337,"stem":338,"component":339,"category":11,"description":340},"Navigation Menu","\u002Fdocs\u002Fcomponents\u002Fnavigation-menu","docs\u002F2.components\u002F45.navigation-menu","navigation-menu","The header your marketing team keeps asking for. Links and triggers whose panels open in one shared box that glides between them.",{"title":342,"path":343,"stem":344,"component":345,"category":11,"description":346},"Menubar","\u002Fdocs\u002Fcomponents\u002Fmenubar","docs\u002F2.components\u002F46.menubar","menubar","File, Edit, View. The bar your desktop apps have had since 1984, now in Vue.",{"title":348,"path":349,"stem":350,"component":351,"category":11,"description":352},"Breadcrumb","\u002Fdocs\u002Fcomponents\u002Fbreadcrumb","docs\u002F2.components\u002F47.breadcrumb","breadcrumb","The path to the current page, as links separated by chevrons.",{"title":354,"path":355,"stem":356,"component":357,"category":11,"description":358},"Pagination","\u002Fdocs\u002Fcomponents\u002Fpagination","docs\u002F2.components\u002F48.pagination","pagination","Page navigation with previous and next, ellipses for skipped pages, Button's variants and five sizes.",{"title":360,"path":361,"stem":362,"component":363,"category":11,"description":364},"Stepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F2.components\u002F49.stepper","stepper","Step 1: draw some circles. Step 2: draw the rest of the owl. Steps that mark progress through a multi-step flow.",{"title":366,"path":367,"stem":368,"component":369,"category":11,"description":370},"Page Indicator","\u002Fdocs\u002Fcomponents\u002Fpage-indicator","docs\u002F2.components\u002F50.page-indicator","page-indicator","Dots, a pill or line segments that mark the current page or slide, built on Reka UI.",{"title":372,"path":373,"stem":374,"component":375,"category":11,"description":376},"Swipe Views","\u002Fdocs\u002Fcomponents\u002Fswipe-views","docs\u002F2.components\u002F51.swipe-views","swipe-views","Pages that follow the finger, the way native apps page between tabs. One page sits in the frame, and a release settles on the nearest one with the speed of the swipe.",{"title":378,"path":379,"stem":380,"component":381,"category":11,"description":382},"Timeline","\u002Fdocs\u002Fcomponents\u002Ftimeline","docs\u002F2.components\u002F52.timeline","timeline","One thing after another. A record of events with an optional current one, vertical or horizontal, newest first or last.",{"title":384,"path":385,"stem":386,"component":387,"category":11,"description":388},"Table","\u002Fdocs\u002Fcomponents\u002Ftable","docs\u002F2.components\u002F53.table","table","Table parts with borders on the cells, sticky header and footer, pinned columns and five row sizes.",{"title":390,"path":391,"stem":392,"component":393,"category":11,"description":394},"Data Table","\u002Fdocs\u002Fcomponents\u002Fdata-table","docs\u002F2.components\u002F54.data-table","data-table","Excel called, it wants its features back. A table with sorting, sticky parts, pinned columns and rows, selection, trees, grouping, pagination, infinite scroll and row virtualization.",{"title":396,"path":397,"stem":398,"component":399,"category":11,"description":400},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F2.components\u002F55.tree","tree","Folders inside folders inside folders. A tree to browse, select or check nested items, with lazy folders and room for ten thousand nodes.",{"title":402,"path":403,"stem":404,"component":405,"category":11,"description":406},"Data Tree","\u002Fdocs\u002Fcomponents\u002Fdata-tree","docs\u002F2.components\u002F56.data-tree","data-tree","A tree drawn from data, with rows from each node's label and icon, loading, empty and error states, and virtualization by one prop.",{"title":408,"path":409,"stem":410,"component":411,"category":11,"description":412},"Item","\u002Fdocs\u002Fcomponents\u002Fitem","docs\u002F2.components\u002F57.item","item","You've built this row a hundred times. Here's the last one. A row of media, title, description and actions, in five variants and five sizes.",{"title":414,"path":415,"stem":416,"component":417,"category":11,"description":418},"Avatar","\u002Fdocs\u002Fcomponents\u002Favatar","docs\u002F2.components\u002F58.avatar","avatar","Anime PFP? We don't judge.",{"title":420,"path":421,"stem":422,"component":423,"category":11,"description":424},"Badge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F2.components\u002F59.badge","badge","A small label with Button's variants and colours, five sizes, side-aware icon padding and a square form.",{"title":426,"path":427,"stem":428,"component":429,"category":11,"description":430},"Kbd","\u002Fdocs\u002Fcomponents\u002Fkbd","docs\u002F2.components\u002F60.kbd","kbd","Ctrl+C, Ctrl+V. That's the whole career. A keyboard key, and a group of keys for a shortcut.",{"title":432,"path":433,"stem":434,"component":435,"category":11,"description":436},"Marker","\u002Fdocs\u002Fcomponents\u002Fmarker","docs\u002F2.components\u002F61.marker","marker","Explored 4 files. An inline status, a bordered row or a labelled separator in a conversation.",{"title":438,"path":439,"stem":440,"component":441,"category":11,"description":442},"Image","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F2.components\u002F62.image","image","POV: your image shows up before JavaScript does. An image in a ratio box with loading and error layers, native srcset, sizes and picture sources.",{"title":444,"path":445,"stem":446,"component":447,"category":11,"description":448},"Marquee","\u002Fdocs\u002Fcomponents\u002Fmarquee","docs\u002F2.components\u002F63.marquee","marquee","And they're off. Content that scrolls forever, horizontal or vertical, with a pause on hover and a fade at the edges.",{"title":450,"path":451,"stem":452,"component":453,"category":11,"description":454},"Chart","\u002Fdocs\u002Fcomponents\u002Fchart","docs\u002F2.components\u002F64.chart","chart","Charts on Unovis. A container that turns a config into series colours, a crosshair that reports the hovered point, a tooltip that is a real Vue component, and a legend that can hide a series.",{"title":456,"path":457,"stem":458,"component":459,"category":11,"description":460},"Card","\u002Fdocs\u002Fcomponents\u002Fcard","docs\u002F2.components\u002F65.card","card","Impressive. Very nice. Let's see Paul Allen's card. A surface that groups related content, with header, title, description, content and footer parts.",{"title":462,"path":463,"stem":464,"component":465,"category":11,"description":466},"Separator","\u002Fdocs\u002Fcomponents\u002Fseparator","docs\u002F2.components\u002F66.separator","separator","A line that separates content, horizontal or vertical, with an optional label.",{"title":468,"path":469,"stem":470,"component":471,"category":11,"description":472},"Accordion","\u002Fdocs\u002Fcomponents\u002Faccordion","docs\u002F2.components\u002F67.accordion","accordion","Customers have questions? Answer them, then fold them away. Stacked sections that open one at a time or several at once, and open themselves when find in page matches their text.",{"title":474,"path":475,"stem":476,"component":477,"category":11,"description":478},"Collapsible","\u002Fdocs\u002Fcomponents\u002Fcollapsible","docs\u002F2.components\u002F68.collapsible","collapsible","Not to be confused with the three-time TI champion. A trigger that shows and hides a block of content.",{"title":480,"path":481,"stem":482,"component":483,"category":11,"description":484},"Aspect Ratio","\u002Fdocs\u002Fcomponents\u002Faspect-ratio","docs\u002F2.components\u002F69.aspect-ratio","aspect-ratio","No more squished cats. Keeps its content at a given width-to-height ratio.",{"title":486,"path":487,"stem":488,"component":489,"category":11,"description":490},"Scroll Area","\u002Fdocs\u002Fcomponents\u002Fscroll-area","docs\u002F2.components\u002F70.scroll-area","scroll-area","Scrollbars that don't look like Windows 98. Custom bars over a native scroller, with optional virtualization.",{"title":492,"path":493,"stem":494,"component":11,"category":495,"description":496},"Infinite Scroll","\u002Fdocs\u002Fcomponents\u002Finfinite-scroll","docs\u002F2.components\u002F71.infinite-scroll","layout","Doomscrolling, now as a component. Loads more content as you scroll near an edge, in any of four directions.",{"title":498,"path":499,"stem":500,"component":501,"category":11,"description":502},"Splitter","\u002Fdocs\u002Fcomponents\u002Fsplitter","docs\u002F2.components\u002F72.splitter","splitter","Resizable panels separated by draggable handles, built on Reka UI.",{"title":504,"path":505,"stem":506,"component":507,"category":11,"description":508},"Swipe Actions","\u002Fdocs\u002Fcomponents\u002Fswipe-actions","docs\u002F2.components\u002F73.swipe-actions","swipe-actions","A list row that slides sideways to reveal actions, the way Mail does on iOS.",{"title":510,"path":511,"stem":512,"component":513,"category":11,"description":514},"Alert","\u002Fdocs\u002Fcomponents\u002Falert","docs\u002F2.components\u002F74.alert","alert","A callout with Button's variants and colours, five sizes, and actions under the text or beside it.",{"title":516,"path":517,"stem":518,"component":519,"category":11,"description":520},"Banner","\u002Fdocs\u002Fcomponents\u002Fbanner","docs\u002F2.components\u002F75.banner","banner","Heads up, everyone. A full-width notice across the top of a page, closable, in any colour role.",{"title":522,"path":523,"stem":524,"component":525,"category":11,"description":526},"Progress","\u002Fdocs\u002Fcomponents\u002Fprogress","docs\u002F2.components\u002F76.progress","progress","A progress bar with Nuxt UI's indeterminate animations, status, steps and seven sizes, and shadcn's label and value.",{"title":528,"path":529,"stem":530,"component":531,"category":11,"description":532},"Spinner","\u002Fdocs\u002Fcomponents\u002Fspinner","docs\u002F2.components\u002F77.spinner","spinner","A loading indicator driven by clip-path, inheriting its colour from currentColor.",{"title":534,"path":535,"stem":536,"component":537,"category":11,"description":538},"Skeleton","\u002Fdocs\u002Fcomponents\u002Fskeleton","docs\u002F2.components\u002F78.skeleton","skeleton","A placeholder that holds the place of content while it loads.",{"title":540,"path":541,"stem":542,"component":543,"category":11,"description":544},"Inner loading","\u002Fdocs\u002Fcomponents\u002Finner-loading","docs\u002F2.components\u002F79.inner-loading","inner-loading","A loading overlay for one region, with content that cannot be used until it is done.",{"title":546,"path":547,"stem":548,"component":549,"category":11,"description":550},"Empty","\u002Fdocs\u002Fcomponents\u002Fempty","docs\u002F2.components\u002F80.empty","empty","An empty state with media, a title, a description and actions, sized by one prop and drawn on whatever holds it.",{"title":552,"path":553,"stem":554,"component":555,"category":11,"description":556},"Error state","\u002Fdocs\u002Fcomponents\u002Ferror-state","docs\u002F2.components\u002F81.error-state","error-state","Empty's anatomy for a failure, with an error icon, a title, a description and a place for Retry, announced as an alert.",{"title":558,"path":559,"stem":560,"component":561,"category":11,"description":562},"Drag","\u002Fdocs\u002Fcomponents\u002Fdrag","docs\u002F2.components\u002F82.drag","drag","A one-axis drag gesture for mouse, pen and touch that leaves vertical scrolling to the browser on touch screens.",{"title":564,"path":565,"stem":566,"component":567,"category":11,"description":568},"Swipe Snap","\u002Fdocs\u002Fcomponents\u002Fswipe-snap","docs\u002F2.components\u002F83.swipe-snap","swipe-snap","A drag that settles on snap points measured in pixels. It is the mechanism under Swipe Views, for sheets, galleries and pagers of your own.",{"title":570,"path":571,"stem":572,"component":11,"category":573,"description":574},"Press Scale","\u002Fdocs\u002Fcomponents\u002Fpress-scale","docs\u002F2.components\u002F84.press-scale","utilities","A utility class that dips an element while it is pressed.",{"title":576,"path":577,"stem":578,"component":579,"category":11,"description":580},"Ripple","\u002Fdocs\u002Fcomponents\u002Fripple","docs\u002F2.components\u002F85.ripple","ripple","Look at that subtle drift to the centre. The tasteful softness of its edge. Oh my God, it even respects reduced motion. A directive for a press ripple that grows from where you pressed and drifts to the centre.",{"title":582,"path":583,"stem":584,"component":585,"category":11,"description":586},"Scroll","\u002Fdocs\u002Fcomponents\u002Fscroll","docs\u002F2.components\u002F86.scroll","scroll","Read and write the scroll position of an element or the window, optionally animated.",{"title":588,"path":589,"stem":590,"component":591,"category":11,"description":592},"Scroll Fade","\u002Fdocs\u002Fcomponents\u002Fscroll-fade","docs\u002F2.components\u002F87.scroll-fade","scroll-fade","There's more where that came from. Utilities that fade the edges of a scroll region while there's more to scroll that way.",{"title":594,"path":595,"stem":596,"component":11,"category":573,"description":597},"Shimmer","\u002Fdocs\u002Fcomponents\u002Fshimmer","docs\u002F2.components\u002F88.shimmer","Generating response… A highlight that sweeps across text while something is on its way.",{"title":599,"path":600,"stem":601,"component":602,"category":11,"description":603},"Text Control","\u002Fdocs\u002Fcomponents\u002Ftext-control","docs\u002F2.components\u002F89.text-control","text-control","Same frame, different fields. The variants, states and sizes Input, Select, Combobox and every other text field share, so they line up and light up the same way.",{"title":605,"component":11,"category":11,"description":11,"path":606,"stem":607,"children":608,"page":65},"Charts","\u002Fdocs\u002Fcharts","docs\u002F3.charts",[609,614,619,624],{"title":610,"path":611,"stem":612,"component":11,"category":11,"description":613},"Area","\u002Fdocs\u002Fcharts\u002Farea","docs\u002F3.charts\u002F01.area","Ten area charts. One series and stacks, three curve shapes, a legend, icons, gradient fills, axes and a range picker.",{"title":615,"path":616,"stem":617,"component":11,"category":11,"description":618},"Bar","\u002Fdocs\u002Fcharts\u002Fbar","docs\u002F3.charts\u002F02.bar","Ten bar charts. One series, groups and stacks, horizontal bars, value labels, a colour per bar, an active bar, negative values and a series switch.",{"title":620,"path":621,"stem":622,"component":11,"category":11,"description":623},"Line","\u002Fdocs\u002Fcharts\u002Fline","docs\u002F3.charts\u002F03.line","Ten line charts. One series and two, three curve shapes, dots in three styles, value and name labels and a series switch.",{"title":306,"path":625,"stem":626,"component":11,"category":11,"description":627},"\u002Fdocs\u002Fcharts\u002Ftooltip","docs\u002F3.charts\u002F07.tooltip","Nine ways to show what is under the pointer. Indicators, titles, formatters, icons and a custom row layout.",{"title":629,"component":11,"category":11,"description":11,"path":630,"stem":631,"children":632,"page":65},"Forms","\u002Fdocs\u002Fforms","docs\u002F4.forms",[633,638],{"title":634,"path":635,"stem":636,"component":11,"category":11,"description":637},"Formisch","\u002Fdocs\u002Fforms\u002Fformisch","docs\u002F4.forms\u002F1.formisch","Build forms with Formisch and Valibot on top of kappa-ui's Field components.",{"title":639,"path":640,"stem":641,"component":642,"category":11,"description":643},"VeeValidate","\u002Fdocs\u002Fforms\u002Fvee-validate","docs\u002F4.forms\u002F2.vee-validate","standard-schema","Forms that check their own homework. VeeValidate and Zod on top of kappa-ui's Field components.",{"id":645,"title":372,"body":646,"category":11,"component":375,"description":376,"extension":1633,"meta":1634,"navigation":725,"path":373,"seo":1635,"stem":374,"__hash__":1636,"examples":1637},"docs\u002Fdocs\u002F2.components\u002F51.swipe-views.md",{"type":647,"value":648,"toc":1617},"minimark",[649,653,657,660,664,910,921,941,953,960,963,969,973,978,1006,1292,1296,1302,1305,1309,1315,1318,1322,1329,1332,1336,1339,1350,1353,1356,1457,1467,1474,1480,1515,1519,1525,1534,1538,1548,1567,1570,1573,1577,1584,1587,1591,1595,1598,1613],[650,651],"component-preview",{"name":652},"swipe-views-demo",[654,655,21],"h2",{"id":656},"installation",[658,659],"install-tabs",{"name":375},[654,661,663],{"id":662},"usage","Usage",[665,666,671],"pre",{"className":667,"code":668,"language":669,"meta":670,"style":670},"language-vue shiki shiki-themes github-light github-dark","\u003Cscript setup lang=\"ts\">\nimport { ref } from 'vue'\n\nimport { SwipeView, SwipeViews } from '@\u002Fcomponents\u002Fui\u002Fswipe-views'\n\nconst page = ref('inbox')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSwipeViews v-model=\"page\" class=\"h-80\">\n    \u003CSwipeView value=\"inbox\">…\u003C\u002FSwipeView>\n    \u003CSwipeView value=\"sent\">…\u003C\u002FSwipeView>\n    \u003CSwipeView value=\"drafts\">…\u003C\u002FSwipeView>\n  \u003C\u002FSwipeViews>\n\u003C\u002Ftemplate>\n","vue","",[672,673,674,704,720,727,740,745,770,780,785,795,827,851,871,891,901],"code",{"__ignoreMap":670},[675,676,679,683,687,691,694,697,701],"span",{"class":677,"line":678},"line",1,[675,680,682],{"class":681},"sVt8B","\u003C",[675,684,686],{"class":685},"s9eBZ","script",[675,688,690],{"class":689},"sScJk"," setup",[675,692,693],{"class":689}," lang",[675,695,696],{"class":681},"=",[675,698,700],{"class":699},"sZZnC","\"ts\"",[675,702,703],{"class":681},">\n",[675,705,707,711,714,717],{"class":677,"line":706},2,[675,708,710],{"class":709},"szBVR","import",[675,712,713],{"class":681}," { ref } ",[675,715,716],{"class":709},"from",[675,718,719],{"class":699}," 'vue'\n",[675,721,723],{"class":677,"line":722},3,[675,724,726],{"emptyLinePlaceholder":725},true,"\n",[675,728,730,732,735,737],{"class":677,"line":729},4,[675,731,710],{"class":709},[675,733,734],{"class":681}," { SwipeView, SwipeViews } ",[675,736,716],{"class":709},[675,738,739],{"class":699}," '@\u002Fcomponents\u002Fui\u002Fswipe-views'\n",[675,741,743],{"class":677,"line":742},5,[675,744,726],{"emptyLinePlaceholder":725},[675,746,748,751,755,758,761,764,767],{"class":677,"line":747},6,[675,749,750],{"class":709},"const",[675,752,754],{"class":753},"sj4cs"," page",[675,756,757],{"class":709}," =",[675,759,760],{"class":689}," ref",[675,762,763],{"class":681},"(",[675,765,766],{"class":699},"'inbox'",[675,768,769],{"class":681},")\n",[675,771,773,776,778],{"class":677,"line":772},7,[675,774,775],{"class":681},"\u003C\u002F",[675,777,686],{"class":685},[675,779,703],{"class":681},[675,781,783],{"class":677,"line":782},8,[675,784,726],{"emptyLinePlaceholder":725},[675,786,788,790,793],{"class":677,"line":787},9,[675,789,682],{"class":681},[675,791,792],{"class":685},"template",[675,794,703],{"class":681},[675,796,798,801,804,807,809,812,815,817,820,822,825],{"class":677,"line":797},10,[675,799,800],{"class":681},"  \u003C",[675,802,803],{"class":685},"SwipeViews",[675,805,806],{"class":689}," v-model",[675,808,696],{"class":681},[675,810,811],{"class":699},"\"",[675,813,814],{"class":681},"page",[675,816,811],{"class":699},[675,818,819],{"class":689}," class",[675,821,696],{"class":681},[675,823,824],{"class":699},"\"h-80\"",[675,826,703],{"class":681},[675,828,830,833,836,839,841,844,847,849],{"class":677,"line":829},11,[675,831,832],{"class":681},"    \u003C",[675,834,835],{"class":685},"SwipeView",[675,837,838],{"class":689}," value",[675,840,696],{"class":681},[675,842,843],{"class":699},"\"inbox\"",[675,845,846],{"class":681},">…\u003C\u002F",[675,848,835],{"class":685},[675,850,703],{"class":681},[675,852,854,856,858,860,862,865,867,869],{"class":677,"line":853},12,[675,855,832],{"class":681},[675,857,835],{"class":685},[675,859,838],{"class":689},[675,861,696],{"class":681},[675,863,864],{"class":699},"\"sent\"",[675,866,846],{"class":681},[675,868,835],{"class":685},[675,870,703],{"class":681},[675,872,874,876,878,880,882,885,887,889],{"class":677,"line":873},13,[675,875,832],{"class":681},[675,877,835],{"class":685},[675,879,838],{"class":689},[675,881,696],{"class":681},[675,883,884],{"class":699},"\"drafts\"",[675,886,846],{"class":681},[675,888,835],{"class":685},[675,890,703],{"class":681},[675,892,894,897,899],{"class":677,"line":893},14,[675,895,896],{"class":681},"  \u003C\u002F",[675,898,803],{"class":685},[675,900,703],{"class":681},[675,902,904,906,908],{"class":677,"line":903},15,[675,905,775],{"class":681},[675,907,792],{"class":685},[675,909,703],{"class":681},[911,912,913,916,917,920],"p",{},[672,914,915],{},"v-model"," holds the ",[672,918,919],{},"value"," of the page in the frame, a string or a number. Drag a page and it follows the finger. Let go and it settles on the nearest page, or on the next one after a quick flick, so a short fast swipe pages as surely as a long slow one. A finger can catch a page mid-way and drag on from where it is. Mouse, pen and touch all drag; on a touch screen a vertical drag still scrolls. Setting the model from code moves the page with the same transition.",[911,922,923,924,927,928,931,932,934,935,937,938,940],{},"Every page stays mounted. Pages out of the frame are ",[672,925,926],{},"inert",", out of the tab order and the accessibility tree until a swipe brings them in. Content that should render late can wait for the ",[672,929,930],{},"active"," slot prop of ",[672,933,835],{},". Each ",[672,936,835],{}," must be a direct child of ",[672,939,803],{},".",[911,942,943,944,946,947,949,950,952],{},"Server-rendered HTML already shows the page in ",[672,945,915],{},": it is ",[672,948,930],{},", the others are ",[672,951,926],{},", and every page sits where it will be once the browser takes over.",[911,954,955,956,959],{},"Pages lie in a row, and the frame is as tall as the tallest page. With the window as the scroller the pages would share one scroll position, so give the frame a height and each page its own ",[957,958,486],"a",{"href":487},", as the demo does.",[911,961,962],{},"Swipe Views is not a carousel: there is no loop, no autoplay, and one page in the frame. For those, use Embla or CSS scroll snap.",[911,964,965,966,968],{},"Swipe Views runs on ",[957,967,564],{"href":565},", which you can use on its own for anything else that snaps between points, such as a sheet with a few heights.",[654,970,972],{"id":971},"examples","Examples",[974,975,977],"h3",{"id":976},"with-tabs","With Tabs",[911,979,980,981,983,984,986,987,990,991,994,995,998,999,994,1002,1005],{},"Tabs and Swipe Views share one ",[672,982,915],{},". Wrap each ",[672,985,835],{}," in Reka's ",[672,988,989],{},"TabsContent"," with ",[672,992,993],{},"force-mount"," and ",[672,996,997],{},"as-child",": the page becomes the tab panel, with ",[672,1000,1001],{},"role=\"tabpanel\"",[672,1003,1004],{},"aria-labelledby",", and stays mounted for the swipe. The demo at the top is built this way.",[665,1007,1009],{"className":667,"code":1008,"language":669,"meta":670,"style":670},"\u003Cscript setup lang=\"ts\">\nimport { TabsContent } from 'reka-ui'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CTabs v-model=\"tab\">\n    \u003CTabsList variant=\"line\">\n      \u003CTabsTrigger value=\"chats\">Chats\u003C\u002FTabsTrigger>\n      \u003CTabsTrigger value=\"groups\">Groups\u003C\u002FTabsTrigger>\n    \u003C\u002FTabsList>\n    \u003CSwipeViews v-model=\"tab\" class=\"h-72\">\n      \u003CTabsContent value=\"chats\" force-mount as-child>\n        \u003CSwipeView value=\"chats\">…\u003C\u002FSwipeView>\n      \u003C\u002FTabsContent>\n      \u003CTabsContent value=\"groups\" force-mount as-child>\n        \u003CSwipeView value=\"groups\">…\u003C\u002FSwipeView>\n      \u003C\u002FTabsContent>\n    \u003C\u002FSwipeViews>\n  \u003C\u002FTabs>\n\u003C\u002Ftemplate>\n",[672,1010,1011,1027,1039,1047,1051,1059,1078,1095,1117,1137,1146,1171,1191,1210,1219,1237,1256,1265,1274,1283],{"__ignoreMap":670},[675,1012,1013,1015,1017,1019,1021,1023,1025],{"class":677,"line":678},[675,1014,682],{"class":681},[675,1016,686],{"class":685},[675,1018,690],{"class":689},[675,1020,693],{"class":689},[675,1022,696],{"class":681},[675,1024,700],{"class":699},[675,1026,703],{"class":681},[675,1028,1029,1031,1034,1036],{"class":677,"line":706},[675,1030,710],{"class":709},[675,1032,1033],{"class":681}," { TabsContent } ",[675,1035,716],{"class":709},[675,1037,1038],{"class":699}," 'reka-ui'\n",[675,1040,1041,1043,1045],{"class":677,"line":722},[675,1042,775],{"class":681},[675,1044,686],{"class":685},[675,1046,703],{"class":681},[675,1048,1049],{"class":677,"line":729},[675,1050,726],{"emptyLinePlaceholder":725},[675,1052,1053,1055,1057],{"class":677,"line":742},[675,1054,682],{"class":681},[675,1056,792],{"class":685},[675,1058,703],{"class":681},[675,1060,1061,1063,1065,1067,1069,1071,1074,1076],{"class":677,"line":747},[675,1062,800],{"class":681},[675,1064,330],{"class":685},[675,1066,806],{"class":689},[675,1068,696],{"class":681},[675,1070,811],{"class":699},[675,1072,1073],{"class":681},"tab",[675,1075,811],{"class":699},[675,1077,703],{"class":681},[675,1079,1080,1082,1085,1088,1090,1093],{"class":677,"line":772},[675,1081,832],{"class":681},[675,1083,1084],{"class":685},"TabsList",[675,1086,1087],{"class":689}," variant",[675,1089,696],{"class":681},[675,1091,1092],{"class":699},"\"line\"",[675,1094,703],{"class":681},[675,1096,1097,1100,1103,1105,1107,1110,1113,1115],{"class":677,"line":782},[675,1098,1099],{"class":681},"      \u003C",[675,1101,1102],{"class":685},"TabsTrigger",[675,1104,838],{"class":689},[675,1106,696],{"class":681},[675,1108,1109],{"class":699},"\"chats\"",[675,1111,1112],{"class":681},">Chats\u003C\u002F",[675,1114,1102],{"class":685},[675,1116,703],{"class":681},[675,1118,1119,1121,1123,1125,1127,1130,1133,1135],{"class":677,"line":787},[675,1120,1099],{"class":681},[675,1122,1102],{"class":685},[675,1124,838],{"class":689},[675,1126,696],{"class":681},[675,1128,1129],{"class":699},"\"groups\"",[675,1131,1132],{"class":681},">Groups\u003C\u002F",[675,1134,1102],{"class":685},[675,1136,703],{"class":681},[675,1138,1139,1142,1144],{"class":677,"line":797},[675,1140,1141],{"class":681},"    \u003C\u002F",[675,1143,1084],{"class":685},[675,1145,703],{"class":681},[675,1147,1148,1150,1152,1154,1156,1158,1160,1162,1164,1166,1169],{"class":677,"line":829},[675,1149,832],{"class":681},[675,1151,803],{"class":685},[675,1153,806],{"class":689},[675,1155,696],{"class":681},[675,1157,811],{"class":699},[675,1159,1073],{"class":681},[675,1161,811],{"class":699},[675,1163,819],{"class":689},[675,1165,696],{"class":681},[675,1167,1168],{"class":699},"\"h-72\"",[675,1170,703],{"class":681},[675,1172,1173,1175,1177,1179,1181,1183,1186,1189],{"class":677,"line":853},[675,1174,1099],{"class":681},[675,1176,989],{"class":685},[675,1178,838],{"class":689},[675,1180,696],{"class":681},[675,1182,1109],{"class":699},[675,1184,1185],{"class":689}," force-mount",[675,1187,1188],{"class":689}," as-child",[675,1190,703],{"class":681},[675,1192,1193,1196,1198,1200,1202,1204,1206,1208],{"class":677,"line":873},[675,1194,1195],{"class":681},"        \u003C",[675,1197,835],{"class":685},[675,1199,838],{"class":689},[675,1201,696],{"class":681},[675,1203,1109],{"class":699},[675,1205,846],{"class":681},[675,1207,835],{"class":685},[675,1209,703],{"class":681},[675,1211,1212,1215,1217],{"class":677,"line":893},[675,1213,1214],{"class":681},"      \u003C\u002F",[675,1216,989],{"class":685},[675,1218,703],{"class":681},[675,1220,1221,1223,1225,1227,1229,1231,1233,1235],{"class":677,"line":903},[675,1222,1099],{"class":681},[675,1224,989],{"class":685},[675,1226,838],{"class":689},[675,1228,696],{"class":681},[675,1230,1129],{"class":699},[675,1232,1185],{"class":689},[675,1234,1188],{"class":689},[675,1236,703],{"class":681},[675,1238,1240,1242,1244,1246,1248,1250,1252,1254],{"class":677,"line":1239},16,[675,1241,1195],{"class":681},[675,1243,835],{"class":685},[675,1245,838],{"class":689},[675,1247,696],{"class":681},[675,1249,1129],{"class":699},[675,1251,846],{"class":681},[675,1253,835],{"class":685},[675,1255,703],{"class":681},[675,1257,1259,1261,1263],{"class":677,"line":1258},17,[675,1260,1214],{"class":681},[675,1262,989],{"class":685},[675,1264,703],{"class":681},[675,1266,1268,1270,1272],{"class":677,"line":1267},18,[675,1269,1141],{"class":681},[675,1271,803],{"class":685},[675,1273,703],{"class":681},[675,1275,1277,1279,1281],{"class":677,"line":1276},19,[675,1278,896],{"class":681},[675,1280,330],{"class":685},[675,1282,703],{"class":681},[675,1284,1286,1288,1290],{"class":677,"line":1285},20,[675,1287,775],{"class":681},[675,1289,792],{"class":685},[675,1291,703],{"class":681},[974,1293,1295],{"id":1294},"onboarding","Onboarding",[911,1297,1298,1299,1301],{},"Number values pair with ",[957,1300,366],{"href":367},", which counts pages from 1.",[650,1303],{"name":1304},"swipe-views-onboarding",[974,1306,1308],{"id":1307},"vertical","Vertical",[911,1310,1311,1314],{},[672,1312,1313],{},"orientation=\"vertical\""," pages up and down and leaves a sideways drag to the page. Give the frame a height.",[650,1316],{"name":1317},"swipe-views-vertical",[974,1319,1321],{"id":1320},"fling","Fling",[911,1323,1324,1325,1328],{},"A swipe moves one page at most. With ",[672,1326,1327],{},":sequential=\"false\""," a hard flick runs to the first or the last page, and a slower drag settles on whichever page is nearest.",[650,1330],{"name":1331},"swipe-views-fling",[654,1333,1335],{"id":1334},"layouts-and-effects","Layouts and effects",[911,1337,1338],{},"Swipe Views moves nothing itself. It writes CSS variables, and the classes on the pages turn them into motion, so anything that reads them follows the finger and settles with the transition, with no script per frame.",[911,1340,1341,1342,1345,1346,1349],{},"Pages lie in a row by default: each one translates by ",[672,1343,1344],{},"--swipe-snap-offset",". With ",[672,1347,1348],{},"layout=\"stack\""," they lie on top of each other instead, each one sliding in over the one before it and staying put once the next one covers it, the way a navigation stack does. Give a stacked frame a height: its pages are positioned absolutely.",[650,1351],{"name":1352},"swipe-views-sidebars",[911,1354,1355],{},"The example above is laid out the way Discord does it on a phone. The server avatars are not a page: they stay at the start and the channel list sits beside them. A swipe towards the end slides the channel list away and fades the server names in beside the avatars; a swipe the other way, or a tap on a channel, brings the conversation over everything:",[665,1357,1359],{"className":667,"code":1358,"language":669,"meta":670,"style":670},"\u003CSwipeViews v-model=\"view\" layout=\"stack\" :rubberband=\"false\" class=\"h-96\">\n  \u003Cul class=\"absolute inset-y-0 start-0 w-16\">…\u003C\u002Ful>\n  \u003CSwipeView value=\"servers\" class=\"start-16 w-[calc(100%-4rem)] opacity-[clamp(0,1+var(--swipe-view-position),1)]\">\n    …\n  \u003C\u002FSwipeView>\n  \u003CSwipeView value=\"channels\" class=\"pointer-events-none ps-16\">\n    \u003Cdiv class=\"pointer-events-auto h-full\">…\u003C\u002Fdiv>\n  \u003C\u002FSwipeView>\n  \u003CSwipeView value=\"chat\">…\u003C\u002FSwipeView>\n\u003C\u002FSwipeViews>\n",[672,1360,1361,1410,1415,1420,1425,1430,1435,1440,1444,1449],{"__ignoreMap":670},[675,1362,1363,1365,1367,1369,1371,1373,1376,1378,1381,1383,1386,1389,1392,1394,1396,1399,1401,1403,1405,1408],{"class":677,"line":678},[675,1364,682],{"class":681},[675,1366,803],{"class":685},[675,1368,806],{"class":689},[675,1370,696],{"class":681},[675,1372,811],{"class":699},[675,1374,1375],{"class":681},"view",[675,1377,811],{"class":699},[675,1379,1380],{"class":689}," layout",[675,1382,696],{"class":681},[675,1384,1385],{"class":699},"\"stack\"",[675,1387,1388],{"class":681}," :",[675,1390,1391],{"class":689},"rubberband",[675,1393,696],{"class":681},[675,1395,811],{"class":699},[675,1397,1398],{"class":753},"false",[675,1400,811],{"class":699},[675,1402,819],{"class":689},[675,1404,696],{"class":681},[675,1406,1407],{"class":699},"\"h-96\"",[675,1409,703],{"class":681},[675,1411,1412],{"class":677,"line":706},[675,1413,1414],{"class":681},"  \u003Cul class=\"absolute inset-y-0 start-0 w-16\">…\u003C\u002Ful>\n",[675,1416,1417],{"class":677,"line":722},[675,1418,1419],{"class":681},"  \u003CSwipeView value=\"servers\" class=\"start-16 w-[calc(100%-4rem)] opacity-[clamp(0,1+var(--swipe-view-position),1)]\">\n",[675,1421,1422],{"class":677,"line":729},[675,1423,1424],{"class":681},"    …\n",[675,1426,1427],{"class":677,"line":742},[675,1428,1429],{"class":681},"  \u003C\u002FSwipeView>\n",[675,1431,1432],{"class":677,"line":747},[675,1433,1434],{"class":681},"  \u003CSwipeView value=\"channels\" class=\"pointer-events-none ps-16\">\n",[675,1436,1437],{"class":677,"line":772},[675,1438,1439],{"class":681},"    \u003Cdiv class=\"pointer-events-auto h-full\">…\u003C\u002Fdiv>\n",[675,1441,1442],{"class":677,"line":782},[675,1443,1429],{"class":681},[675,1445,1446],{"class":677,"line":787},[675,1447,1448],{"class":681},"  \u003CSwipeView value=\"chat\">…\u003C\u002FSwipeView>\n",[675,1450,1451,1453,1455],{"class":677,"line":797},[675,1452,775],{"class":681},[675,1454,803],{"class":685},[675,1456,703],{"class":681},[911,1458,1459,1460,1463,1464,1466],{},"A page's size along the axis is the distance to the next page. The server names are ",[672,1461,1462],{},"4rem"," narrower than the frame, which is exactly how far the channel list travels to clear them. The channel list's page spans the whole frame so that the next step is the conversation's width, and its first ",[672,1465,1462],{}," lets taps through to the avatars. The last page aligns to the end of the frame, so a narrow last page leaves the one before it peeking in from the other side.",[911,1468,1469,1470,1473],{},"At the first and the last page a drag stretches past the edge and springs back. ",[672,1471,1472],{},":rubberband=\"false\""," stops it there instead, as the example does, so the conversation never pulls away from the channel list beneath it.",[911,1475,1476,1477,1479],{},"A page out of the frame is ",[672,1478,926],{},", so a tap on a page peeking in reaches whatever lies beneath it. To go back on a tap, put a button over the peek.",[911,1481,1482,1483,1486,1487,1490,1491,1494,1495,1498,1499,1502,1503,1506,1507,1510,1511,1514],{},"For a motion of your own, replace a page's ",[672,1484,1485],{},"translate-*"," with a class that reads the variables. ",[672,1488,1489],{},"--swipe-view-offset"," is where the page is from the start of the frame, so ",[672,1492,1493],{},"translate-x-[calc(var(--swipe-view-offset)*0.3)]"," makes a stacked page trail behind at 0.3 of the speed. ",[672,1496,1497],{},"--swipe-view-position"," is ",[672,1500,1501],{},"-1"," for the page just behind, ",[672,1504,1505],{},"0"," for the one in the frame and ",[672,1508,1509],{},"1"," for the one ahead, fractional in between, so ",[672,1512,1513],{},"opacity-[calc(1-0.5*abs(var(--swipe-view-position)))]"," fades the neighbours.",[1516,1517],"css-vars",{":rows":1518},"[{\"name\":\"--swipe-snap-offset\",\"default\":\"0px\",\"description\":\"On the frame and every page, how far the pages have moved, in px. Negative going forwards, mirrored in right-to-left.\"},{\"name\":\"--swipe-snap-position\",\"default\":\"0\",\"description\":\"On the frame and every page, the index of the page in the frame, fractional while moving.\"},{\"name\":\"--swipe-view-index\",\"default\":\"0\",\"description\":\"On a page, its index.\"},{\"name\":\"--swipe-view-start\",\"default\":\"0px\",\"description\":\"On a page, where it starts along the row, in px; mirrored in right-to-left.\"},{\"name\":\"--swipe-view-position\",\"default\":\"0\",\"description\":\"On a page, its index minus the position, -1 behind, 0 in the frame, 1 ahead.\"},{\"name\":\"--swipe-view-offset\",\"default\":\"0px\",\"description\":\"On a page, where it is from the start of the frame, in px. 0 in the frame, positive ahead, mirrored in right-to-left.\"},{\"name\":\"--swipe-view-stack\",\"default\":\"0px\",\"description\":\"On a page, the offset a stacked page translates by. It stops at 0, so a page covered by the next one stays put.\"},{\"name\":\"--swipe-snap-duration\",\"default\":\"var(--transition-duration-medium-4)\",\"description\":\"How long a page takes to settle. Set it with a class on the frame or an ancestor.\"}]",[911,1520,1521,1522,940],{},"The variables stop at the page, so the rest of the page does not restyle on every frame. An element inside a page that needs one takes it with ",[672,1523,1524],{},"[--swipe-snap-offset:inherit]",[911,1526,1527,1528,994,1530,1533],{},"Until the frame has measured its pages, which covers server-rendered HTML, each page carries its own ",[672,1529,1344],{},[672,1531,1532],{},"--swipe-snap-position",", and the lengths are percentages of the page's own size: a page that spans the frame lands exactly where it will be measured to.",[654,1535,1537],{"id":1536},"swipe-areas","Swipe areas",[911,1539,1540,1541,1543,1544,1547],{},"A page with sideways gestures of its own competes with the swipe. ",[957,1542,504],{"href":505}," rows work inside a page as they are: a drag on a row moves the row, and a drag towards a side the row has no actions on moves the page. For anything else, such as a map or a slider, put ",[672,1545,1546],{},"data-no-drag"," on it.",[911,1549,1550,1551,1554,1555,1558,1559,1562,1563,1566],{},"When a page is made entirely of such rows, set ",[672,1552,1553],{},"swipe-area-only",". The pages then move only from a ",[672,1556,1557],{},"SwipeViewsSwipeArea",", a strip along an edge, the way iOS goes back from the edge of the screen. ",[672,1560,1561],{},"side=\"start\""," leads back to the previous page and ",[672,1564,1565],{},"side=\"end\""," on to the next; a strip with no page on its side is off and lets taps through.",[650,1568],{"name":1569},"swipe-views-swipe-area",[911,1571,1572],{},"A strip lies over the content, so taps on its 20px land on the strip and not on what is beneath. In Safari on iOS the start edge also belongs to the browser's back swipe.",[654,1574,1576],{"id":1575},"api-reference","API Reference",[911,1578,1579,1580,1583],{},"Every part accepts ",[672,1581,1582],{},"class",", merged over its base classes.",[1575,1585],{"parts":1586},"SwipeViews,SwipeView,SwipeViewsSwipeArea",[974,1588,1590],{"id":1589},"data-attributes","Data attributes",[1592,1593],"data-slots",{":rows":1594},"[{\"slot\":\"swipe-views\",\"attributes\":\"data-orientation, data-layout, data-disabled, data-dragging, data-settling\",\"description\":\"The frame. `data-dragging` is set while a finger moves the pages, `data-settling` while they settle after it.\"},{\"slot\":\"swipe-view\",\"attributes\":\"data-state, data-orientation\",\"description\":\"A page. `data-state` is `active` for the page in the frame and `inactive` otherwise.\"},{\"slot\":\"swipe-views-swipe-area\",\"attributes\":\"data-side, data-orientation, data-disabled\",\"description\":\"A strip that starts a swipe. `data-disabled` is set when there is no page on its side.\"}]",[654,1596,61],{"id":1597},"accessibility",[911,1599,1600,1601,1603,1604,1606,1607,1609,1610,1612],{},"Pages out of the frame are ",[672,1602,926],{}," and become reachable as soon as a swipe brings them on screen. When the page holding focus leaves the frame, focus moves to the new page itself, which shows the inset focus ring only when a key started the change. Swipe Views has no keyboard of its own: a swipe is hard to discover and impossible without a pointer, so drive the model from controls too, such as ",[957,1605,330],{"href":331},", ",[957,1608,366],{"href":367}," or buttons. With Tabs, the ",[672,1611,989],{}," pattern above gives each page the tab panel's semantics.",[1614,1615,1616],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":670,"searchDepth":722,"depth":722,"links":1618},[1619,1620,1621,1627,1628,1629,1632],{"id":656,"depth":706,"text":21},{"id":662,"depth":706,"text":663},{"id":971,"depth":706,"text":972,"children":1622},[1623,1624,1625,1626],{"id":976,"depth":722,"text":977},{"id":1294,"depth":722,"text":1295},{"id":1307,"depth":722,"text":1308},{"id":1320,"depth":722,"text":1321},{"id":1334,"depth":706,"text":1335},{"id":1536,"depth":706,"text":1537},{"id":1575,"depth":706,"text":1576,"children":1630},[1631],{"id":1589,"depth":722,"text":1590},{"id":1597,"depth":706,"text":61},"md",{},{"title":372,"description":376},"gyfWQbo-8eqSA4oC6DcINeHNkO4WZ5xS-YzS-gfiOfY",[1638,1641,1642,1643,1644,1647],{"name":652,"slug":1639,"title":1640},"demo","Demo",{"name":1304,"slug":1294,"title":1295},{"name":1317,"slug":1307,"title":1308},{"name":1331,"slug":1320,"title":1321},{"name":1352,"slug":1645,"title":1646},"sidebars","Sidebars",{"name":1569,"slug":1648,"title":1649},"swipe-area","Swipe area",[1651,1660,1676,1684,1692],{"package":1652,"version":1653,"date":1654,"entries":1655},"registry","0.22.0","2026-10-14T16:26:20.000Z",[1656],{"hash":1657,"url":1658,"text":1659},"85b907b","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F85b907b6f2dd31742ea92bc15d8694aeb6008d10","A `SwipeView` page that receives focus (when the page holding it leaves the frame, or a Tabs panel reached with Tab) drops the browser's default outline: it shows the kit's inset focus ring after a keyboard action and nothing after a swipe, a tap or a click.",{"package":1661,"version":1662,"date":1654,"entries":1663},"core","0.16.0",[1664,1668,1672],{"hash":1665,"url":1666,"text":1667},"76d453f","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F76d453f7de0980c67cf8781dcfb6da3d954cef1d","A disabled SwipeViews marks its swipe areas `data-disabled`, so the registry's strips stop catching taps over the page's edge; the root context gains `disabled`.",{"hash":1669,"url":1670,"text":1671},"895afdc","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F895afdcc072b3ebf571e342078822ed86e770d01","SwipeViews: when the page holding focus turns inert after a page change (a button in it that moves to the next page, say), focus moves to the new page itself instead of dropping to `\u003Cbody>`. The page gets `tabindex=\"-1\"` if it has none, and nothing inside it is focused, so no virtual keyboard opens after a swipe.",{"hash":1673,"url":1674,"text":1675},"50250ec","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F50250ec24b684549f9c0911f3638123568e23617","SwipeViews renders its state on the server: pages register during setup, so the server HTML marks the page in `v-model` `active` and the others `inert`, and each page places itself by index (in percent of its own size) until the root has measured the pages in the browser, so the first paint shows the model's page instead of the first one, or the last one in the stack layout. Hydration matches the server HTML. `--swipe-snap-offset`, `--swipe-view-offset` and `--swipe-view-stack` are registered as `\u003Clength-percentage>`; the root context gains `resolved`, `measured` and `resort`, and a registered page's `element` is set once it mounts.",{"package":1661,"version":1677,"date":1678,"entries":1679},"0.14.0","2026-10-09T17:17:43.000Z",[1680],{"hash":1681,"url":1682,"text":1683},"6887534","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F6887534c8c7d8b707da54f663e312a95b75d1284","A finger drag no longer freezes when a second finger touches the screen: `useDrag` keeps following the first finger and releases when it lifts, so SwipeViews, `useSwipeSnap`, Drawer and SwipeActions settle instead of staying stuck mid-drag. A second finger that lands before the drag starts still keeps it from starting. A pen or mouse pressed during a finger drag, or a finger during a pen or mouse drag, no longer starts a second drag on top of the first.",{"package":1652,"version":1685,"date":1686,"entries":1687},"0.17.0","2026-10-08T19:09:10.000Z",[1688],{"hash":1689,"url":1690,"text":1691},"6c50288","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F6c50288335a6cb85df8599769c2ecd9d3f6e43a4","New `SwipeViews`: pages that follow the finger, the way native apps page between tabs. It holds the page in the frame in `v-model`, pairs with Tabs on the same model, and lays its `SwipeView`s out in a row that a swipe or a flick moves along. `layout=\"stack\"` lays the pages on top of each other, each sliding in over the one before it, as in a navigation stack. The frame and every page carry CSS variables for layouts and effects of your own. `SwipeViewsSwipeArea` adds a strip at an edge, and `swipe-area-only` makes it the only way to swipe. The mechanism underneath comes as its own item, `swipe-snap`, with `useSwipeSnap` for sheets, galleries and pagers of your own.",{"package":1661,"version":1693,"date":1686,"entries":1694},"0.13.0",[1695],{"hash":1696,"url":1697,"text":1698},"908bb3b","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F908bb3bb589c650741c6e9289b1e875b0b3ca749","New `@kappa-ui\u002Fcore\u002Fswipe-views`: `SwipeViewsRoot`, `SwipeView` and `SwipeViewsSwipeArea`, headless pages that follow the finger. The root measures its pages, binds the page in the frame with `v-model` and writes `--swipe-snap-offset` and `--swipe-snap-position`; every page gets `--swipe-view-index`, `--swipe-view-start`, `data-state`, and `inert` while out of the frame, and the `swipe-view` utility derives `--swipe-view-offset` and `--swipe-view-stack` from them. `layout` (`row` or `stack`) is carried as `data-layout`, and the root sets `dir`. A swipe area is a strip that starts a swipe towards the page on its side; `swipeAreaOnly` makes it the only way to swipe.",[1700],{"label":1701,"href":1702},"Kappa UI","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Ftree\u002Fmain\u002Fpackages\u002Fcore\u002Fsrc\u002Fswipe-views",[1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1750,1751,1752,1753,1754,1755,1756,1757,1758,1759,1760,1761,1762,1763,1764,1765,1766,1767,1768,1769,1770,1771,1772,1773,1774,1775,1776,1777,1778,1779,1780,1781,1782,1783,1784,1785,1786,1787,1788,1789,1790],{"path":73,"component":75},{"path":79,"component":81},{"path":85,"component":87},{"path":91,"component":93},{"path":97,"component":99},{"path":103,"component":105},{"path":109,"component":111},{"path":115,"component":117},{"path":121,"component":123},{"path":127,"component":129},{"path":133,"component":135},{"path":139,"component":141},{"path":145,"component":147},{"path":151,"component":153},{"path":157,"component":159},{"path":163,"component":165},{"path":169,"component":171},{"path":175,"component":177},{"path":181,"component":183},{"path":187,"component":189},{"path":193,"component":195},{"path":199,"component":201},{"path":205,"component":207},{"path":211,"component":213},{"path":217,"component":219},{"path":223,"component":225},{"path":229,"component":231},{"path":235,"component":237},{"path":241,"component":243},{"path":247,"component":249},{"path":253,"component":255},{"path":259,"component":261},{"path":265,"component":267},{"path":271,"component":273},{"path":277,"component":279},{"path":283,"component":285},{"path":289,"component":291},{"path":295,"component":297},{"path":301,"component":303},{"path":307,"component":309},{"path":313,"component":315},{"path":319,"component":321},{"path":325,"component":327},{"path":331,"component":333},{"path":337,"component":339},{"path":343,"component":345},{"path":349,"component":351},{"path":355,"component":357},{"path":361,"component":363},{"path":367,"component":369},{"path":373,"component":375},{"path":379,"component":381},{"path":385,"component":387},{"path":391,"component":393},{"path":397,"component":399},{"path":403,"component":405},{"path":409,"component":411},{"path":415,"component":417},{"path":421,"component":423},{"path":427,"component":429},{"path":433,"component":435},{"path":439,"component":441},{"path":445,"component":447},{"path":451,"component":453},{"path":457,"component":459},{"path":463,"component":465},{"path":469,"component":471},{"path":475,"component":477},{"path":481,"component":483},{"path":487,"component":489},{"path":499,"component":501},{"path":505,"component":507},{"path":511,"component":513},{"path":517,"component":519},{"path":523,"component":525},{"path":529,"component":531},{"path":535,"component":537},{"path":541,"component":543},{"path":547,"component":549},{"path":553,"component":555},{"path":559,"component":561},{"path":565,"component":567},{"path":577,"component":579},{"path":583,"component":585},{"path":589,"component":591},{"path":600,"component":602},{"path":640,"component":642},{"files":1792,"css":11},[1793,1797,1801,1805],{"filename":1794,"source":1795,"html":1796},"@\u002Fcomponents\u002Fui\u002Fswipe-views\u002FSwipeView.vue","\u003Cscript setup lang=\"ts\">\nimport { SwipeView, type SwipeViewProps, useSwipeViewsContext } from \"@kappa-ui\u002Fcore\u002Fswipe-views\";\nimport { type HTMLAttributes, computed } from \"vue\";\n\nimport { cn } from \"@\u002Flib\u002Futils\";\nimport { swipeViewVariants } from \".\";\n\nconst props = defineProps\u003CSwipeViewProps & { class?: HTMLAttributes[\"class\"] }>();\nconst context = useSwipeViewsContext();\n\nconst delegated = computed(() => {\n  const { class: _, ...rest } = props;\n  return rest;\n});\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSwipeView\n    v-slot=\"slotProps\"\n    v-bind=\"delegated\"\n    data-slot=\"swipe-view\"\n    :class=\"\n      cn(swipeViewVariants({ orientation: context.orientation.value, layout: context.layout.value }), props.class)\n    \"\n  >\n    \u003Cslot v-bind=\"slotProps\" \u002F>\n  \u003C\u002FSwipeView>\n\u003C\u002Ftemplate>\n","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-default:#24292e;--shiki-dark:#e1e4e8;\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> setup\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> lang\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"ts\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { SwipeView, \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> SwipeViewProps, useSwipeViewsContext } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@kappa-ui\u002Fcore\u002Fswipe-views\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> HTMLAttributes, computed } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"vue\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { cn } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@\u002Flib\u002Futils\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { swipeViewVariants } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \".\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> props\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> defineProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">SwipeViewProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> &#x26;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">?:\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> HTMLAttributes\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">[\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"class\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">] }>();\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> context\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> useSwipeViewsContext\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">();\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> delegated\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> computed\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(() \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">=>\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">_\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">...\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">rest\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> props;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  return\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> rest;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">template\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">SwipeView\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">    v-slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">slotProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">    v-bind\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">delegated\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">    data-slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"swipe-view\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">      cn\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">swipeViewVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">({ orientation: context.orientation.value, layout: context.layout.value }), props.class)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">    \"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  >\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> v-bind\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"slotProps\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#B31D28;--shiki-default-font-style:italic;--shiki-dark:#FDAEB7;--shiki-dark-font-style:italic\"> \u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">SwipeView\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">template\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"filename":1798,"source":1799,"html":1800},"@\u002Fcomponents\u002Fui\u002Fswipe-views\u002FSwipeViews.vue","\u003Cscript setup lang=\"ts\">\nimport { SwipeViewsRoot, type SwipeViewsRootEmits, type SwipeViewsRootProps } from \"@kappa-ui\u002Fcore\u002Fswipe-views\";\nimport { useForwardPropsEmits } from \"reka-ui\";\nimport { type HTMLAttributes, computed, useTemplateRef } from \"vue\";\n\nimport { cn } from \"@\u002Flib\u002Futils\";\nimport { swipeViewsVariants } from \".\";\n\nconst props = defineProps\u003CSwipeViewsRootProps & { class?: HTMLAttributes[\"class\"] }>();\nconst emits = defineEmits\u003CSwipeViewsRootEmits>();\n\nconst delegated = computed(() => {\n  const { class: _, ...rest } = props;\n  return rest;\n});\nconst forwarded = useForwardPropsEmits(delegated, emits);\n\nconst root = useTemplateRef\u003C{ position: number }>(\"root\");\n\ndefineExpose({ position: computed(() => root.value?.position ?? 0) });\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSwipeViewsRoot\n    ref=\"root\"\n    v-slot=\"slotProps\"\n    v-bind=\"forwarded\"\n    data-slot=\"swipe-views\"\n    :class=\"cn(swipeViewsVariants({ orientation: props.orientation, layout: props.layout }), props.class)\"\n  >\n    \u003Cslot v-bind=\"slotProps\" \u002F>\n  \u003C\u002FSwipeViewsRoot>\n\u003C\u002Ftemplate>\n","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-default:#24292e;--shiki-dark:#e1e4e8;\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> setup\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> lang\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"ts\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { SwipeViewsRoot, \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> SwipeViewsRootEmits, \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> SwipeViewsRootProps } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@kappa-ui\u002Fcore\u002Fswipe-views\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { useForwardPropsEmits } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"reka-ui\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> HTMLAttributes, computed, useTemplateRef } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"vue\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { cn } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@\u002Flib\u002Futils\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { swipeViewsVariants } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \".\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> props\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> defineProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">SwipeViewsRootProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> &#x26;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">?:\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> HTMLAttributes\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">[\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"class\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">] }>();\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> emits\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> defineEmits\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">SwipeViewsRootEmits\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>();\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> delegated\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> computed\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(() \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">=>\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">_\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">...\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">rest\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> props;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  return\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> rest;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> forwarded\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> useForwardPropsEmits\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(delegated, emits);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> root\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> useTemplateRef\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;{ \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">position\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">:\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> number\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> }>(\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"root\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">defineExpose\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">({ position: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">computed\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(() \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">=>\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> root.value?.position \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">??\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> 0\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">) });\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">template\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">SwipeViewsRoot\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">    ref\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"root\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">    v-slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">slotProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">    v-bind\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">forwarded\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">    data-slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"swipe-views\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">cn\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">swipeViewsVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">({ orientation: props.orientation, layout: props.layout }), props.class)\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  >\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> v-bind\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"slotProps\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#B31D28;--shiki-default-font-style:italic;--shiki-dark:#FDAEB7;--shiki-dark-font-style:italic\"> \u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">SwipeViewsRoot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">template\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"filename":1802,"source":1803,"html":1804},"@\u002Fcomponents\u002Fui\u002Fswipe-views\u002FSwipeViewsSwipeArea.vue","\u003Cscript setup lang=\"ts\">\nimport { SwipeViewsSwipeArea, type SwipeViewsSwipeAreaProps, useSwipeViewsContext } from \"@kappa-ui\u002Fcore\u002Fswipe-views\";\nimport { type HTMLAttributes, computed } from \"vue\";\n\nimport { cn } from \"@\u002Flib\u002Futils\";\nimport { swipeViewsSwipeAreaVariants } from \".\";\n\nconst props = defineProps\u003CSwipeViewsSwipeAreaProps & { class?: HTMLAttributes[\"class\"] }>();\nconst context = useSwipeViewsContext();\n\nconst delegated = computed(() => {\n  const { class: _, ...rest } = props;\n  return rest;\n});\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSwipeViewsSwipeArea\n    v-bind=\"delegated\"\n    data-slot=\"swipe-views-swipe-area\"\n    :class=\"cn(swipeViewsSwipeAreaVariants({ orientation: context.orientation.value, side: props.side }), props.class)\"\n  >\n    \u003Cslot \u002F>\n  \u003C\u002FSwipeViewsSwipeArea>\n\u003C\u002Ftemplate>\n","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-default:#24292e;--shiki-dark:#e1e4e8;\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> setup\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> lang\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"ts\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { SwipeViewsSwipeArea, \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> SwipeViewsSwipeAreaProps, useSwipeViewsContext } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@kappa-ui\u002Fcore\u002Fswipe-views\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> HTMLAttributes, computed } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"vue\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { cn } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@\u002Flib\u002Futils\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { swipeViewsSwipeAreaVariants } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \".\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> props\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> defineProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">SwipeViewsSwipeAreaProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> &#x26;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">?:\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> HTMLAttributes\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">[\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"class\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">] }>();\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> context\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> useSwipeViewsContext\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">();\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> delegated\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> computed\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(() \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">=>\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">_\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">...\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">rest\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> props;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  return\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> rest;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">template\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">SwipeViewsSwipeArea\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">    v-bind\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">delegated\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">    data-slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"swipe-views-swipe-area\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">cn\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">swipeViewsSwipeAreaVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">({ orientation: context.orientation.value, side: props.side }), props.class)\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  >\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#B31D28;--shiki-default-font-style:italic;--shiki-dark:#FDAEB7;--shiki-dark-font-style:italic\"> \u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">SwipeViewsSwipeArea\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">template\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"filename":1806,"source":1807,"html":1808},"@\u002Fcomponents\u002Fui\u002Fswipe-views\u002Findex.ts","import { cva } from \"class-variance-authority\";\n\nexport { default as SwipeView } from \".\u002FSwipeView.vue\";\nexport { default as SwipeViews } from \".\u002FSwipeViews.vue\";\nexport { default as SwipeViewsSwipeArea } from \".\u002FSwipeViewsSwipeArea.vue\";\nexport type {\n  SwipeViewsLayout,\n  SwipeViewsOrientation,\n  SwipeViewsSide,\n  SwipeViewsValue,\n} from \"@kappa-ui\u002Fcore\u002Fswipe-views\";\n\nexport const swipeViewsVariants = cva(\"relative overflow-clip swipe-snap\", {\n  variants: {\n    orientation: {\n      horizontal: \"touch-pan-y\",\n      vertical: \"touch-pan-x\",\n    },\n    layout: {\n      row: \"flex\",\n      stack: \"\",\n    },\n  },\n  compoundVariants: [{ orientation: \"vertical\", layout: \"row\", class: \"flex-col\" }],\n  defaultVariants: { orientation: \"horizontal\", layout: \"row\" },\n});\n\nexport const swipeViewVariants = cva(\"shrink-0 outline-none swipe-view focus-visible:focus-ring-inset\", {\n  variants: {\n    orientation: { horizontal: \"\", vertical: \"\" },\n    layout: { row: \"\", stack: \"absolute\" },\n  },\n  compoundVariants: [\n    { layout: \"row\", orientation: \"horizontal\", class: \"w-full translate-x-(--swipe-snap-offset)\" },\n    { layout: \"row\", orientation: \"vertical\", class: \"h-full translate-y-(--swipe-snap-offset)\" },\n    { layout: \"stack\", orientation: \"horizontal\", class: \"inset-y-0 start-0 w-full translate-x-(--swipe-view-stack)\" },\n    { layout: \"stack\", orientation: \"vertical\", class: \"inset-x-0 top-0 h-full translate-y-(--swipe-view-stack)\" },\n  ],\n  defaultVariants: { orientation: \"horizontal\", layout: \"row\" },\n});\n\nexport const swipeViewsSwipeAreaVariants = cva(\"absolute z-10 data-disabled:pointer-events-none\", {\n  variants: {\n    orientation: {\n      horizontal: \"inset-y-0 w-5 touch-pan-y\",\n      vertical: \"inset-x-0 h-5 touch-pan-x\",\n    },\n    side: { start: \"\", end: \"\" },\n  },\n  compoundVariants: [\n    { orientation: \"horizontal\", side: \"start\", class: \"start-0\" },\n    { orientation: \"horizontal\", side: \"end\", class: \"end-0\" },\n    { orientation: \"vertical\", side: \"start\", class: \"top-0\" },\n    { orientation: \"vertical\", side: \"end\", class: \"bottom-0\" },\n  ],\n  defaultVariants: { orientation: \"horizontal\", side: \"start\" },\n});\n","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-default:#24292e;--shiki-dark:#e1e4e8;\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { cva } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"class-variance-authority\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">default\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> as\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> SwipeView } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \".\u002FSwipeView.vue\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">default\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> as\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> SwipeViews } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \".\u002FSwipeViews.vue\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">default\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> as\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> SwipeViewsSwipeArea } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \".\u002FSwipeViewsSwipeArea.vue\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  SwipeViewsLayout,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  SwipeViewsOrientation,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  SwipeViewsSide,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  SwipeViewsValue,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">} \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@kappa-ui\u002Fcore\u002Fswipe-views\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> swipeViewsVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> cva\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"relative overflow-clip swipe-snap\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  variants: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    orientation: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      horizontal: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"touch-pan-y\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      vertical: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"touch-pan-x\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    layout: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      row: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"flex\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      stack: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  compoundVariants: [{ orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"vertical\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, layout: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"row\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, class: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"flex-col\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> }],\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  defaultVariants: { orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"horizontal\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, layout: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"row\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> swipeViewVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> cva\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"shrink-0 outline-none swipe-view focus-visible:focus-ring-inset\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  variants: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    orientation: { horizontal: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, vertical: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    layout: { row: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, stack: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"absolute\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  compoundVariants: [\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    { layout: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"row\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"horizontal\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, class: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"w-full translate-x-(--swipe-snap-offset)\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    { layout: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"row\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"vertical\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, class: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"h-full translate-y-(--swipe-snap-offset)\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    { layout: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"stack\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"horizontal\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, class: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"inset-y-0 start-0 w-full translate-x-(--swipe-view-stack)\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    { layout: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"stack\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"vertical\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, class: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"inset-x-0 top-0 h-full translate-y-(--swipe-view-stack)\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  ],\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  defaultVariants: { orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"horizontal\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, layout: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"row\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> swipeViewsSwipeAreaVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> cva\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"absolute z-10 data-disabled:pointer-events-none\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  variants: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    orientation: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      horizontal: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"inset-y-0 w-5 touch-pan-y\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      vertical: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"inset-x-0 h-5 touch-pan-x\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    side: { start: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, end: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  compoundVariants: [\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    { orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"horizontal\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, side: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"start\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, class: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"start-0\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    { orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"horizontal\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, side: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"end\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, class: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"end-0\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    { orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"vertical\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, side: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"start\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, class: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"top-0\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    { orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"vertical\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, side: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"end\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, class: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"bottom-0\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  ],\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  defaultVariants: { orientation: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"horizontal\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, side: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"start\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",1792689679999]