@yamada-ui/menu 1.3.1-next-20240609204504 → 2.0.0-next-20240603102006

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/dist/{chunk-2FOA2AP4.mjs → chunk-CF3TAFTM.mjs} +2 -2
  2. package/dist/{chunk-TIYBNXK4.mjs → chunk-DWQCX2O4.mjs} +2 -2
  3. package/dist/{chunk-5C3XSMI2.mjs → chunk-EEC7MUZW.mjs} +2 -2
  4. package/dist/{chunk-NML7NR7X.mjs → chunk-G77F3RBN.mjs} +3 -3
  5. package/dist/chunk-G77F3RBN.mjs.map +1 -0
  6. package/dist/{chunk-M3XRN6C3.mjs → chunk-IM5ZPUVO.mjs} +4 -4
  7. package/dist/{chunk-M3XRN6C3.mjs.map → chunk-IM5ZPUVO.mjs.map} +1 -1
  8. package/dist/{chunk-2H6C3JQR.mjs → chunk-UCLGJF56.mjs} +2 -2
  9. package/dist/{chunk-OZY47QK4.mjs → chunk-XASKEWXG.mjs} +4 -4
  10. package/dist/chunk-XASKEWXG.mjs.map +1 -0
  11. package/dist/context-menu-trigger.mjs +2 -2
  12. package/dist/context-menu.js +2 -2
  13. package/dist/context-menu.js.map +1 -1
  14. package/dist/context-menu.mjs +1 -1
  15. package/dist/index.js +5 -5
  16. package/dist/index.js.map +1 -1
  17. package/dist/index.mjs +7 -7
  18. package/dist/menu-button.js +2 -2
  19. package/dist/menu-button.js.map +1 -1
  20. package/dist/menu-button.mjs +2 -2
  21. package/dist/menu-divider.mjs +2 -2
  22. package/dist/menu-group.js +2 -2
  23. package/dist/menu-group.js.map +1 -1
  24. package/dist/menu-group.mjs +2 -2
  25. package/dist/menu-item.js +2 -2
  26. package/dist/menu-item.js.map +1 -1
  27. package/dist/menu-item.mjs +1 -1
  28. package/dist/menu-list.mjs +2 -2
  29. package/dist/menu-option-group.js +5 -5
  30. package/dist/menu-option-group.js.map +1 -1
  31. package/dist/menu-option-group.mjs +3 -3
  32. package/dist/menu.js +2 -2
  33. package/dist/menu.js.map +1 -1
  34. package/dist/menu.mjs +1 -1
  35. package/package.json +11 -11
  36. package/dist/chunk-NML7NR7X.mjs.map +0 -1
  37. package/dist/chunk-OZY47QK4.mjs.map +0 -1
  38. /package/dist/{chunk-2FOA2AP4.mjs.map → chunk-CF3TAFTM.mjs.map} +0 -0
  39. /package/dist/{chunk-TIYBNXK4.mjs.map → chunk-DWQCX2O4.mjs.map} +0 -0
  40. /package/dist/{chunk-5C3XSMI2.mjs.map → chunk-EEC7MUZW.mjs.map} +0 -0
  41. /package/dist/{chunk-2H6C3JQR.mjs.map → chunk-UCLGJF56.mjs.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/menu-group.tsx"],"sourcesContent":["import type { HTMLUIProps, CSSUIObject } from \"@yamada-ui/core\"\nimport { ui, forwardRef } from \"@yamada-ui/core\"\nimport { cx } from \"@yamada-ui/utils\"\nimport { useMenu } from \"./menu\"\n\nexport type MenuGroupProps = HTMLUIProps<\"div\"> & {\n /**\n * The label of the group.\n */\n label?: string\n}\n\nexport const MenuGroup = forwardRef<MenuGroupProps, \"div\">(\n ({ className, label, children, ...rest }, ref) => {\n const { styles } = useMenu()\n\n const css: CSSUIObject = { ...styles.group }\n\n return (\n <ui.li\n ref={ref}\n className={cx(\"ui-menu__item\", \"ui-menu__item--group\", className)}\n role=\"group\"\n __css={css}\n {...rest}\n >\n {label ? (\n <ui.span\n className={cx(\"ui-menu__item--group-label\")}\n __css={styles.groupLabel}\n >\n {label}\n </ui.span>\n ) : null}\n\n <ui.ul className=\"ui-menu__item__group\">{children}</ui.ul>\n </ui.li>\n )\n },\n)\n"],"mappings":";;;;;;AACA,SAAS,IAAI,kBAAkB;AAC/B,SAAS,UAAU;AAiBb,SAQI,KARJ;AAPC,IAAM,YAAY;AAAA,EACvB,CAAC,EAAE,WAAW,OAAO,UAAU,GAAG,KAAK,GAAG,QAAQ;AAChD,UAAM,EAAE,OAAO,IAAI,QAAQ;AAE3B,UAAM,MAAmB,EAAE,GAAG,OAAO,MAAM;AAE3C,WACE;AAAA,MAAC,GAAG;AAAA,MAAH;AAAA,QACC;AAAA,QACA,WAAW,GAAG,iBAAiB,wBAAwB,SAAS;AAAA,QAChE,MAAK;AAAA,QACL,OAAO;AAAA,QACN,GAAG;AAAA,QAEH;AAAA,kBACC;AAAA,YAAC,GAAG;AAAA,YAAH;AAAA,cACC,WAAW,GAAG,4BAA4B;AAAA,cAC1C,OAAO,OAAO;AAAA,cAEb;AAAA;AAAA,UACH,IACE;AAAA,UAEJ,oBAAC,GAAG,IAAH,EAAM,WAAU,wBAAwB,UAAS;AAAA;AAAA;AAAA,IACpD;AAAA,EAEJ;AACF;","names":[]}