UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

349 lines (347 loc) 10.6 kB
"use client"; import { j as x } from "./jsx-runtime-Bqq1Hxg9.mjs"; import a, { th as r, css as i } from "@xstyled/styled-components"; const l = "0xF101", _ = "0xF102", d = "0xF103", u = "0xF104", m = "0xF105", p = "0xF106", f = "0xF107", h = "0xF108", b = "0xF109", g = "0xF10A", y = "0xF10B", C = "0xF10C", v = "0xF10D", w = "0xF10E", B = "0xF10F", A = "0xF110", k = "0xF111", E = "0xF112", D = "0xF113", z = "0xF114", j = "0xF115", $ = "0xF116", I = "0xF117", q = "0xF118", N = "0xF119", T = "0xF11A", U = "0xF11B", J = "0xF11C", K = "0xF11D", M = "0xF11E", O = "0xF11F", P = "0xF120", R = "0xF121", S = "0xF122", G = "0xF123", H = "0xF124", L = "0xF125", Q = "0xF126", V = "0xF127", W = "0xF128", X = "0xF129", Y = "0xF12A", Z = "0xF12B", tt = "0xF12C", ot = "0xF12D", nt = "0xF12E", st = "0xF12F", ct = "0xF130", et = "0xF131", Ft = "0xF132", xt = "0xF133", at = "0xF134", rt = "0xF135", it = "0xF136", lt = "0xF137", _t = "0xF138", dt = "0xF139", ut = "0xF13A", mt = "0xF13B", pt = "0xF13C", ft = "0xF13D", ht = "0xF13E", bt = "0xF13F", gt = "0xF140", yt = "0xF141", Ct = "0xF142", vt = "0xF143", wt = "0xF144", Bt = "0xF145", At = "0xF146", kt = "0xF147", Et = "0xF148", Dt = "0xF149", zt = "0xF14A", jt = "0xF14B", $t = "0xF14C", It = "0xF14D", qt = "0xF14E", Nt = "0xF14F", Tt = "0xF150", Ut = "0xF151", Jt = "0xF152", Kt = "0xF153", Mt = "0xF154", Ot = "0xF155", Pt = "0xF156", Rt = "0xF157", St = "0xF158", Gt = "0xF159", Ht = "0xF15A", Lt = "0xF15B", Qt = "0xF15C", Vt = "0xF15D", Wt = "0xF15E", Xt = "0xF15F", Yt = "0xF160", Zt = "0xF161", to = "0xF162", oo = "0xF163", no = "0xF164", so = "0xF165", co = "0xF166", eo = "0xF167", Fo = "0xF168", xo = "0xF169", ao = "0xF16A", ro = "0xF16B", io = "0xF16C", lo = "0xF16D", _o = "0xF16E", uo = "0xF16F", mo = "0xF170", po = "0xF171", fo = "0xF172", ho = "0xF173", bo = "0xF174", go = "0xF175", yo = "0xF176", Co = "0xF177", vo = "0xF178", wo = "0xF179", Bo = "0xF17A", Ao = "0xF17B", ko = "0xF17C", Eo = "0xF17D", Do = "0xF17E", zo = "0xF17F", jo = "0xF180", $o = "0xF181", Io = "0xF182", qo = "0xF183", No = "0xF184", To = "0xF185", Uo = "0xF186", Jo = "0xF187", Ko = "0xF188", Mo = "0xF189", Oo = "0xF18A", Po = "0xF18B", Ro = "0xF18C", So = "0xF18D", Go = "0xF18E", Ho = "0xF18F", Lo = "0xF190", Qo = "0xF191", Vo = "0xF192", Wo = "0xF193", Xo = "0xF194", Yo = "0xF195", Zo = "0xF196", tn = "0xF197", on = "0xF198", nn = "0xF199", sn = "0xF19A", cn = "0xF19B", en = "0xF19C", Fn = "0xF19D", xn = "0xF19E", an = "0xF19F", rn = "0xF1A0", ln = "0xF1A1", _n = "0xF1A2", dn = "0xF1A3", un = "0xF1A4", mn = "0xF1A5", pn = "0xF1A6", fn = "0xF1A7", hn = "0xF1A8", bn = "0xF1A9", gn = "0xF1AA", yn = "0xF1AB", Cn = "0xF1AC", vn = "0xF1AD", wn = "0xF1AE", Bn = "0xF1AF", An = "0xF1B0", kn = "0xF1B1", En = "0xF1B2", Dn = "0xF1B3", zn = "0xF1B4", jn = "0xF1B5", $n = "0xF1B6", In = "0xF1B7", qn = "0xF1B8", Nn = "0xF1B9", Tn = "0xF1BA", Un = "0xF1BB", Jn = "0xF1BC", Kn = "0xF1BD", Mn = "0xF1BE", On = "0xF1BF", Pn = "0xF1C0", Rn = "0xF1C1", Sn = "0xF1C2", Gn = "0xF1C3", Hn = "0xF1C4", Ln = "0xF1C5", Qn = "0xF1C6", Vn = "0xF1C7", Wn = "0xF1C8", Xn = "0xF1C9", Yn = "0xF1CA", Zn = "0xF1CB", ts = "0xF1CC", os = "0xF1CD", ns = "0xF1CE", ss = "0xF1CF", cs = "0xF1D0", es = "0xF1D1", Fs = "0xF1D2", xs = "0xF1D3", as = "0xF1D4", rs = "0xF1D5", is = "0xF1D6", ls = "0xF1D7", _s = "0xF1D8", ds = "0xF1D9", us = "0xF1DA", ms = "0xF1DB", ps = "0xF1DC", fs = "0xF1DD", hs = "0xF1DE", bs = "0xF1DF", gs = "0xF1E0", ys = "0xF1E1", Cs = "0xF1E2", vs = "0xF1E3", ws = "0xF1E4", Bs = "0xF1E5", As = "0xF1E6", ks = "0xF1E7", Es = "0xF1E8", Ds = "0xF1E9", zs = "0xF1EA", js = "0xF1EB", $s = "0xF1EC", Is = "0xF1ED", qs = "0xF1EE", Ns = "0xF1EF", Ts = "0xF1F0", Us = "0xF1F1", Js = "0xF1F2", Ks = "0xF1F3", Ms = "0xF1F4", Os = "0xF1F5", Ps = "0xF1F6", Rs = "0xF1F7", Ss = "0xF1F8", Gs = "0xF1F9", Hs = "0xF1FA", Ls = "0xF1FB", Qs = "0xF1FC", Vs = "0xF1FD", Ws = "0xF1FE", Xs = "0xF1FF", Ys = "0xF200", Zs = "0xF201", tc = "0xF202", oc = "0xF203", nc = "0xF204", sc = "0xF205", cc = "0xF206", ec = "0xF207", Fc = "0xF208", xc = "0xF209", ac = "0xF20A", rc = "0xF20B", ic = "0xF20C", lc = "0xF20D", _c = "0xF20E", dc = "0xF20F", uc = "0xF210", mc = "0xF211", pc = "0xF212", fc = "0xF213", hc = "0xF214", bc = "0xF215", gc = "0xF216", yc = "0xF217", Cc = "0xF218", vc = "0xF219", wc = "0xF21A", Bc = "0xF21B", Ac = "0xF21C", kc = "0xF21D", Ec = "0xF21E", Dc = "0xF21F", zc = "0xF220", jc = "0xF221", $c = "0xF222", Ic = "0xF223", qc = "0xF224", Nc = "0xF226", Tc = "0xF227", Uc = "0xF228", Jc = "0xF229", Kc = "0xF22A", Mc = "0xF22B", Oc = "0xF22C", c = { actions: l, activity: _, add: d, address: u, airplay: m, alert: p, alert_outline: f, analytics: h, anniversary: b, archive: g, arrow_down: y, arrow_left: C, arrow_right: v, arrow_up: w, aspect_ratio_fill: B, aspect_ratio_fit: A, attachment: k, avatar: E, avatar_accessory: D, avatar_body: z, avatar_bottom: j, avatar_costume: $, avatar_head: I, avatar_top: q, bar_chart: N, basketball: T, behance: U, birthday: J, bold: K, book: M, book_2: O, bookmark: P, bookmark_outline: R, bulb: S, bulk: G, buoy: H, burn: L, caddy: Q, calcul: V, camera: W, camera_off: X, camera_on: Y, candidate_status: Z, card_view: tt, cast: ot, cast_connected: nt, cast_unavailable: st, celebrate: ct, check: et, clipboard: Ft, clock: xt, code: at, code_block: rt, coffee: it, collapse: lt, comment: _t, comment_outline: dt, common_area: ut, compass: mt, computer: pt, contract: ft, control_backward: ht, control_forward: bt, control_pause: gt, control_stop: yt, copy: Ct, cover_letter: vt, create: wt, credit_card: Bt, crescent_moon: At, crescent_moon_outline: kt, cross: Et, cross_target: Dt, crown: zt, csv: jt, date: $t, department: It, details: qt, diamond: Nt, dish: Tt, doc: Ut, docx: Jt, down: Kt, download: Mt, drag_and_drop: Ot, dribbble: Pt, earth: Rt, edit: St, education_level: Gt, email: Ht, email_outline: Lt, eot: Qt, equal: Vt, expand: Wt, expand_text: Xt, external_link: Yt, facebook: Zt, factory: to, female: oo, filters: no, fingerprint: so, flag: co, flag_outline: eo, flag_pointed: Fo, folder: xo, fullscreen_off: ao, fullscreen_on: ro, gear: io, gif: lo, github: _o, google: uo, handshake: mo, hard_hat: po, hashtag: fo, heading: ho, heading_1: bo, heading_2: go, heading_3: yo, heading_4: Co, heading_5: vo, heading_6: wo, headset: Bo, heart: Ao, heart_outline: ko, heart_shiny: Eo, hide: Do, home: zo, house: jo, in_progress_candidate: $o, information: Io, information_outline: qo, instagram: No, italic: To, jpeg: Uo, jpg: Jo, justice_hammer: Ko, kanban: Mo, key: Oo, language: Po, leaf: Ro, left: So, line_chart: Go, link: Ho, linkedin: Lo, location: Qo, lock: Vo, lock_rounded: Wo, log_out: Xo, male: Yo, map: Zo, masonry: tn, meeting_room: on, megaphone: nn, mention: sn, menu: cn, mic: en, microphone_off: Fn, microphone_on: xn, microship: an, money: rn, more: ln, more_android: _n, mountain: dn, music: un, negative: mn, negative_outline: pn, negative_straight: fn, new_candidate: hn, notification: bn, npm: gn, offer_status: yn, office: Cn, ordered_list: vn, origine: wn, paperplane: Bn, pdf: An, pencil: kn, phone: En, phone_outline: Dn, pictures: zn, piechart: jn, pin: $n, pinterest: In, pizza: qn, play: Nn, play_outline: Tn, playlist: Un, png: Jn, podcast: Kn, positive: Mn, positive_outline: On, positive_straight: Pn, ppt: Rn, print: Sn, promote: Gn, puzzle: Hn, puzzle_outline: Ln, question: Qn, questions: Vn, quote: Wn, refresh: Xn, refuse_candidate: Yn, remote: Zn, remove: ts, reset: os, resume: ns, review: ss, review_outline: cs, right: es, salary: Fs, save: xs, screenshare_off: as, screenshare_on: rs, search: is, search_people: ls, settings: _s, share1: ds, share2: us, shield: ms, show: ps, slack: fs, sound_off: hs, sound_on: bs, source: gs, spanner: ys, square_alert: Cs, stackoverflow: vs, stackserver: ws, star: Bs, star_outline: As, strikethrough: ks, subtitle: Es, success: Ds, suitcase: zs, sun: js, svg: $s, table: Is, table_column_add_after: qs, table_column_add_before: Ns, table_column_remove: Ts, table_delete: Us, table_divide: Js, table_merge_cells: Ks, table_row_add_above: Ms, table_row_add_below: Os, table_row_remove: Ps, tag: Rs, target: Ss, teepee: Gs, thumb_down: Hs, thumb_up: Ls, trash: Qs, tree: Vs, trophy: Ws, ttf: Xs, twitch: Ys, twitter: Zs, txt: tc, type: oc, unavailable: nc, underline: sc, unordered_list: cc, up: ec, update: Fc, upload: xc, user: ac, user_outline: rc, video: ic, video_camera: lc, video_camera_2: _c, watch_later: dc, woff: uc, woff2: mc, write: pc, wttj: fc, xing: hc, xls: bc, xlsx: gc, youtube: yc, zapier: Cc, zip: vc, move: wc, tiktok: Bc, flag_us: Ac, euro_currency: kc, x: Ec, sparkles: Dc, mobile: zc, tablet: jc, certified: $c, masonry_2: Ic, connection: qc, arrow_line_left: Nc, arrow_line_right: Tc, arrow_line_down: Uc, arrow_line_up: Jc, symbol: Kc, thunderclock: Mc, extend: Oc }; function Pc(o) { const t = c[o]; return t ? t.replace("0x", "\\") : (console.warn(`Invalid icon name '${o}'`), null); } const e = a.iBox( ({ name: o, size: t = "md" }) => i` display: inline-block; /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */ font-family: icons; font-size: ${r(`icons.${t}`)}; &::before { content: '${Pc(o)}'; display: block; font-style: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } ` ), Qc = e, Rc = { ...c }, Sc = (o) => { const t = o.replace(/_(\w)/g, (s, n) => n.toUpperCase()); return `${t.charAt(0).toUpperCase()}${t.substr(1)}`; }, Gc = Object.keys(Rc), Vc = Gc.reduce((o, t) => { const s = Sc(t); return o[s] = (n) => { const F = n.className || ""; return /* @__PURE__ */ x.jsx( e, { ...n, className: `${F} wui-icon-font`, "data-testid": n.dataTestId ? `icon-font-${n.dataTestId}` : null, name: t } ); }, o; }, {}); export { Vc as IconsFont, Qc as IconsFontStyled };