@rainbow-robotics/muscat-plugin-kit 1.3.3-dev.0 → 1.3.4

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.
Files changed (98) hide show
  1. package/cli/docker/Dockerfile.cpp +1 -1
  2. package/cli/docker/Dockerfile.dev +1 -1
  3. package/cli/src/build.mjs +17 -0
  4. package/cli/src/devBack.mjs +55 -6
  5. package/cli/src/manifest.mjs +11 -0
  6. package/cli/src/mcp.mjs +2 -1
  7. package/cli/src/new.mjs +7 -1
  8. package/cli/src/python.mjs +7 -3
  9. package/cli/storybook-dist/_stories-src/RBInput/RBSelectBox.stories.tsx +98 -1
  10. package/cli/storybook-dist/assets/{Color-YHDXOIA2-DNIJVGRw.js → Color-YHDXOIA2-B2UeRrKo.js} +1 -1
  11. package/cli/storybook-dist/assets/{Docs-wnrZBY76.js → Docs--RZRtFEG.js} +1 -1
  12. package/cli/storybook-dist/assets/{Docs-CdX_ToEv.js → Docs-0e3RdOES.js} +1 -1
  13. package/cli/storybook-dist/assets/{Docs-D9eMx0Cp.js → Docs-BOQIr4GF.js} +1 -1
  14. package/cli/storybook-dist/assets/{Docs-x99QNSvG.js → Docs-ByEENH63.js} +1 -1
  15. package/cli/storybook-dist/assets/{Docs-RJox-ekp.js → Docs-C9piXmyp.js} +1 -1
  16. package/cli/storybook-dist/assets/{Docs-CIT3omBi.js → Docs-Ldq5Lk3l.js} +1 -1
  17. package/cli/storybook-dist/assets/{DocsRenderer-CFRXHY34-CPuvjoGb.js → DocsRenderer-CFRXHY34-BqtNk965.js} +1 -1
  18. package/cli/storybook-dist/assets/{NxAvatar.stories-B3OxXBgc.js → NxAvatar.stories-vhMGYFV3.js} +1 -1
  19. package/cli/storybook-dist/assets/{NxButton.stories-UTqX8ZkA.js → NxButton.stories-g3PPaKCF.js} +1 -1
  20. package/cli/storybook-dist/assets/{NxNumberInput.stories-GoLEe-uJ.js → NxNumberInput.stories-DqMOTXut.js} +1 -1
  21. package/cli/storybook-dist/assets/{NxPagination.stories-Jj6dt6eG.js → NxPagination.stories-Ck9eWMxu.js} +1 -1
  22. package/cli/storybook-dist/assets/{NxPointerHoldButton.stories-tLN9u4nC.js → NxPointerHoldButton.stories-Co0n4bRm.js} +1 -1
  23. package/cli/storybook-dist/assets/{NxRangeInput.stories-C-MK73xb.js → NxRangeInput.stories-DJ4Dc_Br.js} +1 -1
  24. package/cli/storybook-dist/assets/{NxSelectBox.stories-CBcFcOIX.js → NxSelectBox.stories-sKn1_PSs.js} +1 -1
  25. package/cli/storybook-dist/assets/{NxSlideRange.stories-oNQkoW66.js → NxSlideRange.stories-tYCfNfrK.js} +1 -1
  26. package/cli/storybook-dist/assets/{NxSwitch.stories-CqBkO5GC.js → NxSwitch.stories-D1CESdtI.js} +1 -1
  27. package/cli/storybook-dist/assets/{NxTextArea.stories-DtysSyl4.js → NxTextArea.stories-gXgdkMpM.js} +1 -1
  28. package/cli/storybook-dist/assets/{NxTextInput.stories-BOLDbSgF.js → NxTextInput.stories-BVtu1SGw.js} +1 -1
  29. package/cli/storybook-dist/assets/{RBAccordion.stories-D9-wu9LY.js → RBAccordion.stories-ITTXwvIC.js} +1 -1
  30. package/cli/storybook-dist/assets/{RBAccordionGroup.stories-BPfnIKm6.js → RBAccordionGroup.stories-DHRZ0DAZ.js} +1 -1
  31. package/cli/storybook-dist/assets/{RBAlert.stories-CGn-c2ac.js → RBAlert.stories-DAGPBzy6.js} +1 -1
  32. package/cli/storybook-dist/assets/{RBBadge.stories-CBLmeoq1.js → RBBadge.stories-_5EIgPVn.js} +1 -1
  33. package/cli/storybook-dist/assets/{RBBattery.stories-oo47rbDh.js → RBBattery.stories-79bKYMPL.js} +1 -1
  34. package/cli/storybook-dist/assets/{RBCard.stories-SiD2VfQ4.js → RBCard.stories-DNmgScpm.js} +1 -1
  35. package/cli/storybook-dist/assets/{RBCheckBox.stories-sEEVrjSg.js → RBCheckBox.stories-DI_96r8j.js} +1 -1
  36. package/cli/storybook-dist/assets/{RBCheckIconButton.stories-C5GQUjZf.js → RBCheckIconButton.stories-CbmSpA0D.js} +1 -1
  37. package/cli/storybook-dist/assets/{RBCheckLabelButton.stories-DTaTqBvJ.js → RBCheckLabelButton.stories-CoPpdXMB.js} +1 -1
  38. package/cli/storybook-dist/assets/{RBChipTab.stories-3AZr4kOz.js → RBChipTab.stories-BS-iPRc9.js} +1 -1
  39. package/cli/storybook-dist/assets/{RBChipsBoxTab.stories-hCJnBYQl.js → RBChipsBoxTab.stories-DyBVIzLX.js} +1 -1
  40. package/cli/storybook-dist/assets/{RBColorIcons.stories-BX4RJygu.js → RBColorIcons.stories-D7N2NFhV.js} +1 -1
  41. package/cli/storybook-dist/assets/{RBCommand.stories-BidZ4H8f.js → RBCommand.stories-C7d_H0yh.js} +1 -1
  42. package/cli/storybook-dist/assets/{RBConfirm.stories-D3Txw1kT.js → RBConfirm.stories-eUy660-L.js} +1 -1
  43. package/cli/storybook-dist/assets/{RBDateInput.stories-CLxRaN6T.js → RBDateInput.stories-DkniiLTP.js} +1 -1
  44. package/cli/storybook-dist/assets/{RBDialog.stories-CEhmUGp-.js → RBDialog.stories-D1EWiZSD.js} +1 -1
  45. package/cli/storybook-dist/assets/{RBDivider.stories-peXP2KG9.js → RBDivider.stories-C7n_c-5k.js} +1 -1
  46. package/cli/storybook-dist/assets/{RBDrawer.stories-38iDf6uC.js → RBDrawer.stories-BFrHR8Iq.js} +1 -1
  47. package/cli/storybook-dist/assets/{RBDropdownMenu.stories-Dsi8tqSy.js → RBDropdownMenu.stories-DHKOHSab.js} +1 -1
  48. package/cli/storybook-dist/assets/{RBEmptyView.stories-VMxWhzLP.js → RBEmptyView.stories-ByuI33BT.js} +1 -1
  49. package/cli/storybook-dist/assets/{RBIconButton.stories-BPLhceGO.js → RBIconButton.stories-B9nDdXcG.js} +1 -1
  50. package/cli/storybook-dist/assets/{RBIcons.stories-DuYdO951.js → RBIcons.stories-Cg5DyQv7.js} +1 -1
  51. package/cli/storybook-dist/assets/{RBInlineLabelButton.stories-CGNYhQyl.js → RBInlineLabelButton.stories-Dw20jVap.js} +1 -1
  52. package/cli/storybook-dist/assets/{RBJoyStick.stories-CCmn-LMy.js → RBJoyStick.stories-DRnBLCMK.js} +1 -1
  53. package/cli/storybook-dist/assets/{RBLabelButton.stories-IkKjthGk.js → RBLabelButton.stories-BSq9R58x.js} +1 -1
  54. package/cli/storybook-dist/assets/{RBLight.stories-eJFQOjPH.js → RBLight.stories-DU1fcd2i.js} +1 -1
  55. package/cli/storybook-dist/assets/{RBMenubar.stories-kg-xXGrW.js → RBMenubar.stories-BMbcFRh3.js} +1 -1
  56. package/cli/storybook-dist/assets/{RBMultiRangeInput.stories-Czr1r3gd.js → RBMultiRangeInput.stories-DLSOVm4n.js} +1 -1
  57. package/cli/storybook-dist/assets/{RBPagination.stories-Dyu6Khnl.js → RBPagination.stories-Bk1aO3_Q.js} +1 -1
  58. package/cli/storybook-dist/assets/{RBPopover.stories-CAM6hpf2.js → RBPopover.stories-CuFAtQHi.js} +1 -1
  59. package/cli/storybook-dist/assets/{RBPrompt.stories-B4M-veaf.js → RBPrompt.stories-Bo4x13ZF.js} +1 -1
  60. package/cli/storybook-dist/assets/{RBRadioBox.stories-DeAOKvil.js → RBRadioBox.stories-ePsrSWZw.js} +1 -1
  61. package/cli/storybook-dist/assets/{RBRadioButton.stories-DjXwYXFy.js → RBRadioButton.stories-BPgZcc3F.js} +1 -1
  62. package/cli/storybook-dist/assets/{RBRangeDateInput.stories-9pzKhXGf.js → RBRangeDateInput.stories-Bn2jQYdc.js} +1 -1
  63. package/cli/storybook-dist/assets/{RBResizable.stories-B4Hi4DUD.js → RBResizable.stories-CcZAke_t.js} +1 -1
  64. package/cli/storybook-dist/assets/RBSelectBox.stories-D2TmMKuY.js +74 -0
  65. package/cli/storybook-dist/assets/{RBSheet.stories-BwOCmaNN.js → RBSheet.stories-DMX5cfpA.js} +1 -1
  66. package/cli/storybook-dist/assets/{RBSideNumberInput.stories-BbGOIitU.js → RBSideNumberInput.stories-DQsk7EcR.js} +1 -1
  67. package/cli/storybook-dist/assets/{RBSlider.stories-yIDdawYQ.js → RBSlider.stories-Mo-EYOeG.js} +1 -1
  68. package/cli/storybook-dist/assets/{RBSpinner.stories-CIJvpbgK.js → RBSpinner.stories-DUfDdtn3.js} +1 -1
  69. package/cli/storybook-dist/assets/{RBSwitch.stories-Bo8hrSiq.js → RBSwitch.stories-D_Hkm4Me.js} +1 -1
  70. package/cli/storybook-dist/assets/{RBTab.stories-Cq3N4Dgb.js → RBTab.stories-z6PQh3xa.js} +1 -1
  71. package/cli/storybook-dist/assets/{RBTable.stories-DDeZf-Wb.js → RBTable.stories-BtzyR3B8.js} +1 -1
  72. package/cli/storybook-dist/assets/{RBTableRow.stories-BeKVMSo3.js → RBTableRow.stories-6TTrEoWD.js} +1 -1
  73. package/cli/storybook-dist/assets/{RBTabs.stories-DovB7PPB.js → RBTabs.stories-DOmlQMqX.js} +1 -1
  74. package/cli/storybook-dist/assets/{RBTextArea.stories-D7H4RvP8.js → RBTextArea.stories-9uAHQJRh.js} +1 -1
  75. package/cli/storybook-dist/assets/{RBTextField.stories-CmkNXeEk.js → RBTextField.stories-BJW5uhdX.js} +1 -1
  76. package/cli/storybook-dist/assets/{RBTextInput.stories-hnxbQJsb.js → RBTextInput.stories-C1h13ZAZ.js} +1 -1
  77. package/cli/storybook-dist/assets/{RBToast.stories-BklGGkNh.js → RBToast.stories-u5HCr9aM.js} +1 -1
  78. package/cli/storybook-dist/assets/{RBToggle.stories-C56AXyxq.js → RBToggle.stories-DVQIA_jh.js} +1 -1
  79. package/cli/storybook-dist/assets/{RBToggleGroup.stories-CpLPdAF0.js → RBToggleGroup.stories-2vKpENMG.js} +1 -1
  80. package/cli/storybook-dist/assets/{RBTooltip.stories-BdOnCwGk.js → RBTooltip.stories-Xq5vQ9vj.js} +1 -1
  81. package/cli/storybook-dist/assets/{SideNumberInput-DLmM2_Dy.js → SideNumberInput-CrfOgiZy.js} +96 -96
  82. package/cli/storybook-dist/assets/{entry-preview-DqMcNOGI.js → entry-preview-DHU-f_i4.js} +1 -1
  83. package/cli/storybook-dist/assets/{iframe-C1kyDB-R.js → iframe-DTWBaDhL.js} +2 -2
  84. package/cli/storybook-dist/assets/{index-CdVSDe2m.js → index-B38mYhND.js} +3 -3
  85. package/cli/storybook-dist/assets/{index-C1OzuK6-.js → index-ClAc6FBW.js} +1 -1
  86. package/cli/storybook-dist/assets/{preview-CILRoSnB.js → preview-BVJwlGUF.js} +1 -1
  87. package/cli/storybook-dist/assets/{preview-C_JfiDjl.js → preview-DSAOVIDc.js} +2 -2
  88. package/cli/storybook-dist/assets/preview-J5nqEP13.js +3 -0
  89. package/cli/storybook-dist/iframe.html +1 -1
  90. package/cli/storybook-dist/index.json +1 -1
  91. package/cli/storybook-dist/project.json +1 -1
  92. package/cli/templates/common/README.md +27 -2
  93. package/cli/templates/common/requirements.txt +3 -3
  94. package/cli/templates/readme-cpp/README.md +26 -2
  95. package/cli/templates/ros2-cpp/ros2_ws/src/__PLUGIN_SLUG__/src/node.cpp +3 -4
  96. package/package.json +3 -3
  97. package/cli/storybook-dist/assets/RBSelectBox.stories-tVVv4c6z.js +0 -6
  98. package/cli/storybook-dist/assets/preview-DvwEjyb4.js +0 -3
@@ -1,4 +1,4 @@
1
- import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{r as m}from"./index-Dmy2JGbm.js";import{o as a,m as p}from"./SideNumberInput-DLmM2_Dy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const B={component:a,tags:["autodocs"]},d=i=>{const[l,t]=m.useState(!0);return r.jsxs("div",{children:[r.jsx(p,{size:"sm",variant:"solid",onClick:()=>t(!0),children:"Open Alert"}),r.jsx(a,{...i,open:l,onOpenChange:t,resolve:()=>t(!1),onConfirm:()=>t(!1)})]})},e={parameters:{docs:{description:{story:""}}},args:{title:"Alert Modal",content:r.jsx("div",{className:"text-fg-default px-4 py-2 text-sm",children:"Alert Modal Body Text"}),buttonText:"Confirm"},render:d};var o,s,n;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{
1
+ import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{r as m}from"./index-Dmy2JGbm.js";import{o as a,m as p}from"./SideNumberInput-CrfOgiZy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const B={component:a,tags:["autodocs"]},d=i=>{const[l,t]=m.useState(!0);return r.jsxs("div",{children:[r.jsx(p,{size:"sm",variant:"solid",onClick:()=>t(!0),children:"Open Alert"}),r.jsx(a,{...i,open:l,onOpenChange:t,resolve:()=>t(!1),onConfirm:()=>t(!1)})]})},e={parameters:{docs:{description:{story:""}}},args:{title:"Alert Modal",content:r.jsx("div",{className:"text-fg-default px-4 py-2 text-sm",children:"Alert Modal Body Text"}),buttonText:"Confirm"},render:d};var o,s,n;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1 +1 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{R as l,S as o,b as p,c,d as m,e as d,f as g}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const u={red:e.jsx(g,{className:"size-3 shrink-0"}),orange:e.jsx(d,{className:"size-3 shrink-0"}),green:e.jsx(m,{className:"size-3 shrink-0"}),blue:e.jsx(c,{className:"size-3 shrink-0"}),purple:e.jsx(p,{className:"size-3 shrink-0"}),gray:e.jsx(o,{className:"size-3 shrink-0"}),"gray-subtle":e.jsx(o,{className:"size-3 shrink-0"})},y=r=>{const i=r.children??(r.type==="number"?"8":"Badge Label");return e.jsx(l,{...r,leadingIcon:r.type==="transparent"?r.leadingIcon??u[r.color??"red"]:void 0,children:i})},z={component:l,tags:["autodocs"],render:y,argTypes:{type:{control:{type:"select"},options:["number","capsule","transparent"],table:{type:{summary:'"number" | "capsule" | "transparent"'}}},numberVariant:{control:{type:"select"},options:["solid","soft","outlined","ghost"],table:{type:{summary:'"solid" | "soft" | "outlined" | "ghost"'}}},color:{control:{type:"select"},options:["red","orange","green","blue","purple","gray","gray-subtle"],table:{type:{summary:'"red" | "orange" | "green" | "blue" | "purple" | "gray" | "gray-subtle"'}}},leadingIcon:{control:!1,table:{type:{summary:"ReactNode"}}},children:{control:{type:"text"}}},args:{type:"number",numberVariant:"solid",color:"red"}},s={};var t,a,n;s.parameters={...s.parameters,docs:{...(t=s.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(n=(a=s.parameters)==null?void 0:a.docs)==null?void 0:n.source}}};const B=["Playground"];export{s as Playground,B as __namedExportsOrder,z as default};
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{R as l,S as o,b as p,c,d as m,e as d,f as g}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const u={red:e.jsx(g,{className:"size-3 shrink-0"}),orange:e.jsx(d,{className:"size-3 shrink-0"}),green:e.jsx(m,{className:"size-3 shrink-0"}),blue:e.jsx(c,{className:"size-3 shrink-0"}),purple:e.jsx(p,{className:"size-3 shrink-0"}),gray:e.jsx(o,{className:"size-3 shrink-0"}),"gray-subtle":e.jsx(o,{className:"size-3 shrink-0"})},y=r=>{const i=r.children??(r.type==="number"?"8":"Badge Label");return e.jsx(l,{...r,leadingIcon:r.type==="transparent"?r.leadingIcon??u[r.color??"red"]:void 0,children:i})},z={component:l,tags:["autodocs"],render:y,argTypes:{type:{control:{type:"select"},options:["number","capsule","transparent"],table:{type:{summary:'"number" | "capsule" | "transparent"'}}},numberVariant:{control:{type:"select"},options:["solid","soft","outlined","ghost"],table:{type:{summary:'"solid" | "soft" | "outlined" | "ghost"'}}},color:{control:{type:"select"},options:["red","orange","green","blue","purple","gray","gray-subtle"],table:{type:{summary:'"red" | "orange" | "green" | "blue" | "purple" | "gray" | "gray-subtle"'}}},leadingIcon:{control:!1,table:{type:{summary:"ReactNode"}}},children:{control:{type:"text"}}},args:{type:"number",numberVariant:"solid",color:"red"}},s={};var t,a,n;s.parameters={...s.parameters,docs:{...(t=s.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(n=(a=s.parameters)==null?void 0:a.docs)==null?void 0:n.source}}};const B=["Playground"];export{s as Playground,B as __namedExportsOrder,z as default};
@@ -1,4 +1,4 @@
1
- import{j as d}from"./jsx-runtime-BTJTZTIL.js";import{g as l}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const m=e=>{const i=e.showPercentLabel&&e.percent==null?0:e.percent;return d.jsx(l,{...e,percent:i})},P={component:l,tags:["autodocs"],argTypes:{status:{control:{type:"select"},table:{type:{summary:'"critical" | "low" | "normal" | "full"'}},options:["critical","low","normal","full"]},size:{control:{type:"select"},options:["xs","sm","md","lg"],table:{type:{summary:'"xs" | "sm" | "md" | "lg"'}}},borderColor:{control:{type:"color"},description:"배터리 보더 오버레이 색상을 직접 지정합니다.",table:{type:{summary:"string"}}},showPercentLabel:{control:{type:"boolean"},description:"true면 배터리 아이콘 오른쪽에 `percent` 라벨을 표시합니다.",table:{type:{summary:"boolean"}}},wrapperClassName:{control:{type:"text"},description:"아이콘+라벨 전체 wrapper에 추가되는 클래스입니다. 간격/정렬 조정용입니다.",table:{type:{summary:"string"}}},percentLabelClassName:{control:{type:"text"},description:"퍼센트 텍스트 라벨에만 적용되는 클래스입니다. 색상/타이포 조정용입니다.",table:{type:{summary:"string"}}}},args:{size:"md",status:void 0,percent:void 0,charging:!1,borderColor:void 0,showPercentLabel:!1}},r={args:{},render:m},t={args:{percent:72,showPercentLabel:!0},render:m};var o,s,a;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
1
+ import{j as d}from"./jsx-runtime-BTJTZTIL.js";import{g as l}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const m=e=>{const i=e.showPercentLabel&&e.percent==null?0:e.percent;return d.jsx(l,{...e,percent:i})},P={component:l,tags:["autodocs"],argTypes:{status:{control:{type:"select"},table:{type:{summary:'"critical" | "low" | "normal" | "full"'}},options:["critical","low","normal","full"]},size:{control:{type:"select"},options:["xs","sm","md","lg"],table:{type:{summary:'"xs" | "sm" | "md" | "lg"'}}},borderColor:{control:{type:"color"},description:"배터리 보더 오버레이 색상을 직접 지정합니다.",table:{type:{summary:"string"}}},showPercentLabel:{control:{type:"boolean"},description:"true면 배터리 아이콘 오른쪽에 `percent` 라벨을 표시합니다.",table:{type:{summary:"boolean"}}},wrapperClassName:{control:{type:"text"},description:"아이콘+라벨 전체 wrapper에 추가되는 클래스입니다. 간격/정렬 조정용입니다.",table:{type:{summary:"string"}}},percentLabelClassName:{control:{type:"text"},description:"퍼센트 텍스트 라벨에만 적용되는 클래스입니다. 색상/타이포 조정용입니다.",table:{type:{summary:"string"}}}},args:{size:"md",status:void 0,percent:void 0,charging:!1,borderColor:void 0,showPercentLabel:!1}},r={args:{},render:m},t={args:{percent:72,showPercentLabel:!0},render:m};var o,s,a;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
2
2
  args: {},
3
3
  render: Template
4
4
  }`,...(a=(s=r.parameters)==null?void 0:s.docs)==null?void 0:a.source}}};var n,p,c;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{
@@ -1,4 +1,4 @@
1
- import{j as a}from"./jsx-runtime-BTJTZTIL.js";import"./index-Dmy2JGbm.js";import{N as i,O as m,P as p,Q as u,T as x,U as B,V as s,W as t,u as r,X as f,Y as R,m as l}from"./SideNumberInput-DLmM2_Dy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const z={component:i,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["sm","md"],table:{type:{summary:'"sm" | "md"'}}}},args:{size:"md"}},e={render:({size:d})=>a.jsxs(i,{size:d,children:[a.jsx(m,{children:a.jsxs(p,{children:[a.jsx(u,{children:"Title Text"}),a.jsx(x,{children:"This is a card description."})]})}),a.jsx(B,{children:a.jsxs(s,{className:"w-full gap-6",children:[a.jsxs(s,{className:"w-full gap-2",children:[a.jsx(t,{label:"Email"}),a.jsx(r,{defaultValue:"m@example.com",type:"email",size:"sm",className:"w-full"})]}),a.jsxs(s,{className:"w-full gap-2",children:[a.jsxs(f,{className:"w-full items-start justify-between",children:[a.jsx(t,{label:"Password",className:"w-auto"}),a.jsx("span",{className:"text-fg-default typo-compact-xs-normal whitespace-nowrap",children:"Forgot your password?"})]}),a.jsx(r,{defaultValue:"Placeholder",type:"password",size:"sm",className:"w-full"})]}),a.jsx("p",{className:"text-fg-default typo-body-xs-normal",children:'The card component supports a size prop that can be set to "sm" for a more compact appearance.'})]})}),a.jsxs(R,{children:[a.jsx(l,{size:"sm",variant:"solid",className:"w-full",children:"Login"}),a.jsx(l,{size:"sm",variant:"outlined",className:"w-full",children:"Login with Google"})]})]})};var n,o,c;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{
1
+ import{j as a}from"./jsx-runtime-BTJTZTIL.js";import"./index-Dmy2JGbm.js";import{N as i,O as m,P as p,Q as u,T as x,U as B,V as s,W as t,u as r,X as f,Y as R,m as l}from"./SideNumberInput-CrfOgiZy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const z={component:i,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["sm","md"],table:{type:{summary:'"sm" | "md"'}}}},args:{size:"md"}},e={render:({size:d})=>a.jsxs(i,{size:d,children:[a.jsx(m,{children:a.jsxs(p,{children:[a.jsx(u,{children:"Title Text"}),a.jsx(x,{children:"This is a card description."})]})}),a.jsx(B,{children:a.jsxs(s,{className:"w-full gap-6",children:[a.jsxs(s,{className:"w-full gap-2",children:[a.jsx(t,{label:"Email"}),a.jsx(r,{defaultValue:"m@example.com",type:"email",size:"sm",className:"w-full"})]}),a.jsxs(s,{className:"w-full gap-2",children:[a.jsxs(f,{className:"w-full items-start justify-between",children:[a.jsx(t,{label:"Password",className:"w-auto"}),a.jsx("span",{className:"text-fg-default typo-compact-xs-normal whitespace-nowrap",children:"Forgot your password?"})]}),a.jsx(r,{defaultValue:"Placeholder",type:"password",size:"sm",className:"w-full"})]}),a.jsx("p",{className:"text-fg-default typo-body-xs-normal",children:'The card component supports a size prop that can be set to "sm" for a more compact appearance.'})]})}),a.jsxs(R,{children:[a.jsx(l,{size:"sm",variant:"solid",className:"w-full",children:"Login"}),a.jsx(l,{size:"sm",variant:"outlined",className:"w-full",children:"Login with Google"})]})]})};var n,o,c;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{
2
2
  render: ({
3
3
  size
4
4
  }) => {
@@ -1 +1 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{C as r}from"./SideNumberInput-DLmM2_Dy.js";import{r as x}from"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const f=t=>{const l=[1,2,3,4],[a,p]=x.useState([1,2]),c=(o,h)=>{var n;Array.isArray(o)&&p(o),(n=t.handleChange)==null||n.call(t,o,h)};return e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(r,{...t,name:"rb-checkbox-demo-all",checkValue:l,value:a,handleChange:c,children:"전체 선택"}),l.map(o=>e.jsx(r,{...t,name:"rb-checkbox-demo",checkValue:o,value:a,handleChange:c,children:e.jsxs(e.Fragment,{children:[e.jsx("span",{children:t.children??"CheckBox Dummy Text"}),e.jsx("span",{children:o})]})},o))]}),e.jsxs("div",{className:"text-fg-default text-xs",children:["DATA: [",a.map(String).join(", "),"]"]})]})},B={component:r,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["sm","md"],table:{type:{summary:'"sm" | "md"'}}},disabled:{control:{type:"boolean"}},readOnly:{control:{type:"boolean"}},children:{control:{type:"text"}},selected:{control:{type:"boolean"}},partial:{control:{type:"boolean"}},checkValue:{control:!1},value:{control:!1},handleChange:{control:!1}},args:{size:"sm",disabled:!1,readOnly:!1,selected:!1,partial:!1},render:f},s={};var i,d,m;s.parameters={...s.parameters,docs:{...(i=s.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(m=(d=s.parameters)==null?void 0:d.docs)==null?void 0:m.source}}};const D=["Default"];export{s as Default,D as __namedExportsOrder,B as default};
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{C as r}from"./SideNumberInput-CrfOgiZy.js";import{r as x}from"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const f=t=>{const l=[1,2,3,4],[a,p]=x.useState([1,2]),c=(o,h)=>{var n;Array.isArray(o)&&p(o),(n=t.handleChange)==null||n.call(t,o,h)};return e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(r,{...t,name:"rb-checkbox-demo-all",checkValue:l,value:a,handleChange:c,children:"전체 선택"}),l.map(o=>e.jsx(r,{...t,name:"rb-checkbox-demo",checkValue:o,value:a,handleChange:c,children:e.jsxs(e.Fragment,{children:[e.jsx("span",{children:t.children??"CheckBox Dummy Text"}),e.jsx("span",{children:o})]})},o))]}),e.jsxs("div",{className:"text-fg-default text-xs",children:["DATA: [",a.map(String).join(", "),"]"]})]})},B={component:r,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["sm","md"],table:{type:{summary:'"sm" | "md"'}}},disabled:{control:{type:"boolean"}},readOnly:{control:{type:"boolean"}},children:{control:{type:"text"}},selected:{control:{type:"boolean"}},partial:{control:{type:"boolean"}},checkValue:{control:!1},value:{control:!1},handleChange:{control:!1}},args:{size:"sm",disabled:!1,readOnly:!1,selected:!1,partial:!1},render:f},s={};var i,d,m;s.parameters={...s.parameters,docs:{...(i=s.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(m=(d=s.parameters)==null?void 0:d.docs)==null?void 0:m.source}}};const D=["Default"];export{s as Default,D as __namedExportsOrder,B as default};
@@ -1 +1 @@
1
- import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{h as a,i}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const n=c=>r.jsx(a,{...c}),h={component:a,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs","xs2"]},icon:{control:!1},children:{control:!1}},args:{size:"xs",icon:r.jsx(i,{}),disabled:!1},render:n},o={};var s,t,e;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const j=["Default"];export{o as Default,j as __namedExportsOrder,h as default};
1
+ import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{h as a,i}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const n=c=>r.jsx(a,{...c}),h={component:a,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs","xs2"]},icon:{control:!1},children:{control:!1}},args:{size:"xs",icon:r.jsx(i,{}),disabled:!1},render:n},o={};var s,t,e;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const j=["Default"];export{o as Default,j as __namedExportsOrder,h as default};
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as f}from"./index-Dmy2JGbm.js";import{j as n}from"./SideNumberInput-DLmM2_Dy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const v=t=>e.jsx(n,{...t}),y={component:n,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs","xs2"]},leadingIcon:{control:!1},trailingIcon:{control:!1}},args:{children:"버튼 라벨",size:"xs",disabled:!1},render:v},l={},r={render:t=>{const[a,g]=f.useState(["button-1"]),c=o=>x=>{g(s=>x.target.checked?s.includes(o)?s:[...s,o]:s.filter(b=>b!==o))};return e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(n,{...t,value:a,checkValue:"button-1",onChange:c("button-1"),children:"버튼 1"}),e.jsx(n,{...t,value:a,checkValue:"button-2",onChange:c("button-2"),children:"버튼 2"}),e.jsx(n,{...t,className:"w-20",value:a,checkValue:"button-3",onChange:c("button-3"),children:"버튼 3"})]}),e.jsxs("div",{className:"text-default text-xs",children:["selected: ",JSON.stringify(a)]})]})}};var u,d,i;l.parameters={...l.parameters,docs:{...(u=l.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(i=(d=l.parameters)==null?void 0:d.docs)==null?void 0:i.source}}};var h,m,p;r.parameters={...r.parameters,docs:{...(h=r.parameters)==null?void 0:h.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as f}from"./index-Dmy2JGbm.js";import{j as n}from"./SideNumberInput-CrfOgiZy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const v=t=>e.jsx(n,{...t}),y={component:n,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs","xs2"]},leadingIcon:{control:!1},trailingIcon:{control:!1}},args:{children:"버튼 라벨",size:"xs",disabled:!1},render:v},l={},r={render:t=>{const[a,g]=f.useState(["button-1"]),c=o=>x=>{g(s=>x.target.checked?s.includes(o)?s:[...s,o]:s.filter(b=>b!==o))};return e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(n,{...t,value:a,checkValue:"button-1",onChange:c("button-1"),children:"버튼 1"}),e.jsx(n,{...t,value:a,checkValue:"button-2",onChange:c("button-2"),children:"버튼 2"}),e.jsx(n,{...t,className:"w-20",value:a,checkValue:"button-3",onChange:c("button-3"),children:"버튼 3"})]}),e.jsxs("div",{className:"text-default text-xs",children:["selected: ",JSON.stringify(a)]})]})}};var u,d,i;l.parameters={...l.parameters,docs:{...(u=l.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(i=(d=l.parameters)==null?void 0:d.docs)==null?void 0:i.source}}};var h,m,p;r.parameters={...r.parameters,docs:{...(h=r.parameters)==null?void 0:h.docs,source:{originalSource:`{
2
2
  render: args => {
3
3
  const [selected, setSelected] = useState<Array<string | number>>(["button-1"]);
4
4
  const handleChange = (value: string) => (e: ChangeEvent<HTMLInputElement>) => {
@@ -1,4 +1,4 @@
1
- import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{r as i}from"./index-Dmy2JGbm.js";import{aZ as v}from"./SideNumberInput-DLmM2_Dy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const f=Array.from({length:8}).map((e,t)=>({key:t+1,label:"Menu"})),C=e=>{var l;const t=e.tabItems??f,[g,s]=i.useState(e.activeKey??((l=t==null?void 0:t[0])==null?void 0:l.key)??1);i.useEffect(()=>{var a;s(e.activeKey??((a=t==null?void 0:t[0])==null?void 0:a.key)??1)},[e.activeKey,t]);const h=(a,x)=>{var c;s(a),(c=e.handleChange)==null||c.call(e,a,x)};return r.jsx(v,{...e,activeKey:g,handleChange:h})},E={component:v,tags:["autodocs"],argTypes:{className:{control:{type:"text"}},size:{control:{type:"select"},options:["sm","md","lg"],table:{type:{summary:'"sm" | "md" | "lg"'}}},tabItems:{control:{type:"object"}},activeKey:{control:{type:"number"}},name:{control:{type:"text"}},slider:{control:!1},disabled:{control:{type:"boolean"}},destroyInactiveTabPanel:{control:{type:"boolean"}},tabNavScrollRef:{table:{disable:!0}},swipeContent:{control:{type:"boolean"}},rippleOption:{control:{type:"object"}},tabBtnClassName:{control:{type:"text"}},useDefaultItemStyle:{table:{disable:!0}},tabNavClassName:{control:{type:"text"}},handleChange:{table:{disable:!0}},onClick:{table:{disable:!0}}},args:{size:"md",tabItems:f,disabled:!1,destroyInactiveTabPanel:!0,activeKey:1},render:C},o={},n={args:{activeKey:1,tabItems:[{key:1,label:"Overview",children:r.jsx("div",{className:"bg-bg-alt-2 text-fg-default rounded-md p-4",children:"Overview content"})},{key:2,label:"Sensors",children:r.jsx("div",{className:"bg-bg-alt-2 text-fg-default rounded-md p-4",children:"Sensors content"})},{key:3,label:"Logs"}]}};var d,m,p;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(p=(m=o.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var b,y,u;n.parameters={...n.parameters,docs:{...(b=n.parameters)==null?void 0:b.docs,source:{originalSource:`{
1
+ import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{r as i}from"./index-Dmy2JGbm.js";import{aZ as v}from"./SideNumberInput-CrfOgiZy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const f=Array.from({length:8}).map((e,t)=>({key:t+1,label:"Menu"})),C=e=>{var l;const t=e.tabItems??f,[g,s]=i.useState(e.activeKey??((l=t==null?void 0:t[0])==null?void 0:l.key)??1);i.useEffect(()=>{var a;s(e.activeKey??((a=t==null?void 0:t[0])==null?void 0:a.key)??1)},[e.activeKey,t]);const h=(a,x)=>{var c;s(a),(c=e.handleChange)==null||c.call(e,a,x)};return r.jsx(v,{...e,activeKey:g,handleChange:h})},E={component:v,tags:["autodocs"],argTypes:{className:{control:{type:"text"}},size:{control:{type:"select"},options:["sm","md","lg"],table:{type:{summary:'"sm" | "md" | "lg"'}}},tabItems:{control:{type:"object"}},activeKey:{control:{type:"number"}},name:{control:{type:"text"}},slider:{control:!1},disabled:{control:{type:"boolean"}},destroyInactiveTabPanel:{control:{type:"boolean"}},tabNavScrollRef:{table:{disable:!0}},swipeContent:{control:{type:"boolean"}},rippleOption:{control:{type:"object"}},tabBtnClassName:{control:{type:"text"}},useDefaultItemStyle:{table:{disable:!0}},tabNavClassName:{control:{type:"text"}},handleChange:{table:{disable:!0}},onClick:{table:{disable:!0}}},args:{size:"md",tabItems:f,disabled:!1,destroyInactiveTabPanel:!0,activeKey:1},render:C},o={},n={args:{activeKey:1,tabItems:[{key:1,label:"Overview",children:r.jsx("div",{className:"bg-bg-alt-2 text-fg-default rounded-md p-4",children:"Overview content"})},{key:2,label:"Sensors",children:r.jsx("div",{className:"bg-bg-alt-2 text-fg-default rounded-md p-4",children:"Sensors content"})},{key:3,label:"Logs"}]}};var d,m,p;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(p=(m=o.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var b,y,u;n.parameters={...n.parameters,docs:{...(b=n.parameters)==null?void 0:b.docs,source:{originalSource:`{
2
2
  args: {
3
3
  activeKey: 1,
4
4
  tabItems: [{
@@ -1 +1 @@
1
- import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{r as c}from"./index-Dmy2JGbm.js";import{a_ as m}from"./SideNumberInput-DLmM2_Dy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const y=Array.from({length:8}).map((e,t)=>({key:t+1,label:"Menu"})),f=e=>{var r;const t=e.tabItems??y,[d,s]=c.useState(e.activeKey??((r=t==null?void 0:t[0])==null?void 0:r.key)??1);c.useEffect(()=>{var a;s(e.activeKey??((a=t==null?void 0:t[0])==null?void 0:a.key)??1)},[e.activeKey,t]);const u=(a,x)=>{var l;s(a),(l=e.handleChange)==null||l.call(e,a,x)};return n.jsx("div",{className:"w-72",children:n.jsx(m,{...e,activeKey:d,handleChange:u})})},_={component:m,tags:["autodocs"],argTypes:{className:{control:{type:"text"}},size:{control:{type:"select"},options:["xs","xs2"],table:{type:{summary:'"xs" | "xs2"'}}},tabItems:{control:{type:"object"}},activeKey:{control:{type:"number"}},name:{control:{type:"text"}},slider:{control:!1},disabled:{control:{type:"boolean"}},destroyInactiveTabPanel:{control:{type:"boolean"}},tabNavScrollRef:{table:{disable:!0}},swipeContent:{control:{type:"boolean"}},rippleOption:{control:{type:"object"}},tabBtnClassName:{control:{type:"text"}},useDefaultItemStyle:{table:{disable:!0}},tabNavClassName:{table:{disable:!0}},handleChange:{table:{disable:!0}},onClick:{table:{disable:!0}}},args:{size:"xs",tabItems:y,disabled:!1,destroyInactiveTabPanel:!0,activeKey:1},render:f},o={};var p,i,b;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(b=(i=o.parameters)==null?void 0:i.docs)==null?void 0:b.source}}};const E=["Default"];export{o as Default,E as __namedExportsOrder,_ as default};
1
+ import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{r as c}from"./index-Dmy2JGbm.js";import{a_ as m}from"./SideNumberInput-CrfOgiZy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const y=Array.from({length:8}).map((e,t)=>({key:t+1,label:"Menu"})),f=e=>{var r;const t=e.tabItems??y,[d,s]=c.useState(e.activeKey??((r=t==null?void 0:t[0])==null?void 0:r.key)??1);c.useEffect(()=>{var a;s(e.activeKey??((a=t==null?void 0:t[0])==null?void 0:a.key)??1)},[e.activeKey,t]);const u=(a,x)=>{var l;s(a),(l=e.handleChange)==null||l.call(e,a,x)};return n.jsx("div",{className:"w-72",children:n.jsx(m,{...e,activeKey:d,handleChange:u})})},_={component:m,tags:["autodocs"],argTypes:{className:{control:{type:"text"}},size:{control:{type:"select"},options:["xs","xs2"],table:{type:{summary:'"xs" | "xs2"'}}},tabItems:{control:{type:"object"}},activeKey:{control:{type:"number"}},name:{control:{type:"text"}},slider:{control:!1},disabled:{control:{type:"boolean"}},destroyInactiveTabPanel:{control:{type:"boolean"}},tabNavScrollRef:{table:{disable:!0}},swipeContent:{control:{type:"boolean"}},rippleOption:{control:{type:"object"}},tabBtnClassName:{control:{type:"text"}},useDefaultItemStyle:{table:{disable:!0}},tabNavClassName:{table:{disable:!0}},handleChange:{table:{disable:!0}},onClick:{table:{disable:!0}}},args:{size:"xs",tabItems:y,disabled:!1,destroyInactiveTabPanel:!0,activeKey:1},render:f},o={};var p,i,b;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(b=(i=o.parameters)==null?void 0:i.docs)==null?void 0:b.source}}};const E=["Default"];export{o as Default,E as __namedExportsOrder,_ as default};
@@ -1,3 +1,3 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as i}from"./index-Dmy2JGbm.js";import{u as f,v as u}from"./SideNumberInput-DLmM2_Dy.js";import{c as g}from"./browserUtils-CQM9Za7e.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./index-BRq5TIsn.js";const a=Object.entries(u).filter(([,s])=>typeof s=="function"||typeof s=="string").sort(([s],[l])=>s.localeCompare(l)),c=s=>`<${s} className="size-5" />`,h=s=>{g({text:c(s)})},x=()=>{const[s,l]=i.useState(""),n=i.useMemo(()=>{const t=s.trim().toLowerCase();return t?a.filter(([r])=>r.toLowerCase().includes(t)):a},[s]);return e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-fg-default text-lg font-semibold",children:"RBColorIcons"}),e.jsxs("p",{className:"text-fg-subtle text-sm",children:["현재 export된 아이콘 ",n.length," / ",a.length]})]}),e.jsx(f,{value:s,handleChange:t=>l(String(t??"")),placeholder:"Search program icons",className:"w-full md:w-72"})]}),e.jsx("div",{className:"grid grid-cols-2 gap-3 md:grid-cols-4 xl:grid-cols-6",children:n.map(([t,r])=>e.jsxs("button",{type:"button",onClick:()=>h(t),title:`Copy ${c(t)}`,className:"border-default bg-default flex min-h-32 cursor-copy flex-col items-center justify-center gap-3 rounded-xl border p-4 text-center transition-colors",children:[typeof r=="function"?e.jsx(r,{className:"size-6 shrink-0"}):e.jsx("img",{src:r,alt:t,className:"shrink-0"}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("span",{className:"text-default text-xs font-medium break-all",children:t}),e.jsx("span",{className:"text-fg-subtle text-[11px] break-all",children:c(t)})]})]},t))})]})},R={component:x,tags:["autodocs"],parameters:{layout:"padded",docs:{description:{component:"`@repo/rb-components/new_components/assets/color-icons` 에서 export되는 프로그램 아이콘을 한 번에 확인하는 스토리입니다. 아이콘 카드를 클릭하면 사용 코드가 복사됩니다."}}}},o={render:()=>e.jsx(x,{})};var d,m,p;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as i}from"./index-Dmy2JGbm.js";import{u as f,v as u}from"./SideNumberInput-CrfOgiZy.js";import{c as g}from"./browserUtils-CQM9Za7e.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./index-BRq5TIsn.js";const a=Object.entries(u).filter(([,s])=>typeof s=="function"||typeof s=="string").sort(([s],[l])=>s.localeCompare(l)),c=s=>`<${s} className="size-5" />`,h=s=>{g({text:c(s)})},x=()=>{const[s,l]=i.useState(""),n=i.useMemo(()=>{const t=s.trim().toLowerCase();return t?a.filter(([r])=>r.toLowerCase().includes(t)):a},[s]);return e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-fg-default text-lg font-semibold",children:"RBColorIcons"}),e.jsxs("p",{className:"text-fg-subtle text-sm",children:["현재 export된 아이콘 ",n.length," / ",a.length]})]}),e.jsx(f,{value:s,handleChange:t=>l(String(t??"")),placeholder:"Search program icons",className:"w-full md:w-72"})]}),e.jsx("div",{className:"grid grid-cols-2 gap-3 md:grid-cols-4 xl:grid-cols-6",children:n.map(([t,r])=>e.jsxs("button",{type:"button",onClick:()=>h(t),title:`Copy ${c(t)}`,className:"border-default bg-default flex min-h-32 cursor-copy flex-col items-center justify-center gap-3 rounded-xl border p-4 text-center transition-colors",children:[typeof r=="function"?e.jsx(r,{className:"size-6 shrink-0"}):e.jsx("img",{src:r,alt:t,className:"shrink-0"}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("span",{className:"text-default text-xs font-medium break-all",children:t}),e.jsx("span",{className:"text-fg-subtle text-[11px] break-all",children:c(t)})]})]},t))})]})},R={component:x,tags:["autodocs"],parameters:{layout:"padded",docs:{description:{component:"`@repo/rb-components/new_components/assets/color-icons` 에서 export되는 프로그램 아이콘을 한 번에 확인하는 스토리입니다. 아이콘 카드를 클릭하면 사용 코드가 복사됩니다."}}}},o={render:()=>e.jsx(x,{})};var d,m,p;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`{
2
2
  render: () => <ProgramIconGallery />
3
3
  }`,...(p=(m=o.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};const S=["Default"];export{o as Default,S as __namedExportsOrder,R as default};
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as p}from"./index-Dmy2JGbm.js";import{ba as d,bb as g,bc as j,bd as f,be as C,bf as m,bg as o,bh as a,bi as E,bj as r}from"./SideNumberInput-DLmM2_Dy.js";import{a as N}from"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";/**
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as p}from"./index-Dmy2JGbm.js";import{ba as d,bb as g,bc as j,bd as f,be as C,bf as m,bg as o,bh as a,bi as E,bj as r}from"./SideNumberInput-CrfOgiZy.js";import{a as N}from"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";/**
2
2
  * @license lucide-react v0.486.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{r as p}from"./index-Dmy2JGbm.js";import{p as a,m as c}from"./SideNumberInput-DLmM2_Dy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const B={component:a,tags:["autodocs"]},d=i=>{const[m,e]=p.useState(!0);return n.jsxs("div",{children:[n.jsx(c,{size:"sm",variant:"solid",onClick:()=>e(!0),children:"Open Confirm"}),n.jsx(a,{...i,open:m,onOpenChange:e,resolve:()=>e(!1),onConfirm:()=>e(!1),onCancel:()=>e(!1)})]})},t={parameters:{docs:{description:{story:""}}},args:{title:"Confirm Modal",content:n.jsx("div",{className:"text-fg-default px-4 py-2 text-sm",children:"Confirm Modal Body Text"}),buttonText:{yes:"Confirm",no:"Cancel"}},render:d};var o,r,s;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{
1
+ import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{r as p}from"./index-Dmy2JGbm.js";import{p as a,m as c}from"./SideNumberInput-CrfOgiZy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const B={component:a,tags:["autodocs"]},d=i=>{const[m,e]=p.useState(!0);return n.jsxs("div",{children:[n.jsx(c,{size:"sm",variant:"solid",onClick:()=>e(!0),children:"Open Confirm"}),n.jsx(a,{...i,open:m,onOpenChange:e,resolve:()=>e(!1),onConfirm:()=>e(!1),onCancel:()=>e(!1)})]})},t={parameters:{docs:{description:{story:""}}},args:{title:"Confirm Modal",content:n.jsx("div",{className:"text-fg-default px-4 py-2 text-sm",children:"Confirm Modal Body Text"}),buttonText:{yes:"Confirm",no:"Cancel"}},render:d};var o,r,s;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1,4 +1,4 @@
1
- import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{D as n}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const y={component:n,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs2","sm","md","lg"],table:{type:{summary:'"xs2" | "sm" | "md" | "lg"'}}},showPresets:{control:"boolean"},showFooter:{control:"boolean"}}},m=a=>r.jsx("div",{style:{height:700},children:r.jsx(n,{...a})}),e={parameters:{docs:{description:{story:""}}},args:{size:"md",showPresets:!0,showFooter:!0},render:m};var t,o,s;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{
1
+ import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{D as n}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const y={component:n,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs2","sm","md","lg"],table:{type:{summary:'"xs2" | "sm" | "md" | "lg"'}}},showPresets:{control:"boolean"},showFooter:{control:"boolean"}}},m=a=>r.jsx("div",{style:{height:700},children:r.jsx(n,{...a})}),e={parameters:{docs:{description:{story:""}}},args:{size:"md",showPresets:!0,showFooter:!0},render:m};var t,o,s;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{Z as o,_ as l,$ as d,m as a,a0 as g,a1 as c,a2 as B,a3 as x}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const b={tags:["autodocs"],argTypes:{showCloseButton:{control:"boolean"},size:{control:{type:"select"},options:["sm","md","lg"]}},args:{showCloseButton:!0,size:"lg"},component:o},n={render:r=>e.jsx("div",{children:e.jsxs(l,{children:[e.jsx(d,{asChild:!0,children:e.jsx(a,{size:"sm",variant:"solid",children:"Open Dialog"})}),e.jsxs(o,{...r,children:[e.jsxs(g,{children:[e.jsx(c,{children:"타이틀"}),e.jsx(B,{children:"설명 영역"})]}),e.jsx("div",{className:"text-fg-default px-4 py-2 text-sm",children:"다이얼로그 본문 콘텐츠 영역입니다."}),e.jsxs(x,{children:[e.jsx("div",{className:"flex flex-1 items-center justify-start gap-1",children:e.jsx(a,{variant:"outlined",size:"xs2",children:"버튼"})}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(a,{variant:"outlined",size:"xs2",children:"버튼"}),e.jsx(a,{variant:"brand",size:"xs2",children:"버튼"})]})]})]})]})})};var i,s,t;n.parameters={...n.parameters,docs:{...(i=n.parameters)==null?void 0:i.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{Z as o,_ as l,$ as d,m as a,a0 as g,a1 as c,a2 as B,a3 as x}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const b={tags:["autodocs"],argTypes:{showCloseButton:{control:"boolean"},size:{control:{type:"select"},options:["sm","md","lg"]}},args:{showCloseButton:!0,size:"lg"},component:o},n={render:r=>e.jsx("div",{children:e.jsxs(l,{children:[e.jsx(d,{asChild:!0,children:e.jsx(a,{size:"sm",variant:"solid",children:"Open Dialog"})}),e.jsxs(o,{...r,children:[e.jsxs(g,{children:[e.jsx(c,{children:"타이틀"}),e.jsx(B,{children:"설명 영역"})]}),e.jsx("div",{className:"text-fg-default px-4 py-2 text-sm",children:"다이얼로그 본문 콘텐츠 영역입니다."}),e.jsxs(x,{children:[e.jsx("div",{className:"flex flex-1 items-center justify-start gap-1",children:e.jsx(a,{variant:"outlined",size:"xs2",children:"버튼"})}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(a,{variant:"outlined",size:"xs2",children:"버튼"}),e.jsx(a,{variant:"brand",size:"xs2",children:"버튼"})]})]})]})]})})};var i,s,t;n.parameters={...n.parameters,docs:{...(i=n.parameters)==null?void 0:i.docs,source:{originalSource:`{
2
2
  render: args => <div>
3
3
  <RBDialog>
4
4
  <RBDialogTrigger asChild>
@@ -1 +1 @@
1
- import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const l=e=>e.type==="vertical"?t.jsxs("div",{className:"roundedp-4 flex h-24 items-center gap-3",children:[t.jsx("span",{className:"text-fg-default text-sm",children:"Left"}),t.jsx(r,{...e}),t.jsx("span",{className:"text-fg-default text-sm",children:"Right"})]}):t.jsxs("div",{className:"w-96 max-w-full rounded p-4",children:[t.jsx("p",{className:"text-fg-default m-0 text-lg",children:"Top"}),t.jsx(r,{...e,children:e.children}),t.jsx("p",{className:"text-fg-default m-0 text-lg",children:"Bottom"})]}),f={component:r,tags:["autodocs"],render:l,argTypes:{type:{control:{type:"select"},options:["horizontal","vertical"],table:{type:{summary:'"horizontal" | "vertical"'}}},variant:{control:{type:"select"},options:["solid","dashed","dotted","soft"],table:{type:{summary:'"solid" | "dashed" | "dotted" | "soft"'}}},thickness:{control:{type:"select"},options:["thin","thick"],table:{type:{summary:'"thin" | "thick"'}}},children:{control:{type:"text"},table:{type:{summary:"ReactNode"}}},size:{control:{type:"number"},table:{type:{summary:"number"}}},color:{control:{type:"color"},table:{type:{summary:"string"}}},spaceSize:{control:{type:"number"},table:{type:{summary:"number"}}},spaceDirection:{control:{type:"select"},options:["top","bottom","left","right","both"],table:{type:{summary:'"top" | "bottom" | "left" | "right" | "both"'}}},contentAlign:{control:{type:"select"},options:["left","center","right"],table:{type:{summary:'"left" | "center" | "right"'}}},contentSpace:{control:{type:"number"},table:{type:{summary:"number"}}},contentPosition:{control:{type:"number"},table:{type:{summary:"number"}}}},args:{type:"horizontal",variant:"solid",thickness:"thin",spaceDirection:"both",children:void 0}},o={};var s,a,n;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(n=(a=o.parameters)==null?void 0:a.docs)==null?void 0:n.source}}};const x=["Default"];export{o as Default,x as __namedExportsOrder,f as default};
1
+ import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const l=e=>e.type==="vertical"?t.jsxs("div",{className:"roundedp-4 flex h-24 items-center gap-3",children:[t.jsx("span",{className:"text-fg-default text-sm",children:"Left"}),t.jsx(r,{...e}),t.jsx("span",{className:"text-fg-default text-sm",children:"Right"})]}):t.jsxs("div",{className:"w-96 max-w-full rounded p-4",children:[t.jsx("p",{className:"text-fg-default m-0 text-lg",children:"Top"}),t.jsx(r,{...e,children:e.children}),t.jsx("p",{className:"text-fg-default m-0 text-lg",children:"Bottom"})]}),f={component:r,tags:["autodocs"],render:l,argTypes:{type:{control:{type:"select"},options:["horizontal","vertical"],table:{type:{summary:'"horizontal" | "vertical"'}}},variant:{control:{type:"select"},options:["solid","dashed","dotted","soft"],table:{type:{summary:'"solid" | "dashed" | "dotted" | "soft"'}}},thickness:{control:{type:"select"},options:["thin","thick"],table:{type:{summary:'"thin" | "thick"'}}},children:{control:{type:"text"},table:{type:{summary:"ReactNode"}}},size:{control:{type:"number"},table:{type:{summary:"number"}}},color:{control:{type:"color"},table:{type:{summary:"string"}}},spaceSize:{control:{type:"number"},table:{type:{summary:"number"}}},spaceDirection:{control:{type:"select"},options:["top","bottom","left","right","both"],table:{type:{summary:'"top" | "bottom" | "left" | "right" | "both"'}}},contentAlign:{control:{type:"select"},options:["left","center","right"],table:{type:{summary:'"left" | "center" | "right"'}}},contentSpace:{control:{type:"number"},table:{type:{summary:"number"}}},contentPosition:{control:{type:"number"},table:{type:{summary:"number"}}}},args:{type:"horizontal",variant:"solid",thickness:"thin",spaceDirection:"both",children:void 0}},o={};var s,a,n;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(n=(a=o.parameters)==null?void 0:a.docs)==null?void 0:n.source}}};const x=["Default"];export{o as Default,x as __namedExportsOrder,f as default};
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import"./index-Dmy2JGbm.js";import{a4 as l,V as d,a5 as c,a6 as m,m as s,a7 as p,a8 as u,a9 as w,aa as x,ab as h}from"./SideNumberInput-DLmM2_Dy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const T={tags:["autodocs"],argTypes:{showCloseButton:{control:"boolean"},showHandle:{control:"boolean"},side:{control:{type:"select"},options:["top","bottom","right","left"]}},args:{side:"bottom",showHandle:!0,showCloseButton:!1},component:l},f=({side:r})=>{const a=r==="top"||r==="bottom";return e.jsxs(e.Fragment,{children:[e.jsxs(p,{className:a?"items-center text-center":"",children:[e.jsx(u,{className:"typo-title-01-medium",children:"Title Text"}),e.jsx(w,{children:"This is a drawer description."})]}),e.jsx(x,{children:e.jsx("div",{className:"border-information bg-fill-information-subtlest text-fg-default typo-compact-sm-normal flex h-16 w-full items-center justify-center border border-dashed px-4 text-center",children:e.jsx("span",{className:a?"":"w-full text-left",children:"Slot (swap it with your content)"})})}),e.jsxs(h,{children:[e.jsx(s,{size:"sm",variant:"solid",className:"w-full",children:"버튼 라벨"}),e.jsx(s,{size:"sm",variant:"outlined",className:"w-full",children:"버튼 라벨"})]})]})},t={render:r=>e.jsx(d,{className:"bg-alt-1 min-h-[700px] items-center justify-center rounded-2xl p-8",children:e.jsxs(c,{defaultOpen:!0,side:r.side,children:[e.jsx(m,{asChild:!0,children:e.jsx(s,{size:"sm",variant:"solid",children:"Open Drawer"})}),e.jsx(l,{...r,className:r.side==="top"||r.side==="bottom"?"w-full":"h-full w-96",children:e.jsx(f,{side:r.side})})]})})};var o,n,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import"./index-Dmy2JGbm.js";import{a4 as l,V as d,a5 as c,a6 as m,m as s,a7 as p,a8 as u,a9 as w,aa as x,ab as h}from"./SideNumberInput-CrfOgiZy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const T={tags:["autodocs"],argTypes:{showCloseButton:{control:"boolean"},showHandle:{control:"boolean"},side:{control:{type:"select"},options:["top","bottom","right","left"]}},args:{side:"bottom",showHandle:!0,showCloseButton:!1},component:l},f=({side:r})=>{const a=r==="top"||r==="bottom";return e.jsxs(e.Fragment,{children:[e.jsxs(p,{className:a?"items-center text-center":"",children:[e.jsx(u,{className:"typo-title-01-medium",children:"Title Text"}),e.jsx(w,{children:"This is a drawer description."})]}),e.jsx(x,{children:e.jsx("div",{className:"border-information bg-fill-information-subtlest text-fg-default typo-compact-sm-normal flex h-16 w-full items-center justify-center border border-dashed px-4 text-center",children:e.jsx("span",{className:a?"":"w-full text-left",children:"Slot (swap it with your content)"})})}),e.jsxs(h,{children:[e.jsx(s,{size:"sm",variant:"solid",className:"w-full",children:"버튼 라벨"}),e.jsx(s,{size:"sm",variant:"outlined",className:"w-full",children:"버튼 라벨"})]})]})},t={render:r=>e.jsx(d,{className:"bg-alt-1 min-h-[700px] items-center justify-center rounded-2xl p-8",children:e.jsxs(c,{defaultOpen:!0,side:r.side,children:[e.jsx(m,{asChild:!0,children:e.jsx(s,{size:"sm",variant:"solid",children:"Open Drawer"})}),e.jsx(l,{...r,className:r.side==="top"||r.side==="bottom"?"w-full":"h-full w-96",children:e.jsx(f,{side:r.side})})]})})};var o,n,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{
2
2
  render: args => <VStack className="bg-alt-1 min-h-[700px] items-center justify-center rounded-2xl p-8">
3
3
  <RBDrawer defaultOpen side={args.side}>
4
4
  <RBDrawerTrigger asChild>
@@ -1,4 +1,4 @@
1
- import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{r as c}from"./index-Dmy2JGbm.js";import{ac as B,V as M,ad as D,m as j,ae as S,af as f,ag as s,ah as u,ai as o,aj as e,ak as r,al as d,am as l,an as g}from"./SideNumberInput-DLmM2_Dy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const L={tags:["autodocs"],component:B},a={render:()=>{const[x,R]=c.useState(!0),[h,w]=c.useState(!1);return n.jsx(M,{className:"bg-alt-1 min-h-[420px] items-center justify-center rounded-2xl p-8",children:n.jsxs(B,{children:[n.jsx(D,{asChild:!0,children:n.jsx(j,{size:"sm",variant:"outlined",children:"Open"})}),n.jsxs(S,{className:"w-40",sideOffset:8,children:[n.jsx(f,{children:"My Account"}),n.jsx(s,{}),n.jsxs(u,{checked:x,onCheckedChange:t=>R(t===!0),children:[n.jsx("span",{className:"flex-1 truncate",children:"Bookmarked"}),n.jsx(o,{children:"⌘B"})]}),n.jsxs(u,{checked:h,onCheckedChange:t=>w(t===!0),children:[n.jsx("span",{className:"flex-1 truncate",children:"Notifications"}),n.jsx(o,{children:"⌘N"})]}),n.jsx(s,{}),n.jsxs(e,{children:[n.jsx(r,{className:"size-4"}),n.jsx("span",{className:"flex-1 truncate",children:"Profile"}),n.jsx(o,{children:"⇧⌘P"})]}),n.jsxs(e,{children:[n.jsx(r,{className:"size-4"}),n.jsx("span",{className:"flex-1 truncate",children:"Billing"}),n.jsx(o,{children:"⌘B"})]}),n.jsxs(e,{children:[n.jsx(r,{className:"size-4"}),n.jsx("span",{className:"flex-1 truncate",children:"Settings"}),n.jsx(o,{children:"⌘S"})]}),n.jsx(s,{}),n.jsx(e,{children:n.jsx("span",{className:"flex-1 truncate",children:"Team"})}),n.jsxs(d,{children:[n.jsx(l,{children:n.jsx("span",{className:"flex-1 truncate",children:"Invite users"})}),n.jsxs(g,{className:"w-56",children:[n.jsx(e,{children:"Email"}),n.jsx(e,{children:"Message"}),n.jsx(d,{children:n.jsx(l,{children:n.jsx("span",{className:"flex-1 truncate",children:"More options"})})})]})]}),n.jsxs(e,{children:[n.jsx("span",{className:"flex-1 truncate",children:"New Team"}),n.jsx(o,{children:"⌘+T"})]}),n.jsx(e,{disabled:!0,children:n.jsx("span",{className:"flex-1 truncate",children:"API"})}),n.jsx(s,{}),n.jsxs(e,{variant:"destructive",children:[n.jsx(r,{className:"size-4"}),n.jsx("span",{className:"flex-1 truncate",children:"Log out"}),n.jsx(o,{children:"⌘Q"})]})]})]})})}};var p,i,m;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`{
1
+ import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{r as c}from"./index-Dmy2JGbm.js";import{ac as B,V as M,ad as D,m as j,ae as S,af as f,ag as s,ah as u,ai as o,aj as e,ak as r,al as d,am as l,an as g}from"./SideNumberInput-CrfOgiZy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const L={tags:["autodocs"],component:B},a={render:()=>{const[x,R]=c.useState(!0),[h,w]=c.useState(!1);return n.jsx(M,{className:"bg-alt-1 min-h-[420px] items-center justify-center rounded-2xl p-8",children:n.jsxs(B,{children:[n.jsx(D,{asChild:!0,children:n.jsx(j,{size:"sm",variant:"outlined",children:"Open"})}),n.jsxs(S,{className:"w-40",sideOffset:8,children:[n.jsx(f,{children:"My Account"}),n.jsx(s,{}),n.jsxs(u,{checked:x,onCheckedChange:t=>R(t===!0),children:[n.jsx("span",{className:"flex-1 truncate",children:"Bookmarked"}),n.jsx(o,{children:"⌘B"})]}),n.jsxs(u,{checked:h,onCheckedChange:t=>w(t===!0),children:[n.jsx("span",{className:"flex-1 truncate",children:"Notifications"}),n.jsx(o,{children:"⌘N"})]}),n.jsx(s,{}),n.jsxs(e,{children:[n.jsx(r,{className:"size-4"}),n.jsx("span",{className:"flex-1 truncate",children:"Profile"}),n.jsx(o,{children:"⇧⌘P"})]}),n.jsxs(e,{children:[n.jsx(r,{className:"size-4"}),n.jsx("span",{className:"flex-1 truncate",children:"Billing"}),n.jsx(o,{children:"⌘B"})]}),n.jsxs(e,{children:[n.jsx(r,{className:"size-4"}),n.jsx("span",{className:"flex-1 truncate",children:"Settings"}),n.jsx(o,{children:"⌘S"})]}),n.jsx(s,{}),n.jsx(e,{children:n.jsx("span",{className:"flex-1 truncate",children:"Team"})}),n.jsxs(d,{children:[n.jsx(l,{children:n.jsx("span",{className:"flex-1 truncate",children:"Invite users"})}),n.jsxs(g,{className:"w-56",children:[n.jsx(e,{children:"Email"}),n.jsx(e,{children:"Message"}),n.jsx(d,{children:n.jsx(l,{children:n.jsx("span",{className:"flex-1 truncate",children:"More options"})})})]})]}),n.jsxs(e,{children:[n.jsx("span",{className:"flex-1 truncate",children:"New Team"}),n.jsx(o,{children:"⌘+T"})]}),n.jsx(e,{disabled:!0,children:n.jsx("span",{className:"flex-1 truncate",children:"API"})}),n.jsx(s,{}),n.jsxs(e,{variant:"destructive",children:[n.jsx(r,{className:"size-4"}),n.jsx("span",{className:"flex-1 truncate",children:"Log out"}),n.jsx(o,{children:"⌘Q"})]})]})]})})}};var p,i,m;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`{
2
2
  render: () => {
3
3
  const [bookmarked, setBookmarked] = useState(true);
4
4
  const [notifications, setNotifications] = useState(false);
@@ -1,4 +1,4 @@
1
- import{j as p}from"./jsx-runtime-BTJTZTIL.js";import{s as m,t as u}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const l=i=>p.jsx(m,{...i}),E={component:m,tags:["autodocs"],render:l,argTypes:{type:{control:{type:"select"},options:["button","icon"],table:{type:{summary:'"button" | "icon"'}}},message:{control:{type:"text"}},buttonLabel:{control:{type:"text"}},onButtonClick:{control:!1},icon:{control:!1}},args:{type:"button",message:"엠프티뷰의 안내 메세지를 입력해주세요.",buttonLabel:"버튼 라벨"}},t={args:{type:"button",message:"엠프티뷰의 안내 메세지를 입력해주세요.",buttonLabel:"버튼 라벨"}},o={args:{type:"icon",icon:p.jsx(u,{})}};var e,r,s;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{
1
+ import{j as p}from"./jsx-runtime-BTJTZTIL.js";import{s as m,t as u}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const l=i=>p.jsx(m,{...i}),E={component:m,tags:["autodocs"],render:l,argTypes:{type:{control:{type:"select"},options:["button","icon"],table:{type:{summary:'"button" | "icon"'}}},message:{control:{type:"text"}},buttonLabel:{control:{type:"text"}},onButtonClick:{control:!1},icon:{control:!1}},args:{type:"button",message:"엠프티뷰의 안내 메세지를 입력해주세요.",buttonLabel:"버튼 라벨"}},t={args:{type:"button",message:"엠프티뷰의 안내 메세지를 입력해주세요.",buttonLabel:"버튼 라벨"}},o={args:{type:"icon",icon:p.jsx(u,{})}};var e,r,s;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{
2
2
  args: {
3
3
  type: "button",
4
4
  message: "엠프티뷰의 안내 메세지를 입력해주세요.",
@@ -1 +1 @@
1
- import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{k as a,i}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const m=n=>r.jsx(a,{...n}),v={component:a,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["3xs","2xs","xs","xs2","sm","md"],table:{type:{summary:'"3xs" | "2xs" | "xs" | "xs2" | "sm" | "md"'}}},variant:{control:{type:"select"},options:["transparent","outlined","soft","solid","inverse","inverseSoft","brand","circle"],table:{type:{summary:'"transparent" | "outlined" | "soft" | "solid" | "inverse" | "inverseSoft" | "brand" | "circle"'}}},type:{control:{type:"select"},options:["button","submit","reset"],table:{type:{summary:'"button" | "submit" | "reset"'}}},icon:{control:!1},children:{control:!1}},args:{icon:r.jsx(i,{}),size:"sm",variant:"solid",type:"button",disabled:!1},render:m},t={};var s,e,o;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(o=(e=t.parameters)==null?void 0:e.docs)==null?void 0:o.source}}};const g=["Default"];export{t as Default,g as __namedExportsOrder,v as default};
1
+ import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{k as a,i}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const m=n=>r.jsx(a,{...n}),v={component:a,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["3xs","2xs","xs","xs2","sm","md"],table:{type:{summary:'"3xs" | "2xs" | "xs" | "xs2" | "sm" | "md"'}}},variant:{control:{type:"select"},options:["transparent","outlined","soft","solid","inverse","inverseSoft","brand","circle"],table:{type:{summary:'"transparent" | "outlined" | "soft" | "solid" | "inverse" | "inverseSoft" | "brand" | "circle"'}}},type:{control:{type:"select"},options:["button","submit","reset"],table:{type:{summary:'"button" | "submit" | "reset"'}}},icon:{control:!1},children:{control:!1}},args:{icon:r.jsx(i,{}),size:"sm",variant:"solid",type:"button",disabled:!1},render:m},t={};var s,e,o;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(o=(e=t.parameters)==null?void 0:e.docs)==null?void 0:o.source}}};const g=["Default"];export{t as Default,g as __namedExportsOrder,v as default};
@@ -1,3 +1,3 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as i}from"./index-Dmy2JGbm.js";import{u as f,w as u}from"./SideNumberInput-DLmM2_Dy.js";import{c as g}from"./browserUtils-CQM9Za7e.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./index-BRq5TIsn.js";const l=Object.entries(u).filter(([,s])=>typeof s=="function"||typeof s=="string").sort(([s],[a])=>s.localeCompare(a)),c=s=>`<${s} className="size-5" />`,h=s=>{g({text:c(s)})},x=()=>{const[s,a]=i.useState(""),n=i.useMemo(()=>{const t=s.trim().toLowerCase();return t?l.filter(([r])=>r.toLowerCase().includes(t)):l},[s]);return e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-fg-default text-lg font-semibold",children:"RBIcons"}),e.jsxs("p",{className:"text-fg-subtle text-sm",children:["현재 export된 아이콘 ",n.length," / ",l.length]})]}),e.jsx(f,{value:s,handleChange:t=>a(String(t??"")),placeholder:"Search program icons",className:"w-full md:w-72"})]}),e.jsx("div",{className:"grid grid-cols-2 gap-3 md:grid-cols-4 xl:grid-cols-6",children:n.map(([t,r])=>e.jsxs("button",{type:"button",onClick:()=>h(t),title:`Copy ${c(t)}`,className:"border-default bg-default flex min-h-32 cursor-copy flex-col items-center justify-center gap-3 rounded-xl border p-4 text-center transition-colors",children:[typeof r=="function"?e.jsx(r,{className:"text-fg-default size-6 shrink-0"}):e.jsx("img",{src:r,alt:t,className:"shrink-0"}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("span",{className:"text-default text-xs font-medium break-all",children:t}),e.jsx("span",{className:"text-fg-subtle text-[11px] break-all",children:c(t)})]})]},t))})]})},R={component:x,tags:["autodocs"],parameters:{layout:"padded",docs:{description:{component:"`@repo/rb-components/new_components/assets/icons` 에서 export되는 프로그램 아이콘을 한 번에 확인하는 스토리입니다. 아이콘 카드를 클릭하면 사용 코드가 복사됩니다."}}}},o={render:()=>e.jsx(x,{})};var d,m,p;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as i}from"./index-Dmy2JGbm.js";import{u as f,w as u}from"./SideNumberInput-CrfOgiZy.js";import{c as g}from"./browserUtils-CQM9Za7e.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./index-BRq5TIsn.js";const l=Object.entries(u).filter(([,s])=>typeof s=="function"||typeof s=="string").sort(([s],[a])=>s.localeCompare(a)),c=s=>`<${s} className="size-5" />`,h=s=>{g({text:c(s)})},x=()=>{const[s,a]=i.useState(""),n=i.useMemo(()=>{const t=s.trim().toLowerCase();return t?l.filter(([r])=>r.toLowerCase().includes(t)):l},[s]);return e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-fg-default text-lg font-semibold",children:"RBIcons"}),e.jsxs("p",{className:"text-fg-subtle text-sm",children:["현재 export된 아이콘 ",n.length," / ",l.length]})]}),e.jsx(f,{value:s,handleChange:t=>a(String(t??"")),placeholder:"Search program icons",className:"w-full md:w-72"})]}),e.jsx("div",{className:"grid grid-cols-2 gap-3 md:grid-cols-4 xl:grid-cols-6",children:n.map(([t,r])=>e.jsxs("button",{type:"button",onClick:()=>h(t),title:`Copy ${c(t)}`,className:"border-default bg-default flex min-h-32 cursor-copy flex-col items-center justify-center gap-3 rounded-xl border p-4 text-center transition-colors",children:[typeof r=="function"?e.jsx(r,{className:"text-fg-default size-6 shrink-0"}):e.jsx("img",{src:r,alt:t,className:"shrink-0"}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("span",{className:"text-default text-xs font-medium break-all",children:t}),e.jsx("span",{className:"text-fg-subtle text-[11px] break-all",children:c(t)})]})]},t))})]})},R={component:x,tags:["autodocs"],parameters:{layout:"padded",docs:{description:{component:"`@repo/rb-components/new_components/assets/icons` 에서 export되는 프로그램 아이콘을 한 번에 확인하는 스토리입니다. 아이콘 카드를 클릭하면 사용 코드가 복사됩니다."}}}},o={render:()=>e.jsx(x,{})};var d,m,p;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`{
2
2
  render: () => <ProgramIconGallery />
3
3
  }`,...(p=(m=o.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};const S=["Default"];export{o as Default,S as __namedExportsOrder,R as default};
@@ -1 +1 @@
1
- import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{l as r}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const m=a=>n.jsx(r,{...a}),x={component:r,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs","sm","md"],table:{type:{summary:'"xs" | "sm" | "md"'}}},variant:{control:{type:"select"},options:["default","brand"],table:{type:{summary:'"default" | "brand"'}}},type:{control:{type:"select"},options:["button","submit"],table:{type:{summary:'"button" | "submit"'}}},leadingIcon:{control:!1},trailingIcon:{control:!1}},args:{children:"버튼 라벨",size:"sm",variant:"default",type:"button",disabled:!1},render:m},t={};var e,o,s;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:"{}",...(s=(o=t.parameters)==null?void 0:o.docs)==null?void 0:s.source}}};const g=["Default"];export{t as Default,g as __namedExportsOrder,x as default};
1
+ import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{l as r}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const m=a=>n.jsx(r,{...a}),x={component:r,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs","sm","md"],table:{type:{summary:'"xs" | "sm" | "md"'}}},variant:{control:{type:"select"},options:["default","brand"],table:{type:{summary:'"default" | "brand"'}}},type:{control:{type:"select"},options:["button","submit"],table:{type:{summary:'"button" | "submit"'}}},leadingIcon:{control:!1},trailingIcon:{control:!1}},args:{children:"버튼 라벨",size:"sm",variant:"default",type:"button",disabled:!1},render:m},t={};var e,o,s;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:"{}",...(s=(o=t.parameters)==null?void 0:o.docs)==null?void 0:s.source}}};const g=["Default"];export{t as Default,g as __namedExportsOrder,x as default};
@@ -1,4 +1,4 @@
1
- import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{H as a}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const j={component:a,tags:["autodocs"]},p=n=>t.jsx("div",{className:"bg-fill-subtler p-10",children:t.jsx(a,{...n})}),r={parameters:{docs:{description:{story:""}}},args:{},render:p};var e,o,s;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{
1
+ import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{H as a}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const j={component:a,tags:["autodocs"]},p=n=>t.jsx("div",{className:"bg-fill-subtler p-10",children:t.jsx(a,{...n})}),r={parameters:{docs:{description:{story:""}}},args:{},render:p};var e,o,s;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1 +1 @@
1
- import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{m as r}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const i=a=>n.jsx(r,{...a}),y={component:r,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["3xs","2xs","xs","xs2","sm","md"],table:{type:{summary:'"3xs" | "2xs" | "xs" | "xs2" | "sm" | "md"'}}},variant:{control:{type:"select"},options:["transparent","outlined","soft","solid","inverse","inverseSoft","brand","danger","dangerSoft","success","successSoft"],table:{type:{summary:'"transparent" | "outlined" | "soft" | "solid" | "inverse" | "inverseSoft" | "brand" | "danger" | "dangerSoft" | "success" | "successSoft"'}}},type:{control:{type:"select"},options:["button","submit","reset"],table:{type:{summary:'"button" | "submit" | "reset"'}}},leadingIcon:{control:!1},trailingIcon:{control:!1}},args:{children:"버튼 라벨",size:"sm",variant:"solid",type:"button",disabled:!1},render:i},t={};var s,e,o;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(o=(e=t.parameters)==null?void 0:e.docs)==null?void 0:o.source}}};const g=["Default"];export{t as Default,g as __namedExportsOrder,y as default};
1
+ import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{m as r}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const i=a=>n.jsx(r,{...a}),y={component:r,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["3xs","2xs","xs","xs2","sm","md"],table:{type:{summary:'"3xs" | "2xs" | "xs" | "xs2" | "sm" | "md"'}}},variant:{control:{type:"select"},options:["transparent","outlined","soft","solid","inverse","inverseSoft","brand","danger","dangerSoft","success","successSoft"],table:{type:{summary:'"transparent" | "outlined" | "soft" | "solid" | "inverse" | "inverseSoft" | "brand" | "danger" | "dangerSoft" | "success" | "successSoft"'}}},type:{control:{type:"select"},options:["button","submit","reset"],table:{type:{summary:'"button" | "submit" | "reset"'}}},leadingIcon:{control:!1},trailingIcon:{control:!1}},args:{children:"버튼 라벨",size:"sm",variant:"solid",type:"button",disabled:!1},render:i},t={};var s,e,o;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(o=(e=t.parameters)==null?void 0:e.docs)==null?void 0:o.source}}};const g=["Default"];export{t as Default,g as __namedExportsOrder,y as default};
@@ -1 +1 @@
1
- import{j as i}from"./jsx-runtime-BTJTZTIL.js";import{I as t,J as e,K as m}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const n=o=>i.jsx(m,{...o}),f={component:m,tags:["autodocs"],render:n,argTypes:{color:{control:{type:"select"},options:e,table:{type:{summary:e.map(o=>`"${o}"`).join(" | ")}}},size:{control:{type:"select"},options:t,table:{type:{summary:t.map(o=>`"${o}"`).join(" | ")}}}},args:{color:"green",size:"md"}},r={};var s,a,p;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(p=(a=r.parameters)==null?void 0:a.docs)==null?void 0:p.source}}};const z=["Playground"];export{r as Playground,z as __namedExportsOrder,f as default};
1
+ import{j as i}from"./jsx-runtime-BTJTZTIL.js";import{I as t,J as e,K as m}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const n=o=>i.jsx(m,{...o}),f={component:m,tags:["autodocs"],render:n,argTypes:{color:{control:{type:"select"},options:e,table:{type:{summary:e.map(o=>`"${o}"`).join(" | ")}}},size:{control:{type:"select"},options:t,table:{type:{summary:t.map(o=>`"${o}"`).join(" | ")}}}},args:{color:"green",size:"md"}},r={};var s,a,p;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(p=(a=r.parameters)==null?void 0:a.docs)==null?void 0:p.source}}};const z=["Playground"];export{r as Playground,z as __namedExportsOrder,f as default};
@@ -1,3 +1,3 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Dmy2JGbm.js";import{ao as u,V as N,ap as a,aq as n,ar as c,as as d,at as r,au as i,av as s,aw as S,ax as M,ay as g}from"./SideNumberInput-DLmM2_Dy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const E={tags:["autodocs"],component:u},B=()=>{const[m,p]=x.useState(!0),[b,f]=x.useState(!1);return e.jsx(N,{className:"bg-alt-1 min-h-[420px] items-center justify-center rounded-2xl p-8",children:e.jsxs(u,{children:[e.jsxs(a,{children:[e.jsx(n,{children:"File"}),e.jsxs(c,{children:[e.jsxs(d,{checked:m,onCheckedChange:l=>p(l===!0),children:[e.jsx("span",{className:"flex-1 truncate",children:"Show Toolbar"}),e.jsx(r,{children:"⌘T"})]}),e.jsxs(d,{checked:b,onCheckedChange:l=>f(l===!0),children:[e.jsx("span",{className:"flex-1 truncate",children:"Show Status Bar"}),e.jsx(r,{children:"⌘S"})]}),e.jsx(i,{}),e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"New Tab"}),e.jsx(r,{children:"⌘T"})]}),e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"New Window"}),e.jsx(r,{children:"⌘N"})]}),e.jsx(s,{children:e.jsx("span",{className:"flex-1 truncate",children:"New Incognito Window"})}),e.jsx(i,{}),e.jsxs(S,{children:[e.jsx(M,{children:e.jsx("span",{className:"flex-1 truncate",children:"Share"})}),e.jsxs(g,{children:[e.jsx(s,{children:e.jsx("span",{className:"flex-1 truncate",children:"Email link"})}),e.jsx(s,{children:e.jsx("span",{className:"flex-1 truncate",children:"Messages"})}),e.jsx(s,{variant:"destructive",children:e.jsx("span",{className:"flex-1 truncate",children:"Notes"})})]})]}),e.jsx(i,{}),e.jsxs(s,{disabled:!0,children:[e.jsx("span",{className:"flex-1 truncate",children:"Print"}),e.jsx(r,{children:"⌘P"})]})]})]}),e.jsxs(a,{children:[e.jsx(n,{children:"Edit"}),e.jsxs(c,{children:[e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"Menubar Item Text"}),e.jsx(r,{children:"⌘P"})]}),e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"Menubar Item Text"}),e.jsx(r,{children:"⌘P"})]})]})]}),e.jsxs(a,{children:[e.jsx(n,{children:"View"}),e.jsx(c,{children:e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"Menubar Item Text"}),e.jsx(r,{children:"⌘P"})]})})]}),e.jsxs(a,{children:[e.jsx(n,{children:"Profiles"}),e.jsx(c,{children:e.jsxs(s,{variant:"destructive",children:[e.jsx("span",{className:"flex-1 truncate",children:"Menubar Item Text"}),e.jsx(r,{children:"⌘P"})]})})]})]})})},t={render:()=>e.jsx(B,{})};var h,o,j;t.parameters={...t.parameters,docs:{...(h=t.parameters)==null?void 0:h.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Dmy2JGbm.js";import{ao as u,V as N,ap as a,aq as n,ar as c,as as d,at as r,au as i,av as s,aw as S,ax as M,ay as g}from"./SideNumberInput-CrfOgiZy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const E={tags:["autodocs"],component:u},B=()=>{const[m,p]=x.useState(!0),[b,f]=x.useState(!1);return e.jsx(N,{className:"bg-alt-1 min-h-[420px] items-center justify-center rounded-2xl p-8",children:e.jsxs(u,{children:[e.jsxs(a,{children:[e.jsx(n,{children:"File"}),e.jsxs(c,{children:[e.jsxs(d,{checked:m,onCheckedChange:l=>p(l===!0),children:[e.jsx("span",{className:"flex-1 truncate",children:"Show Toolbar"}),e.jsx(r,{children:"⌘T"})]}),e.jsxs(d,{checked:b,onCheckedChange:l=>f(l===!0),children:[e.jsx("span",{className:"flex-1 truncate",children:"Show Status Bar"}),e.jsx(r,{children:"⌘S"})]}),e.jsx(i,{}),e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"New Tab"}),e.jsx(r,{children:"⌘T"})]}),e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"New Window"}),e.jsx(r,{children:"⌘N"})]}),e.jsx(s,{children:e.jsx("span",{className:"flex-1 truncate",children:"New Incognito Window"})}),e.jsx(i,{}),e.jsxs(S,{children:[e.jsx(M,{children:e.jsx("span",{className:"flex-1 truncate",children:"Share"})}),e.jsxs(g,{children:[e.jsx(s,{children:e.jsx("span",{className:"flex-1 truncate",children:"Email link"})}),e.jsx(s,{children:e.jsx("span",{className:"flex-1 truncate",children:"Messages"})}),e.jsx(s,{variant:"destructive",children:e.jsx("span",{className:"flex-1 truncate",children:"Notes"})})]})]}),e.jsx(i,{}),e.jsxs(s,{disabled:!0,children:[e.jsx("span",{className:"flex-1 truncate",children:"Print"}),e.jsx(r,{children:"⌘P"})]})]})]}),e.jsxs(a,{children:[e.jsx(n,{children:"Edit"}),e.jsxs(c,{children:[e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"Menubar Item Text"}),e.jsx(r,{children:"⌘P"})]}),e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"Menubar Item Text"}),e.jsx(r,{children:"⌘P"})]})]})]}),e.jsxs(a,{children:[e.jsx(n,{children:"View"}),e.jsx(c,{children:e.jsxs(s,{children:[e.jsx("span",{className:"flex-1 truncate",children:"Menubar Item Text"}),e.jsx(r,{children:"⌘P"})]})})]}),e.jsxs(a,{children:[e.jsx(n,{children:"Profiles"}),e.jsx(c,{children:e.jsxs(s,{variant:"destructive",children:[e.jsx("span",{className:"flex-1 truncate",children:"Menubar Item Text"}),e.jsx(r,{children:"⌘P"})]})})]})]})})},t={render:()=>e.jsx(B,{})};var h,o,j;t.parameters={...t.parameters,docs:{...(h=t.parameters)==null?void 0:h.docs,source:{originalSource:`{
2
2
  render: () => <PlaygroundStory />
3
3
  }`,...(j=(o=t.parameters)==null?void 0:o.docs)==null?void 0:j.source}}};const V=["Playground"];export{t as Playground,V as __namedExportsOrder,E as default};
@@ -1,4 +1,4 @@
1
- import{j as s}from"./jsx-runtime-BTJTZTIL.js";import{M as n}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const b={component:n,tags:["autodocs"],argTypes:{min:{control:{type:"number"},defaultValue:0},max:{control:{type:"number"},defaultValue:100},step:{control:{type:"number"},defaultValue:1},thumbSize:{control:{type:"number"},defaultValue:20},sliderHeight:{control:{type:"number"},defaultValue:4},thumbBorderColor:{control:{type:"color"}},thumbColor:{control:{type:"color"}},trackColor:{control:{type:"color"}},rangeColor:{control:{type:"color"}}}},l=a=>s.jsx(n,{...a}),r={parameters:{docs:{description:{story:""}}},args:{min:0,max:100},render:l};var o,t,e;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
1
+ import{j as s}from"./jsx-runtime-BTJTZTIL.js";import{M as n}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const b={component:n,tags:["autodocs"],argTypes:{min:{control:{type:"number"},defaultValue:0},max:{control:{type:"number"},defaultValue:100},step:{control:{type:"number"},defaultValue:1},thumbSize:{control:{type:"number"},defaultValue:20},sliderHeight:{control:{type:"number"},defaultValue:4},thumbBorderColor:{control:{type:"color"}},thumbColor:{control:{type:"color"}},trackColor:{control:{type:"color"}},rangeColor:{control:{type:"color"}}}},l=a=>s.jsx(n,{...a}),r={parameters:{docs:{description:{story:""}}},args:{min:0,max:100},render:l};var o,t,e;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1,4 +1,4 @@
1
- import{j as u}from"./jsx-runtime-BTJTZTIL.js";import{r as o}from"./index-Dmy2JGbm.js";import{L as p}from"./SideNumberInput-DLmM2_Dy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const E={component:p,tags:["autodocs"]},d=e=>{const[m,t]=o.useState(e.currPage??1);return o.useEffect(()=>{t(e.currPage??1)},[e.currPage]),u.jsx(p,{...e,currPage:m,handlePageChange:a=>{var n;t(a),(n=e.handlePageChange)==null||n.call(e,a)}})},r={parameters:{docs:{description:{story:""}}},args:{currPage:1,listSize:1,pageSize:10,totalCount:100,handlePageChange:()=>{}},render:d};var s,i,c;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
1
+ import{j as u}from"./jsx-runtime-BTJTZTIL.js";import{r as o}from"./index-Dmy2JGbm.js";import{L as p}from"./SideNumberInput-CrfOgiZy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const E={component:p,tags:["autodocs"]},d=e=>{const[m,t]=o.useState(e.currPage??1);return o.useEffect(()=>{t(e.currPage??1)},[e.currPage]),u.jsx(p,{...e,currPage:m,handlePageChange:a=>{var n;t(a),(n=e.handlePageChange)==null||n.call(e,a)}})},r={parameters:{docs:{description:{story:""}}},args:{currPage:1,listSize:1,pageSize:10,totalCount:100,handlePageChange:()=>{}},render:d};var s,i,c;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{az as c,aA as a,aB as i,aC as m}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const B={component:a,tags:["autodocs"],args:{place:"bottom-center",arrow:!1},argTypes:{place:{control:"select",options:c},arrow:{control:"boolean"}}},d=({place:n,arrow:p})=>e.jsx("div",{className:"flex items-center justify-center overflow-hidden",children:e.jsxs(a,{children:[e.jsx(i,{asChild:!0,children:e.jsx("button",{className:"text-fg-default border-danger border-1",children:"Open Popover"})}),e.jsx(m,{place:n,arrow:p,className:"text-fg-default py-2_5 min-h-32 min-w-64 px-3",children:"Popover Content"})]})}),r={parameters:{docs:{description:{story:""}}},args:{},render:d};var o,t,s;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{az as c,aA as a,aB as i,aC as m}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const B={component:a,tags:["autodocs"],args:{place:"bottom-center",arrow:!1},argTypes:{place:{control:"select",options:c},arrow:{control:"boolean"}}},d=({place:n,arrow:p})=>e.jsx("div",{className:"flex items-center justify-center overflow-hidden",children:e.jsxs(a,{children:[e.jsx(i,{asChild:!0,children:e.jsx("button",{className:"text-fg-default border-danger border-1",children:"Open Popover"})}),e.jsx(m,{place:n,arrow:p,className:"text-fg-default py-2_5 min-h-32 min-w-64 px-3",children:"Popover Content"})]})}),r={parameters:{docs:{description:{story:""}}},args:{},render:d};var o,t,s;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1,4 +1,4 @@
1
- import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{r as l}from"./index-Dmy2JGbm.js";import{q as a,m as c}from"./SideNumberInput-DLmM2_Dy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const v={component:a,tags:["autodocs"]},i=p=>{const[m,e]=l.useState(!0);return r.jsxs("div",{children:[r.jsx(c,{size:"sm",variant:"solid",onClick:()=>e(!0),children:"Open Prompt"}),r.jsx(a,{...p,open:m,onOpenChange:e,resolve:()=>e(!1),close:()=>e(!1)})]})},t={parameters:{docs:{description:{story:""}}},args:{title:"Prompt Modal",content:"",placeholder:"Placeholder",value:"",buttonText:{yes:"Confirm",no:"Cancel"}},render:i};var o,n,s;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{
1
+ import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{r as l}from"./index-Dmy2JGbm.js";import{q as a,m as c}from"./SideNumberInput-CrfOgiZy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const v={component:a,tags:["autodocs"]},i=p=>{const[m,e]=l.useState(!0);return r.jsxs("div",{children:[r.jsx(c,{size:"sm",variant:"solid",onClick:()=>e(!0),children:"Open Prompt"}),r.jsx(a,{...p,open:m,onOpenChange:e,resolve:()=>e(!1),close:()=>e(!1)})]})},t={parameters:{docs:{description:{story:""}}},args:{title:"Prompt Modal",content:"",placeholder:"Placeholder",value:"",buttonText:{yes:"Confirm",no:"Cancel"}},render:i};var o,n,s;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1 +1 @@
1
- import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Dmy2JGbm.js";import{x as m}from"./SideNumberInput-DLmM2_Dy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const h=e=>{const i=[1,2,3,4],[s,d]=x.useState(),p=(o,u)=>{var r;d(o),(r=e.handleChange)==null||r.call(e,o,u)};return t.jsxs("div",{className:"space-y-3",children:[t.jsx("div",{className:"flex flex-col gap-4",children:i.map(o=>t.jsx(m,{...e,name:e.name??"rb-radio-demo",checkValue:o,value:s,handleChange:p,children:`${e.children??"Radio Button Dummy Text"} ${o}`},o))}),t.jsxs("div",{className:"text-fg-default text-xs",children:["DATA: ",String(s??"")]})]})},g={component:m,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["sm","md"],table:{type:{summary:'"sm" | "md"'}}},disabled:{control:{type:"boolean"}},children:{control:{type:"text"}},checkValue:{control:!1},value:{control:!1},handleChange:{control:!1}},args:{size:"sm",disabled:!1,children:"Radio Button Dummy Text",name:"rb-radio-demo",checkValue:"option-1"},render:h},a={};var l,c,n;a.parameters={...a.parameters,docs:{...(l=a.parameters)==null?void 0:l.docs,source:{originalSource:"{}",...(n=(c=a.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};const k=["Default"];export{a as Default,k as __namedExportsOrder,g as default};
1
+ import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Dmy2JGbm.js";import{x as m}from"./SideNumberInput-CrfOgiZy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const h=e=>{const i=[1,2,3,4],[s,d]=x.useState(),p=(o,u)=>{var r;d(o),(r=e.handleChange)==null||r.call(e,o,u)};return t.jsxs("div",{className:"space-y-3",children:[t.jsx("div",{className:"flex flex-col gap-4",children:i.map(o=>t.jsx(m,{...e,name:e.name??"rb-radio-demo",checkValue:o,value:s,handleChange:p,children:`${e.children??"Radio Button Dummy Text"} ${o}`},o))}),t.jsxs("div",{className:"text-fg-default text-xs",children:["DATA: ",String(s??"")]})]})},g={component:m,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["sm","md"],table:{type:{summary:'"sm" | "md"'}}},disabled:{control:{type:"boolean"}},children:{control:{type:"text"}},checkValue:{control:!1},value:{control:!1},handleChange:{control:!1}},args:{size:"sm",disabled:!1,children:"Radio Button Dummy Text",name:"rb-radio-demo",checkValue:"option-1"},render:h},a={};var l,c,n;a.parameters={...a.parameters,docs:{...(l=a.parameters)==null?void 0:l.docs,source:{originalSource:"{}",...(n=(c=a.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};const k=["Default"];export{a as Default,k as __namedExportsOrder,g as default};
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as p}from"./index-Dmy2JGbm.js";import{y as l}from"./SideNumberInput-DLmM2_Dy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const c=i=>{const d=[1,2,3,4],[r,m]=p.useState();return e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"flex flex-col gap-2",children:d.map(t=>e.jsx(l,{...i,name:"rb-radio-button-demo",checkValue:String(t),value:r,handleChange:m,children:`버튼 라벨 ${t}`},t))}),e.jsxs("div",{className:"text-fg-default text-xs",children:["DATA: ",String(r??"")]})]})},R={component:l,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["sm","md"],table:{type:{summary:'"sm" | "md"'}}},disabled:{control:{type:"boolean"}},children:{control:!1},name:{control:!1},checkValue:{control:!1},value:{control:!1},handleChange:{control:!1}},args:{size:"sm",disabled:!1},render:c},s={parameters:{docs:{description:{story:""}}},args:{},render:c};var o,a,n;s.parameters={...s.parameters,docs:{...(o=s.parameters)==null?void 0:o.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as p}from"./index-Dmy2JGbm.js";import{y as l}from"./SideNumberInput-CrfOgiZy.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const c=i=>{const d=[1,2,3,4],[r,m]=p.useState();return e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"flex flex-col gap-2",children:d.map(t=>e.jsx(l,{...i,name:"rb-radio-button-demo",checkValue:String(t),value:r,handleChange:m,children:`버튼 라벨 ${t}`},t))}),e.jsxs("div",{className:"text-fg-default text-xs",children:["DATA: ",String(r??"")]})]})},R={component:l,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["sm","md"],table:{type:{summary:'"sm" | "md"'}}},disabled:{control:{type:"boolean"}},children:{control:!1},name:{control:!1},checkValue:{control:!1},value:{control:!1},handleChange:{control:!1}},args:{size:"sm",disabled:!1},render:c},s={parameters:{docs:{description:{story:""}}},args:{},render:c};var o,a,n;s.parameters={...s.parameters,docs:{...(o=s.parameters)==null?void 0:o.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1,4 +1,4 @@
1
- import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{n as a}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const h={component:a,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs2","sm","md","lg"],table:{type:{summary:'"xs2" | "sm" | "md" | "lg"'}}},showPresets:{control:"boolean"},showFooter:{control:"boolean"},min:{control:"date"},max:{control:"date"},maxDays:{control:{type:"number",min:0,step:1},description:"선택 가능한 최대 일수. 0은 제한 없음."}},args:{maxDays:0}},m=e=>o.jsx("div",{style:{height:700},children:o.jsx(a,{...e,min:e.min!=null?new Date(e.min):void 0,max:e.max!=null?new Date(e.max):void 0,maxDays:(e.maxDays??0)>0?e.maxDays:void 0})}),t={parameters:{docs:{description:{story:""}}},args:{size:"md",showPresets:!0,showFooter:!0},render:m};var r,s,n;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{
1
+ import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{n as a}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const h={component:a,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs2","sm","md","lg"],table:{type:{summary:'"xs2" | "sm" | "md" | "lg"'}}},showPresets:{control:"boolean"},showFooter:{control:"boolean"},min:{control:"date"},max:{control:"date"},maxDays:{control:{type:"number",min:0,step:1},description:"선택 가능한 최대 일수. 0은 제한 없음."}},args:{maxDays:0}},m=e=>o.jsx("div",{style:{height:700},children:o.jsx(a,{...e,min:e.min!=null?new Date(e.min):void 0,max:e.max!=null?new Date(e.max):void 0,maxDays:(e.maxDays??0)>0?e.maxDays:void 0})}),t={parameters:{docs:{description:{story:""}}},args:{size:"md",showPresets:!0,showFooter:!0},render:m};var r,s,n;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  docs: {
4
4
  description: {
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{aD as t,aE as s,aF as c}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const j={tags:["autodocs"],component:t,parameters:{layout:"centered"},argTypes:{direction:{control:"select",options:["horizontal","vertical"]}}},i="flex h-full items-center justify-center text-base font-medium text-fg-default",a={args:{direction:"horizontal"},render:({direction:o})=>e.jsx("div",{className:"relative h-[520px] w-[520px] overflow-hidden p-5",children:e.jsx("div",{className:"flex h-full items-center justify-center",children:e.jsxs(t,{direction:o,className:"h-[480px] w-[480px]",children:[e.jsx(s,{children:e.jsx("div",{className:i,children:"One"})}),e.jsx(c,{}),e.jsx(s,{children:e.jsx("div",{className:i,children:"Two"})})]})})})};var n,r,l;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{aD as t,aE as s,aF as c}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const j={tags:["autodocs"],component:t,parameters:{layout:"centered"},argTypes:{direction:{control:"select",options:["horizontal","vertical"]}}},i="flex h-full items-center justify-center text-base font-medium text-fg-default",a={args:{direction:"horizontal"},render:({direction:o})=>e.jsx("div",{className:"relative h-[520px] w-[520px] overflow-hidden p-5",children:e.jsx("div",{className:"flex h-full items-center justify-center",children:e.jsxs(t,{direction:o,className:"h-[480px] w-[480px]",children:[e.jsx(s,{children:e.jsx("div",{className:i,children:"One"})}),e.jsx(c,{}),e.jsx(s,{children:e.jsx("div",{className:i,children:"Two"})})]})})})};var n,r,l;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{
2
2
  args: {
3
3
  direction: "horizontal"
4
4
  },
@@ -0,0 +1,74 @@
1
+ import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{w as d,u as c,a as p,e as n}from"./index-ClAc6FBW.js";import{z as b,B as w,V as g}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const N=Array.from({length:40},(e,o)=>({value:`option-${o+1}`,label:`옵션 ${o+1}`})),H=e=>t.jsx("div",{className:"min-h-80 overflow-visible",children:t.jsx(b,{...e,className:"w-96",children:N.map(({value:o,label:a})=>t.jsx(w,{value:o,children:a},o))})}),O=e=>t.jsx("div",{className:"min-h-80 overflow-visible",children:t.jsxs(b,{...e,className:"w-96",children:[t.jsx(w,{value:"option-1",label:"옵션 1",className:"h-12",children:t.jsxs(g,{children:["옵션 1",t.jsx("span",{className:"typo-compact-xs-normal",children:"Additional Information goes here"})]})}),t.jsx(w,{value:"option-2",label:"옵션 2",className:"h-12",children:t.jsxs(g,{children:["옵션 2",t.jsx("span",{className:"typo-compact-xs-normal",children:"Additional Information goes here"})]})}),t.jsx(w,{value:"option-3",label:"옵션 3",disabled:!0,className:"h-12",children:t.jsxs(g,{children:["옵션 3",t.jsx("span",{className:"typo-compact-xs-normal",children:"Additional Information goes here"})]})})]})}),z={component:b,tags:["autodocs"],parameters:{layout:"padded"},argTypes:{size:{control:{type:"select"},options:["xs2","sm","md","lg"]},maxDropBoxHeight:{control:{type:"number"}},disabled:{control:{type:"boolean"}},readOnly:{control:{type:"boolean"}},search:{control:{type:"boolean"}},keepDropDown:{control:{type:"boolean"}},showCloseBtn:{control:{type:"boolean"}},whenScrollCloseDropBox:{control:{type:"boolean"}},enableModal:{control:{type:"boolean"}},error:{control:{type:"boolean"}},searchPlaceholder:{control:{type:"text"}},mobileLabel:{control:{type:"text"}},placeholder:{control:{type:"text"}},selectArrow:{control:!1,table:{disable:!0}},noDataMsg:{control:!1,table:{disable:!0}},onClick:{action:!1,control:!1,table:{disable:!0}},onChange:{action:"onChange",control:!1},handleChange:{action:"handleChange",control:!1}},args:{size:"md",maxDropBoxHeight:200,disabled:!1,readOnly:!1,placeholder:"placeholder",search:!1,keepDropDown:!1,showCloseBtn:!1,whenScrollCloseDropBox:!1,enableModal:!1,error:!1,searchPlaceholder:"Search",onClick:void 0},render:H},B=()=>new Promise(e=>setTimeout(e,350)),u={play:async({canvasElement:e})=>{const o=d(e),a=e.ownerDocument;await B(),await c.click(o.getByText("placeholder"));const l=await p(()=>{const s=a.querySelector('[data-slot="select-drop-box"]');if(!s)throw new Error("drop box not opened");return s}),y=d(l).getByText("옵션 3");await c.click(y),await p(()=>{var s;n((s=e.querySelector('[data-slot="select-box-value"] span'))==null?void 0:s.textContent).toBe("옵션 3"),n(a.querySelector('[data-slot="select-drop-box"]')).toBeNull()})}},m={args:{value:"option-2"},render:O,play:async({canvasElement:e})=>{const o=d(e),a=e.ownerDocument,l=()=>{var r;return(r=e.querySelector('[data-slot="select-box-value"] span'))==null?void 0:r.textContent};await B(),await c.click(o.getByText("옵션 2"));const y=await p(()=>{const r=a.querySelector('[data-slot="select-drop-box"]');if(!r)throw new Error("drop box not opened");return r}),s=d(y).getAllByRole("button"),x=s.find(r=>{var i;return(i=r.textContent)==null?void 0:i.startsWith("옵션 3")});n(x==null?void 0:x.textContent).toContain("Additional Information goes here"),await c.click(x),n(l()).toBe("옵션 2"),n(a.querySelector('[data-slot="select-drop-box"]')).not.toBeNull();const j=s.find(r=>{var i;return(i=r.textContent)==null?void 0:i.startsWith("옵션 1")});await c.click(j),await p(()=>{n(l()).toBe("옵션 1"),n(a.querySelector('[data-slot="select-drop-box"]')).toBeNull()})}},h={args:{maxDropBoxHeight:120},play:async({canvasElement:e})=>{const o=d(e);await B(),await c.click(o.getByText("placeholder"));const a=e.ownerDocument;await p(()=>{const l=a.querySelector('[data-slot="select-drop-box"]');n(l).toBeTruthy(),n(l.getBoundingClientRect().height).toBeLessThanOrEqual(121)})}};var f,v,T;u.parameters={...u.parameters,docs:{...(f=u.parameters)==null?void 0:f.docs,source:{originalSource:`{
2
+ play: async ({
3
+ canvasElement
4
+ }) => {
5
+ const canvas = within(canvasElement);
6
+ const doc = canvasElement.ownerDocument;
7
+ await waitPastClickGuard();
8
+ await userEvent.click(canvas.getByText("placeholder"));
9
+ const dropBox = await waitFor(() => {
10
+ const el = doc.querySelector('[data-slot="select-drop-box"]');
11
+ if (!el) throw new Error("drop box not opened");
12
+ return el as HTMLElement;
13
+ });
14
+ const option = within(dropBox).getByText("옵션 3");
15
+ await userEvent.click(option);
16
+ await waitFor(() => {
17
+ expect(canvasElement.querySelector('[data-slot="select-box-value"] span')?.textContent).toBe("옵션 3");
18
+ expect(doc.querySelector('[data-slot="select-drop-box"]')).toBeNull();
19
+ });
20
+ }
21
+ }`,...(T=(v=u.parameters)==null?void 0:v.docs)==null?void 0:T.source}}};var C,E,S;m.parameters={...m.parameters,docs:{...(C=m.parameters)==null?void 0:C.docs,source:{originalSource:`{
22
+ args: {
23
+ value: "option-2"
24
+ },
25
+ render: HasInfoListTemplate,
26
+ play: async ({
27
+ canvasElement
28
+ }) => {
29
+ const canvas = within(canvasElement);
30
+ const doc = canvasElement.ownerDocument;
31
+ // DropBox가 열려있을 때는 옵션 목록에도 같은 라벨 텍스트가 존재해
32
+ // canvas.getByText가 trigger와 옵션을 동시에 매칭해버리므로, trigger는
33
+ // select-box-value 슬롯을 직접 조회해 값이 바뀌었는지 확인한다
34
+ const getTriggerText = () => canvasElement.querySelector('[data-slot="select-box-value"] span')?.textContent;
35
+ await waitPastClickGuard();
36
+ await userEvent.click(canvas.getByText("옵션 2"));
37
+ const dropBox = await waitFor(() => {
38
+ const el = doc.querySelector('[data-slot="select-drop-box"]');
39
+ if (!el) throw new Error("drop box not opened");
40
+ return el as HTMLElement;
41
+ });
42
+ const optionEls = within(dropBox).getAllByRole("button");
43
+ const disabledOption = optionEls.find(el => el.textContent?.startsWith("옵션 3"));
44
+ expect(disabledOption?.textContent).toContain("Additional Information goes here");
45
+
46
+ // disabled 옵션은 클릭해도 선택이 바뀌지 않고 DropBox도 닫히지 않음
47
+ await userEvent.click(disabledOption!);
48
+ expect(getTriggerText()).toBe("옵션 2");
49
+ expect(doc.querySelector('[data-slot="select-drop-box"]')).not.toBeNull();
50
+ const enabledOption = optionEls.find(el => el.textContent?.startsWith("옵션 1"));
51
+ await userEvent.click(enabledOption!);
52
+ await waitFor(() => {
53
+ expect(getTriggerText()).toBe("옵션 1");
54
+ expect(doc.querySelector('[data-slot="select-drop-box"]')).toBeNull();
55
+ });
56
+ }
57
+ }`,...(S=(E=m.parameters)==null?void 0:E.docs)==null?void 0:S.source}}};var D,k,q;h.parameters={...h.parameters,docs:{...(D=h.parameters)==null?void 0:D.docs,source:{originalSource:`{
58
+ args: {
59
+ maxDropBoxHeight: 120
60
+ },
61
+ play: async ({
62
+ canvasElement
63
+ }) => {
64
+ const canvas = within(canvasElement);
65
+ await waitPastClickGuard();
66
+ await userEvent.click(canvas.getByText("placeholder"));
67
+ const doc = canvasElement.ownerDocument;
68
+ await waitFor(() => {
69
+ const dropBox = doc.querySelector('[data-slot="select-drop-box"]') as HTMLElement;
70
+ expect(dropBox).toBeTruthy();
71
+ expect(dropBox.getBoundingClientRect().height).toBeLessThanOrEqual(121);
72
+ });
73
+ }
74
+ }`,...(q=(k=h.parameters)==null?void 0:k.docs)==null?void 0:q.source}}};const V=["Default","HasInfoList","MaxDropBoxHeight"];export{u as Default,m as HasInfoList,h as MaxDropBoxHeight,V as __namedExportsOrder,z as default};
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import"./index-Dmy2JGbm.js";import{aG as c,aH as d,aI as m,m as a,aJ as h,aK as u,aL as B,V as p,F as l,u as n,aM as x}from"./SideNumberInput-DLmM2_Dy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const v={tags:["autodocs"],argTypes:{showCloseButton:{control:"boolean"},side:{control:{type:"select"},options:["right","left","bottom","top"]}},args:{showCloseButton:!0,side:"right"},component:c},s={render:t=>e.jsx("div",{children:e.jsxs(d,{defaultOpen:!0,children:[e.jsx(m,{asChild:!0,children:e.jsx(a,{size:"sm",variant:"solid",children:"Open Sheet"})}),e.jsxs(c,{...t,className:t.side==="top"||t.side==="bottom"?"w-full":"w-96",children:[e.jsxs(h,{children:[e.jsx(u,{children:"Edit profile"}),e.jsx(B,{children:"Make changes to your profile here. Click save when you're done."})]}),e.jsxs(p,{className:"flex-1 gap-6",children:[e.jsx(l,{label:"Name",required:!0,className:"gap-1_5 flex flex-col",children:e.jsx(n,{size:"sm",className:"w-full"})}),e.jsx(l,{label:"Username",required:!0,className:"flex flex-col gap-1.5",children:e.jsx(n,{size:"sm",className:"w-full"})})]}),e.jsxs(x,{children:[e.jsx(a,{size:"sm",variant:"solid",className:"w-full",children:"Save changes"}),e.jsx(a,{size:"sm",variant:"outlined",className:"w-full",children:"Cancel"})]})]})]})})};var r,o,i;s.parameters={...s.parameters,docs:{...(r=s.parameters)==null?void 0:r.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import"./index-Dmy2JGbm.js";import{aG as c,aH as d,aI as m,m as a,aJ as h,aK as u,aL as B,V as p,F as l,u as n,aM as x}from"./SideNumberInput-CrfOgiZy.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const v={tags:["autodocs"],argTypes:{showCloseButton:{control:"boolean"},side:{control:{type:"select"},options:["right","left","bottom","top"]}},args:{showCloseButton:!0,side:"right"},component:c},s={render:t=>e.jsx("div",{children:e.jsxs(d,{defaultOpen:!0,children:[e.jsx(m,{asChild:!0,children:e.jsx(a,{size:"sm",variant:"solid",children:"Open Sheet"})}),e.jsxs(c,{...t,className:t.side==="top"||t.side==="bottom"?"w-full":"w-96",children:[e.jsxs(h,{children:[e.jsx(u,{children:"Edit profile"}),e.jsx(B,{children:"Make changes to your profile here. Click save when you're done."})]}),e.jsxs(p,{className:"flex-1 gap-6",children:[e.jsx(l,{label:"Name",required:!0,className:"gap-1_5 flex flex-col",children:e.jsx(n,{size:"sm",className:"w-full"})}),e.jsx(l,{label:"Username",required:!0,className:"flex flex-col gap-1.5",children:e.jsx(n,{size:"sm",className:"w-full"})})]}),e.jsxs(x,{children:[e.jsx(a,{size:"sm",variant:"solid",className:"w-full",children:"Save changes"}),e.jsx(a,{size:"sm",variant:"outlined",className:"w-full",children:"Cancel"})]})]})]})})};var r,o,i;s.parameters={...s.parameters,docs:{...(r=s.parameters)==null?void 0:r.docs,source:{originalSource:`{
2
2
  render: args => <div>
3
3
  <RBSheet defaultOpen>
4
4
  <RBSheetTrigger asChild>
@@ -1,4 +1,4 @@
1
- import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{E as s,F as m}from"./SideNumberInput-DLmM2_Dy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const d=r=>o.jsx(s,{...r}),N={component:s,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs2","sm","md","lg"],table:{type:{summary:'"xs2" | "sm" | "md" | "lg"'}}},variant:{control:{type:"select"},options:["default","success"],table:{type:{summary:'"default" | "success"'}}},step:{control:{type:"number"}},increaseStep:{control:{type:"number"}},decreaseStep:{control:{type:"number"}},min:{control:{type:"number"}},max:{control:{type:"number"}},maxLength:{control:{type:"number"}},digit:{control:{type:"number"}},isDirect:{control:{type:"boolean"}},detectDobleClick:{control:{type:"boolean"}},type:{control:{type:"select"},options:["number","nx-number"]},disabled:{control:{type:"boolean"}},inputDisabled:{control:{type:"boolean"}},readOnly:{control:{type:"boolean"}}},args:{size:"md",variant:"default",defaultValue:.5,step:.1,isDirect:!0,detectDobleClick:!1},render:d},e={},t={render:r=>o.jsx(m,{label:"Node Name",description:"노드 이름을 입력하세요.",required:!0,helperText:"중복되지 않는 이름을 사용하세요.",helperTone:"default",children:o.jsx(s,{...r})})};var n,a,l;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(l=(a=e.parameters)==null?void 0:a.docs)==null?void 0:l.source}}};var p,c,i;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{
1
+ import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{E as s,F as m}from"./SideNumberInput-CrfOgiZy.js";import"./index-Dmy2JGbm.js";import"./react-resizable-panels.browser-CYcsrUgg.js";import"./index-DKFBREX_.js";import"./index-CT3U1fyk.js";import"./index-ChsGqxH_.js";import"./browserUtils-CQM9Za7e.js";import"./index-BRq5TIsn.js";const d=r=>o.jsx(s,{...r}),N={component:s,tags:["autodocs"],argTypes:{size:{control:{type:"select"},options:["xs2","sm","md","lg"],table:{type:{summary:'"xs2" | "sm" | "md" | "lg"'}}},variant:{control:{type:"select"},options:["default","success"],table:{type:{summary:'"default" | "success"'}}},step:{control:{type:"number"}},increaseStep:{control:{type:"number"}},decreaseStep:{control:{type:"number"}},min:{control:{type:"number"}},max:{control:{type:"number"}},maxLength:{control:{type:"number"}},digit:{control:{type:"number"}},isDirect:{control:{type:"boolean"}},detectDobleClick:{control:{type:"boolean"}},type:{control:{type:"select"},options:["number","nx-number"]},disabled:{control:{type:"boolean"}},inputDisabled:{control:{type:"boolean"}},readOnly:{control:{type:"boolean"}}},args:{size:"md",variant:"default",defaultValue:.5,step:.1,isDirect:!0,detectDobleClick:!1},render:d},e={},t={render:r=>o.jsx(m,{label:"Node Name",description:"노드 이름을 입력하세요.",required:!0,helperText:"중복되지 않는 이름을 사용하세요.",helperTone:"default",children:o.jsx(s,{...r})})};var n,a,l;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(l=(a=e.parameters)==null?void 0:a.docs)==null?void 0:l.source}}};var p,c,i;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{
2
2
  render: args => <RBTextField label="Node Name" description="노드 이름을 입력하세요." required helperText="중복되지 않는 이름을 사용하세요." helperTone="default">
3
3
  <RBSideNumberInput {...args} />
4
4
  </RBTextField>