@youngduck/yd-ui 0.9.1 → 0.10.2

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/dist/index.cjs.js CHANGED
@@ -1,28 +1,28 @@
1
- "use strict";var e=require("react/jsx-runtime"),r=require("react");function t(e){var r,a,l="";if("string"==typeof e||"number"==typeof e)l+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(a=t(e[r]))&&(l&&(l+=" "),l+=a)}else for(a in e)e[a]&&(l&&(l+=" "),l+=a);return l}function a(){for(var e,r,a=0,l="",s=arguments.length;a<s;a++)(e=arguments[a])&&(r=t(e))&&(l&&(l+=" "),l+=r);return l}const l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=a,n=(e,r)=>t=>{var a;if(null==(null==r?void 0:r.variants))return s(e,null==t?void 0:t.class,null==t?void 0:t.className);const{variants:n,defaultVariants:o}=r,i=Object.keys(n).map(e=>{const r=null==t?void 0:t[e],a=null==o?void 0:o[e];if(null===r)return null;const s=l(r)||l(a);return n[e][s]}),c=t&&Object.entries(t).reduce((e,r)=>{let[t,a]=r;return void 0===a||(e[t]=a),e},{}),d=null==r||null===(a=r.compoundVariants)||void 0===a?void 0:a.reduce((e,r)=>{let{class:t,className:a,...l}=r;return Object.entries(l).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...o,...c}[r]):{...o,...c}[r]===t})?[...e,t,a]:e},[]);return s(e,i,d,null==t?void 0:t.class,null==t?void 0:t.className)},o=n("yds-button",{variants:{size:{sm:"w-20",md:"w-[120px]",lg:"w-40",full:"w-full"},variant:{fill:"",outlined:"bg-transparent border-2"},color:{primary:""},disabled:{true:"opacity-50 cursor-wait"}},compoundVariants:[{variant:"fill",color:"primary",class:"yds-button-fill-primary"},{variant:"outlined",color:"primary",class:"yds-button-outlined-primary"}],defaultVariants:{size:"md",variant:"fill",color:"primary"}});function i({size:r="md",variant:t,color:a,children:l,className:s="",ref:n,disabled:i=!1,...c}){return e.jsx("button",{ref:n,className:`${o({size:r,variant:t,color:a,className:s,disabled:i})}`,tabIndex:i?-1:0,"aria-label":c["aria-label"]||("string"==typeof l?l:"button"),disabled:i,...c,children:l})}i.displayName="Button";
1
+ "use strict";var e=require("react/jsx-runtime"),r=require("react");function t(e){var r,a,l="";if("string"==typeof e||"number"==typeof e)l+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(a=t(e[r]))&&(l&&(l+=" "),l+=a)}else for(a in e)e[a]&&(l&&(l+=" "),l+=a);return l}const a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=function(){for(var e,r,a=0,l="",s=arguments.length;a<s;a++)(e=arguments[a])&&(r=t(e))&&(l&&(l+=" "),l+=r);return l},s=(e,r)=>t=>{var s;if(null==(null==r?void 0:r.variants))return l(e,null==t?void 0:t.class,null==t?void 0:t.className);const{variants:n,defaultVariants:o}=r,i=Object.keys(n).map(e=>{const r=null==t?void 0:t[e],l=null==o?void 0:o[e];if(null===r)return null;const s=a(r)||a(l);return n[e][s]}),c=t&&Object.entries(t).reduce((e,r)=>{let[t,a]=r;return void 0===a||(e[t]=a),e},{}),d=null==r||null===(s=r.compoundVariants)||void 0===s?void 0:s.reduce((e,r)=>{let{class:t,className:a,...l}=r;return Object.entries(l).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...o,...c}[r]):{...o,...c}[r]===t})?[...e,t,a]:e},[]);return l(e,i,d,null==t?void 0:t.class,null==t?void 0:t.className)},n=s("yds-button",{variants:{size:{sm:"w-20",md:"w-[120px]",lg:"w-40",full:"w-full"},variant:{fill:"",outlined:"bg-transparent border-2"},color:{primary:""},disabled:{true:"opacity-50 cursor-not-allowed"}},compoundVariants:[{variant:"fill",color:"primary",class:"yds-button-fill-primary"},{variant:"outlined",color:"primary",class:"yds-button-outlined-primary"}],defaultVariants:{size:"md",variant:"fill",color:"primary"}});function o({size:r="md",variant:t,color:a,children:l,className:s="",ref:o,disabled:i=!1,...c}){return e.jsx("button",{ref:o,className:`${n({size:r,variant:t,color:a,className:s,disabled:i})}`,tabIndex:i?-1:0,"aria-label":c["aria-label"]||("string"==typeof l?l:"button"),disabled:i,...c,children:l})}o.displayName="Button";
2
2
  /**
3
3
  * @license lucide-react v0.542.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
7
7
  */
8
- const c=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},d=(...e)=>e.filter((e,r,t)=>Boolean(e)&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim(),u=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
8
+ const i=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},c=(...e)=>e.filter((e,r,t)=>Boolean(e)&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim(),d=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
9
9
  /**
10
10
  * @license lucide-react v0.542.0 - ISC
11
11
  *
12
12
  * This source code is licensed under the ISC license.
13
13
  * See the LICENSE file in the root directory of this source tree.
14
14
  */
15
- var p={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
15
+ var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
16
16
  /**
17
17
  * @license lucide-react v0.542.0 - ISC
18
18
  *
19
19
  * This source code is licensed under the ISC license.
20
20
  * See the LICENSE file in the root directory of this source tree.
21
- */const h=r.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:s="",children:n,iconNode:o,...i},c)=>r.createElement("svg",{ref:c,...p,width:t,height:t,stroke:e,strokeWidth:l?24*Number(a)/Number(t):a,className:d("lucide",s),...!n&&!u(i)&&{"aria-hidden":"true"},...i},[...o.map(([e,t])=>r.createElement(e,t)),...Array.isArray(n)?n:[n]])),m=(e,t)=>{const a=r.forwardRef(({className:a,...l},s)=>{return r.createElement(h,{ref:s,iconNode:t,className:d(`lucide-${n=c(e),n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...l});var n});return a.displayName=c(e),a},f=m("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),x=m("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),y=m("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),v=m("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),b=n("relative",{variants:{color:{"primary-400":"text-yellow-400","primary-100":"text-yellow-100",white:"text-white"}}}),w=n("yds-input-typography h-12 rounded-[8px] border-2 pr-3 focus:outline-none",{variants:{size:{sm:"w-[200px]",md:"w-[300px]",lg:"w-[400px]",full:"w-full"},color:{white:"border-white bg-transparent text-white placeholder-white","primary-400":"border-yellow-400 bg-transparent text-yellow-400 placeholder-yellow-400","primary-100":"border-yellow-100 bg-transparent text-yellow-100 placeholder-yellow-100"},variant:{search:"pl-10",input:"pl-3"},disabled:{true:"opacity-50 cursor-not-allowed bg-gray-100",false:""}},defaultVariants:{size:"md",color:"primary-100",variant:"input",disabled:!1}});
21
+ */const p=r.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:s="",children:n,iconNode:o,...i},p)=>r.createElement("svg",{ref:p,...u,width:t,height:t,stroke:e,strokeWidth:l?24*Number(a)/Number(t):a,className:c("lucide",s),...!n&&!d(i)&&{"aria-hidden":"true"},...i},[...o.map(([e,t])=>r.createElement(e,t)),...Array.isArray(n)?n:[n]])),h=(e,t)=>{const a=r.forwardRef(({className:a,...l},s)=>{return r.createElement(p,{ref:s,iconNode:t,className:c(`lucide-${n=i(e),n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...l});var n});return a.displayName=i(e),a},m=h("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),f=h("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),y=h("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),x=h("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),v=s("relative",{variants:{color:{"primary-400":"text-yellow-400","primary-100":"text-yellow-100",white:"text-white"}}}),b=s("yds-input-typography h-12 rounded-[8px] border-2 pr-3 focus:outline-none",{variants:{size:{sm:"w-[200px]",md:"w-[300px]",lg:"w-[400px]",full:"w-full"},color:{white:"border-white bg-transparent text-white placeholder-white","primary-400":"border-yellow-400 bg-transparent text-yellow-400 placeholder-yellow-400","primary-100":"border-yellow-100 bg-transparent text-yellow-100 placeholder-yellow-100"},variant:{search:"pl-10",input:"pl-3"},disabled:{true:"opacity-50 cursor-not-allowed bg-gray-100",false:""}},defaultVariants:{size:"md",color:"primary-100",variant:"input",disabled:!1}});
22
22
  /**
23
23
  * @license lucide-react v0.542.0 - ISC
24
24
  *
25
25
  * This source code is licensed under the ISC license.
26
26
  * See the LICENSE file in the root directory of this source tree.
27
- */function g({size:r,color:t,variant:a,disabled:l,...s}){return e.jsxs("div",{className:b({color:t}),children:["search"===a&&e.jsx(v,{"aria-hidden":!0,className:"absolute top-1/2 left-3 h-6 w-6 -translate-y-1/2 text-current"}),e.jsx("input",{className:w({size:r,color:t,variant:a,disabled:l}),disabled:l,...s})]})}function k({value:t,name:a,checked:l,id:s,onCheckedChange:n,shape:o="square",indeterminate:i=!1,...c}){const d=s??r.useId(),u=r.useRef(null);r.useEffect(()=>{u.current&&(u.current.indeterminate=i)},[i]);const p=i?"indeterminate":l?"checked":"unchecked";return e.jsxs("label",{htmlFor:d,className:"yds-checkbox-wrapper",onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n(!l))},tabIndex:0,children:[e.jsx("input",{ref:u,id:d,type:"checkbox",checked:l,onChange:e=>{const r=e.target.checked;n(r)},className:"sr-only","aria-checked":i?"mixed":l?"true":"false",...c}),"square"===o&&e.jsx("div",{className:"yds-checkbox-indicator",children:e.jsx("div",{className:`yds-checkbox-indicator-inner-${p}`,children:i&&e.jsx(y,{size:20})})}),"check"===o&&e.jsx("div",{className:"yds-checkbox-icon-indicator",children:i?e.jsx("div",{children:e.jsx(y,{size:20})}):l?e.jsx(f,{size:20}):e.jsx(e.Fragment,{})}),e.jsx("span",{className:"yds-checkbox-typography",children:t})]})}g.displayName="Input",k.displayName="CheckBox";const N=n("relative h-12",{variants:{size:{sm:"w-[200px]",md:"w-[300px]",lg:"w-[400px]",full:"w-full"}},defaultVariants:{size:"full"}});const j={label:"",value:""},C=r.createContext(null);exports.Button=i,exports.CheckBox=k,exports.Input=g,exports.SelectBox=function({size:r,selectBoxHook:t}){const{selectedOption:a,isOpen:l,searchValue:s,filteredOptions:n,selectedText:o,search:i,containerRef:c,handleClickOption:d,handleToggle:u,handleSearch:p}=t;return e.jsxs("div",{className:N({size:r}),ref:c,children:[e.jsxs("div",{className:"border-primary-100 text-yds-b1 flex h-full w-full cursor-pointer items-center justify-between rounded-lg border-2 p-3 text-yellow-100",onClick:u,children:[o,e.jsx(x,{className:"text-yellow-100 transition-transform duration-300"})]}),l&&e.jsxs("div",{className:"bg-background-secondary border-primary-100 z-select-box-dropdown absolute top-14 left-0 flex w-full flex-col gap-2 rounded-lg border-2 p-3",children:[i&&e.jsxs("div",{className:"flex h-[40px] items-center border-y-2 border-yellow-100",children:[e.jsx(v,{className:"text-yellow-100",size:20}),e.jsx("input",{type:"text",className:"w-full p-2 text-white hover:outline-none focus:outline-none",value:s,placeholder:"검색으로 쉽게찾기",onChange:e=>p(e.target.value)})]}),e.jsx("div",{className:"scrollbar-hide flex h-auto max-h-[200px] flex-col gap-2 overflow-y-scroll",children:n.map(r=>e.jsxs("div",{className:"text-yds-c1m hover:bg-background-primary flex cursor-pointer items-center justify-between text-white",onClick:()=>d(r),children:[r.value,a.value===r.value&&e.jsx(f,{className:"text-yellow-100",size:20})]},r.label))})]})]})},exports.Table=function({children:r,className:t,scrollable:l,scrollClassName:s,...n}){return l?e.jsx(C.Provider,{value:{scrollable:l},children:e.jsx("div",{className:a("overflow-y-auto",s),children:e.jsx("table",{...n,className:a("yds-table-wrapper",t),children:r})})}):e.jsx(C.Provider,{value:{scrollable:!1},children:e.jsx("table",{...n,className:a("yds-table-wrapper",t),children:r})})},exports.useSelectBox=e=>{const{options:t,defaultValue:a,search:l=!1,value:s,onChange:n,filterFn:o=(e,r)=>e.value.toLowerCase().includes(r.toLowerCase()),itemToString:i=e=>e.value,getValue:c=e=>e.value}=e,d=void 0!==s,u=a&&t.find(e=>e.value===a)||j,[p,h]=r.useState(u),[m,f]=r.useReducer((e,r)=>{switch(r.type){case"OPEN":return{...e,isOpen:!0};case"CLOSE":return{isOpen:!1,searchValue:""};case"TOGGLE":return{...e,isOpen:!e.isOpen};case"SEARCH":return{...e,searchValue:r.term};case"RESET_SEARCH":return{...e,searchValue:""};default:return e}},{isOpen:!1,searchValue:""}),{isOpen:x,searchValue:y}=m,v=r.useMemo(()=>d&&t.find(e=>e.value===s)||j,[d,t,s]),b=d?v:p,w=""!==b.value&&""!==b.label,g=r.useRef(null),k=r.useCallback(()=>{f({type:"CLOSE"})},[]);var N,C;!function(e,t,a){r.useEffect(()=>{if(!t)return;const r=r=>{const t=e.current;t&&(t.contains(r.target)||a())};return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[t,e,a])}(g,x,k),N=x,C=k,r.useEffect(()=>{if(!N)return;const e=e=>{"Escape"===e.key&&C()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[N,C]),r.useEffect(()=>{if(d)return;if(!a)return void h(j);const e=t.find(e=>e.value===a||e.label===a)||j;h(e)},[d,a]);const O=r.useMemo(()=>y?t.filter(e=>o(e,y)):t,[t,y,o]),E=r.useMemo(()=>w?i(b):"선택",[w,i,b]);return{selectedOption:b,isOpen:x,searchValue:y,options:t,search:l,containerRef:g,handleClickOption:e=>{d?n?.(e.value,e):h(e),k()},handleToggle:()=>{f({type:"TOGGLE"})},handleSearch:e=>{f({type:"SEARCH",term:e})},handleClose:k,value:b.value,label:b.label,hasOption:w,filteredOptions:O,selectedText:E,itemToString:i,getValue:c}};
27
+ */function w({size:r,color:t,variant:a,disabled:l,...s}){return e.jsxs("div",{className:v({color:t}),children:["search"===a&&e.jsx(x,{"aria-hidden":!0,className:"absolute top-1/2 left-3 h-6 w-6 -translate-y-1/2 text-current"}),e.jsx("input",{className:b({size:r,color:t,variant:a,disabled:l}),disabled:l,...s})]})}function g({value:t,name:a,checked:l,id:s,onCheckedChange:n,shape:o="square",indeterminate:i=!1,...c}){const d=s??r.useId(),u=r.useRef(null);r.useEffect(()=>{u.current&&(u.current.indeterminate=i)},[i]);const p=i?"indeterminate":l?"checked":"unchecked";return e.jsxs("label",{htmlFor:d,className:"yds-checkbox-wrapper",onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n(!l))},tabIndex:0,children:[e.jsx("input",{ref:u,id:d,type:"checkbox",checked:l,onChange:e=>{const r=e.target.checked;n(r)},className:"sr-only","aria-checked":i?"mixed":l?"true":"false",...c}),"square"===o&&e.jsx("div",{className:"yds-checkbox-indicator",children:e.jsx("div",{className:`yds-checkbox-indicator-inner-${p}`,children:i&&e.jsx(y,{size:20})})}),"check"===o&&e.jsx("div",{className:"yds-checkbox-icon-indicator",children:i?e.jsx("div",{children:e.jsx(y,{size:20})}):l?e.jsx(m,{size:20}):e.jsx(e.Fragment,{})}),e.jsx("span",{className:"yds-checkbox-typography",children:t})]})}w.displayName="Input",g.displayName="CheckBox";const k=s("relative h-12",{variants:{size:{sm:"w-[200px]",md:"w-[300px]",lg:"w-[400px]",full:"w-full"}},defaultVariants:{size:"full"}});const N={label:"",value:""};exports.Button=o,exports.CheckBox=g,exports.Input=w,exports.SelectBox=function({size:r,selectBoxHook:t}){const{selectedOption:a,isOpen:l,searchValue:s,filteredOptions:n,selectedText:o,search:i,containerRef:c,handleClickOption:d,handleToggle:u,handleSearch:p}=t;return e.jsxs("div",{className:k({size:r}),ref:c,children:[e.jsxs("div",{className:"border-primary-100 text-yds-b1 flex h-full w-full cursor-pointer items-center justify-between rounded-lg border-2 p-3 text-yellow-100",onClick:u,children:[o,e.jsx(f,{className:"text-yellow-100 transition-transform duration-300"})]}),l&&e.jsxs("div",{className:"bg-background-secondary border-primary-100 z-select-box-dropdown absolute top-14 left-0 flex w-full flex-col gap-2 rounded-lg border-2 p-3",children:[i&&e.jsxs("div",{className:"flex h-[40px] items-center border-y-2 border-yellow-100",children:[e.jsx(x,{className:"text-yellow-100",size:20}),e.jsx("input",{type:"text",className:"w-full p-2 text-white hover:outline-none focus:outline-none",value:s,placeholder:"검색으로 쉽게찾기",onChange:e=>p(e.target.value)})]}),e.jsx("div",{className:"scrollbar-hide flex h-auto max-h-[200px] flex-col gap-2 overflow-y-scroll",children:n.map(r=>e.jsxs("div",{className:"text-yds-c1m hover:bg-background-primary flex cursor-pointer items-center justify-between text-white",onClick:()=>d(r),children:[r.value,a.value===r.value&&e.jsx(m,{className:"text-yellow-100",size:20})]},r.label))})]})]})},exports.useSelectBox=e=>{const{options:t,defaultValue:a,search:l=!1,value:s,onChange:n,filterFn:o=(e,r)=>e.value.toLowerCase().includes(r.toLowerCase()),itemToString:i=e=>e.value,getValue:c=e=>e.value}=e,d=void 0!==s,u=a&&t.find(e=>e.value===a)||N,[p,h]=r.useState(u),[m,f]=r.useReducer((e,r)=>{switch(r.type){case"OPEN":return{...e,isOpen:!0};case"CLOSE":return{isOpen:!1,searchValue:""};case"TOGGLE":return{...e,isOpen:!e.isOpen};case"SEARCH":return{...e,searchValue:r.term};case"RESET_SEARCH":return{...e,searchValue:""};default:return e}},{isOpen:!1,searchValue:""}),{isOpen:y,searchValue:x}=m,v=r.useMemo(()=>d&&t.find(e=>e.value===s)||N,[d,t,s]),b=d?v:p,w=""!==b.value&&""!==b.label,g=r.useRef(null),k=r.useCallback(()=>{f({type:"CLOSE"})},[]);var j,C;!function(e,t,a){r.useEffect(()=>{if(!t)return;const r=r=>{const t=e.current;t&&(t.contains(r.target)||a())};return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[t,e,a])}(g,y,k),j=y,C=k,r.useEffect(()=>{if(!j)return;const e=e=>{"Escape"===e.key&&C()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[j,C]),r.useEffect(()=>{if(d)return;if(!a)return void h(N);const e=t.find(e=>e.value===a||e.label===a)||N;h(e)},[d,a]);const O=r.useMemo(()=>x?t.filter(e=>o(e,x)):t,[t,x,o]),E=r.useMemo(()=>w?i(b):"선택",[w,i,b]);return{selectedOption:b,isOpen:y,searchValue:x,options:t,search:l,containerRef:g,handleClickOption:e=>{d?n?.(e.value,e):h(e),k()},handleToggle:()=>{f({type:"TOGGLE"})},handleSearch:e=>{f({type:"SEARCH",term:e})},handleClose:k,value:b.value,label:b.label,hasOption:w,filteredOptions:O,selectedText:E,itemToString:i,getValue:c}};
28
28
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs","../src/components/Button/Button.tsx","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/defaultAttributes.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/Icon.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/check.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/minus.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js","../src/components/Input/Input.tsx","../src/components/CheckBox/CheckBox.tsx","../src/components/SelectBox/SelectBox.tsx","../src/components/SelectBox/hooks/useSelectBox.tsx","../src/components/Table/Table.tsx","../src/components/SelectBox/hooks/useDismiss.ts"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n",null,"/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\nconst toCamelCase = (string) => string.replace(\n /^([A-Z])|[\\s-_]+(\\w)/g,\n (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()\n);\nconst toPascalCase = (string) => {\n const camelCase = toCamelCase(string);\n return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\nconst hasA11yProp = (props) => {\n for (const prop in props) {\n if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n return true;\n }\n }\n};\n\nexport { hasA11yProp, mergeClasses, toCamelCase, toKebabCase, toPascalCase };\n//# sourceMappingURL=utils.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nvar defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes.js';\nimport { mergeClasses, hasA11yProp } from './shared/src/utils.js';\n\nconst Icon = forwardRef(\n ({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = \"\",\n children,\n iconNode,\n ...rest\n }, ref) => createElement(\n \"svg\",\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,\n className: mergeClasses(\"lucide\", className),\n ...!children && !hasA11yProp(rest) && { \"aria-hidden\": \"true\" },\n ...rest\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n )\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from './shared/src/utils.js';\nimport Icon from './Icon.js';\n\nconst createLucideIcon = (iconName, iconNode) => {\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className\n ),\n ...props\n })\n );\n Component.displayName = toPascalCase(iconName);\n return Component;\n};\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]];\nconst Check = createLucideIcon(\"check\", __iconNode);\n\nexport { __iconNode, Check as default };\n//# sourceMappingURL=check.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"m6 9 6 6 6-6\", key: \"qrunsl\" }]];\nconst ChevronDown = createLucideIcon(\"chevron-down\", __iconNode);\n\nexport { __iconNode, ChevronDown as default };\n//# sourceMappingURL=chevron-down.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M5 12h14\", key: \"1ays0h\" }]];\nconst Minus = createLucideIcon(\"minus\", __iconNode);\n\nexport { __iconNode, Minus as default };\n//# sourceMappingURL=minus.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"m21 21-4.34-4.34\", key: \"14j7rj\" }],\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }]\n];\nconst Search = createLucideIcon(\"search\", __iconNode);\n\nexport { __iconNode, Search as default };\n//# sourceMappingURL=search.js.map\n",null,null,null,null,null,null],"names":["r","e","t","f","n","Array","isArray","o","length","clsx","arguments","falsyToString","value","cx","cva","base","config","props","_config_compoundVariants","variants","class","className","defaultVariants","getVariantClassNames","Object","keys","map","variant","variantProp","defaultVariantProp","variantKey","propsWithoutUndefined","entries","reduce","acc","param","key","undefined","getCompoundVariantClassNames","compoundVariants","cvClass","cvClassName","compoundVariantOptions","every","includes","buttonVariants","size","sm","md","lg","full","fill","outlined","color","primary","disabled","true","Button","children","ref","_jsx","tabIndex","displayName","toPascalCase","string","camelCase","replace","match","p1","p2","toUpperCase","toLowerCase","toCamelCase","charAt","slice","mergeClasses","classes","filter","index","array","Boolean","trim","indexOf","join","hasA11yProp","prop","startsWith","defaultAttributes","xmlns","width","height","viewBox","stroke","strokeWidth","strokeLinecap","strokeLinejoin","Icon","forwardRef","absoluteStrokeWidth","iconNode","rest","createElement","Number","tag","attrs","createLucideIcon","iconName","Component","Check","d","ChevronDown","Minus","Search","cy","wrapperVariants","white","inputVariants","search","input","false","Input","_jsxs","CheckBox","name","checked","id","onCheckedChange","shape","indeterminate","checkboxId","useId","inputRef","useRef","useEffect","current","displayState","htmlFor","onKeyDown","preventDefault","type","onChange","newChecked","target","CheckIcon","_Fragment","EMPTY_OPTION","label","TableContext","createContext","selectBoxHook","selectedOption","isOpen","searchValue","filteredOptions","selectedText","containerRef","handleClickOption","handleToggle","handleSearch","onClick","placeholder","option","scrollable","scrollClassName","Provider","options","defaultValue","filterFn","opt","term","itemToString","getValue","isControlled","defaultOption","find","setSelectedOption","useState","ui","dispatch","useReducer","s","a","controlledSelected","useMemo","viewSelected","hasOption","handleClose","useCallback","enabled","onDismiss","handle","event","el","contains","document","addEventListener","removeEventListener","useOutsideDismiss","next"],"mappings":"mEAAA,SAASA,EAAEC,GAAG,IAAIC,EAAEC,EAAEC,EAAE,GAAG,GAAG,iBAAiBH,GAAG,iBAAiBA,EAAEG,GAAGH,OAAO,GAAG,iBAAiBA,EAAE,GAAGI,MAAMC,QAAQL,GAAG,CAAC,IAAIM,EAAEN,EAAEO,OAAO,IAAIN,EAAE,EAAEA,EAAEK,EAAEL,IAAID,EAAEC,KAAKC,EAAEH,EAAEC,EAAEC,OAAOE,IAAIA,GAAG,KAAKA,GAAGD,EAAE,MAAM,IAAIA,KAAKF,EAAEA,EAAEE,KAAKC,IAAIA,GAAG,KAAKA,GAAGD,GAAG,OAAOC,CAAC,CAAQ,SAASK,IAAO,IAAI,IAAIR,EAAEC,EAAEC,EAAE,EAAEC,EAAE,GAAGG,EAAEG,UAAUF,OAAOL,EAAEI,EAAEJ,KAAKF,EAAES,UAAUP,MAAMD,EAAEF,EAAEC,MAAMG,IAAIA,GAAG,KAAKA,GAAGF,GAAG,OAAOE,CAAC,CCe/W,MAAMO,EAAiBC,GAAyB,kBAAVA,EAAsB,GAAGA,IAAoB,IAAVA,EAAc,IAAMA,EAChFC,EAAKJ,EACLK,EAAM,CAACC,EAAMC,IAAUC,IAC5B,IAAIC,EACJ,GAAyE,OAApEF,aAAuC,EAASA,EAAOG,UAAmB,OAAON,EAAGE,EAAME,aAAqC,EAASA,EAAMG,MAAOH,aAAqC,EAASA,EAAMI,WAC9M,MAAMF,SAAEA,EAAQG,gBAAEA,GAAoBN,EAChCO,EAAuBC,OAAOC,KAAKN,GAAUO,IAAKC,IACpD,MAAMC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,IACpD,CAACF,EAASC,IFgDbxD,EAAAA,UAAU,KACR,GAAIuC,EAAc,OAClB,IAAKN,EAEH,YADAS,EAAkB9B,GAGpB,MAAMqD,EAAOjC,EAAQS,KAAKN,GAAOA,EAAI5J,QAAU0J,GAAgBE,EAAItB,QAAUoB,IAAiBrB,EAC9F8B,EAAkBuB,IACjB,CAAC1B,EAAcN,IAGlB,MAAMb,EAAkB8B,EAAAA,QAAQ,IACzB/B,EACEa,EAAQxF,OAAO2F,GAAOD,EAASC,EAAKhB,IADlBa,EAExB,CAACA,EAASb,EAAae,IAEpBb,EAAe6B,EAAAA,QAAQ,IACpBE,EAAYf,EAAac,GAAgB,KAC/C,CAACC,EAAWf,EAAcc,IAmB7B,MAAO,CAELlC,eAAgBkC,EAChBjC,SACAC,cACAa,UACAhD,SACAsC,eAGAC,kBAnBoBK,IAChBW,EACFhC,IAAWqB,EAAOrJ,MAAOqJ,GAEzBc,EAAkBd,GAEpByB,KAcA7B,aA5BmB,KACnBqB,EAAS,CAAEvC,KAAM,YA4BjBmB,aAzBoBlJ,IACpBsK,EAAS,CAAEvC,KAAM,SAAU8B,KAAM7J,KAyBjC8K,cAGA9K,MAAO4K,EAAa5K,MACpBsI,MAAOsC,EAAatC,MACpBuC,YACAhC,kBACAC,eACAgB,eACAC","x_google_ignoreList":[0,1,3,4,5,6,7,8,9,10]}
1
+ {"version":3,"file":"index.cjs.js","sources":["../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs","../src/components/Button/Button.tsx","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/defaultAttributes.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/Icon.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/check.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/minus.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js","../src/components/Input/Input.tsx","../src/components/CheckBox/CheckBox.tsx","../src/components/SelectBox/SelectBox.tsx","../src/components/SelectBox/hooks/useSelectBox.tsx","../src/components/SelectBox/hooks/useDismiss.ts"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n",null,"/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\nconst toCamelCase = (string) => string.replace(\n /^([A-Z])|[\\s-_]+(\\w)/g,\n (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()\n);\nconst toPascalCase = (string) => {\n const camelCase = toCamelCase(string);\n return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\nconst hasA11yProp = (props) => {\n for (const prop in props) {\n if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n return true;\n }\n }\n};\n\nexport { hasA11yProp, mergeClasses, toCamelCase, toKebabCase, toPascalCase };\n//# sourceMappingURL=utils.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nvar defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes.js';\nimport { mergeClasses, hasA11yProp } from './shared/src/utils.js';\n\nconst Icon = forwardRef(\n ({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = \"\",\n children,\n iconNode,\n ...rest\n }, ref) => createElement(\n \"svg\",\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,\n className: mergeClasses(\"lucide\", className),\n ...!children && !hasA11yProp(rest) && { \"aria-hidden\": \"true\" },\n ...rest\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n )\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from './shared/src/utils.js';\nimport Icon from './Icon.js';\n\nconst createLucideIcon = (iconName, iconNode) => {\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className\n ),\n ...props\n })\n );\n Component.displayName = toPascalCase(iconName);\n return Component;\n};\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]];\nconst Check = createLucideIcon(\"check\", __iconNode);\n\nexport { __iconNode, Check as default };\n//# sourceMappingURL=check.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"m6 9 6 6 6-6\", key: \"qrunsl\" }]];\nconst ChevronDown = createLucideIcon(\"chevron-down\", __iconNode);\n\nexport { __iconNode, ChevronDown as default };\n//# sourceMappingURL=chevron-down.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M5 12h14\", key: \"1ays0h\" }]];\nconst Minus = createLucideIcon(\"minus\", __iconNode);\n\nexport { __iconNode, Minus as default };\n//# sourceMappingURL=minus.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"m21 21-4.34-4.34\", key: \"14j7rj\" }],\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }]\n];\nconst Search = createLucideIcon(\"search\", __iconNode);\n\nexport { __iconNode, Search as default };\n//# sourceMappingURL=search.js.map\n",null,null,null,null,null],"names":["r","e","t","f","n","Array","isArray","o","length","falsyToString","value","cx","arguments","cva","base","config","props","_config_compoundVariants","variants","class","className","defaultVariants","getVariantClassNames","Object","keys","map","variant","variantProp","defaultVariantProp","variantKey","propsWithoutUndefined","entries","reduce","acc","param","key","undefined","getCompoundVariantClassNames","compoundVariants","cvClass","cvClassName","compoundVariantOptions","every","includes","buttonVariants","size","sm","md","lg","full","fill","outlined","color","primary","disabled","true","Button","children","ref","_jsx","tabIndex","displayName","toPascalCase","string","camelCase","replace","match","p1","p2","toUpperCase","toLowerCase","toCamelCase","charAt","slice","mergeClasses","classes","filter","index","array","Boolean","trim","indexOf","join","hasA11yProp","prop","startsWith","defaultAttributes","xmlns","width","height","viewBox","stroke","strokeWidth","strokeLinecap","strokeLinejoin","Icon","forwardRef","absoluteStrokeWidth","iconNode","rest","createElement","Number","tag","attrs","createLucideIcon","iconName","Component","Check","d","ChevronDown","Minus","Search","cy","wrapperVariants","white","inputVariants","search","input","false","Input","_jsxs","CheckBox","name","checked","id","onCheckedChange","shape","indeterminate","checkboxId","useId","inputRef","useRef","useEffect","current","displayState","htmlFor","onKeyDown","preventDefault","type","onChange","newChecked","target","CheckIcon","_Fragment","EMPTY_OPTION","label","selectBoxHook","selectedOption","isOpen","searchValue","filteredOptions","selectedText","containerRef","handleClickOption","handleToggle","handleSearch","onClick","placeholder","option","options","defaultValue","filterFn","opt","term","itemToString","getValue","isControlled","defaultOption","find","setSelectedOption","useState","ui","dispatch","useReducer","s","a","controlledSelected","useMemo","viewSelected","hasOption","handleClose","useCallback","enabled","onDismiss","handle","event","el","contains","document","addEventListener","remove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OwK,EAAaxK,MACpBuI,MAAOiC,EAAajC,MACpBkC,YACA7B,kBACAC,eACAa,eACAC","x_google_ignoreList":[0,1,3,4,5,6,7,8,9,10]}
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme, base, components, utilities;@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-50:oklch(98.7% 0.026 102.212);--color-yellow-100:oklch(97.3% 0.071 103.193);--color-yellow-200:oklch(94.5% 0.129 101.54);--color-yellow-300:oklch(90.5% 0.182 98.111);--color-yellow-400:oklch(85.2% 0.199 91.936);--color-gray-100:oklch(96.7% 0.003 264.542);--color-gray-300:oklch(87.2% 0.01 258.338);--color-gray-400:oklch(70.7% 0.022 261.325);--color-gray-600:oklch(44.6% 0.03 256.802);--color-gray-700:oklch(37.3% 0.034 259.733);--color-white:#fff;--spacing:0.25rem;--container-md:28rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-sm:0.875rem;--text-sm--line-height:1.42857;--text-lg:1.125rem;--text-lg--line-height:1.55556;--font-weight-medium:500;--font-weight-bold:700;--radius-lg:0.5rem;--default-transition-duration:150ms;--default-transition-timing-function:cubic-bezier(0.4,0,0.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-primary-50:#fcf6df;--color-primary-100:#c9bf91;--color-primary-200:#fde68a;--color-primary-300:#eccb43;--color-primary-400:#e9be11;--color-secondary-50:#4d596d;--color-secondary-100:#343a46;--color-secondary-200:#2a303c;--color-secondary-300:#20242d;--color-secondary-400:#19191f;--color-secondary-50-opacity:rgba(77,89,109,.7);--color-secondary-100-opacity:rgba(52,58,70,.7);--color-secondary-200-opacity:rgba(42,48,60,.7);--color-secondary-300-opacity:rgba(32,36,45,.7);--color-secondary-400-opacity:rgba(25,25,31,.7);--font-size-yds-h1:48px;--line-height-yds-h1:58px;--font-weight-yds-h1:600;--font-size-yds-h2:40px;--line-height-yds-h2:48px;--font-weight-yds-h2:600;--font-size-yds-s1:24px;--line-height-yds-s1:30px;--font-weight-yds-s1:600;--font-size-yds-s2:20px;--line-height-yds-s2:26px;--font-weight-yds-s2:600;--font-size-yds-b1:18px;--line-height-yds-b1:26px;--font-weight-yds-b1:600;--font-size-yds-b2:16px;--line-height-yds-b2:24px;--font-weight-yds-b2:400;--font-size-yds-c1m:14px;--line-height-yds-c1m:16px;--font-weight-yds-c1m:500;--font-size-yds-c1r:12px;--line-height-yds-c1r:16px;--font-weight-yds-c1r:400;--font-size-yds-c2r:10px;--line-height-yds-c2r:14px;--font-weight-yds-c2r:400;--font-yds-wanted:"Wanted Sans Variable";--yds-border-width:2px;--yds-border-radius:8px;--yds-content-padding:16px;--color-background-primary:var(--color-secondary-400);--color-background-secondary:var(--color-secondary-300);--color-background-tertiary:var(--color-secondary-200);--color-background-forth:var(--color-secondary-100);--color-background-fifth:var(--color-secondary-50);--color-background-primary-layer:var(--color-secondary-400-opacity);--color-background-secondary-layer:var(--color-secondary-300-opacity);--color-background-tertiary-layer:var(--color-secondary-200-opacity);--color-background-forth-layer:var(--color-secondary-100-opacity);--color-background-fifth-layer:var(--color-secondary-50-opacity);--color-background2-primary-light:var(--color-primary-50);--color-background2-primary-deep:var(--color-primary-400);--color-border-primary-light:var(--color-primary-100);--color-border-primary-deep:var(--color-primary-400);--color-font-primary-light:var(--color-primary-100);--color-font-primary-deep:var(--color-primary-400);--color-table-wrapper-bg:var(--color-secondary-300);--color-table-header-bg:var(--color-secondary-200);--color-table-row-bg:var(--color-secondary-300);--color-table-border:var(--color-secondary-100);--color-table-text:var(--color-white);--color-table-text-header:var(--color-primary-100);--table-cell-padding-x:16px;--table-cell-padding-y:10px;--table-cell-height:40px;--table-header-height:40px}}@layer base{*,::backdrop,::file-selector-button,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:var(--default-font-feature-settings,normal);-webkit-tap-highlight-color:transparent;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:var(--default-mono-font-feature-settings,normal);font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::file-selector-button,button,input,optgroup,select,textarea{font-feature-settings:inherit;background-color:transparent;border-radius:0;color:inherit;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}::placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.sr-only{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.absolute,.sr-only{position:absolute}.relative{position:relative}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-14{top:calc(var(--spacing)*14)}.left-0{left:calc(var(--spacing)*0)}.left-3{left:calc(var(--spacing)*3)}.mx-auto{margin-inline:auto}.mt-8{margin-top:calc(var(--spacing)*8)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-12{margin-bottom:calc(var(--spacing)*12)}.ml-6{margin-left:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.grid{display:grid}.table{display:table}.h-6{height:calc(var(--spacing)*6)}.h-12{height:calc(var(--spacing)*12)}.h-24{height:calc(var(--spacing)*24)}.h-\[40px\]{height:40px}.h-\[200px\]{height:200px}.h-auto{height:auto}.h-full{height:100%}.max-h-\[200px\]{max-height:200px}.min-h-screen{min-height:100vh}.w-6{width:calc(var(--spacing)*6)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-40{width:calc(var(--spacing)*40)}.w-\[120px\]{width:120px}.w-\[200px\]{width:200px}.w-\[300px\]{width:300px}.w-\[400px\]{width:400px}.w-\[800px\]{width:800px}.w-\[1200px\]{width:1200px}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-md{max-width:var(--container-md)}.flex-1{flex:1}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}.space-y-2{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*2*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*2*var(--tw-space-y-reverse))}}.space-y-4{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*4*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*4*var(--tw-space-y-reverse))}}.space-y-8{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*8*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*8*var(--tw-space-y-reverse))}}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:.25rem}.rounded-\[8px\]{border-radius:8px}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-y-2{border-block-style:var(--tw-border-style);border-block-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-primary-100{border-color:var(--color-primary-100)}.border-white{border-color:var(--color-white)}.border-yellow-100{border-color:var(--color-yellow-100)}.border-yellow-400{border-color:var(--color-yellow-400)}.bg-background-primary{background-color:var(--color-background-primary)}.bg-background-secondary{background-color:var(--color-background-secondary)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-transparent{background-color:transparent}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-yellow-200{background-color:var(--color-yellow-200)}.bg-yellow-300{background-color:var(--color-yellow-300)}.bg-yellow-400{background-color:var(--color-yellow-400)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.pr-3{padding-right:calc(var(--spacing)*3)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-yds-b1{font-size:var(--font-size-yds-b1);font-weight:var(--font-weight-yds-b1);line-height:var(--line-height-yds-b1)}.text-yds-b1,.text-yds-b2{font-family:var(--font-yds-wanted)}.text-yds-b2{font-size:var(--font-size-yds-b2);font-weight:var(--font-weight-yds-b2);line-height:var(--line-height-yds-b2)}.text-yds-c1m{font-size:var(--font-size-yds-c1m);font-weight:var(--font-weight-yds-c1m);line-height:var(--line-height-yds-c1m)}.text-yds-c1m,.text-yds-c1r{font-family:var(--font-yds-wanted)}.text-yds-c1r{font-size:var(--font-size-yds-c1r);font-weight:var(--font-weight-yds-c1r);line-height:var(--line-height-yds-c1r)}.text-yds-c2r{font-size:var(--font-size-yds-c2r);font-weight:var(--font-weight-yds-c2r);line-height:var(--line-height-yds-c2r)}.text-yds-c2r,.text-yds-h1{font-family:var(--font-yds-wanted)}.text-yds-h1{font-size:var(--font-size-yds-h1);font-weight:var(--font-weight-yds-h1);line-height:var(--line-height-yds-h1)}.text-yds-h2{font-size:var(--font-size-yds-h2);font-weight:var(--font-weight-yds-h2);line-height:var(--line-height-yds-h2)}.text-yds-h2,.text-yds-s1{font-family:var(--font-yds-wanted)}.text-yds-s1{font-size:var(--font-size-yds-s1);font-weight:var(--font-weight-yds-s1);line-height:var(--line-height-yds-s1)}.text-yds-s2{font-size:var(--font-size-yds-s2);font-weight:var(--font-weight-yds-s2);line-height:var(--line-height-yds-s2)}.font-yds-wanted,.text-yds-s2{font-family:var(--font-yds-wanted)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-current{color:currentcolor}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-white{color:var(--color-white)}.text-yellow-100{color:var(--color-yellow-100)}.text-yellow-300{color:var(--color-yellow-300)}.text-yellow-400{color:var(--color-yellow-400)}.capitalize{text-transform:capitalize}.placeholder-white{&::-moz-placeholder{color:var(--color-white)}&::placeholder{color:var(--color-white)}}.placeholder-yellow-100{&::-moz-placeholder{color:var(--color-yellow-100)}&::placeholder{color:var(--color-yellow-100)}}.placeholder-yellow-400{&::-moz-placeholder{color:var(--color-yellow-400)}&::placeholder{color:var(--color-yellow-400)}}.opacity-50{opacity:50%}.transition-colors{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-transform{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.duration-300{--tw-duration:300ms;transition-duration:.3s}.hover\:bg-background-primary{&:hover{@media (hover:hover){background-color:var(--color-background-primary)}}}.hover\:bg-background-tertiary{&:hover{@media (hover:hover){background-color:var(--color-background-tertiary)}}}.hover\:outline-none{&:hover{@media (hover:hover){--tw-outline-style:none;outline-style:none}}}.focus\:outline-none{&:focus{--tw-outline-style:none;outline-style:none}}}@import url("https://fastly.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.1/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css");@layer utilities{.bg-background-primary{background-color:var(--color-background-primary)}.bg-background-secondary{background-color:var(--color-background-secondary)}.bg-background-tertiary{background-color:var(--color-background-tertiary)}.bg-background-forth{background-color:var(--color-background-forth)}.bg-background-fifth{background-color:var(--color-background-fifth)}.bg-background-primary-layer{background-color:var(--color-background-primary-layer)}.bg-background-secondary-layer{background-color:var(--color-background-secondary-layer)}.bg-background-tertiary-layer{background-color:var(--color-background-tertiary-layer)}.bg-background-forth-layer{background-color:var(--color-background-forth-layer)}.bg-background-fifth-layer{background-color:var(--color-background-fifth-layer)}.text-primary-50{color:var(--color-primary-50)}.text-primary-100{color:var(--color-primary-100)}.text-primary-200{color:var(--color-primary-200)}.text-primary-300{color:var(--color-primary-300)}.text-primary-400{color:var(--color-primary-400)}.border-primary-50{border-color:var(--color-primary-50);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-primary-100{border-color:var(--color-primary-100);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-primary-200{border-color:var(--color-primary-200);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-primary-300{border-color:var(--color-primary-300);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-primary-400{border-color:var(--color-primary-400);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-50{border-color:var(--color-secondary-50);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-100{border-color:var(--color-secondary-100);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-200{border-color:var(--color-secondary-200);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-300{border-color:var(--color-secondary-300);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-400{border-color:var(--color-secondary-400);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-50{border-color:var(--color-secondary-50);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-100,.card-navy-50{padding:var(--yds-content-padding)}.card-navy-100{border-color:var(--color-secondary-100);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-200{border-color:var(--color-secondary-200);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-200,.card-navy-300{padding:var(--yds-content-padding)}.card-navy-300{border-color:var(--color-secondary-300);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-400{border-color:var(--color-secondary-400);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width);padding:var(--yds-content-padding)}.z-select-box-dropdown{z-index:1000}}@layer components{.yds-button{align-items:center;border-radius:var(--yds-border-radius);cursor:pointer;display:flex;font-family:var(--font-yds-wanted);font-size:var(--font-size-yds-b1);font-weight:var(--font-weight-yds-b1);height:48px;justify-content:center;line-height:var(--line-height-yds-b1)}.yds-button-fill-primary{background-color:var(--color-background2-primary-deep)}.yds-button-outlined-primary{background-color:transparent;border:var(--yds-border-width) solid var(--color-border-primary-deep);color:var(--color-font-primary-deep)}.yds-input-typography{font-family:var(--font-yds-wanted);font-size:var(--font-size-yds-b2);font-weight:var(--font-weight-yds-b2);line-height:var(--line-height-yds-b2)}.yds-checkbox-wrapper{align-items:center;display:flex;gap:6px}.yds-checkbox-typography{color:var(--color-white);font-family:var(--font-yds-wanted);font-size:var(--font-size-yds-b2);font-weight:var(--font-weight-yds-b2);line-height:var(--line-height-yds-b2)}.yds-checkbox-indicator{align-items:center;border:var(--yds-border-width) solid var(--color-border-primary-light);border-radius:2px;color:var(--color-font-primary-light);display:flex;height:20px;justify-content:center;width:20px}.yds-checkbox-indicator-inner-checked{background-color:var(--color-background2-primary-light);height:12px;width:12px}.yds-checkbox-indicator-inner-unchecked{background-color:transparent;height:12px;width:12px}.yds-checkbox-icon-indicator,.yds-checkbox-indicator-inner-indeterminate{align-items:center;display:flex;height:20px;justify-content:center;width:20px}.yds-checkbox-icon-indicator{border:var(--yds-border-width) solid var(--color-border-primary-light);border-radius:2px;color:var(--color-font-primary-light)}.yds-table-wrapper{background-color:var(--color-table-wrapper-bg);border-collapse:separate;border-spacing:0;color:var(--color-table-text);table-layout:fixed}.yds-table-header{background-color:var(--color-table-header-bg)}.yds-table-header-cell{color:var(--color-table-text-header);height:var(--table-header-height);overflow:hidden;padding:var(--table-cell-padding-y) var(--table-cell-padding-x);text-align:left;text-overflow:ellipsis;white-space:nowrap}.yds-table-row{background-color:var(--color-table-row-bg)}.yds-table-cell{border-bottom:var(--yds-border-width) solid var(--color-table-border);color:var(--color-table-text);height:var(--table-cell-height);overflow:hidden;padding:var(--table-cell-padding-y) var(--table-cell-padding-x);text-align:left;text-overflow:ellipsis;white-space:nowrap}}::-webkit-scrollbar{height:5px;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#555}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-duration:initial}}}
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme, base, components, utilities;@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-50:oklch(98.7% 0.026 102.212);--color-yellow-100:oklch(97.3% 0.071 103.193);--color-yellow-200:oklch(94.5% 0.129 101.54);--color-yellow-300:oklch(90.5% 0.182 98.111);--color-yellow-400:oklch(85.2% 0.199 91.936);--color-gray-100:oklch(96.7% 0.003 264.542);--color-gray-300:oklch(87.2% 0.01 258.338);--color-gray-400:oklch(70.7% 0.022 261.325);--color-gray-600:oklch(44.6% 0.03 256.802);--color-gray-700:oklch(37.3% 0.034 259.733);--color-black:#000;--color-white:#fff;--spacing:0.25rem;--container-md:28rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-sm:0.875rem;--text-sm--line-height:1.42857;--text-lg:1.125rem;--text-lg--line-height:1.55556;--font-weight-medium:500;--font-weight-bold:700;--radius-lg:0.5rem;--default-transition-duration:150ms;--default-transition-timing-function:cubic-bezier(0.4,0,0.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-primary-50:#fcf6df;--color-primary-100:#c9bf91;--color-primary-200:#fde68a;--color-primary-300:#eccb43;--color-primary-400:#e9be11;--color-secondary-50:#4d596d;--color-secondary-100:#343a46;--color-secondary-200:#2a303c;--color-secondary-300:#20242d;--color-secondary-400:#19191f;--color-secondary-50-opacity:rgba(77,89,109,.7);--color-secondary-100-opacity:rgba(52,58,70,.7);--color-secondary-200-opacity:rgba(42,48,60,.7);--color-secondary-300-opacity:rgba(32,36,45,.7);--color-secondary-400-opacity:rgba(25,25,31,.7);--font-size-yds-h1:48px;--line-height-yds-h1:58px;--font-weight-yds-h1:600;--font-size-yds-h2:40px;--line-height-yds-h2:48px;--font-weight-yds-h2:600;--font-size-yds-s1:24px;--line-height-yds-s1:30px;--font-weight-yds-s1:600;--font-size-yds-s2:20px;--line-height-yds-s2:26px;--font-weight-yds-s2:600;--font-size-yds-b1:18px;--line-height-yds-b1:26px;--font-weight-yds-b1:600;--font-size-yds-b2:16px;--line-height-yds-b2:24px;--font-weight-yds-b2:400;--font-size-yds-c1m:14px;--line-height-yds-c1m:16px;--font-weight-yds-c1m:500;--font-size-yds-c1r:12px;--line-height-yds-c1r:16px;--font-weight-yds-c1r:400;--font-size-yds-c2r:10px;--line-height-yds-c2r:14px;--font-weight-yds-c2r:400;--font-yds-wanted:"Wanted Sans Variable";--yds-border-width:2px;--yds-border-radius:8px;--yds-content-padding:16px;--color-background-primary:var(--color-secondary-400);--color-background-secondary:var(--color-secondary-300);--color-background-tertiary:var(--color-secondary-200);--color-background-forth:var(--color-secondary-100);--color-background-fifth:var(--color-secondary-50);--color-background-primary-layer:var(--color-secondary-400-opacity);--color-background-secondary-layer:var(--color-secondary-300-opacity);--color-background-tertiary-layer:var(--color-secondary-200-opacity);--color-background-forth-layer:var(--color-secondary-100-opacity);--color-background-fifth-layer:var(--color-secondary-50-opacity);--color-background2-primary-light:var(--color-primary-50);--color-background2-primary-deep:var(--color-primary-400);--color-border-primary-light:var(--color-primary-100);--color-border-primary-deep:var(--color-primary-400);--color-font-primary-light:var(--color-primary-100);--color-font-primary-deep:var(--color-primary-400);--color-table-wrapper-bg:var(--color-secondary-300);--color-table-header-bg:var(--color-secondary-200);--color-table-row-bg:var(--color-secondary-300);--color-table-border:var(--color-secondary-100);--color-table-text:var(--color-white);--color-table-text-header:var(--color-primary-100);--table-cell-padding-x:16px;--table-cell-padding-y:10px;--table-cell-height:40px;--table-header-height:40px;--color-button-fill-primary-bg:var(--color-background2-primary-deep);--color-button-fill-primary-text:var(--color-black);--color-button-outlined-primary-bg:transparent;--color-button-outlined-primary-border:var(--color-border-primary-deep);--color-button-outlined-primary-text:var(--color-font-primary-deep);--button-height:48px;--button-border-radius:var(--yds-border-radius);--color-checkbox-text:var(--color-white);--color-checkbox-indicator-border:var(--color-border-primary-light);--color-checkbox-indicator-text:var(--color-font-primary-light);--color-checkbox-indicator-checked-bg:var(--color-background2-primary-light);--checkbox-wrapper-gap:6px;--checkbox-indicator-size:20px;--checkbox-indicator-inner-size:12px;--checkbox-indicator-border-radius:2px;--color-input-text:var(--color-white);--input-typography-font-size:var(--font-size-yds-b2);--input-typography-line-height:var(--line-height-yds-b2);--input-typography-font-weight:var(--font-weight-yds-b2);--input-typography-font-family:var(--font-yds-wanted)}}@layer base{*,::backdrop,::file-selector-button,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:var(--default-font-feature-settings,normal);-webkit-tap-highlight-color:transparent;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:var(--default-mono-font-feature-settings,normal);font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::file-selector-button,button,input,optgroup,select,textarea{font-feature-settings:inherit;background-color:transparent;border-radius:0;color:inherit;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}::placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.sr-only{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.absolute,.sr-only{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-5{top:calc(var(--spacing)*5)}.top-14{top:calc(var(--spacing)*14)}.right-5{right:calc(var(--spacing)*5)}.left-0{left:calc(var(--spacing)*0)}.left-3{left:calc(var(--spacing)*3)}.z-\[9999\]{z-index:9999}.mx-auto{margin-inline:auto}.mt-8{margin-top:calc(var(--spacing)*8)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-12{margin-bottom:calc(var(--spacing)*12)}.ml-6{margin-left:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.grid{display:grid}.table{display:table}.h-6{height:calc(var(--spacing)*6)}.h-12{height:calc(var(--spacing)*12)}.h-24{height:calc(var(--spacing)*24)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.h-\[40px\]{height:40px}.h-\[200px\]{height:200px}.h-\[500px\]{height:500px}.h-auto{height:auto}.h-full{height:100%}.max-h-\[200px\]{max-height:200px}.min-h-screen{min-height:100vh}.w-6{width:calc(var(--spacing)*6)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-40{width:calc(var(--spacing)*40)}.w-96{width:calc(var(--spacing)*96)}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[150px\]{width:150px}.w-\[200px\]{width:200px}.w-\[250px\]{width:250px}.w-\[300px\]{width:300px}.w-\[400px\]{width:400px}.w-\[600px\]{width:600px}.w-\[800px\]{width:800px}.w-\[1200px\]{width:1200px}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-md{max-width:var(--container-md)}.flex-1{flex:1}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}.space-y-2{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*2*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*2*var(--tw-space-y-reverse))}}.space-y-4{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*4*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*4*var(--tw-space-y-reverse))}}.space-y-8{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*8*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*8*var(--tw-space-y-reverse))}}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:.25rem}.rounded-\[8px\]{border-radius:8px}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-y-2{border-block-style:var(--tw-border-style);border-block-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-primary-100{border-color:var(--color-primary-100)}.border-white{border-color:var(--color-white)}.border-yellow-100{border-color:var(--color-yellow-100)}.border-yellow-400{border-color:var(--color-yellow-400)}.bg-\[var\(--color-primary-400\)\]{background-color:var(--color-primary-400)}.bg-background-primary{background-color:var(--color-background-primary)}.bg-background-secondary{background-color:var(--color-background-secondary)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-transparent{background-color:transparent}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-yellow-200{background-color:var(--color-yellow-200)}.bg-yellow-300{background-color:var(--color-yellow-300)}.bg-yellow-400{background-color:var(--color-yellow-400)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-3{padding-block:calc(var(--spacing)*3)}.pr-3{padding-right:calc(var(--spacing)*3)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-yds-b1{font-size:var(--font-size-yds-b1);font-weight:var(--font-weight-yds-b1);line-height:var(--line-height-yds-b1)}.text-yds-b1,.text-yds-b2{font-family:var(--font-yds-wanted)}.text-yds-b2{font-size:var(--font-size-yds-b2);font-weight:var(--font-weight-yds-b2);line-height:var(--line-height-yds-b2)}.text-yds-c1m{font-size:var(--font-size-yds-c1m);font-weight:var(--font-weight-yds-c1m);line-height:var(--line-height-yds-c1m)}.text-yds-c1m,.text-yds-c1r{font-family:var(--font-yds-wanted)}.text-yds-c1r{font-size:var(--font-size-yds-c1r);font-weight:var(--font-weight-yds-c1r);line-height:var(--line-height-yds-c1r)}.text-yds-c2r{font-size:var(--font-size-yds-c2r);font-weight:var(--font-weight-yds-c2r);line-height:var(--line-height-yds-c2r)}.text-yds-c2r,.text-yds-h1{font-family:var(--font-yds-wanted)}.text-yds-h1{font-size:var(--font-size-yds-h1);font-weight:var(--font-weight-yds-h1);line-height:var(--line-height-yds-h1)}.text-yds-h2{font-size:var(--font-size-yds-h2);font-weight:var(--font-weight-yds-h2);line-height:var(--line-height-yds-h2)}.text-yds-h2,.text-yds-s1{font-family:var(--font-yds-wanted)}.text-yds-s1{font-size:var(--font-size-yds-s1);font-weight:var(--font-weight-yds-s1);line-height:var(--line-height-yds-s1)}.text-yds-s2{font-size:var(--font-size-yds-s2);font-weight:var(--font-weight-yds-s2);line-height:var(--line-height-yds-s2)}.font-yds-wanted,.text-yds-s2{font-family:var(--font-yds-wanted)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-current{color:currentcolor}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-white{color:var(--color-white)}.text-yellow-100{color:var(--color-yellow-100)}.text-yellow-300{color:var(--color-yellow-300)}.text-yellow-400{color:var(--color-yellow-400)}.capitalize{text-transform:capitalize}.placeholder-white{&::-moz-placeholder{color:var(--color-white)}&::placeholder{color:var(--color-white)}}.placeholder-yellow-100{&::-moz-placeholder{color:var(--color-yellow-100)}&::placeholder{color:var(--color-yellow-100)}}.placeholder-yellow-400{&::-moz-placeholder{color:var(--color-yellow-400)}&::placeholder{color:var(--color-yellow-400)}}.opacity-50{opacity:50%}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,rgba(0,0,0,.1)),0 2px 4px -2px var(--tw-shadow-color,rgba(0,0,0,.1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition-colors{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-transform{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.duration-300{--tw-duration:300ms;transition-duration:.3s}.hover\:bg-background-primary{&:hover{@media (hover:hover){background-color:var(--color-background-primary)}}}.hover\:bg-background-tertiary{&:hover{@media (hover:hover){background-color:var(--color-background-tertiary)}}}.hover\:outline-none{&:hover{@media (hover:hover){--tw-outline-style:none;outline-style:none}}}.focus\:outline-none{&:focus{--tw-outline-style:none;outline-style:none}}}@import url("https://fastly.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.1/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css");@layer utilities{.bg-background-primary{background-color:var(--color-background-primary)}.bg-background-secondary{background-color:var(--color-background-secondary)}.bg-background-tertiary{background-color:var(--color-background-tertiary)}.bg-background-forth{background-color:var(--color-background-forth)}.bg-background-fifth{background-color:var(--color-background-fifth)}.bg-background-primary-layer{background-color:var(--color-background-primary-layer)}.bg-background-secondary-layer{background-color:var(--color-background-secondary-layer)}.bg-background-tertiary-layer{background-color:var(--color-background-tertiary-layer)}.bg-background-forth-layer{background-color:var(--color-background-forth-layer)}.bg-background-fifth-layer{background-color:var(--color-background-fifth-layer)}.text-primary-50{color:var(--color-primary-50)}.text-primary-100{color:var(--color-primary-100)}.text-primary-200{color:var(--color-primary-200)}.text-primary-300{color:var(--color-primary-300)}.text-primary-400{color:var(--color-primary-400)}.border-primary-50{border-color:var(--color-primary-50);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-primary-100{border-color:var(--color-primary-100);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-primary-200{border-color:var(--color-primary-200);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-primary-300{border-color:var(--color-primary-300);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-primary-400{border-color:var(--color-primary-400);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-50{border-color:var(--color-secondary-50);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-100{border-color:var(--color-secondary-100);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-200{border-color:var(--color-secondary-200);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-300{border-color:var(--color-secondary-300);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.border-secondary-400{border-color:var(--color-secondary-400);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-50{border-color:var(--color-secondary-50);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-100,.card-navy-50{padding:var(--yds-content-padding)}.card-navy-100{border-color:var(--color-secondary-100);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-200{border-color:var(--color-secondary-200);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-200,.card-navy-300{padding:var(--yds-content-padding)}.card-navy-300{border-color:var(--color-secondary-300);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width)}.card-navy-400{border-color:var(--color-secondary-400);border-radius:var(--yds-border-radius);border-width:var(--yds-border-width);padding:var(--yds-content-padding)}.z-select-box-dropdown{z-index:1000}}@layer components{.yds-button{align-items:center;border-radius:var(--button-border-radius);cursor:pointer;display:flex;font-family:var(--font-yds-wanted);font-size:var(--font-size-yds-b1);font-weight:var(--font-weight-yds-b1);height:var(--button-height);justify-content:center;line-height:var(--line-height-yds-b1)}.yds-button-fill-primary{background-color:var(--color-button-fill-primary-bg);color:var(--color-button-fill-primary-text)}.yds-button-outlined-primary{background-color:var(--color-button-outlined-primary-bg);border:var(--yds-border-width) solid var(--color-button-outlined-primary-border);color:var(--color-button-outlined-primary-text)}.yds-input-typography{color:var(--color-input-text);font-family:var(--input-typography-font-family);font-size:var(--input-typography-font-size);font-weight:var(--input-typography-font-weight);line-height:var(--input-typography-line-height)}.yds-checkbox-wrapper{align-items:center;display:flex;gap:var(--checkbox-wrapper-gap)}.yds-checkbox-typography{color:var(--color-checkbox-text);font-family:var(--font-yds-wanted);font-size:var(--font-size-yds-b2);font-weight:var(--font-weight-yds-b2);line-height:var(--line-height-yds-b2)}.yds-checkbox-indicator{align-items:center;border:var(--yds-border-width) solid var(--color-checkbox-indicator-border);border-radius:var(--checkbox-indicator-border-radius);color:var(--color-checkbox-indicator-text);display:flex;height:var(--checkbox-indicator-size);justify-content:center;width:var(--checkbox-indicator-size)}.yds-checkbox-indicator-inner-checked{background-color:var(--color-checkbox-indicator-checked-bg)}.yds-checkbox-indicator-inner-checked,.yds-checkbox-indicator-inner-unchecked{height:var(--checkbox-indicator-inner-size);width:var(--checkbox-indicator-inner-size)}.yds-checkbox-indicator-inner-unchecked{background-color:transparent}.yds-checkbox-icon-indicator,.yds-checkbox-indicator-inner-indeterminate{align-items:center;display:flex;height:var(--checkbox-indicator-size);justify-content:center;width:var(--checkbox-indicator-size)}.yds-checkbox-icon-indicator{border:var(--yds-border-width) solid var(--color-checkbox-indicator-border);border-radius:var(--checkbox-indicator-border-radius);color:var(--color-checkbox-indicator-text)}.yds-table-wrapper{background-color:var(--color-table-wrapper-bg);border-collapse:separate;border-spacing:0;color:var(--color-table-text);table-layout:fixed}.yds-table-header{background-color:var(--color-table-header-bg)}.yds-table-header-cell{color:var(--color-table-text-header);height:var(--table-header-height);overflow:hidden;padding:var(--table-cell-padding-y) var(--table-cell-padding-x);text-align:left;text-overflow:ellipsis;white-space:nowrap}.yds-table-row{background-color:var(--color-table-row-bg)}.yds-table-cell{border-bottom:var(--yds-border-width) solid var(--color-table-border);color:var(--color-table-text);height:var(--table-cell-height);overflow:hidden;padding:var(--table-cell-padding-y) var(--table-cell-padding-x);text-align:left;text-overflow:ellipsis;white-space:nowrap}}::-webkit-scrollbar{height:5px;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#555}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial}}}
package/dist/index.d.ts CHANGED
@@ -88,18 +88,4 @@ type SelectBoxProps = {
88
88
  } & VariantProps<typeof wrapperVariants>;
89
89
  declare function SelectBox({ size, selectBoxHook }: SelectBoxProps): react_jsx_runtime.JSX.Element;
90
90
 
91
- interface TableBaseProps extends React.ComponentPropsWithoutRef<'table'> {
92
- children: React.ReactNode;
93
- }
94
- interface TableScrollableProps extends TableBaseProps {
95
- scrollable: true;
96
- scrollClassName: `${'w-' | 'h-'}${string}`;
97
- }
98
- interface TableScrollUnAvailableProps extends TableBaseProps {
99
- scrollable?: false;
100
- scrollClassName?: never;
101
- }
102
- type TableProps = TableScrollableProps | TableScrollUnAvailableProps;
103
- declare function Table({ children, className, scrollable, scrollClassName, ...props }: TableProps): react_jsx_runtime.JSX.Element;
104
-
105
- export { Button, CheckBox, Input, SelectBox, Table, useSelectBox };
91
+ export { Button, CheckBox, Input, SelectBox, useSelectBox };
package/dist/index.esm.js CHANGED
@@ -1,28 +1,28 @@
1
- import{jsx as e,jsxs as r,Fragment as a}from"react/jsx-runtime";import{forwardRef as l,createElement as t,useId as n,useRef as i,useEffect as s,useState as o,useReducer as c,useMemo as d,useCallback as u,createContext as p}from"react";function h(e){var r,a,l="";if("string"==typeof e||"number"==typeof e)l+=e;else if("object"==typeof e)if(Array.isArray(e)){var t=e.length;for(r=0;r<t;r++)e[r]&&(a=h(e[r]))&&(l&&(l+=" "),l+=a)}else for(a in e)e[a]&&(l&&(l+=" "),l+=a);return l}function m(){for(var e,r,a=0,l="",t=arguments.length;a<t;a++)(e=arguments[a])&&(r=h(e))&&(l&&(l+=" "),l+=r);return l}const y=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,f=m,v=(e,r)=>a=>{var l;if(null==(null==r?void 0:r.variants))return f(e,null==a?void 0:a.class,null==a?void 0:a.className);const{variants:t,defaultVariants:n}=r,i=Object.keys(t).map(e=>{const r=null==a?void 0:a[e],l=null==n?void 0:n[e];if(null===r)return null;const i=y(r)||y(l);return t[e][i]}),s=a&&Object.entries(a).reduce((e,r)=>{let[a,l]=r;return void 0===l||(e[a]=l),e},{}),o=null==r||null===(l=r.compoundVariants)||void 0===l?void 0:l.reduce((e,r)=>{let{class:a,className:l,...t}=r;return Object.entries(t).every(e=>{let[r,a]=e;return Array.isArray(a)?a.includes({...n,...s}[r]):{...n,...s}[r]===a})?[...e,a,l]:e},[]);return f(e,i,o,null==a?void 0:a.class,null==a?void 0:a.className)},b=v("yds-button",{variants:{size:{sm:"w-20",md:"w-[120px]",lg:"w-40",full:"w-full"},variant:{fill:"",outlined:"bg-transparent border-2"},color:{primary:""},disabled:{true:"opacity-50 cursor-wait"}},compoundVariants:[{variant:"fill",color:"primary",class:"yds-button-fill-primary"},{variant:"outlined",color:"primary",class:"yds-button-outlined-primary"}],defaultVariants:{size:"md",variant:"fill",color:"primary"}});function w({size:r="md",variant:a,color:l,children:t,className:n="",ref:i,disabled:s=!1,...o}){return e("button",{ref:i,className:`${b({size:r,variant:a,color:l,className:n,disabled:s})}`,tabIndex:s?-1:0,"aria-label":o["aria-label"]||("string"==typeof t?t:"button"),disabled:s,...o,children:t})}w.displayName="Button";
1
+ import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{forwardRef as a,createElement as l,useId as n,useRef as i,useEffect as o,useState as s,useReducer as c,useMemo as d,useCallback as u}from"react";function p(e){var r,t,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(r=0;r<l;r++)e[r]&&(t=p(e[r]))&&(a&&(a+=" "),a+=t)}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}const h=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,m=function(){for(var e,r,t=0,a="",l=arguments.length;t<l;t++)(e=arguments[t])&&(r=p(e))&&(a&&(a+=" "),a+=r);return a},y=(e,r)=>t=>{var a;if(null==(null==r?void 0:r.variants))return m(e,null==t?void 0:t.class,null==t?void 0:t.className);const{variants:l,defaultVariants:n}=r,i=Object.keys(l).map(e=>{const r=null==t?void 0:t[e],a=null==n?void 0:n[e];if(null===r)return null;const i=h(r)||h(a);return l[e][i]}),o=t&&Object.entries(t).reduce((e,r)=>{let[t,a]=r;return void 0===a||(e[t]=a),e},{}),s=null==r||null===(a=r.compoundVariants)||void 0===a?void 0:a.reduce((e,r)=>{let{class:t,className:a,...l}=r;return Object.entries(l).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...n,...o}[r]):{...n,...o}[r]===t})?[...e,t,a]:e},[]);return m(e,i,s,null==t?void 0:t.class,null==t?void 0:t.className)},f=y("yds-button",{variants:{size:{sm:"w-20",md:"w-[120px]",lg:"w-40",full:"w-full"},variant:{fill:"",outlined:"bg-transparent border-2"},color:{primary:""},disabled:{true:"opacity-50 cursor-not-allowed"}},compoundVariants:[{variant:"fill",color:"primary",class:"yds-button-fill-primary"},{variant:"outlined",color:"primary",class:"yds-button-outlined-primary"}],defaultVariants:{size:"md",variant:"fill",color:"primary"}});function v({size:r="md",variant:t,color:a,children:l,className:n="",ref:i,disabled:o=!1,...s}){return e("button",{ref:i,className:`${f({size:r,variant:t,color:a,className:n,disabled:o})}`,tabIndex:o?-1:0,"aria-label":s["aria-label"]||("string"==typeof l?l:"button"),disabled:o,...s,children:l})}v.displayName="Button";
2
2
  /**
3
3
  * @license lucide-react v0.542.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
7
7
  */
8
- const x=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,a)=>a?a.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},g=(...e)=>e.filter((e,r,a)=>Boolean(e)&&""!==e.trim()&&a.indexOf(e)===r).join(" ").trim(),N=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
8
+ const b=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},w=(...e)=>e.filter((e,r,t)=>Boolean(e)&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim(),x=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
9
9
  /**
10
10
  * @license lucide-react v0.542.0 - ISC
11
11
  *
12
12
  * This source code is licensed under the ISC license.
13
13
  * See the LICENSE file in the root directory of this source tree.
14
14
  */
15
- var k={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
15
+ var g={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
16
16
  /**
17
17
  * @license lucide-react v0.542.0 - ISC
18
18
  *
19
19
  * This source code is licensed under the ISC license.
20
20
  * See the LICENSE file in the root directory of this source tree.
21
- */const C=l(({color:e="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:n="",children:i,iconNode:s,...o},c)=>t("svg",{ref:c,...k,width:r,height:r,stroke:e,strokeWidth:l?24*Number(a)/Number(r):a,className:g("lucide",n),...!i&&!N(o)&&{"aria-hidden":"true"},...o},[...s.map(([e,r])=>t(e,r)),...Array.isArray(i)?i:[i]])),O=(e,r)=>{const a=l(({className:a,...l},n)=>{return t(C,{ref:n,iconNode:r,className:g(`lucide-${i=x(e),i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...l});var i});return a.displayName=x(e),a},z=O("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),E=O("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),V=O("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),L=O("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),j=v("relative",{variants:{color:{"primary-400":"text-yellow-400","primary-100":"text-yellow-100",white:"text-white"}}}),A=v("yds-input-typography h-12 rounded-[8px] border-2 pr-3 focus:outline-none",{variants:{size:{sm:"w-[200px]",md:"w-[300px]",lg:"w-[400px]",full:"w-full"},color:{white:"border-white bg-transparent text-white placeholder-white","primary-400":"border-yellow-400 bg-transparent text-yellow-400 placeholder-yellow-400","primary-100":"border-yellow-100 bg-transparent text-yellow-100 placeholder-yellow-100"},variant:{search:"pl-10",input:"pl-3"},disabled:{true:"opacity-50 cursor-not-allowed bg-gray-100",false:""}},defaultVariants:{size:"md",color:"primary-100",variant:"input",disabled:!1}});
21
+ */const k=a(({color:e="currentColor",size:r=24,strokeWidth:t=2,absoluteStrokeWidth:a,className:n="",children:i,iconNode:o,...s},c)=>l("svg",{ref:c,...g,width:r,height:r,stroke:e,strokeWidth:a?24*Number(t)/Number(r):t,className:w("lucide",n),...!i&&!x(s)&&{"aria-hidden":"true"},...s},[...o.map(([e,r])=>l(e,r)),...Array.isArray(i)?i:[i]])),N=(e,r)=>{const t=a(({className:t,...a},n)=>{return l(k,{ref:n,iconNode:r,className:w(`lucide-${i=b(e),i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,t),...a});var i});return t.displayName=b(e),t},C=N("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),O=N("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),z=N("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),E=N("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),V=y("relative",{variants:{color:{"primary-400":"text-yellow-400","primary-100":"text-yellow-100",white:"text-white"}}}),L=y("yds-input-typography h-12 rounded-[8px] border-2 pr-3 focus:outline-none",{variants:{size:{sm:"w-[200px]",md:"w-[300px]",lg:"w-[400px]",full:"w-full"},color:{white:"border-white bg-transparent text-white placeholder-white","primary-400":"border-yellow-400 bg-transparent text-yellow-400 placeholder-yellow-400","primary-100":"border-yellow-100 bg-transparent text-yellow-100 placeholder-yellow-100"},variant:{search:"pl-10",input:"pl-3"},disabled:{true:"opacity-50 cursor-not-allowed bg-gray-100",false:""}},defaultVariants:{size:"md",color:"primary-100",variant:"input",disabled:!1}});
22
22
  /**
23
23
  * @license lucide-react v0.542.0 - ISC
24
24
  *
25
25
  * This source code is licensed under the ISC license.
26
26
  * See the LICENSE file in the root directory of this source tree.
27
- */function S({size:a,color:l,variant:t,disabled:n,...i}){return r("div",{className:j({color:l}),children:["search"===t&&e(L,{"aria-hidden":!0,className:"absolute top-1/2 left-3 h-6 w-6 -translate-y-1/2 text-current"}),e("input",{className:A({size:a,color:l,variant:t,disabled:n}),disabled:n,...i})]})}function T({value:l,name:t,checked:o,id:c,onCheckedChange:d,shape:u="square",indeterminate:p=!1,...h}){const m=c??n(),y=i(null);s(()=>{y.current&&(y.current.indeterminate=p)},[p]);const f=p?"indeterminate":o?"checked":"unchecked";return r("label",{htmlFor:m,className:"yds-checkbox-wrapper",onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),d(!o))},tabIndex:0,children:[e("input",{ref:y,id:m,type:"checkbox",checked:o,onChange:e=>{const r=e.target.checked;d(r)},className:"sr-only","aria-checked":p?"mixed":o?"true":"false",...h}),"square"===u&&e("div",{className:"yds-checkbox-indicator",children:e("div",{className:`yds-checkbox-indicator-inner-${f}`,children:p&&e(V,{size:20})})}),"check"===u&&e("div",{className:"yds-checkbox-icon-indicator",children:p?e("div",{children:e(V,{size:20})}):o?e(z,{size:20}):e(a,{})}),e("span",{className:"yds-checkbox-typography",children:l})]})}S.displayName="Input",T.displayName="CheckBox";const $=v("relative h-12",{variants:{size:{sm:"w-[200px]",md:"w-[300px]",lg:"w-[400px]",full:"w-full"}},defaultVariants:{size:"full"}});function R({size:a,selectBoxHook:l}){const{selectedOption:t,isOpen:n,searchValue:i,filteredOptions:s,selectedText:o,search:c,containerRef:d,handleClickOption:u,handleToggle:p,handleSearch:h}=l;return r("div",{className:$({size:a}),ref:d,children:[r("div",{className:"border-primary-100 text-yds-b1 flex h-full w-full cursor-pointer items-center justify-between rounded-lg border-2 p-3 text-yellow-100",onClick:p,children:[o,e(E,{className:"text-yellow-100 transition-transform duration-300"})]}),n&&r("div",{className:"bg-background-secondary border-primary-100 z-select-box-dropdown absolute top-14 left-0 flex w-full flex-col gap-2 rounded-lg border-2 p-3",children:[c&&r("div",{className:"flex h-[40px] items-center border-y-2 border-yellow-100",children:[e(L,{className:"text-yellow-100",size:20}),e("input",{type:"text",className:"w-full p-2 text-white hover:outline-none focus:outline-none",value:i,placeholder:"검색으로 쉽게찾기",onChange:e=>h(e.target.value)})]}),e("div",{className:"scrollbar-hide flex h-auto max-h-[200px] flex-col gap-2 overflow-y-scroll",children:s.map(a=>r("div",{className:"text-yds-c1m hover:bg-background-primary flex cursor-pointer items-center justify-between text-white",onClick:()=>u(a),children:[a.value,t.value===a.value&&e(z,{className:"text-yellow-100",size:20})]},a.label))})]})]})}const B={label:"",value:""},W=e=>{const{options:r,defaultValue:a,search:l=!1,value:t,onChange:n,filterFn:p=(e,r)=>e.value.toLowerCase().includes(r.toLowerCase()),itemToString:h=e=>e.value,getValue:m=e=>e.value}=e,y=void 0!==t,f=a&&r.find(e=>e.value===a)||B,[v,b]=o(f),[w,x]=c((e,r)=>{switch(r.type){case"OPEN":return{...e,isOpen:!0};case"CLOSE":return{isOpen:!1,searchValue:""};case"TOGGLE":return{...e,isOpen:!e.isOpen};case"SEARCH":return{...e,searchValue:r.term};case"RESET_SEARCH":return{...e,searchValue:""};default:return e}},{isOpen:!1,searchValue:""}),{isOpen:g,searchValue:N}=w,k=d(()=>y&&r.find(e=>e.value===t)||B,[y,r,t]),C=y?k:v,O=""!==C.value&&""!==C.label,z=i(null),E=u(()=>{x({type:"CLOSE"})},[]);var V,L;!function(e,r,a){s(()=>{if(!r)return;const l=r=>{const l=e.current;l&&(l.contains(r.target)||a())};return document.addEventListener("mousedown",l),()=>document.removeEventListener("mousedown",l)},[r,e,a])}(z,g,E),s(()=>{if(!V)return;const e=e=>{"Escape"===e.key&&L()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[V=g,L=E]),s(()=>{if(y)return;if(!a)return void b(B);const e=r.find(e=>e.value===a||e.label===a)||B;b(e)},[y,a]);const j=d(()=>N?r.filter(e=>p(e,N)):r,[r,N,p]),A=d(()=>O?h(C):"선택",[O,h,C]);return{selectedOption:C,isOpen:g,searchValue:N,options:r,search:l,containerRef:z,handleClickOption:e=>{y?n?.(e.value,e):b(e),E()},handleToggle:()=>{x({type:"TOGGLE"})},handleSearch:e=>{x({type:"SEARCH",term:e})},handleClose:E,value:C.value,label:C.label,hasOption:O,filteredOptions:j,selectedText:A,itemToString:h,getValue:m}},G=p(null);function H({children:r,className:a,scrollable:l,scrollClassName:t,...n}){return e(G.Provider,l?{value:{scrollable:l},children:e("div",{className:m("overflow-y-auto",t),children:e("table",{...n,className:m("yds-table-wrapper",a),children:r})})}:{value:{scrollable:!1},children:e("table",{...n,className:m("yds-table-wrapper",a),children:r})})}export{w as Button,T as CheckBox,S as Input,R as SelectBox,H as Table,W as useSelectBox};
27
+ */function j({size:t,color:a,variant:l,disabled:n,...i}){return r("div",{className:V({color:a}),children:["search"===l&&e(E,{"aria-hidden":!0,className:"absolute top-1/2 left-3 h-6 w-6 -translate-y-1/2 text-current"}),e("input",{className:L({size:t,color:a,variant:l,disabled:n}),disabled:n,...i})]})}function A({value:a,name:l,checked:s,id:c,onCheckedChange:d,shape:u="square",indeterminate:p=!1,...h}){const m=c??n(),y=i(null);o(()=>{y.current&&(y.current.indeterminate=p)},[p]);const f=p?"indeterminate":s?"checked":"unchecked";return r("label",{htmlFor:m,className:"yds-checkbox-wrapper",onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),d(!s))},tabIndex:0,children:[e("input",{ref:y,id:m,type:"checkbox",checked:s,onChange:e=>{const r=e.target.checked;d(r)},className:"sr-only","aria-checked":p?"mixed":s?"true":"false",...h}),"square"===u&&e("div",{className:"yds-checkbox-indicator",children:e("div",{className:`yds-checkbox-indicator-inner-${f}`,children:p&&e(z,{size:20})})}),"check"===u&&e("div",{className:"yds-checkbox-icon-indicator",children:p?e("div",{children:e(z,{size:20})}):s?e(C,{size:20}):e(t,{})}),e("span",{className:"yds-checkbox-typography",children:a})]})}j.displayName="Input",A.displayName="CheckBox";const S=y("relative h-12",{variants:{size:{sm:"w-[200px]",md:"w-[300px]",lg:"w-[400px]",full:"w-full"}},defaultVariants:{size:"full"}});function T({size:t,selectBoxHook:a}){const{selectedOption:l,isOpen:n,searchValue:i,filteredOptions:o,selectedText:s,search:c,containerRef:d,handleClickOption:u,handleToggle:p,handleSearch:h}=a;return r("div",{className:S({size:t}),ref:d,children:[r("div",{className:"border-primary-100 text-yds-b1 flex h-full w-full cursor-pointer items-center justify-between rounded-lg border-2 p-3 text-yellow-100",onClick:p,children:[s,e(O,{className:"text-yellow-100 transition-transform duration-300"})]}),n&&r("div",{className:"bg-background-secondary border-primary-100 z-select-box-dropdown absolute top-14 left-0 flex w-full flex-col gap-2 rounded-lg border-2 p-3",children:[c&&r("div",{className:"flex h-[40px] items-center border-y-2 border-yellow-100",children:[e(E,{className:"text-yellow-100",size:20}),e("input",{type:"text",className:"w-full p-2 text-white hover:outline-none focus:outline-none",value:i,placeholder:"검색으로 쉽게찾기",onChange:e=>h(e.target.value)})]}),e("div",{className:"scrollbar-hide flex h-auto max-h-[200px] flex-col gap-2 overflow-y-scroll",children:o.map(t=>r("div",{className:"text-yds-c1m hover:bg-background-primary flex cursor-pointer items-center justify-between text-white",onClick:()=>u(t),children:[t.value,l.value===t.value&&e(C,{className:"text-yellow-100",size:20})]},t.label))})]})]})}const $={label:"",value:""},R=e=>{const{options:r,defaultValue:t,search:a=!1,value:l,onChange:n,filterFn:p=(e,r)=>e.value.toLowerCase().includes(r.toLowerCase()),itemToString:h=e=>e.value,getValue:m=e=>e.value}=e,y=void 0!==l,f=t&&r.find(e=>e.value===t)||$,[v,b]=s(f),[w,x]=c((e,r)=>{switch(r.type){case"OPEN":return{...e,isOpen:!0};case"CLOSE":return{isOpen:!1,searchValue:""};case"TOGGLE":return{...e,isOpen:!e.isOpen};case"SEARCH":return{...e,searchValue:r.term};case"RESET_SEARCH":return{...e,searchValue:""};default:return e}},{isOpen:!1,searchValue:""}),{isOpen:g,searchValue:k}=w,N=d(()=>y&&r.find(e=>e.value===l)||$,[y,r,l]),C=y?N:v,O=""!==C.value&&""!==C.label,z=i(null),E=u(()=>{x({type:"CLOSE"})},[]);var V,L;!function(e,r,t){o(()=>{if(!r)return;const a=r=>{const a=e.current;a&&(a.contains(r.target)||t())};return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)},[r,e,t])}(z,g,E),o(()=>{if(!V)return;const e=e=>{"Escape"===e.key&&L()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[V=g,L=E]),o(()=>{if(y)return;if(!t)return void b($);const e=r.find(e=>e.value===t||e.label===t)||$;b(e)},[y,t]);const j=d(()=>k?r.filter(e=>p(e,k)):r,[r,k,p]),A=d(()=>O?h(C):"선택",[O,h,C]);return{selectedOption:C,isOpen:g,searchValue:k,options:r,search:a,containerRef:z,handleClickOption:e=>{y?n?.(e.value,e):b(e),E()},handleToggle:()=>{x({type:"TOGGLE"})},handleSearch:e=>{x({type:"SEARCH",term:e})},handleClose:E,value:C.value,label:C.label,hasOption:O,filteredOptions:j,selectedText:A,itemToString:h,getValue:m}};export{v as Button,A as CheckBox,j as Input,T as SelectBox,R as useSelectBox};
28
28
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs","../src/components/Button/Button.tsx","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/defaultAttributes.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/Icon.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/check.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/minus.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js","../src/components/Input/Input.tsx","../src/components/CheckBox/CheckBox.tsx","../src/components/SelectBox/SelectBox.tsx","../src/components/SelectBox/hooks/useSelectBox.tsx","../src/components/SelectBox/hooks/useDismiss.ts","../src/components/Table/Table.tsx"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n",null,"/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\nconst toCamelCase = (string) => string.replace(\n /^([A-Z])|[\\s-_]+(\\w)/g,\n (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()\n);\nconst toPascalCase = (string) => {\n const camelCase = toCamelCase(string);\n return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\nconst hasA11yProp = (props) => {\n for (const prop in props) {\n if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n return true;\n }\n }\n};\n\nexport { hasA11yProp, mergeClasses, toCamelCase, toKebabCase, toPascalCase };\n//# sourceMappingURL=utils.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nvar defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes.js';\nimport { mergeClasses, hasA11yProp } from './shared/src/utils.js';\n\nconst Icon = forwardRef(\n ({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = \"\",\n children,\n iconNode,\n ...rest\n }, ref) => createElement(\n \"svg\",\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,\n className: mergeClasses(\"lucide\", className),\n ...!children && !hasA11yProp(rest) && { \"aria-hidden\": \"true\" },\n ...rest\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n )\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from './shared/src/utils.js';\nimport Icon from './Icon.js';\n\nconst createLucideIcon = (iconName, iconNode) => {\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className\n ),\n ...props\n })\n );\n Component.displayName = toPascalCase(iconName);\n return Component;\n};\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]];\nconst Check = createLucideIcon(\"check\", __iconNode);\n\nexport { __iconNode, Check as default };\n//# sourceMappingURL=check.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"m6 9 6 6 6-6\", key: \"qrunsl\" }]];\nconst ChevronDown = createLucideIcon(\"chevron-down\", __iconNode);\n\nexport { __iconNode, ChevronDown as default };\n//# sourceMappingURL=chevron-down.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M5 12h14\", key: \"1ays0h\" }]];\nconst Minus = createLucideIcon(\"minus\", __iconNode);\n\nexport { __iconNode, Minus as default };\n//# sourceMappingURL=minus.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"m21 21-4.34-4.34\", key: \"14j7rj\" }],\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }]\n];\nconst Search = createLucideIcon(\"search\", __iconNode);\n\nexport { __iconNode, Search as default };\n//# sourceMappingURL=search.js.map\n",null,null,null,null,null,null],"names":["r","e","t","f","n","Array","isArray","o","length","clsx","arguments","falsyToString","value","cx","cva","base","config","props","_config_compoundVariants","variants","class","className","defaultVariants","getVariantClassNames","Object","keys","map","variant","variantProp","defaultVariantProp","variantKey","propsWithoutUndefined","entries","reduce","acc","param","key","undefined","getCompoundVariantClassNames","compoundVariants","cvClass","cvClassName","compoundVariantOptions","every","includes","buttonVariants","size","sm","md","lg","full","fill","outlined","color","primary","disabled","true","Button","children","ref","_jsx","tabIndex","displayName","toPascalCase","string","camelCase","replace","match","p1","p2","toUpperCase","toLowerCase","toCamelCase","charAt","slice","mergeClasses","classes","filter","index","array","Boolean","trim","indexOf","join","hasA11yProp","prop","startsWith","defaultAttributes","xmlns","width","height","viewBox","stroke","strokeWidth","strokeLinecap","strokeLinejoin","Icon","forwardRef","absoluteStrokeWidth","iconNode","rest","createElement","Number","tag","attrs","createLucideIcon","iconName","Component","Check","d","ChevronDown","Minus","Search","cy","wrapperVariants","white","inputVariants","search","input","false","Input","_jsxs","CheckBox","name","checked","id","onCheckedChange","shape","indeterminate","checkboxId","useId","inputRef","useRef","useEffect","current","displayState","htmlFor","onKeyDown","preventDefault","type","onChange","newChecked","target","CheckIcon","_Fragment","SelectBox","selectBoxHook","selectedOption","isOpen","searchValue","filteredOptions","selectedText","containerRef","handleClickOption","handleToggle","handleSearch","onClick","placeholder","option","label","EMPTY_OPTION","useSelectBox","options","defaultValue","filterFn","opt","term","itemToString","getValue","isControlled","defaultOption","find","setSelectedOption","useState","ui","dispatch","useReducer","s","a","controlledSelected","useMemo","viewSelected","hasOption","handleClose","useCallback","enabled","onDismiss","handle","event","el","contains","document","addEventListener","removeEventListener","useOutsideDismiss","next","TableContext","createContext","Table","scrollable","scrollClassName","Provider"],"mappings":"2OAAA,SAASA,EAAEC,GAAG,IAAIC,EAAEC,EAAEC,EAAE,GAAG,GAAG,iBAAiBH,GAAG,iBAAiBA,EAAEG,GAAGH,OAAO,GAAG,iBAAiBA,EAAE,GAAGI,MAAMC,QAAQL,GAAG,CAAC,IAAIM,EAAEN,EAAEO,OAAO,IAAIN,EAAE,EAAEA,EAAEK,EAAEL,IAAID,EAAEC,KAAKC,EAAEH,EAAEC,EAAEC,OAAOE,IAAIA,GAAG,KAAKA,GAAGD,EAAE,MAAM,IAAIA,KAAKF,EAAEA,EAAEE,KAAKC,IAAIA,GAAG,KAAKA,GAAGD,GAAG,OAAOC,CAAC,CAAQ,SAASK,IAAO,IAAI,IAAIR,EAAEC,EAAEC,EAAE,EAAEC,EAAE,GAAGG,EAAEG,UAAUF,OAAOL,EAAEI,EAAEJ,KAAKF,EAAES,UAAUP,MAAMD,EAAEF,EAAEC,MAAMG,IAAIA,GAAG,KAAKA,GAAGF,GAAG,OAAOE,CAAC,CCe/W,MAAMO,EAAiBC,GAAyB,kBAAVA,EAAsB,GAAGA,IAAoB,IAAVA,EAAc,IAAMA,EAChFC,EAAKJ,EACLK,EAAM,CAACC,EAAMC,IAAUC,IAC5B,IAAIC,EACJ,GAA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,IAAWkB,EAAOlJ,MAAOkJ,GAEzBc,EAAkBd,GAEpByB,KAcA7B,aA5BmB,KACnBqB,EAAS,CAAEpC,KAAM,YA4BjBgB,aAzBoB/I,IACpBmK,EAAS,CAAEpC,KAAM,SAAU2B,KAAM1J,KAyBjC2K,cAGA3K,MAAOyK,EAAazK,MACpBmJ,MAAOsB,EAAatB,MACpBuB,YACAhC,kBACAC,eACAgB,eACAC,aErIS4B,EAAeC,EAAuC,MAkB7D,SAAUC,GAAM5I,SAAEA,EAAQrC,UAAEA,EAASkL,WAAEA,EAAUC,gBAAEA,KAAoBvL,IAC3E,OAEI2C,EAACwI,EAAaK,SAFdF,GAEuB3L,MAAO,CAAE2L,cAAY7I,SAC1CE,EAAA,MAAA,CAAKvC,UAAWZ,EAAK,kBAAmB+L,YACtC5I,EAAA,QAAA,IAAW3C,EAAOI,UAAWZ,EAAK,oBAAqBY,GAAUqC,SAC9DA,OAOe,CAAC9C,MAAO,CAAE2L,YAAY,GAAO7I,SACjDE,EAAA,QAAA,IAAW3C,EAAOI,UAAWZ,EAAK,oBAAqBY,GAAUqC,SAC9DA,KAKX","x_google_ignoreList":[0,1,3,4,5,6,7,8,9,10]}
1
+ {"version":3,"file":"index.esm.js","sources":["../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs","../src/components/Button/Button.tsx","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/defaultAttributes.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/Icon.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/check.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/minus.js","../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js","../src/components/Input/Input.tsx","../src/components/CheckBox/CheckBox.tsx","../src/components/SelectBox/SelectBox.tsx","../src/components/SelectBox/hooks/useSelectBox.tsx","../src/components/SelectBox/hooks/useDismiss.ts"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n",null,"/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\nconst toCamelCase = (string) => string.replace(\n /^([A-Z])|[\\s-_]+(\\w)/g,\n (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()\n);\nconst toPascalCase = (string) => {\n const camelCase = toCamelCase(string);\n return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\nconst hasA11yProp = (props) => {\n for (const prop in props) {\n if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n return true;\n }\n }\n};\n\nexport { hasA11yProp, mergeClasses, toCamelCase, toKebabCase, toPascalCase };\n//# sourceMappingURL=utils.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nvar defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes.js';\nimport { mergeClasses, hasA11yProp } from './shared/src/utils.js';\n\nconst Icon = forwardRef(\n ({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = \"\",\n children,\n iconNode,\n ...rest\n }, ref) => createElement(\n \"svg\",\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,\n className: mergeClasses(\"lucide\", className),\n ...!children && !hasA11yProp(rest) && { \"aria-hidden\": \"true\" },\n ...rest\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n )\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from './shared/src/utils.js';\nimport Icon from './Icon.js';\n\nconst createLucideIcon = (iconName, iconNode) => {\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className\n ),\n ...props\n })\n );\n Component.displayName = toPascalCase(iconName);\n return Component;\n};\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]];\nconst Check = createLucideIcon(\"check\", __iconNode);\n\nexport { __iconNode, Check as default };\n//# sourceMappingURL=check.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"m6 9 6 6 6-6\", key: \"qrunsl\" }]];\nconst ChevronDown = createLucideIcon(\"chevron-down\", __iconNode);\n\nexport { __iconNode, ChevronDown as default };\n//# sourceMappingURL=chevron-down.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M5 12h14\", key: \"1ays0h\" }]];\nconst Minus = createLucideIcon(\"minus\", __iconNode);\n\nexport { __iconNode, Minus as default };\n//# sourceMappingURL=minus.js.map\n","/**\n * @license lucide-react v0.542.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"m21 21-4.34-4.34\", key: \"14j7rj\" }],\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }]\n];\nconst Search = createLucideIcon(\"search\", __iconNode);\n\nexport { __iconNode, Search as default };\n//# sourceMappingURL=search.js.map\n",null,null,null,null,null],"names":["r","e","t","f","n","Array","isArray","o","length","falsyToString","value","cx","arguments","cva","base","config","props","_config_compoundVariants","variants","class","className","defaultVariants","getVariantClassNames","Object","keys","map","variant","variantProp","defaultVariantProp","variantKey","propsWithoutUndefined","entries","reduce","acc","param","key","undefined","getCompoundVariantClassNames","compoundVariants","cvClass","cvClassName","compoundVariantOptions","every","includes","buttonVariants","size","sm","md","lg","full","fill","outlined","color","primary","disabled","true","Button","children","ref","_jsx","tabIndex","displayName","toPascalCase","string","camelCase","replace","match","p1","p2","toUpperCase","toLowerCase","toCamelCase","charAt","slice","mergeClasses","classes","filter","index","array","Boolean","trim","indexOf","join","hasA11yProp","prop","startsWith","defaultAttributes","xmlns","width","height","viewBox","stroke","strokeWidth","strokeLinecap","strokeLinejoin","Icon","forwardRef","absoluteStrokeWidth","iconNode","rest","createElement","Number","tag","attrs","createLucideIcon","iconName","Component","Check","d","ChevronDown","Minus","Search","cy","wrapperVariants","white","inputVariants","search","input","false","Input","_jsxs","CheckBox","name","checked","id","onCheckedChange","shape","indeterminate","checkboxId","useId","inputRef","useRef","useEffect","current","displayState","htmlFor","onKeyDown","preventDefault","type","onChange","newChecked","target","CheckIcon","_Fragment","SelectBox","selectBoxHook","selectedOption","isOpen","searchValue","filteredOptions","selectedText","containerRef","handleClickOption","handleToggle","handleSearch","onClick","placeholder","option","label","EMPTY_OPTION","useSelectBox","options","defaultValue","filterFn","opt","term","itemToString","getValue","isControlled","defaultOption","find","setSelectedOption","useState","ui","dispatch","useReducer","s","a","controlledSelected","useMemo","viewSelected","hasOption","handleClose","useCallback","enabled","onDismiss","handle","event","el","contains","document","addEventListener","removeEventListener","useOutsideDismiss","next"],"mappings":"wNAAA,SAASA,EAAEC,GAAG,IAAIC,EAAEC,EAAEC,EAAE,GAAG,GA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D,EAAU,KACR,IAAKoD,EAAS,OAEd,MAAME,EAAUC,IACI,WAAdA,EAAMxJ,KAAkBsJ,KAI9B,OADAK,SAASC,iBAAiB,UAAWL,GAC9B,IAAMI,SAASE,oBAAoB,UAAWN,IACpD,CAV4BF,EDuDdrC,ECvDgCsC,EDuDxBH,IAGzBlD,EAAU,KACR,GAAIoC,EAAc,OAClB,IAAKN,EAEH,YADAS,EAAkBZ,GAGpB,MAAMmC,EAAOjC,EAAQS,KAAKN,GAAOA,EAAI1J,QAAUwJ,GAAgBE,EAAIN,QAAUI,IAAiBH,EAC9FY,EAAkBuB,IACjB,CAAC1B,EAAcN,IAGlB,MAAMb,EAAkB8B,EAAQ,IACzB/B,EACEa,EAAQrF,OAAOwF,GAAOD,EAASC,EAAKhB,IADlBa,EAExB,CAACA,EAASb,EAAae,IAEpBb,EAAe6B,EAAQ,IACpBE,EAAYf,EAAac,GAAgB,KAC/C,CAACC,EAAWf,EAAcc,IAmB7B,MAAO,CAELlC,eAAgBkC,EAChBjC,SACAC,cACAa,UACA7C,SACAmC,eAGAC,kBAnBoBK,IAChBW,EACF7B,IAAWkB,EAAOnJ,MAAOmJ,GAEzBc,EAAkBd,GAEpByB,KAcA7B,aA5BmB,KACnBqB,EAAS,CAAEpC,KAAM,YA4BjBgB,aAzBoBhJ,IACpBoK,EAAS,CAAEpC,KAAM,SAAU2B,KAAM3J,KAyBjC4K,cAGA5K,MAAO0K,EAAa1K,MACpBoJ,MAAOsB,EAAatB,MACpBuB,YACAhC,kBACAC,eACAgB,eACAC","x_google_ignoreList":[0,1,3,4,5,6,7,8,9,10]}
@@ -4,3 +4,12 @@ declare const meta: Meta<typeof Table>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Table>;
6
6
  export declare const Default: Story;
7
+ export declare const Examples: {
8
+ parameters: {
9
+ layout: string;
10
+ docs: {
11
+ disable: boolean;
12
+ };
13
+ };
14
+ render: () => import("react/jsx-runtime").JSX.Element;
15
+ };
@@ -2,4 +2,3 @@ export { Button } from './Button/Button';
2
2
  export { Input } from './Input/Input';
3
3
  export { CheckBox } from './CheckBox/CheckBox';
4
4
  export { SelectBox, useSelectBox } from './SelectBox';
5
- export { Table } from './Table';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Storybook에서 사용하는 공통 유틸리티 함수들
3
+ */
4
+ /**
5
+ * 클립보드에 코드를 복사하고 성공 토스트를 표시합니다.
6
+ * @param code - 클립보드에 복사할 코드 문자열
7
+ */
8
+ export declare const copyCodeToClipboard: (code: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youngduck/yd-ui",
3
- "version": "0.9.1",
3
+ "version": "0.10.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",
@@ -28,6 +28,9 @@
28
28
  "storybook": "storybook dev -p 6006",
29
29
  "build-storybook": "storybook build",
30
30
  "chromatic": "chromatic --exit-zero-on-changes",
31
+ "docs:dev": "vitepress dev ui-docs-site",
32
+ "docs:build": "vitepress build ui-docs-site",
33
+ "docs:preview": "vitepress preview ui-docs-site",
31
34
  "lint": "eslint src --ext .js,.jsx,.ts,.tsx",
32
35
  "lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
33
36
  "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
@@ -81,7 +84,8 @@
81
84
  "storybook": "^8.4.7",
82
85
  "tslib": "^2.8.1",
83
86
  "typescript": "^5.7.2",
84
- "typescript-eslint": "^8.38.0"
87
+ "typescript-eslint": "^8.38.0",
88
+ "vitepress": "^1.6.3"
85
89
  },
86
90
  "dependencies": {
87
91
  "@tailwindcss/postcss": "^4.1.11",
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import { type VariantProps } from 'class-variance-authority';
3
- declare const boxVariants: (props?: ({
4
- size?: "sm" | "md" | "lg" | null | undefined;
5
- state?: "disabled" | "checked" | "unchecked" | "indeterminate" | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- export type CheckboxSize = VariantProps<typeof boxVariants>['size'];
8
- type BaseProps = {
9
- id?: string;
10
- name?: string;
11
- value?: string;
12
- checked?: boolean;
13
- defaultChecked?: boolean;
14
- indeterminate?: boolean;
15
- disabled?: boolean;
16
- required?: boolean;
17
- ariaLabel?: string;
18
- label?: React.ReactNode;
19
- description?: React.ReactNode;
20
- onCheckedChange?: (checked: boolean) => void;
21
- className?: string;
22
- boxClassName?: string;
23
- };
24
- export type CheckboxProps = BaseProps & VariantProps<typeof boxVariants> & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'checked' | 'defaultChecked' | 'onChange' | 'aria-label'> & {
25
- ref?: React.Ref<HTMLInputElement>;
26
- };
27
- export declare const StudyCheckBox: ({ id, name, value, checked, defaultChecked, indeterminate, disabled, required, ariaLabel, label, description, onCheckedChange, size, className, boxClassName, ref, ...rest }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
28
- export {};