@bronzelabs/oakma-ui 0.0.14 → 0.0.15
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as r}from"./chunk-
|
|
2
|
+
import{a as r}from"./chunk-WANEKBUT.js";import{a as c,b as a}from"./chunk-OB3RHV7H.js";import{clsx as m}from"clsx";import{components as f}from"react-select";import{jsx as o,jsxs as p}from"react/jsx-runtime";var y=e=>!!e?.icon&&e?.icon!==null,i=e=>{let t=y(e?.data)?e.data.icon:void 0;return p(f.Option,{...e,className:m(e?.className,"flex! w-full items-center justify-between gap-3"),children:[t&&o(t,{className:"size-5"}),p("div",{className:"flex grow flex-col",children:[o("span",{children:e?.data?.label}),e?.data?.subTitle&&o("span",{children:e.data.subTitle})]}),o(r,{checked:e?.isSelected,readOnly:!0})]})},S={Option:i},u=({tabSelectsValue:e=!1,closeMenuOnSelect:t=!1,hideSelectedOptions:n=!1,isClearable:l=!1,...s})=>o(c,{closeMenuOnSelect:t,hideSelectedOptions:n,tabSelectsValue:e,isMulti:!0,isClearable:l,components:S,...s});u.displayName="MultiSelect";var M=u;import{jsx as h}from"react/jsx-runtime";var x={Option:i},d=({tabSelectsValue:e=!1,closeMenuOnSelect:t=!1,hideSelectedOptions:n=!1,isClearable:l=!1,...s})=>h(a,{closeMenuOnSelect:t,hideSelectedOptions:n,tabSelectsValue:e,isMulti:!0,isClearable:l,components:x,...s});d.displayName="AsyncMultiSelect";var O=d;export{M as a,O as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{clsx as t}from"clsx";import{jsx as e,jsxs as c}from"react/jsx-runtime";var a=({className:n,label:o,meta:r,size:s="md",disabled:i,ref:p,...l})=>c("label",{className:t("group/checkbox relative flex cursor-pointer items-start gap-2",i&&"pointer-events-none opacity-40",n),children:[e("input",{ref:p,type:"checkbox",className:"peer absolute opacity-0","aria-label":o??"Checkbox",disabled:i,...l}),e("div",{className:t("relative flex shrink-0 items-center justify-center rounded-sm border border-neutral-100/20 bg-transparent text-white transition-colors ease-out group-hover/checkbox:border-teal-100/16 group-hover/checkbox:bg-black/5 peer-checked:border-transparent peer-checked:bg-teal-100 peer-checked:group-hover/checkbox:bg-[hsl(180,84%,13%)] peer-focus-visible:ring-2 peer-focus-visible:ring-teal-100 peer-focus-visible:ring-offset-1",s==="sm"?"size-4":"size-5"),children:e("div",{className:t("invisible group-has-checked/checkbox:visible",s==="sm"?"size-2.25":"size-2.5"),children:e("svg",{viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"size-full",children:e("path",{d:"M1 4L3.5 6.5L9 1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}),o&&c("span",{className:"text-sm/snug text-neutral-100",children:[o,r&&e("span",{className:"block text-xs/snug font-normal text-neutral-50",children:r})]})]});a.displayName="Checkbox";var b=a;var x={sm:"sm",md:"md"};export{b as a,x as b};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a,b}from"../../chunk-
|
|
2
|
+
import{a,b}from"../../chunk-WANEKBUT.js";export{b as CHECKBOX_SIZES,a as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a,b}from"../../chunk-
|
|
2
|
+
import{a,b}from"../../chunk-PWDRJBCW.js";import"../../chunk-WANEKBUT.js";import"../../chunk-OB3RHV7H.js";import"../../chunk-6PJPLX23.js";import"../../chunk-RJFGKO6A.js";export{b as AsyncMultiSelect,a as default};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as z}from"./chunk-GQBLRKUF.js";import{a as B}from"./chunk-SCGB3NVF.js";import{a as
|
|
2
|
+
import{a as z}from"./chunk-GQBLRKUF.js";import{a as B}from"./chunk-SCGB3NVF.js";import{a as d}from"./chunk-JRC6BKI2.js";import{a as P,b as c}from"./chunk-PWDRJBCW.js";import{a as A,b as T,c as N,d as C}from"./chunk-CMCDZLFY.js";import{a as m}from"./chunk-YKUKDRA5.js";import{a as I}from"./chunk-HLPSCU5X.js";import{a as D}from"./chunk-WRJHJSX3.js";import{a as w}from"./chunk-ONNIKYDJ.js";import{a as t,b as e}from"./chunk-7SJY32FA.js";import{a as p,b as r,c as a}from"./chunk-CMZCLPBB.js";import{a as o}from"./chunk-MCJKAGOS.js";import{a as s,b as i}from"./chunk-WANEKBUT.js";import{a as f,b as y}from"./chunk-J4SSCW7I.js";import{a as l,b as n}from"./chunk-BIF43I2J.js";import"./chunk-HDP66ZRA.js";import{a as x}from"./chunk-N5DINQZZ.js";import{a as S,b as u}from"./chunk-OB3RHV7H.js";import"./chunk-6PJPLX23.js";import"./chunk-RJFGKO6A.js";export{e as AVATAR_SIZES,u as AsyncDropdown,c as AsyncMultiSelect,t as Avatar,r as BUTTON_SIZES,a as BUTTON_VARIANTS,p as Button,i as CHECKBOX_SIZES,y as CHIP_SIZES,s as Checkbox,f as Chip,n as DRAWER_POSITIONS,l as Drawer,S as Dropdown,x as Logo,d as Modal,P as MultiSelect,m as Notification,C as Notifications,A as NotificationsContext,T as NotificationsProvider,I as Select,D as Slider,o as Spinner,w as TextArea,z as TextInput,B as Toggle,N as useNotifications};
|
package/package.json
CHANGED
package/dist/chunk-OAFI6CS3.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import{clsx as t}from"clsx";import{jsx as e,jsxs as i}from"react/jsx-runtime";var a=({className:n,label:o,meta:r,size:s="md",disabled:c,ref:p,...l})=>i("label",{className:t("group/checkbox flex cursor-pointer items-start gap-2",c&&"pointer-events-none opacity-40",n),children:[e("input",{ref:p,type:"checkbox",className:"peer absolute opacity-0","aria-label":o??"Checkbox",disabled:c,...l}),e("div",{className:t("relative flex shrink-0 items-center justify-center rounded-sm border border-neutral-100/20 bg-transparent text-white transition-colors ease-out group-hover/checkbox:border-teal-100/16 group-hover/checkbox:bg-black/5 peer-checked:border-transparent peer-checked:bg-teal-100 peer-checked:group-hover/checkbox:bg-[hsl(180,84%,13%)] peer-focus-visible:ring-2 peer-focus-visible:ring-teal-100 peer-focus-visible:ring-offset-1",s==="sm"?"size-4":"size-5"),children:e("div",{className:t("invisible group-has-checked/checkbox:visible",s==="sm"?"size-2.25":"size-2.5"),children:e("svg",{viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"size-full",children:e("path",{d:"M1 4L3.5 6.5L9 1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}),o&&i("span",{className:"text-sm/snug text-neutral-100",children:[o,r&&e("span",{className:"block text-xs/snug font-normal text-neutral-50",children:r})]})]});a.displayName="Checkbox";var b=a;var x={sm:"sm",md:"md"};export{b as a,x as b};
|