@eluan/core 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -1
- package/dist/{action-popover-D6K9aVFk.cjs → action-popover-DrHKPGqw.cjs} +1 -1
- package/dist/{action-popover-BVJQBuky.js → action-popover-NkXDAHJT.js} +1 -1
- package/dist/action-popover.cjs +1 -1
- package/dist/action-popover.js +1 -1
- package/dist/{avatar-Co-k8KqV.cjs → avatar-B-t3ctR4.cjs} +1 -1
- package/dist/{avatar-CS5f1irF.js → avatar-kDEa0rjF.js} +1 -1
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.js +1 -1
- package/dist/{badge-D9NYZFWH.js → badge-BLZ8V-KC.js} +10 -10
- package/dist/{badge-DXKWztL-.cjs → badge-D1A0Tc79.cjs} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{banner-COlEFRuK.cjs → banner-CNdwDPqA.cjs} +1 -1
- package/dist/{banner-CyYFLZXw.js → banner-DzSp5WfQ.js} +9 -9
- package/dist/banner.cjs +1 -1
- package/dist/banner.js +1 -1
- package/dist/box-DG-tkaYi.cjs +1 -0
- package/dist/box-DKbNgGGG.js +17 -0
- package/dist/box.cjs +1 -0
- package/dist/box.d.ts +1 -0
- package/dist/box.js +5 -0
- package/dist/{breadcrumb-NWXeCH5q.cjs → breadcrumb-BuxXkm6O.cjs} +1 -1
- package/dist/{breadcrumb-Cm1nb9Xj.js → breadcrumb-C6qj-tDx.js} +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/button--_WI-fM6.cjs +1 -0
- package/dist/{button-ANAPDrvs.js → button-DNSNShUc.js} +28 -26
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/{calendar-BpBsomy5.js → calendar-BA2tSwZD.js} +6 -6
- package/dist/{calendar-7LX5YGGT.cjs → calendar-DS5821-k.cjs} +3 -3
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.js +1 -1
- package/dist/{card-C88--zB4.cjs → card-BNdR5aDa.cjs} +1 -1
- package/dist/{card-BC_4C3ns.js → card-BSgN7WSe.js} +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{carousel-BfL7oy_q.cjs → carousel-4AERgboz.cjs} +1 -1
- package/dist/{carousel-DuP0hvF-.js → carousel-Bb7jpzep.js} +1 -1
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.js +1 -1
- package/dist/{checkbox-Bi0Kmuut.js → checkbox-CGUTGery.js} +1 -1
- package/dist/{checkbox-M8DmWKiC.cjs → checkbox-Cq9sHU_S.cjs} +1 -1
- package/dist/{checkbox-group-KBwPhjmW.cjs → checkbox-group-DGXZ4o2-.cjs} +1 -1
- package/dist/{checkbox-group-CQMEJnhD.js → checkbox-group-Tkio3IhK.js} +1 -1
- package/dist/checkbox-group.cjs +1 -1
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{command-BCl0seLL.cjs → command-D02vvta9.cjs} +1 -1
- package/dist/{command-Chs5VlBL.js → command-sUMAxm8S.js} +1 -1
- package/dist/command.cjs +1 -1
- package/dist/command.js +1 -1
- package/dist/components/box.d.ts +12 -0
- package/dist/components/grid.d.ts +35 -0
- package/dist/components/hover-card.d.ts +14 -2
- package/dist/components/icon.d.ts +26 -0
- package/dist/components/layout-shared.d.ts +307 -0
- package/dist/components/multi-select.d.ts +1 -1
- package/dist/components/navigation-drawer.d.ts +25 -5
- package/dist/components/row.d.ts +18 -0
- package/dist/components/stack.d.ts +14 -0
- package/dist/components/tone-shared.d.ts +39 -0
- package/dist/components/tooltip.d.ts +14 -2
- package/dist/components/typography.d.ts +22 -2
- package/dist/components/visually-hidden.d.ts +11 -0
- package/dist/{credit-card-input-DN-8vaFj.js → credit-card-input-9VPlzvDm.js} +1 -1
- package/dist/{credit-card-input-CUqA9CX3.cjs → credit-card-input-DppPJBne.cjs} +1 -1
- package/dist/credit-card-input.cjs +1 -1
- package/dist/credit-card-input.js +1 -1
- package/dist/{date-picker-ni8td8Ru.js → date-picker-M5hLx_1s.js} +2 -2
- package/dist/{date-picker-DGBsfZXx.cjs → date-picker-hE7cDg2B.cjs} +1 -1
- package/dist/date-picker.cjs +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/{datetime-picker-C1d63MaA.cjs → datetime-picker-BeRUPJ7s.cjs} +1 -1
- package/dist/{datetime-picker-DsnHYRK-.js → datetime-picker-CIqBZYMH.js} +3 -3
- package/dist/datetime-picker.cjs +1 -1
- package/dist/datetime-picker.js +1 -1
- package/dist/{decimal-input-yTk35W_5.js → decimal-input-Bg2BPKIr.js} +38 -38
- package/dist/decimal-input-CkTEjo2J.cjs +1 -0
- package/dist/decimal-input.cjs +1 -1
- package/dist/decimal-input.js +1 -1
- package/dist/{dialog-B8eWKqzS.js → dialog-Bsfviqvy.js} +2 -2
- package/dist/dialog-DRAoumvB.cjs +1 -0
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{email-input-DFI4h_KN.cjs → email-input-CehmtNUq.cjs} +1 -1
- package/dist/{email-input-pX0hlYV3.js → email-input-DIiY9Q3S.js} +1 -1
- package/dist/email-input.cjs +1 -1
- package/dist/email-input.js +1 -1
- package/dist/{footer-DB0_-IwN.cjs → footer-fovIsy-0.cjs} +1 -1
- package/dist/{footer-B3KUIwXW.js → footer-jWaFq3qk.js} +9 -9
- package/dist/footer.cjs +1 -1
- package/dist/footer.js +1 -1
- package/dist/grid-BDz4Xs6M.cjs +1 -0
- package/dist/grid-BX5vZjDo.js +612 -0
- package/dist/grid.cjs +1 -0
- package/dist/grid.d.ts +1 -0
- package/dist/grid.js +5 -0
- package/dist/{header-CDOWlOAR.js → header-Dnf8AnIx.js} +2 -2
- package/dist/{header-CiZQY_7S.cjs → header-DzItWqW4.cjs} +1 -1
- package/dist/header.cjs +1 -1
- package/dist/header.js +1 -1
- package/dist/hover-card-C5KsTSZR.cjs +1 -0
- package/dist/hover-card-C_FCzE41.js +21 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/icon-BmLOodCQ.cjs +1 -0
- package/dist/icon-BwDfkIdR.js +153 -0
- package/dist/icon.cjs +1 -0
- package/dist/icon.d.ts +1 -0
- package/dist/icon.js +5 -0
- package/dist/index.cjs +10 -5
- package/dist/index.d.ts +6 -0
- package/dist/index.js +612 -541
- package/dist/{input-BrGJn-D9.cjs → input-BcjL2oxv.cjs} +1 -1
- package/dist/{input-Cccufiqn.js → input-CPb9yVU5.js} +8 -8
- package/dist/input-otp-BhJ3ERrY.cjs +1 -0
- package/dist/{input-otp-DmEGB1nu.js → input-otp-CTvJztkH.js} +32 -32
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.js +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout-shared-B_1iX4Hj.js +319 -0
- package/dist/layout-shared-CsBZcT4V.cjs +1 -0
- package/dist/multi-select-CVxkWW29.js +85 -0
- package/dist/multi-select-DBFINH3F.cjs +1 -0
- package/dist/multi-select.cjs +1 -1
- package/dist/multi-select.js +1 -1
- package/dist/navigation-drawer-BCBFtLEq.cjs +1 -0
- package/dist/navigation-drawer-BMyHXhhX.js +198 -0
- package/dist/navigation-drawer.cjs +1 -1
- package/dist/navigation-drawer.js +1 -1
- package/dist/{number-input-vICbRc2y.js → number-input-Cm9YPBOX.js} +1 -1
- package/dist/{number-input-Bc7jUsu-.cjs → number-input-Dr9MbuRV.cjs} +1 -1
- package/dist/number-input.cjs +1 -1
- package/dist/number-input.js +1 -1
- package/dist/{pagination-DTWRjiOm.js → pagination-D2tjMpVU.js} +2 -2
- package/dist/{pagination-4IuE_APs.cjs → pagination-yKmFlFMR.cjs} +1 -1
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.js +1 -1
- package/dist/{password-input-BwnlHPbX.cjs → password-input-CmHubHuU.cjs} +1 -1
- package/dist/{password-input-B9V45d3Q.js → password-input-ljwdGCO6.js} +2 -2
- package/dist/password-input.cjs +1 -1
- package/dist/password-input.js +1 -1
- package/dist/{phone-input-BQjZj5jI.cjs → phone-input-B8VksCer.cjs} +1 -1
- package/dist/{phone-input-CSBpGHvI.js → phone-input-qTL6K8rT.js} +2 -2
- package/dist/phone-input.cjs +1 -1
- package/dist/phone-input.js +1 -1
- package/dist/progress-BpdmBGaX.cjs +1 -0
- package/dist/{progress-Dz_it5I-.js → progress-ChFf9bIq.js} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/providers/create-theme.d.ts +10 -1
- package/dist/providers/eluan-provider.d.ts +2 -1
- package/dist/providers/portal-container.d.ts +1 -1
- package/dist/{radio-group-C--1neiq.cjs → radio-group-9gozRouT.cjs} +1 -1
- package/dist/{radio-group-CNMPZx_2.js → radio-group-Bs9933bk.js} +6 -6
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{rich-text-BZSyuYSo.js → rich-text-DImwK9hN.js} +1 -1
- package/dist/{rich-text-DerWxzdn.cjs → rich-text-DzHLeG7W.cjs} +1 -1
- package/dist/rich-text.cjs +1 -1
- package/dist/rich-text.js +1 -1
- package/dist/row-BYAk7G5d.js +37 -0
- package/dist/row-Bjn-GQAC.cjs +1 -0
- package/dist/row.cjs +1 -0
- package/dist/row.d.ts +1 -0
- package/dist/row.js +5 -0
- package/dist/{search-input-Dmmo-BEL.cjs → search-input-BKTjebg7.cjs} +1 -1
- package/dist/{search-input-bFNW6oiE.js → search-input-Dgr9kT1a.js} +1 -1
- package/dist/search-input.cjs +1 -1
- package/dist/search-input.js +1 -1
- package/dist/select-Cdh991T-.cjs +1 -0
- package/dist/{select-DDSYjKtj.js → select-Dp5AJ6I-.js} +15 -15
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/sheet-CkXjinUG.cjs +1 -0
- package/dist/{sheet-D5HWF66e.js → sheet-uiyHNKEw.js} +6 -6
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-CZQBAXup.js → slider-BQmbh0Nl.js} +1 -1
- package/dist/{slider-DdEOapYP.cjs → slider-DK2yk-YK.cjs} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/stack-Ck1w2iJu.cjs +1 -0
- package/dist/stack-D2btWM1t.js +27 -0
- package/dist/stack.cjs +1 -0
- package/dist/stack.d.ts +1 -0
- package/dist/stack.js +5 -0
- package/dist/{stepper-D5nDwJUz.cjs → stepper-ByYKX7qw.cjs} +1 -1
- package/dist/{stepper-BtlKiHtd.js → stepper-Copsj87A.js} +4 -4
- package/dist/stepper.cjs +1 -1
- package/dist/stepper.js +1 -1
- package/dist/styles.css +935 -59
- package/dist/{switch-KzBijHMJ.cjs → switch-C2OPCq5Z.cjs} +1 -1
- package/dist/{switch-C7EBLT5H.js → switch-CXBWUZcq.js} +3 -3
- package/dist/switch.cjs +1 -1
- package/dist/switch.js +1 -1
- package/dist/{tabs-DztJ2iVc.cjs → tabs-D8p6Tr5i.cjs} +1 -1
- package/dist/{tabs-C9NKBmH0.js → tabs-TV4_2wi1.js} +9 -9
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/{textarea-Dl-daLHR.cjs → textarea-BnpQmE74.cjs} +1 -1
- package/dist/{textarea-DXUk1b_-.js → textarea-CJRmnazN.js} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{time-input-BPoFvoeM.js → time-input-A603mEFQ.js} +38 -38
- package/dist/time-input-qxljhdEb.cjs +1 -0
- package/dist/time-input.cjs +1 -1
- package/dist/time-input.js +1 -1
- package/dist/{toggle-Dv1VZ5Le.js → toggle-Bx3q15Pu.js} +6 -6
- package/dist/{toggle-Bvh1v32T.cjs → toggle-Z3t4jPdv.cjs} +1 -1
- package/dist/{toggle-group-SyHMwO90.cjs → toggle-group-BZIW4wJp.cjs} +1 -1
- package/dist/{toggle-group-DE8BPZih.js → toggle-group-LaZmOMx_.js} +7 -7
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tooltip-DZqn4wKl.js +23 -0
- package/dist/tooltip-faf1dIXp.cjs +1 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-view-CyeJR7cW.js → tree-view-DRmm6oL6.js} +23 -23
- package/dist/tree-view-DVQyRQDg.cjs +1 -0
- package/dist/tree-view.cjs +1 -1
- package/dist/tree-view.js +1 -1
- package/dist/visually-hidden-BQMRYGxP.js +14 -0
- package/dist/visually-hidden-DzxxOswl.cjs +1 -0
- package/dist/visually-hidden.cjs +1 -0
- package/dist/visually-hidden.d.ts +1 -0
- package/dist/visually-hidden.js +5 -0
- package/package.json +8 -8
- package/skills/eluan/DESIGN.md +409 -0
- package/skills/eluan/SKILL.md +166 -0
- package/skills/eluan/components/accordion.md +212 -0
- package/skills/eluan/components/action-popover.md +266 -0
- package/skills/eluan/components/aspect-ratio.md +169 -0
- package/skills/eluan/components/avatar.md +277 -0
- package/skills/eluan/components/badge.md +190 -0
- package/skills/eluan/components/banner.md +247 -0
- package/skills/eluan/components/box.md +166 -0
- package/skills/eluan/components/breadcrumb.md +240 -0
- package/skills/eluan/components/button.md +214 -0
- package/skills/eluan/components/calendar.md +192 -0
- package/skills/eluan/components/card.md +270 -0
- package/skills/eluan/components/carousel.md +274 -0
- package/skills/eluan/components/checkbox-group.md +228 -0
- package/skills/eluan/components/checkbox.md +226 -0
- package/skills/eluan/components/code-block.md +193 -0
- package/skills/eluan/components/collapsible.md +240 -0
- package/skills/eluan/components/command.md +359 -0
- package/skills/eluan/components/context-menu.md +296 -0
- package/skills/eluan/components/credit-card-input.md +217 -0
- package/skills/eluan/components/date-picker.md +255 -0
- package/skills/eluan/components/date-time-picker.md +196 -0
- package/skills/eluan/components/decimal-input.md +232 -0
- package/skills/eluan/components/dialog.md +322 -0
- package/skills/eluan/components/drawer.md +292 -0
- package/skills/eluan/components/dropdown-menu.md +450 -0
- package/skills/eluan/components/email-input.md +200 -0
- package/skills/eluan/components/fieldset.md +219 -0
- package/skills/eluan/components/file-input.md +249 -0
- package/skills/eluan/components/footer.md +290 -0
- package/skills/eluan/components/form-label.md +254 -0
- package/skills/eluan/components/grid.md +192 -0
- package/skills/eluan/components/header.md +242 -0
- package/skills/eluan/components/hover-card.md +215 -0
- package/skills/eluan/components/icon.md +161 -0
- package/skills/eluan/components/input-otp.md +227 -0
- package/skills/eluan/components/input.md +249 -0
- package/skills/eluan/components/kbd.md +216 -0
- package/skills/eluan/components/media.md +244 -0
- package/skills/eluan/components/menubar.md +300 -0
- package/skills/eluan/components/multi-select.md +221 -0
- package/skills/eluan/components/navigation-drawer.md +297 -0
- package/skills/eluan/components/navigation-menu.md +291 -0
- package/skills/eluan/components/number-input.md +190 -0
- package/skills/eluan/components/pagination.md +262 -0
- package/skills/eluan/components/password-input.md +218 -0
- package/skills/eluan/components/phone-input.md +205 -0
- package/skills/eluan/components/popover.md +250 -0
- package/skills/eluan/components/progress.md +185 -0
- package/skills/eluan/components/radio-group.md +232 -0
- package/skills/eluan/components/rich-text.md +195 -0
- package/skills/eluan/components/row.md +174 -0
- package/skills/eluan/components/scroll-area.md +203 -0
- package/skills/eluan/components/search-input.md +281 -0
- package/skills/eluan/components/segmented-control.md +201 -0
- package/skills/eluan/components/select.md +296 -0
- package/skills/eluan/components/separator.md +179 -0
- package/skills/eluan/components/sheet.md +326 -0
- package/skills/eluan/components/skeleton.md +202 -0
- package/skills/eluan/components/slider.md +195 -0
- package/skills/eluan/components/spinner.md +187 -0
- package/skills/eluan/components/stack.md +158 -0
- package/skills/eluan/components/stepper.md +236 -0
- package/skills/eluan/components/switch.md +218 -0
- package/skills/eluan/components/table.md +348 -0
- package/skills/eluan/components/tabs.md +277 -0
- package/skills/eluan/components/textarea.md +202 -0
- package/skills/eluan/components/time-input.md +181 -0
- package/skills/eluan/components/toast.md +251 -0
- package/skills/eluan/components/toggle-group.md +241 -0
- package/skills/eluan/components/toggle.md +198 -0
- package/skills/eluan/components/tooltip.md +222 -0
- package/skills/eluan/components/tree-view.md +213 -0
- package/skills/eluan/components/typography.md +207 -0
- package/skills/eluan/components/visually-hidden.md +132 -0
- package/skills/eluan/foundations/colour.md +252 -0
- package/skills/eluan/foundations/elevation.md +57 -0
- package/skills/eluan/foundations/iconography.md +70 -0
- package/skills/eluan/foundations/motion.md +60 -0
- package/skills/eluan/foundations/radius.md +61 -0
- package/skills/eluan/foundations/spacing.md +98 -0
- package/skills/eluan/foundations/theming.md +197 -0
- package/skills/eluan/foundations/typography.md +163 -0
- package/skills/eluan/patterns/empty-states.md +84 -0
- package/skills/eluan/patterns/feedback.md +95 -0
- package/skills/eluan/patterns/forms.md +138 -0
- package/skills/eluan/patterns/navigation.md +95 -0
- package/skills/eluan/patterns/page-layout.md +101 -0
- package/dist/button-Ny6OF8Un.cjs +0 -1
- package/dist/decimal-input-BLmifKF2.cjs +0 -1
- package/dist/dialog-DWYtFhZl.cjs +0 -1
- package/dist/hover-card-BN7Ew2Y1.js +0 -16
- package/dist/hover-card-Dft-08Ha.cjs +0 -1
- package/dist/input-otp-DcZ7wyjs.cjs +0 -1
- package/dist/multi-select-DPoOHWSC.js +0 -74
- package/dist/multi-select-fX5FXYEY.cjs +0 -1
- package/dist/navigation-drawer-BbeDYPhu.js +0 -171
- package/dist/navigation-drawer-DOOHfbY3.cjs +0 -1
- package/dist/progress-DpQjGEyn.cjs +0 -1
- package/dist/select-1Eb3NSrR.cjs +0 -1
- package/dist/sheet-7NP1LuHy.cjs +0 -1
- package/dist/time-input-DR2snTgB.cjs +0 -1
- package/dist/tooltip-BlCQKhUE.js +0 -18
- package/dist/tooltip-Cyu7fWYZ.cjs +0 -1
- package/dist/tree-view-CNvEc1TT.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";const e=require("react/jsx-runtime"),O=require("react"),R=require("@radix-ui/react-collapsible"),d=require("lucide-react"),E=require("./use-controllable-state-D1HvlFwL.cjs");function w(s){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const a in s)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(s,a);Object.defineProperty(i,a,n.get?n:{enumerable:!0,get:()=>s[a]})}}return i.default=s,Object.freeze(i)}const p=w(O),m=w(R),j=s=>p.isValidElement(s)?p.cloneElement(s,{width:"100%",height:"100%"}):s,g=p.forwardRef(({data:s,selectedId:i,onSelect:a,expandedIds:n,onExpandChange:b,showIcons:f=!0,indentSize:v,...y},N)=>{const[t,q]=E.useControllableState({value:n,defaultValue:[],onChange:b}),z=x=>{const l=t.includes(x)?t.filter(c=>c!==x):[...t,x];q(l)},h=x=>v===void 0?`calc(var(--spacing-sm) + ${x} * (var(--size-xxs) + var(--spacing-sm)))`:`${x*v+8}px`,o=(x,l=0)=>{var k;const c=x.children&&x.children.length>0,u=t.includes(x.id),r=i===x.id;return c?e.jsxs(m.Root,{open:u,onOpenChange:()=>z(x.id),children:[e.jsx(m.Trigger,{asChild:!0,children:e.jsxs("button",{type:"button",role:"treeitem","aria-selected":r,onClick:()=>a==null?void 0:a(x),...{0:{className:"x6s0dn4 xjbqb8w xc342km x1brvnfc x1sjp1m2 x78zum5 x1eqnyfr xpfqfdi x136oad8 x2sdl3f xdpxx8g xh8yej3 x3wwfir xhlp2gg x3uv6rr"},1:{className:"x6s0dn4 xc342km x1brvnfc x78zum5 x1eqnyfr xpfqfdi x136oad8 x2sdl3f xdpxx8g xh8yej3 xhlp2gg x3uv6rr x11tn5dx x1vmo3ik x1kyhy32 x1smxmku"}}[!!r<<0],style:{paddingLeft:h(l)},children:[e.jsx(d.ChevronRight,{"aria-hidden":"true",...{0:{className:"x1uuraw0 x2lah0s xkive58 xx6bhzk x11xpdln xwwtwea x1vfp87d"},2:{className:"x1uuraw0 x2lah0s xkive58 xx6bhzk x11xpdln xwwtwea x1vfp87d x1iffjtl"},1:{className:"x2lah0s xkive58 xx6bhzk x11xpdln xwwtwea x1vfp87d x1vmo3ik"},3:{className:"x2lah0s xkive58 xx6bhzk x11xpdln xwwtwea x1vfp87d x1iffjtl x1vmo3ik"}}[!!u<<1|!!r<<0]}),f&&e.jsx("span",{"aria-hidden":"true",...{0:{className:"x6s0dn4 x1uuraw0 x78zum5 x2lah0s xkive58 xl56j7k x1vfp87d"},1:{className:"x6s0dn4 x78zum5 x2lah0s xkive58 xl56j7k x1vfp87d x1vmo3ik"}}[!!r<<0],children:x.icon?j(x.icon):u?e.jsx(d.FolderOpen,{className:"xkive58 x1vfp87d"}):e.jsx(d.Folder,{className:"xkive58 x1vfp87d"})}),e.jsx("span",{className:"xb3r6kr xlyipyv xuxw1ft",children:x.name})]})}),e.jsx(m.Content,{role:"group",className:"xb3r6kr xet0cvl x6yri12 x1xr4hqw xflzlwb x1jygj85 x178qi7 x188oluv xxc4wsx",children:(k=x.children)==null?void 0:k.map(C=>o(C,l+1))})]},x.id):e.jsxs("button",{type:"button",role:"treeitem","aria-selected":r,onClick:()=>a==null?void 0:a(x),...{0:{className:"x6s0dn4 xjbqb8w xc342km x1brvnfc x1sjp1m2 x78zum5 x1eqnyfr xpfqfdi x136oad8 x2sdl3f xdpxx8g xh8yej3 x3wwfir xhlp2gg x3uv6rr"},1:{className:"x6s0dn4 xc342km x1brvnfc x78zum5 x1eqnyfr xpfqfdi x136oad8 x2sdl3f xdpxx8g xh8yej3 xhlp2gg x3uv6rr x11tn5dx x1vmo3ik x1kyhy32 x1smxmku"}}[!!r<<0],style:{paddingLeft:h(l)},children:[e.jsx("span",{"aria-hidden":"true",className:"x2lah0s xkive58 x1vfp87d"}),f&&e.jsx("span",{"aria-hidden":"true",...{0:{className:"x6s0dn4 x1uuraw0 x78zum5 x2lah0s xkive58 xl56j7k x1vfp87d"},1:{className:"x6s0dn4 x78zum5 x2lah0s xkive58 xl56j7k x1vfp87d x1vmo3ik"}}[!!r<<0],children:x.icon?j(x.icon):e.jsx(d.File,{className:"xkive58 x1vfp87d"})}),e.jsx("span",{className:"xb3r6kr xlyipyv xuxw1ft",children:x.name})]},x.id)};return e.jsx("div",{ref:N,role:"tree",...y,className:"x78zum5 xdt5ytf x1o29ju6",children:s.map(x=>o(x))})});g.displayName="TreeView";exports.TreeView=g;
|
package/dist/tree-view.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./tree-view-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./tree-view-DVQyRQDg.cjs");exports.TreeView=e.TreeView;
|
package/dist/tree-view.js
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import * as m from "react";
|
|
4
|
+
import { Slot as x } from "@radix-ui/react-slot";
|
|
5
|
+
import { w as a } from "./layout-shared-B_1iX4Hj.js";
|
|
6
|
+
const l = m.forwardRef(({
|
|
7
|
+
as: o = "span",
|
|
8
|
+
asChild: r = !1,
|
|
9
|
+
...t
|
|
10
|
+
}, s) => /* @__PURE__ */ i(r ? x : o, { ref: s, ...a(t), className: "xc342km xzpqnlu x1hyvwdk xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s" }));
|
|
11
|
+
l.displayName = "VisuallyHidden";
|
|
12
|
+
export {
|
|
13
|
+
l as V
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";const c=require("react/jsx-runtime"),i=require("react"),u=require("@radix-ui/react-slot"),l=require("./layout-shared-CsBZcT4V.cjs");function o(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const d=o(i),s=d.forwardRef(({as:e="span",asChild:r=!1,...t},n)=>{const a=r?u.Slot:e;return c.jsx(a,{ref:n,...l.withoutStyling(t),className:"xc342km xzpqnlu x1hyvwdk xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s"})});s.displayName="VisuallyHidden";exports.VisuallyHidden=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./visually-hidden-DzxxOswl.cjs");exports.VisuallyHidden=e.VisuallyHidden;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./components/visually-hidden";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eluan/core",
|
|
3
3
|
"description": "Accessible UI components for React — built on Radix UI, StyleX, and Eluan tokens",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Frolda",
|
|
7
7
|
"homepage": "https://github.com/vasfio/eluan#readme",
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"files": [
|
|
45
|
-
"dist"
|
|
45
|
+
"dist",
|
|
46
|
+
"skills"
|
|
46
47
|
],
|
|
47
48
|
"sideEffects": [
|
|
48
49
|
"**/*.css"
|
|
@@ -91,7 +92,7 @@
|
|
|
91
92
|
"prismjs": "^1.30.0",
|
|
92
93
|
"react-day-picker": "^9.13.0",
|
|
93
94
|
"sonner": "^2.0.7",
|
|
94
|
-
"@eluan/tokens": "^0.
|
|
95
|
+
"@eluan/tokens": "^0.5.0"
|
|
95
96
|
},
|
|
96
97
|
"devDependencies": {
|
|
97
98
|
"@storybook/addon-actions": "^8.1.10",
|
|
@@ -111,14 +112,13 @@
|
|
|
111
112
|
"@types/react": "^18.3.3",
|
|
112
113
|
"@types/react-dom": "^18.3.0",
|
|
113
114
|
"@vitejs/plugin-react": "^4.3.1",
|
|
114
|
-
"@vitest/coverage-v8": "4.
|
|
115
|
-
"happy-dom": "^
|
|
115
|
+
"@vitest/coverage-v8": "4.1.12",
|
|
116
|
+
"happy-dom": "^21.0.4",
|
|
116
117
|
"storybook": "^8.1.10",
|
|
117
118
|
"typescript": "^5.4.5",
|
|
118
119
|
"unplugin": "^2.3.11",
|
|
119
|
-
"vite": "^6.4.
|
|
120
|
-
"
|
|
121
|
-
"vitest": "3.2.6"
|
|
120
|
+
"vite": "^6.4.4",
|
|
121
|
+
"vitest": "4.1.12"
|
|
122
122
|
},
|
|
123
123
|
"scripts": {
|
|
124
124
|
"dev": "vite build --watch",
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Eluan (minimal)
|
|
3
|
+
description: "Design tokens for apps built with @eluan/core. Token names are the CSS custom properties without the leading dashes."
|
|
4
|
+
source: "the built-in minimal theme, with @eluan/tokens 0.4.0"
|
|
5
|
+
defaults:
|
|
6
|
+
mode: light
|
|
7
|
+
spacing: standard
|
|
8
|
+
curves: slight
|
|
9
|
+
typeset: fluid
|
|
10
|
+
colors:
|
|
11
|
+
light:
|
|
12
|
+
container-bg: oklch(1.0000 0.0000 0.00)
|
|
13
|
+
container-bg-alt: oklch(0.9702 0.0000 0.00)
|
|
14
|
+
container-bg-inverse: oklch(0.2686 0.0000 0.00)
|
|
15
|
+
container-border: oklch(0.9219 0.0000 0.00)
|
|
16
|
+
container-border-alt: oklch(0.8699 0.0000 0.00)
|
|
17
|
+
container-border-inverse: oklch(0.4386 0.0000 0.00)
|
|
18
|
+
container-fg: oklch(0.1448 0.0000 0.00)
|
|
19
|
+
container-fg-alt: oklch(0.2686 0.0000 0.00)
|
|
20
|
+
container-fg-inverse: oklch(1.0000 0.0000 0.00)
|
|
21
|
+
interactive-bg: oklch(1.0000 0.0000 0.00)
|
|
22
|
+
interactive-bg-alt: oklch(0.9702 0.0000 0.00)
|
|
23
|
+
interactive-bg-alt2: oklch(0.9702 0.0000 0.00)
|
|
24
|
+
interactive-bg-disabled: oklch(0.9219 0.0000 0.00)
|
|
25
|
+
interactive-bg-hover: oklch(0.9219 0.0000 0.00)
|
|
26
|
+
interactive-bg-active: oklch(0.1448 0.0000 0.00)
|
|
27
|
+
interactive-bg-selected: oklch(0.1448 0.0000 0.00)
|
|
28
|
+
interactive-bg-inverse: oklch(0.1448 0.0000 0.00)
|
|
29
|
+
interactive-border: oklch(0.9219 0.0000 0.00)
|
|
30
|
+
interactive-border-alt: oklch(0.8699 0.0000 0.00)
|
|
31
|
+
interactive-border-disabled: oklch(0.8699 0.0000 0.00)
|
|
32
|
+
interactive-fg: oklch(0.1448 0.0000 0.00)
|
|
33
|
+
interactive-fg-alt: oklch(0.4386 0.0000 0.00)
|
|
34
|
+
interactive-fg-readonly: oklch(0.2686 0.0000 0.00)
|
|
35
|
+
interactive-fg-disabled: oklch(0.7090 0.0000 0.00)
|
|
36
|
+
interactive-fg-active: oklch(1.0000 0.0000 0.00)
|
|
37
|
+
interactive-fg-selected: oklch(1.0000 0.0000 0.00)
|
|
38
|
+
interactive-fg-inverse: oklch(1.0000 0.0000 0.00)
|
|
39
|
+
action-primary-bg: oklch(0.1448 0.0000 0.00)
|
|
40
|
+
action-primary-bg-hover: oklch(0.4386 0.0000 0.00)
|
|
41
|
+
action-primary-bg-active: oklch(0.2686 0.0000 0.00)
|
|
42
|
+
action-primary-bg-selected: oklch(0.2686 0.0000 0.00)
|
|
43
|
+
action-primary-bg-disabled: oklch(0.7090 0.0000 0.00)
|
|
44
|
+
action-primary-bg-inverse: oklch(1.0000 0.0000 0.00)
|
|
45
|
+
action-primary-fg: oklch(1.0000 0.0000 0.00)
|
|
46
|
+
action-primary-fg-disabled: oklch(0.8699 0.0000 0.00)
|
|
47
|
+
action-primary-fg-active: oklch(1.0000 0.0000 0.00)
|
|
48
|
+
action-primary-fg-selected: oklch(1.0000 0.0000 0.00)
|
|
49
|
+
action-primary-fg-inverse: oklch(0.1448 0.0000 0.00)
|
|
50
|
+
action-secondary-bg-hover: oklch(0.9219 0.0000 0.00)
|
|
51
|
+
action-secondary-bg-active: oklch(0.1448 0.0000 0.00)
|
|
52
|
+
action-secondary-bg-selected: oklch(0.1448 0.0000 0.00)
|
|
53
|
+
action-secondary-bg-disabled: oklch(0.9219 0.0000 0.00)
|
|
54
|
+
action-secondary-border: oklch(0.1448 0.0000 0.00)
|
|
55
|
+
action-secondary-border-alt: oklch(0.3715 0.0000 0.00)
|
|
56
|
+
action-secondary-border-disabled: oklch(0.9702 0.0000 0.00)
|
|
57
|
+
action-secondary-border-inverse: oklch(0.9702 0.0000 0.00)
|
|
58
|
+
action-secondary-fg-alt: oklch(0.1448 0.0000 0.00)
|
|
59
|
+
action-secondary-fg-disabled: oklch(0.7090 0.0000 0.00)
|
|
60
|
+
action-secondary-fg-active: oklch(1.0000 0.0000 0.00)
|
|
61
|
+
action-secondary-fg-selected: oklch(1.0000 0.0000 0.00)
|
|
62
|
+
action-secondary-fg-inverse: oklch(0.1448 0.0000 0.00)
|
|
63
|
+
action-secondary-fg: oklch(0.1448 0.0000 0.00)
|
|
64
|
+
action-tertiary-bg: oklch(1.0000 0.0000 0.00)
|
|
65
|
+
action-tertiary-bg-alt: oklch(0.9702 0.0000 0.00)
|
|
66
|
+
action-tertiary-bg-hover: oklch(0.9702 0.0000 0.00)
|
|
67
|
+
action-tertiary-bg-active: oklch(0.9702 0.0000 0.00)
|
|
68
|
+
action-tertiary-bg-selected: oklch(0.9702 0.0000 0.00)
|
|
69
|
+
action-tertiary-bg-disabled: oklch(1.0000 0.0000 0.00)
|
|
70
|
+
action-tertiary-bg-inverse: oklch(1.0000 0.0000 0.00)
|
|
71
|
+
action-tertiary-border: oklch(0.8699 0.0000 0.00)
|
|
72
|
+
action-tertiary-border-alt: oklch(0.9702 0.0000 0.00)
|
|
73
|
+
action-tertiary-border-disabled: oklch(0.8699 0.0000 0.00)
|
|
74
|
+
action-tertiary-border-inverse: oklch(0.9702 0.0000 0.00)
|
|
75
|
+
action-tertiary-fg-alt: oklch(0.1448 0.0000 0.00)
|
|
76
|
+
action-tertiary-fg-disabled: oklch(0.7090 0.0000 0.00)
|
|
77
|
+
action-tertiary-fg-active: oklch(0.3715 0.0000 0.00)
|
|
78
|
+
action-tertiary-fg-selected: oklch(0.3715 0.0000 0.00)
|
|
79
|
+
action-tertiary-fg-inverse: oklch(1.0000 0.0000 0.00)
|
|
80
|
+
action-tertiary-fg: oklch(0.1448 0.0000 0.00)
|
|
81
|
+
action-neutral-bg: oklch(0.9219 0.0000 0.00)
|
|
82
|
+
action-neutral-bg-hover: oklch(0.8699 0.0000 0.00)
|
|
83
|
+
action-neutral-fg: oklch(0.1448 0.0000 0.00)
|
|
84
|
+
destructive-bg: oklch(0.9691 0.0151 17.42)
|
|
85
|
+
destructive-bg-alt: oklch(0.9322 0.0343 17.78)
|
|
86
|
+
destructive-bg-hover: oklch(0.9322 0.0343 17.78)
|
|
87
|
+
destructive-bg-active: oklch(0.4695 0.1927 29.23)
|
|
88
|
+
destructive-bg-selected: oklch(0.4695 0.1927 29.23)
|
|
89
|
+
destructive-bg-disabled: oklch(0.9219 0.0000 0.00)
|
|
90
|
+
destructive-bg-inverse: oklch(0.4695 0.1927 29.23)
|
|
91
|
+
destructive-border: oklch(0.6280 0.2577 29.23)
|
|
92
|
+
destructive-border-alt: oklch(0.4695 0.1927 29.23)
|
|
93
|
+
destructive-border-disabled: oklch(0.9322 0.0343 17.78)
|
|
94
|
+
destructive-border-inverse: oklch(0.9691 0.0151 17.42)
|
|
95
|
+
destructive-fg: oklch(0.5444 0.2234 29.23)
|
|
96
|
+
destructive-fg-alt: oklch(0.1448 0.0000 0.00)
|
|
97
|
+
destructive-fg-disabled: oklch(0.7090 0.0000 0.00)
|
|
98
|
+
destructive-fg-active: oklch(1.0000 0.0000 0.00)
|
|
99
|
+
destructive-fg-selected: oklch(1.0000 0.0000 0.00)
|
|
100
|
+
destructive-fg-inverse: oklch(0.9691 0.0151 17.42)
|
|
101
|
+
cautionary-bg: oklch(0.9852 0.0151 90.23)
|
|
102
|
+
cautionary-bg-alt: oklch(0.9601 0.0401 88.20)
|
|
103
|
+
cautionary-bg-inverse: oklch(0.4724 0.1071 42.23)
|
|
104
|
+
cautionary-border: oklch(0.7516 0.1455 61.95)
|
|
105
|
+
cautionary-border-alt: oklch(0.4724 0.1071 42.23)
|
|
106
|
+
cautionary-border-inverse: oklch(0.9852 0.0151 90.23)
|
|
107
|
+
cautionary-fg: oklch(0.5534 0.1277 44.34)
|
|
108
|
+
cautionary-fg-alt: oklch(0.1448 0.0000 0.00)
|
|
109
|
+
cautionary-fg-inverse: oklch(0.9852 0.0151 90.23)
|
|
110
|
+
positive-bg: oklch(0.9796 0.0247 164.47)
|
|
111
|
+
positive-bg-alt: oklch(0.9488 0.0579 162.90)
|
|
112
|
+
positive-bg-inverse: oklch(0.4389 0.0946 163.18)
|
|
113
|
+
positive-border: oklch(0.7780 0.1777 159.41)
|
|
114
|
+
positive-border-alt: oklch(0.4389 0.0946 163.18)
|
|
115
|
+
positive-border-inverse: oklch(0.9796 0.0247 164.47)
|
|
116
|
+
positive-fg: oklch(0.5180 0.1144 161.56)
|
|
117
|
+
positive-fg-alt: oklch(0.1448 0.0000 0.00)
|
|
118
|
+
positive-fg-inverse: oklch(0.9796 0.0247 164.47)
|
|
119
|
+
informative-bg: oklch(0.9705 0.0142 254.60)
|
|
120
|
+
informative-bg-alt: oklch(0.9322 0.0328 256.76)
|
|
121
|
+
informative-bg-inverse: oklch(0.4225 0.2126 267.93)
|
|
122
|
+
informative-border: oklch(0.6102 0.2112 261.20)
|
|
123
|
+
informative-border-alt: oklch(0.4225 0.2126 267.93)
|
|
124
|
+
informative-border-inverse: oklch(0.9705 0.0142 254.60)
|
|
125
|
+
informative-fg: oklch(0.4867 0.2603 266.61)
|
|
126
|
+
informative-fg-alt: oklch(0.1448 0.0000 0.00)
|
|
127
|
+
informative-fg-inverse: oklch(0.9705 0.0142 254.60)
|
|
128
|
+
important-bg: oklch(0.9761 0.0139 304.14)
|
|
129
|
+
important-bg-alt: oklch(0.9453 0.0311 306.20)
|
|
130
|
+
important-bg-inverse: oklch(0.4379 0.2047 302.40)
|
|
131
|
+
important-border: oklch(0.6255 0.2466 302.49)
|
|
132
|
+
important-border-alt: oklch(0.4379 0.2047 302.40)
|
|
133
|
+
important-border-inverse: oklch(0.9761 0.0139 304.14)
|
|
134
|
+
important-fg: oklch(0.4955 0.2482 300.40)
|
|
135
|
+
important-fg-alt: oklch(0.1448 0.0000 0.00)
|
|
136
|
+
important-fg-inverse: oklch(0.9761 0.0139 304.14)
|
|
137
|
+
tooltip-bg: oklch(1.0000 0.0000 0.00)
|
|
138
|
+
overlay-bg: oklch(0.1448 0.0000 0.00)
|
|
139
|
+
focus-ring: oklch(0.5555 0.0000 0.00)
|
|
140
|
+
dataviz-1-main: oklch(0.6717 0.2205 37.86)
|
|
141
|
+
dataviz-1-tint: oklch(0.9479 0.0381 69.88)
|
|
142
|
+
dataviz-1-shade: oklch(0.4663 0.1768 31.99)
|
|
143
|
+
dataviz-2-main: oklch(0.6102 0.2112 261.20)
|
|
144
|
+
dataviz-2-tint: oklch(0.9322 0.0328 256.76)
|
|
145
|
+
dataviz-2-shade: oklch(0.4225 0.2126 267.93)
|
|
146
|
+
dataviz-3-main: oklch(0.7780 0.1777 159.41)
|
|
147
|
+
dataviz-3-tint: oklch(0.9488 0.0579 162.90)
|
|
148
|
+
dataviz-3-shade: oklch(0.4389 0.0946 163.18)
|
|
149
|
+
dataviz-4-main: oklch(0.6255 0.2466 302.49)
|
|
150
|
+
dataviz-4-tint: oklch(0.9453 0.0311 306.20)
|
|
151
|
+
dataviz-4-shade: oklch(0.4379 0.2047 302.40)
|
|
152
|
+
dataviz-5-main: oklch(0.7516 0.1455 61.95)
|
|
153
|
+
dataviz-5-tint: oklch(0.9601 0.0401 88.20)
|
|
154
|
+
dataviz-5-shade: oklch(0.4724 0.1071 42.23)
|
|
155
|
+
dataviz-6-main: oklch(0.6521 0.2154 2.21)
|
|
156
|
+
dataviz-6-tint: oklch(0.9470 0.0251 352.47)
|
|
157
|
+
dataviz-6-shade: oklch(0.4577 0.1664 8.23)
|
|
158
|
+
dataviz-7-main: oklch(0.8485 0.2093 123.47)
|
|
159
|
+
dataviz-7-tint: oklch(0.9681 0.0792 116.21)
|
|
160
|
+
dataviz-7-shade: oklch(0.4593 0.1121 122.51)
|
|
161
|
+
dataviz-8-main: oklch(0.6823 0.1723 245.16)
|
|
162
|
+
dataviz-8-tint: oklch(0.9483 0.0276 239.65)
|
|
163
|
+
dataviz-8-shade: oklch(0.4439 0.1218 248.78)
|
|
164
|
+
dark:
|
|
165
|
+
container-bg: oklch(0.2686 0.0000 0.00)
|
|
166
|
+
container-bg-alt: oklch(0.2046 0.0000 0.00)
|
|
167
|
+
container-bg-inverse: oklch(0.9702 0.0000 0.00)
|
|
168
|
+
container-border: oklch(0.1448 0.0000 0.00)
|
|
169
|
+
container-border-alt: oklch(0.3715 0.0000 0.00)
|
|
170
|
+
container-border-inverse: oklch(0.9219 0.0000 0.00)
|
|
171
|
+
container-fg: oklch(1.0000 0.0000 0.00)
|
|
172
|
+
container-fg-alt: oklch(0.9702 0.0000 0.00)
|
|
173
|
+
container-fg-inverse: oklch(0.2686 0.0000 0.00)
|
|
174
|
+
interactive-bg: oklch(0.2686 0.0000 0.00)
|
|
175
|
+
interactive-bg-alt: oklch(0.2046 0.0000 0.00)
|
|
176
|
+
interactive-bg-alt2: oklch(0.2046 0.0000 0.00)
|
|
177
|
+
interactive-bg-disabled: oklch(0.1448 0.0000 0.00)
|
|
178
|
+
interactive-bg-hover: oklch(0.1448 0.0000 0.00)
|
|
179
|
+
interactive-bg-active: oklch(1.0000 0.0000 0.00)
|
|
180
|
+
interactive-bg-selected: oklch(1.0000 0.0000 0.00)
|
|
181
|
+
interactive-bg-inverse: oklch(1.0000 0.0000 0.00)
|
|
182
|
+
interactive-border: oklch(0.1448 0.0000 0.00)
|
|
183
|
+
interactive-border-alt: oklch(0.3715 0.0000 0.00)
|
|
184
|
+
interactive-border-disabled: oklch(0.3715 0.0000 0.00)
|
|
185
|
+
interactive-fg: oklch(1.0000 0.0000 0.00)
|
|
186
|
+
interactive-fg-alt: oklch(0.9219 0.0000 0.00)
|
|
187
|
+
interactive-fg-readonly: oklch(0.9702 0.0000 0.00)
|
|
188
|
+
interactive-fg-disabled: oklch(0.7090 0.0000 0.00)
|
|
189
|
+
interactive-fg-active: oklch(0.2686 0.0000 0.00)
|
|
190
|
+
interactive-fg-selected: oklch(0.2686 0.0000 0.00)
|
|
191
|
+
interactive-fg-inverse: oklch(0.2686 0.0000 0.00)
|
|
192
|
+
action-primary-bg: oklch(1.0000 0.0000 0.00)
|
|
193
|
+
action-primary-bg-hover: oklch(0.9219 0.0000 0.00)
|
|
194
|
+
action-primary-bg-active: oklch(0.9702 0.0000 0.00)
|
|
195
|
+
action-primary-bg-selected: oklch(0.9702 0.0000 0.00)
|
|
196
|
+
action-primary-bg-disabled: oklch(0.7090 0.0000 0.00)
|
|
197
|
+
action-primary-bg-inverse: oklch(0.2686 0.0000 0.00)
|
|
198
|
+
action-primary-fg: oklch(0.2686 0.0000 0.00)
|
|
199
|
+
action-primary-fg-disabled: oklch(0.3715 0.0000 0.00)
|
|
200
|
+
action-primary-fg-active: oklch(0.2686 0.0000 0.00)
|
|
201
|
+
action-primary-fg-selected: oklch(0.2686 0.0000 0.00)
|
|
202
|
+
action-primary-fg-inverse: oklch(1.0000 0.0000 0.00)
|
|
203
|
+
action-secondary-bg-hover: oklch(0.1448 0.0000 0.00)
|
|
204
|
+
action-secondary-bg-active: oklch(0.9851 0.0000 0.00)
|
|
205
|
+
action-secondary-bg-selected: oklch(0.9851 0.0000 0.00)
|
|
206
|
+
action-secondary-bg-disabled: oklch(0.1448 0.0000 0.00)
|
|
207
|
+
action-secondary-border: oklch(0.9851 0.0000 0.00)
|
|
208
|
+
action-secondary-border-alt: oklch(0.9702 0.0000 0.00)
|
|
209
|
+
action-secondary-border-disabled: oklch(0.3715 0.0000 0.00)
|
|
210
|
+
action-secondary-border-inverse: oklch(0.2046 0.0000 0.00)
|
|
211
|
+
action-secondary-fg-alt: oklch(1.0000 0.0000 0.00)
|
|
212
|
+
action-secondary-fg-disabled: oklch(0.7090 0.0000 0.00)
|
|
213
|
+
action-secondary-fg-active: oklch(0.2686 0.0000 0.00)
|
|
214
|
+
action-secondary-fg-selected: oklch(0.2686 0.0000 0.00)
|
|
215
|
+
action-secondary-fg-inverse: oklch(1.0000 0.0000 0.00)
|
|
216
|
+
action-secondary-fg: oklch(0.9851 0.0000 0.00)
|
|
217
|
+
action-tertiary-bg: oklch(0.2686 0.0000 0.00)
|
|
218
|
+
action-tertiary-bg-alt: oklch(0.2046 0.0000 0.00)
|
|
219
|
+
action-tertiary-bg-hover: oklch(0.2046 0.0000 0.00)
|
|
220
|
+
action-tertiary-bg-active: oklch(0.3715 0.0000 0.00)
|
|
221
|
+
action-tertiary-bg-selected: oklch(0.3715 0.0000 0.00)
|
|
222
|
+
action-tertiary-bg-disabled: oklch(0.2686 0.0000 0.00)
|
|
223
|
+
action-tertiary-bg-inverse: oklch(0.2686 0.0000 0.00)
|
|
224
|
+
action-tertiary-border: oklch(0.3715 0.0000 0.00)
|
|
225
|
+
action-tertiary-border-alt: oklch(0.3715 0.0000 0.00)
|
|
226
|
+
action-tertiary-border-disabled: oklch(0.3715 0.0000 0.00)
|
|
227
|
+
action-tertiary-border-inverse: oklch(0.2046 0.0000 0.00)
|
|
228
|
+
action-tertiary-fg-alt: oklch(1.0000 0.0000 0.00)
|
|
229
|
+
action-tertiary-fg-disabled: oklch(0.7090 0.0000 0.00)
|
|
230
|
+
action-tertiary-fg-active: oklch(0.9702 0.0000 0.00)
|
|
231
|
+
action-tertiary-fg-selected: oklch(0.9702 0.0000 0.00)
|
|
232
|
+
action-tertiary-fg-inverse: oklch(0.2686 0.0000 0.00)
|
|
233
|
+
action-tertiary-fg: oklch(0.9851 0.0000 0.00)
|
|
234
|
+
action-neutral-bg: oklch(0.1448 0.0000 0.00)
|
|
235
|
+
action-neutral-bg-hover: oklch(0.3715 0.0000 0.00)
|
|
236
|
+
action-neutral-fg: oklch(1.0000 0.0000 0.00)
|
|
237
|
+
destructive-bg: oklch(0.2639 0.1083 29.23)
|
|
238
|
+
destructive-bg-alt: oklch(0.4062 0.1665 28.83)
|
|
239
|
+
destructive-bg-hover: oklch(0.4062 0.1665 28.83)
|
|
240
|
+
destructive-bg-active: oklch(0.8751 0.0665 18.51)
|
|
241
|
+
destructive-bg-selected: oklch(0.8751 0.0665 18.51)
|
|
242
|
+
destructive-bg-disabled: oklch(0.1448 0.0000 0.00)
|
|
243
|
+
destructive-bg-inverse: oklch(0.8751 0.0665 18.51)
|
|
244
|
+
destructive-border: oklch(0.6695 0.2182 21.71)
|
|
245
|
+
destructive-border-alt: oklch(0.8751 0.0665 18.51)
|
|
246
|
+
destructive-border-disabled: oklch(0.4062 0.1665 28.83)
|
|
247
|
+
destructive-border-inverse: oklch(0.2639 0.1083 29.23)
|
|
248
|
+
destructive-fg: oklch(0.9691 0.0151 17.42)
|
|
249
|
+
destructive-fg-alt: oklch(1.0000 0.0000 0.00)
|
|
250
|
+
destructive-fg-disabled: oklch(0.7090 0.0000 0.00)
|
|
251
|
+
destructive-fg-active: oklch(0.2686 0.0000 0.00)
|
|
252
|
+
destructive-fg-selected: oklch(0.2686 0.0000 0.00)
|
|
253
|
+
destructive-fg-inverse: oklch(0.2639 0.1083 29.23)
|
|
254
|
+
cautionary-bg: oklch(0.2758 0.0580 42.34)
|
|
255
|
+
cautionary-bg-alt: oklch(0.4118 0.0860 41.58)
|
|
256
|
+
cautionary-bg-inverse: oklch(0.8686 0.1177 83.38)
|
|
257
|
+
cautionary-border: oklch(0.7516 0.1455 61.95)
|
|
258
|
+
cautionary-border-alt: oklch(0.8686 0.1177 83.38)
|
|
259
|
+
cautionary-border-inverse: oklch(0.2758 0.0580 42.34)
|
|
260
|
+
cautionary-fg: oklch(0.9852 0.0151 90.23)
|
|
261
|
+
cautionary-fg-alt: oklch(1.0000 0.0000 0.00)
|
|
262
|
+
cautionary-fg-inverse: oklch(0.2758 0.0580 42.34)
|
|
263
|
+
positive-bg: oklch(0.2646 0.0515 171.60)
|
|
264
|
+
positive-bg-alt: oklch(0.3827 0.0785 166.91)
|
|
265
|
+
positive-bg-inverse: oklch(0.9488 0.0579 162.90)
|
|
266
|
+
positive-border: oklch(0.7780 0.1777 159.41)
|
|
267
|
+
positive-border-alt: oklch(0.9488 0.0579 162.90)
|
|
268
|
+
positive-border-inverse: oklch(0.2646 0.0515 171.60)
|
|
269
|
+
positive-fg: oklch(0.9796 0.0247 164.47)
|
|
270
|
+
positive-fg-alt: oklch(1.0000 0.0000 0.00)
|
|
271
|
+
positive-fg-inverse: oklch(0.2646 0.0515 171.60)
|
|
272
|
+
informative-bg: oklch(0.2795 0.0978 270.78)
|
|
273
|
+
informative-bg-alt: oklch(0.3775 0.1564 267.71)
|
|
274
|
+
informative-bg-inverse: oklch(0.9322 0.0328 256.76)
|
|
275
|
+
informative-border: oklch(0.6102 0.2112 261.20)
|
|
276
|
+
informative-border-alt: oklch(0.9322 0.0328 256.76)
|
|
277
|
+
informative-border-inverse: oklch(0.2795 0.0978 270.78)
|
|
278
|
+
informative-fg: oklch(0.9705 0.0142 254.60)
|
|
279
|
+
informative-fg-alt: oklch(1.0000 0.0000 0.00)
|
|
280
|
+
informative-fg-inverse: oklch(0.2795 0.0978 270.78)
|
|
281
|
+
important-bg: oklch(0.2898 0.1386 301.20)
|
|
282
|
+
important-bg-alt: oklch(0.3800 0.1656 303.37)
|
|
283
|
+
important-bg-inverse: oklch(0.9453 0.0311 306.20)
|
|
284
|
+
important-border: oklch(0.7125 0.1872 304.45)
|
|
285
|
+
important-border-alt: oklch(0.9453 0.0311 306.20)
|
|
286
|
+
important-border-inverse: oklch(0.2898 0.1386 301.20)
|
|
287
|
+
important-fg: oklch(0.9761 0.0139 304.14)
|
|
288
|
+
important-fg-alt: oklch(1.0000 0.0000 0.00)
|
|
289
|
+
important-fg-inverse: oklch(0.2898 0.1386 301.20)
|
|
290
|
+
tooltip-bg: oklch(0.1448 0.0000 0.00)
|
|
291
|
+
overlay-bg: oklch(0.1448 0.0000 0.00)
|
|
292
|
+
focus-ring: oklch(0.7090 0.0000 0.00)
|
|
293
|
+
dataviz-1-main: oklch(0.6717 0.2205 37.86)
|
|
294
|
+
dataviz-1-tint: oklch(0.4063 0.1389 34.11)
|
|
295
|
+
dataviz-1-shade: oklch(0.9479 0.0381 69.88)
|
|
296
|
+
dataviz-2-main: oklch(0.6102 0.2112 261.20)
|
|
297
|
+
dataviz-2-tint: oklch(0.3775 0.1564 267.71)
|
|
298
|
+
dataviz-2-shade: oklch(0.9322 0.0328 256.76)
|
|
299
|
+
dataviz-3-main: oklch(0.7780 0.1777 159.41)
|
|
300
|
+
dataviz-3-tint: oklch(0.3827 0.0785 166.91)
|
|
301
|
+
dataviz-3-shade: oklch(0.9488 0.0579 162.90)
|
|
302
|
+
dataviz-4-main: oklch(0.7125 0.1872 304.45)
|
|
303
|
+
dataviz-4-tint: oklch(0.3800 0.1656 303.37)
|
|
304
|
+
dataviz-4-shade: oklch(0.9453 0.0311 306.20)
|
|
305
|
+
dataviz-5-main: oklch(0.7516 0.1455 61.95)
|
|
306
|
+
dataviz-5-tint: oklch(0.4118 0.0860 41.58)
|
|
307
|
+
dataviz-5-shade: oklch(0.8686 0.1177 83.38)
|
|
308
|
+
dataviz-6-main: oklch(0.6521 0.2154 2.21)
|
|
309
|
+
dataviz-6-tint: oklch(0.4086 0.1369 6.37)
|
|
310
|
+
dataviz-6-shade: oklch(0.9470 0.0251 352.47)
|
|
311
|
+
dataviz-7-main: oklch(0.8485 0.2093 123.47)
|
|
312
|
+
dataviz-7-tint: oklch(0.4073 0.0978 121.11)
|
|
313
|
+
dataviz-7-shade: oklch(0.9681 0.0792 116.21)
|
|
314
|
+
dataviz-8-main: oklch(0.6823 0.1723 245.16)
|
|
315
|
+
dataviz-8-tint: oklch(0.3898 0.1005 246.39)
|
|
316
|
+
dataviz-8-shade: oklch(0.9483 0.0276 239.65)
|
|
317
|
+
typography:
|
|
318
|
+
families:
|
|
319
|
+
heading: "\"Inter Variable\", \"Inter\", ui-sans-serif, system-ui, sans-serif"
|
|
320
|
+
body: "\"Inter Variable\", \"Inter\", ui-sans-serif, system-ui, sans-serif"
|
|
321
|
+
mono: "\"Paper Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace"
|
|
322
|
+
scale:
|
|
323
|
+
step-6:
|
|
324
|
+
size: 41.81px to 68.66px
|
|
325
|
+
lineHeight: "1.2"
|
|
326
|
+
letterSpacing: "-0.03em"
|
|
327
|
+
step-5:
|
|
328
|
+
size: 34.84px to 54.93px
|
|
329
|
+
lineHeight: "1.2"
|
|
330
|
+
letterSpacing: "-0.025em"
|
|
331
|
+
step-4:
|
|
332
|
+
size: 29.03px to 43.95px
|
|
333
|
+
lineHeight: "1.2"
|
|
334
|
+
letterSpacing: "-0.02em"
|
|
335
|
+
step-3:
|
|
336
|
+
size: 24.19px to 35.16px
|
|
337
|
+
lineHeight: "1.2"
|
|
338
|
+
letterSpacing: "-0.015em"
|
|
339
|
+
step-2:
|
|
340
|
+
size: 20.16px to 28.13px
|
|
341
|
+
lineHeight: "1.375"
|
|
342
|
+
letterSpacing: "-0.01em"
|
|
343
|
+
step-1:
|
|
344
|
+
size: 16.8px to 22.5px
|
|
345
|
+
lineHeight: "1.375"
|
|
346
|
+
letterSpacing: 0em
|
|
347
|
+
step-0:
|
|
348
|
+
size: 14px to 18px
|
|
349
|
+
lineHeight: "1.5"
|
|
350
|
+
letterSpacing: 0em
|
|
351
|
+
step-neg1:
|
|
352
|
+
size: 11.67px to 14.4px
|
|
353
|
+
lineHeight: "1.5"
|
|
354
|
+
letterSpacing: 0em
|
|
355
|
+
step-neg2:
|
|
356
|
+
size: 9.72px to 11.52px
|
|
357
|
+
lineHeight: "1.5"
|
|
358
|
+
letterSpacing: 0em
|
|
359
|
+
step-neg3:
|
|
360
|
+
size: 8.1px to 9.22px
|
|
361
|
+
lineHeight: "1.5"
|
|
362
|
+
letterSpacing: 0em
|
|
363
|
+
spacing:
|
|
364
|
+
xxs: 2px
|
|
365
|
+
xs: 4px
|
|
366
|
+
sm: 6px
|
|
367
|
+
md: 10px
|
|
368
|
+
lg: 14px
|
|
369
|
+
xl: 18px
|
|
370
|
+
2xl: 20px
|
|
371
|
+
3xl: 32px
|
|
372
|
+
4xl: 64px
|
|
373
|
+
sizes:
|
|
374
|
+
xxs: 14px
|
|
375
|
+
xs: 18px
|
|
376
|
+
sm: 22px
|
|
377
|
+
md: 28px
|
|
378
|
+
lg: 36px
|
|
379
|
+
xl: 44px
|
|
380
|
+
2xl: 56px
|
|
381
|
+
3xl: 80px
|
|
382
|
+
4xl: 120px
|
|
383
|
+
rounded:
|
|
384
|
+
xxs: 1px
|
|
385
|
+
xs: 2px
|
|
386
|
+
sm: 4px
|
|
387
|
+
md: 8px
|
|
388
|
+
lg: 12px
|
|
389
|
+
xl: 16px
|
|
390
|
+
full: 999px
|
|
391
|
+
---
|
|
392
|
+
|
|
393
|
+
# Eluan (minimal)
|
|
394
|
+
|
|
395
|
+
Generated by `scripts/skills/export-design-md.mjs`; don't edit by hand. Run `pnpm skills:build` to refresh it.
|
|
396
|
+
|
|
397
|
+
## How to read these tokens
|
|
398
|
+
|
|
399
|
+
- Every key under `colors`, `spacing`, `sizes` and `rounded` is a CSS custom property: `container-bg` is `var(--container-bg)`. Use the custom property in code, never the resolved value.
|
|
400
|
+
- Colours are semantic. Pair a background with the foreground of the same family and state (`container-bg` with `container-fg`). Contrast between pairs is checked when a theme is generated, so don't change one side of a pair.
|
|
401
|
+
- `spacing`, `sizes` and `rounded` show the default density (`standard`) and corner style (`slight`). `EluanProvider`'s `defaultSpacing` and `defaultCurves` change them app-wide.
|
|
402
|
+
- Type sizes are fluid between 480px and 1024px viewports. Always apply a step's size, line height and letter spacing together, or use the `Typography` component.
|
|
403
|
+
- Eluan has no shadow or motion tokens yet. Use component props (Card `elevation`) instead of writing shadows or transitions.
|
|
404
|
+
|
|
405
|
+
## Rationale
|
|
406
|
+
|
|
407
|
+
Eluan themes through three layers of custom properties: primitives, modes (light, dim, dark) and the semantic theme layer components read. `minimal` is the only built-in theme; brand themes are generated from one to three accent colours with `@eluan/theme-generator` and registered with `createTheme`. The generator controls colour only. Density, corner style and type scale are Provider settings, so one product can switch them without a new theme.
|
|
408
|
+
|
|
409
|
+
See `SKILL.md` for which component to use, and `foundations/` for the rules behind each token group.
|