@planningcenter/tapestry 3.6.0 → 3.7.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/components/flex/Flex.d.ts +19 -3
  2. package/dist/components/flex/Flex.d.ts.map +1 -1
  3. package/dist/components/flex/Flex.js +5 -3
  4. package/dist/components/flex/Flex.js.map +1 -1
  5. package/dist/components/link/BaseLink.d.ts +17 -3
  6. package/dist/components/link/BaseLink.d.ts.map +1 -1
  7. package/dist/components/link/BaseLink.js +5 -3
  8. package/dist/components/link/BaseLink.js.map +1 -1
  9. package/dist/components/link/IconLink.d.ts +286 -2
  10. package/dist/components/link/IconLink.d.ts.map +1 -1
  11. package/dist/components/link/IconLink.js.map +1 -1
  12. package/dist/components/link/Link.d.ts +10 -7
  13. package/dist/components/link/Link.d.ts.map +1 -1
  14. package/dist/components/link/Link.js +3 -2
  15. package/dist/components/link/Link.js.map +1 -1
  16. package/dist/index.css +1536 -0
  17. package/dist/index.css.map +1 -1
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +1 -0
  21. package/dist/index.js.map +1 -1
  22. package/dist/reactRender.css +1611 -843
  23. package/dist/reactRender.css.map +1 -1
  24. package/dist/reactRenderLegacy.css +1611 -843
  25. package/dist/reactRenderLegacy.css.map +1 -1
  26. package/dist/unstable.css +3944 -3176
  27. package/dist/unstable.css.map +1 -1
  28. package/dist/unstable.d.ts +0 -1
  29. package/dist/unstable.d.ts.map +1 -1
  30. package/dist/unstable.js +1 -1
  31. package/dist/utilities/containerQuery.d.ts +80 -0
  32. package/dist/utilities/containerQuery.d.ts.map +1 -0
  33. package/dist/utilities/containerQuery.js +180 -0
  34. package/dist/utilities/containerQuery.js.map +1 -0
  35. package/dist/utilities/cssRegistry.d.ts +20 -0
  36. package/dist/utilities/cssRegistry.d.ts.map +1 -0
  37. package/dist/utilities/cssRegistry.js +65 -0
  38. package/dist/utilities/cssRegistry.js.map +1 -0
  39. package/dist/utilities/spacingTokens.d.ts +14 -1
  40. package/dist/utilities/spacingTokens.d.ts.map +1 -1
  41. package/dist/utilities/spacingTokens.js +18 -0
  42. package/dist/utilities/spacingTokens.js.map +1 -0
  43. package/dist/utilities/typeUtils.d.ts +4 -0
  44. package/dist/utilities/typeUtils.d.ts.map +1 -0
  45. package/dist/utilities/useContainerClass.d.ts +2 -0
  46. package/dist/utilities/useContainerClass.d.ts.map +1 -0
  47. package/dist/utilities/useContainerClass.js +25 -0
  48. package/dist/utilities/useContainerClass.js.map +1 -0
  49. package/dist/utilities/useInsertionEffect.d.ts +3 -0
  50. package/dist/utilities/useInsertionEffect.d.ts.map +1 -0
  51. package/dist/utilities/useInsertionEffect.js +9 -0
  52. package/dist/utilities/useInsertionEffect.js.map +1 -0
  53. package/package.json +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"Link.js","sources":["../../../src/components/link/Link.tsx"],"sourcesContent":["import \"../button/btn.css\"\n\nimport React, { forwardRef } from \"react\"\n\nimport { BaseLink, BaseLinkElementProps } from \"./BaseLink\"\n\nexport type LinkProps = Omit<BaseLinkElementProps, \"label\"> & {\n children?: React.ReactNode\n label?: string\n}\n\n/**\n * A link component that renders as an HTML `<a>` element with button-like\n * styling. Use for navigation; for actions that don't change the URL, use\n * `Button` instead.\n *\n * @component\n * @see {@link https://planningcenter.github.io/tapestry/?path=/docs/components-link--docs | Storybook Documentation}\n * @see {@link https://github.com/planningcenter/tapestry/tree/main/packages/tapestry-migration-cli | Migration CLI: Available}\n */\nexport const Link = forwardRef<HTMLAnchorElement, LinkProps>(\n ({ href, ...restProps }: LinkProps, ref) => {\n return <BaseLink href={href} ref={ref} {...restProps} />\n }\n)\n\nLink.displayName = \"Link\"\n"],"names":["React"],"mappings":";;;AAWA;;;;;;;;AAQG;AACI,MAAM,IAAI,GAAG,UAAU,CAC5B,CAAC,EAAE,IAAI,EAAE,GAAG,SAAS,EAAa,EAAE,GAAG,KAAI;AACzC,IAAA,OAAOA,cAAA,CAAA,aAAA,CAAC,QAAQ,EAAA,EAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAA,GAAM,SAAS,GAAI;AAC1D,CAAC;AAGH,IAAI,CAAC,WAAW,GAAG,MAAM;;;;"}
1
+ {"version":3,"file":"Link.js","sources":["../../../src/components/link/Link.tsx"],"sourcesContent":["import \"../button/btn.css\"\n\nimport { Simplify } from \"@utilities/typeUtils\"\nimport React, { forwardRef } from \"react\"\n\nimport { BaseLink, BaseLinkElementProps } from \"./BaseLink\"\n\nexport type LinkProps =\n | Simplify<\n Omit<Extract<BaseLinkElementProps, { asChild?: false }>, \"label\"> & {\n label?: string\n }\n >\n | Simplify<\n Omit<Extract<BaseLinkElementProps, { asChild: true }>, \"label\"> & {\n label?: string\n }\n >\n\n/**\n * A link component that renders as an HTML `<a>` element with button-like\n * styling. Use for navigation; for actions that don't change the URL, use\n * `Button` instead.\n *\n * @component\n * @see {@link https://planningcenter.github.io/tapestry/?path=/docs/components-link--docs | Storybook Documentation}\n * @see {@link https://github.com/planningcenter/tapestry/tree/main/packages/tapestry-migration-cli | Migration CLI: Available}\n */\nexport const Link = forwardRef<HTMLAnchorElement, LinkProps>(\n (props: LinkProps, ref) => {\n // eslint-disable-next-line tapestry/valid-href\n return <BaseLink ref={ref} {...props} />\n }\n)\n\nLink.displayName = \"Link\"\n"],"names":["React"],"mappings":";;;AAmBA;;;;;;;;AAQG;AACI,MAAM,IAAI,GAAG,UAAU,CAC5B,CAAC,KAAgB,EAAE,GAAG,KAAI;;IAExB,OAAOA,cAAA,CAAA,aAAA,CAAC,QAAQ,EAAA,EAAC,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAA,CAAI;AAC1C,CAAC;AAGH,IAAI,CAAC,WAAW,GAAG,MAAM;;;;"}