PageSourceSearch

https://www.iu.org/build/assets/chip-CxdazFoh.js

js iu.org collected 2026-09-24 09:20:44 UTC 2,090 bytes, 1 lines download raw bytes

1import{On as e,Zn as t,k as n,mt as r,qt as i,v as a,xt as o}from"./runtime-core.esm-bundler-DPmoNEl9.js";import{t as s}from"./Primitive-OUQ7g2gS.js";import{n as c}from"./utils-DICGkfbo.js";import{t as l}from"./dist-C0S6jEGJ.js";var u=n({__name:`Chip`,props:{class:{type:[Boolean,null,String,Object,Array]},type:{default:`button`},variant:{default:`default`},asChild:{type:Boolean},as:{default:`button`}},setup(n){let l=n;return(u,f)=>(r(),a(e(s),{"data-slot":`chip`,as:n.as,type:n.type,class:t(e(c)(e(d)({variant:n.variant}),l.class))},{default:i(()=>[o(u.$slots,`default`)]),_:3},8,[`as`,`type`,`class`]))}}),d=l(`inline-flex shrink-0 items-center justify-center gap-2.5 rounded-full border px-4 py-1.5 whitespace-nowrap transition outline-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-3`,{variants:{variant:{default:`cursor-pointer border-stroke-focus bg-component text-foreground-button-secondary-default hover:bg-interaction-hover hover:text-foreground-button-secondary-hover focus-visible:ring-2 focus-visible:ring-stroke-focus focus-visible:ring-offset-2 focus-visible:ring-offset-block active:bg-interaction-pressed active:text-foreground-button-secondary-default disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-button-disabled disabled:bg-button-disabled disabled:text-foreground-button-secondary-disabled`,success:`cursor-default border-green-success bg-green-success-lighter text-foreground-default`,error:`cursor-default border-red-error bg-red-error-lighter`,active:`cursor-pointer border-stroke-focus bg-accent text-foreground hover:bg-accent focus-visible:ring-2 focus-visible:ring-stroke-focus focus-visible:ring-offset-2 focus-visible:ring-offset-block`,simple:`cursor-default border-stroke-focus bg-component text-foreground-default`,selected:`cursor-default border-stroke-focus bg-accent-light text-foreground-default hover:bg-accent-light focus-visible:ring-2 focus-visible:ring-stroke-focus focus-visible:ring-offset-2 focus-visible:ring-offset-block`}},defaultVariants:{variant:`default`}});export{u as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.