@planningcenter/tapestry 4.15.0 → 4.15.1-qa-1684.1

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 (39) hide show
  1. package/dist/components/DataTable/DataTable.d.ts +2 -0
  2. package/dist/components/DataTable/DataTable.d.ts.map +1 -1
  3. package/dist/components/DataTable/DataTable.js +6 -3
  4. package/dist/components/DataTable/DataTable.js.map +1 -1
  5. package/dist/components/link/BaseLink.d.ts.map +1 -1
  6. package/dist/components/link/BaseLink.js +11 -1
  7. package/dist/components/link/BaseLink.js.map +1 -1
  8. package/dist/components/tag/Tag.d.ts +59 -0
  9. package/dist/components/tag/Tag.d.ts.map +1 -0
  10. package/dist/components/tag/Tag.js +31 -0
  11. package/dist/components/tag/Tag.js.map +1 -0
  12. package/dist/components/tag/TagContent.d.ts +19 -0
  13. package/dist/components/tag/TagContent.d.ts.map +1 -0
  14. package/dist/components/tag/TagContent.js +26 -0
  15. package/dist/components/tag/TagContent.js.map +1 -0
  16. package/dist/components/tag/index.d.ts +4 -0
  17. package/dist/components/tag/index.d.ts.map +1 -0
  18. package/dist/components/tag/useTagMenu.d.ts +31 -0
  19. package/dist/components/tag/useTagMenu.d.ts.map +1 -0
  20. package/dist/components/tag/useTagMenu.js +56 -0
  21. package/dist/components/tag/useTagMenu.js.map +1 -0
  22. package/dist/reactRender.css +2355 -2155
  23. package/dist/reactRender.css.map +1 -1
  24. package/dist/reactRenderLegacy.css +2355 -2155
  25. package/dist/reactRenderLegacy.css.map +1 -1
  26. package/dist/tapestryMount.css +2355 -2155
  27. package/dist/tapestryMount.css.map +1 -1
  28. package/dist/tapestryMountLegacy.css +2355 -2155
  29. package/dist/tapestryMountLegacy.css.map +1 -1
  30. package/dist/unstable.css +200 -0
  31. package/dist/unstable.css.map +1 -1
  32. package/dist/unstable.d.ts +2 -0
  33. package/dist/unstable.d.ts.map +1 -1
  34. package/dist/unstable.js +1 -0
  35. package/dist/unstable.js.map +1 -1
  36. package/docs/components/DataTable.md +3 -1
  37. package/docs/components/tag.md +41 -0
  38. package/docs/llms.txt +3 -0
  39. package/package.json +5 -5
@@ -0,0 +1,19 @@
1
+ import React, { type ReactNode } from "react";
2
+ interface TagContentProps {
3
+ /** The ✕ button. Always after the name. */
4
+ dismissButton?: ReactNode;
5
+ icon?: ReactNode;
6
+ label?: string;
7
+ /** The menu button. After the name and the ✕. */
8
+ menuButton?: ReactNode;
9
+ name: string;
10
+ }
11
+ /** The text screen readers read for a tag: "label: name", or the name. */
12
+ export declare function tagText(label: string | undefined, name: string): string;
13
+ /**
14
+ * The markup inside a tag. With a label, screen readers read one hidden
15
+ * "label: name" text, so the two parts are not read as separate items.
16
+ */
17
+ export declare function TagContent({ dismissButton, icon, label, menuButton, name, }: TagContentProps): React.JSX.Element;
18
+ export {};
19
+ //# sourceMappingURL=TagContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagContent.d.ts","sourceRoot":"","sources":["../../../src/components/tag/TagContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAE7C,UAAU,eAAe;IACvB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,SAAS,CAAA;IACzB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iDAAiD;IACjD,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,0EAA0E;AAC1E,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,UAE9D;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,aAAa,EACb,IAAI,EACJ,KAAK,EACL,UAAU,EACV,IAAI,GACL,EAAE,eAAe,qBA0BjB"}
@@ -0,0 +1,26 @@
1
+ import React__default from 'react';
2
+
3
+ /** The text screen readers read for a tag: "label: name", or the name. */
4
+ function tagText(label, name) {
5
+ return label ? `${label}: ${name}` : name;
6
+ }
7
+ /**
8
+ * The markup inside a tag. With a label, screen readers read one hidden
9
+ * "label: name" text, so the two parts are not read as separate items.
10
+ */
11
+ function TagContent({ dismissButton, icon, label, menuButton, name, }) {
12
+ const iconNode = icon && (React__default.createElement("span", { "aria-hidden": true, className: "tds-tag-icon" }, icon));
13
+ return (React__default.createElement(React__default.Fragment, null,
14
+ label && (React__default.createElement("span", { className: "tds-tag-text--hidden" }, tagText(label, name))),
15
+ label && (React__default.createElement("span", { "aria-hidden": true, className: "tds-tag-label" },
16
+ iconNode,
17
+ label)),
18
+ React__default.createElement("span", { className: "tds-tag-value" },
19
+ !label && iconNode,
20
+ React__default.createElement("span", { "aria-hidden": label ? true : undefined }, name),
21
+ dismissButton,
22
+ menuButton)));
23
+ }
24
+
25
+ export { TagContent, tagText };
26
+ //# sourceMappingURL=TagContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagContent.js","sources":["../../../src/components/tag/TagContent.tsx"],"sourcesContent":["import React, { type ReactNode } from \"react\"\n\ninterface TagContentProps {\n /** The ✕ button. Always after the name. */\n dismissButton?: ReactNode\n icon?: ReactNode\n label?: string\n /** The menu button. After the name and the ✕. */\n menuButton?: ReactNode\n name: string\n}\n\n/** The text screen readers read for a tag: \"label: name\", or the name. */\nexport function tagText(label: string | undefined, name: string) {\n return label ? `${label}: ${name}` : name\n}\n\n/**\n * The markup inside a tag. With a label, screen readers read one hidden\n * \"label: name\" text, so the two parts are not read as separate items.\n */\nexport function TagContent({\n dismissButton,\n icon,\n label,\n menuButton,\n name,\n}: TagContentProps) {\n const iconNode = icon && (\n <span aria-hidden className=\"tds-tag-icon\">\n {icon}\n </span>\n )\n\n return (\n <>\n {label && (\n <span className=\"tds-tag-text--hidden\">{tagText(label, name)}</span>\n )}\n {label && (\n <span aria-hidden className=\"tds-tag-label\">\n {iconNode}\n {label}\n </span>\n )}\n <span className=\"tds-tag-value\">\n {!label && iconNode}\n <span aria-hidden={label ? true : undefined}>{name}</span>\n {dismissButton}\n {menuButton}\n </span>\n </>\n )\n}\n"],"names":["React"],"mappings":";;AAYA;AACM,SAAU,OAAO,CAAC,KAAyB,EAAE,IAAY,EAAA;AAC7D,IAAA,OAAO,KAAK,GAAG,CAAA,EAAG,KAAK,CAAA,EAAA,EAAK,IAAI,CAAA,CAAE,GAAG,IAAI;AAC3C;AAEA;;;AAGG;AACG,SAAU,UAAU,CAAC,EACzB,aAAa,EACb,IAAI,EACJ,KAAK,EACL,UAAU,EACV,IAAI,GACY,EAAA;AAChB,IAAA,MAAM,QAAQ,GAAG,IAAI,KACnBA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAkB,SAAS,EAAC,cAAc,EAAA,EACvC,IAAI,CACA,CACR;AAED,IAAA,QACEA,cAAA,CAAA,aAAA,CAAAA,cAAA,CAAA,QAAA,EAAA,IAAA;AACG,QAAA,KAAK,KACJA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAC,sBAAsB,EAAA,EAAE,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAQ,CACrE;AACA,QAAA,KAAK,KACJA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAkB,SAAS,EAAC,eAAe,EAAA;YACxC,QAAQ;AACR,YAAA,KAAK,CACD,CACR;QACDA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAC,eAAe,EAAA;YAC5B,CAAC,KAAK,IAAI,QAAQ;YACnBA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAA,aAAA,EAAmB,KAAK,GAAG,IAAI,GAAG,SAAS,EAAA,EAAG,IAAI,CAAQ;YACzD,aAAa;YACb,UAAU,CACN,CACN;AAEP;;;;"}
@@ -0,0 +1,4 @@
1
+ import "./index.css";
2
+ export type { TagColor, TagElementProps, TagOption, TagProps, TagVariant, } from "./Tag";
3
+ export { Tag } from "./Tag";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AAEpB,YAAY,EACV,QAAQ,EACR,eAAe,EACf,SAAS,EACT,QAAQ,EACR,UAAU,GACX,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA"}
@@ -0,0 +1,31 @@
1
+ import "../dropdown/index.css";
2
+ import { type ReactNode } from "react";
3
+ import type { Key } from "react-aria-components";
4
+ export interface TagOption {
5
+ id: Key;
6
+ name: string;
7
+ }
8
+ interface UseTagMenuOptions {
9
+ /** Accessible name of the menu button. */
10
+ buttonLabel: string;
11
+ /** Accessible name of the menu. */
12
+ menuLabel: string;
13
+ onChange: (option: TagOption) => void;
14
+ options: TagOption[];
15
+ /** The name of the current option. The menu marks the option with this name. */
16
+ selectedName: string;
17
+ }
18
+ interface TagMenu {
19
+ /** The menu button. Place it inside the tag, after the name. */
20
+ button: ReactNode;
21
+ /** The menu. */
22
+ popover: ReactNode;
23
+ }
24
+ /**
25
+ * The menu button and single-select menu that change a tag's value.
26
+ * Internal to Tag. The menu is non-modal, like Dropdown's, so one click on
27
+ * another Tag's menu button closes this menu and opens that one.
28
+ */
29
+ export declare function useTagMenu({ buttonLabel, menuLabel, onChange, options, selectedName, }: UseTagMenuOptions): TagMenu;
30
+ export {};
31
+ //# sourceMappingURL=useTagMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTagMenu.d.ts","sourceRoot":"","sources":["../../../src/components/tag/useTagMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAA;AAG9B,OAAc,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;AAE1E,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAA;AAKhD,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,GAAG,CAAA;IACP,IAAI,EAAE,MAAM,CAAA;CACb;AAED,UAAU,iBAAiB;IACzB,0CAA0C;IAC1C,WAAW,EAAE,MAAM,CAAA;IACnB,mCAAmC;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAA;IACrC,OAAO,EAAE,SAAS,EAAE,CAAA;IACpB,gFAAgF;IAChF,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,UAAU,OAAO;IACf,gEAAgE;IAChE,MAAM,EAAE,SAAS,CAAA;IACjB,gBAAgB;IAChB,OAAO,EAAE,SAAS,CAAA;CACnB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,OAAO,EACP,YAAY,GACb,EAAE,iBAAiB,GAAG,OAAO,CAuF7B"}
@@ -0,0 +1,56 @@
1
+ import Icon from '../../utilities/Icon.js';
2
+ import React__default, { useState, useRef, useEffect } from 'react';
3
+ import { useInteractOutside, usePreventScroll, FocusScope } from 'react-aria';
4
+ import { Button } from 'react-aria-components/Button';
5
+ import { Menu, MenuItem } from 'react-aria-components/Menu';
6
+ import { Popover } from 'react-aria-components/Popover';
7
+
8
+ /**
9
+ * The menu button and single-select menu that change a tag's value.
10
+ * Internal to Tag. The menu is non-modal, like Dropdown's, so one click on
11
+ * another Tag's menu button closes this menu and opens that one.
12
+ */
13
+ function useTagMenu({ buttonLabel, menuLabel, onChange, options, selectedName, }) {
14
+ const [isOpen, setOpen] = useState(false);
15
+ const buttonRef = useRef(null);
16
+ const popoverRef = useRef(null);
17
+ const [isPointerDownOutside, setIsPointerDownOutside] = useState(false);
18
+ const selected = options.find((option) => option.name === selectedName);
19
+ useEffect(() => {
20
+ if (!isOpen)
21
+ setIsPointerDownOutside(false);
22
+ }, [isOpen]);
23
+ useInteractOutside({
24
+ isDisabled: !isOpen,
25
+ onInteractOutside: (event) => {
26
+ if (buttonRef.current?.contains(event.target))
27
+ return;
28
+ setOpen(false);
29
+ },
30
+ onInteractOutsideStart: () => setIsPointerDownOutside(true),
31
+ ref: popoverRef,
32
+ });
33
+ usePreventScroll({ isDisabled: !isOpen });
34
+ const handleSelectionChange = (keys) => {
35
+ if (keys === "all")
36
+ return;
37
+ const [key] = keys;
38
+ const option = options.find((o) => o.id === key);
39
+ if (option)
40
+ onChange(option);
41
+ };
42
+ const button = (React__default.createElement(Button, { "aria-expanded": isOpen, "aria-haspopup": "menu", "aria-label": buttonLabel, className: "tds-tag-menu-button", onPress: () => setOpen((open) => !open), ref: buttonRef },
43
+ React__default.createElement(Icon, { "aria-hidden": true, symbol: "general#down-caret" })));
44
+ const popover = (React__default.createElement(Popover, { className: "tds-dropdown-popover", isNonModal: true, isOpen: isOpen, onOpenChange: setOpen, placement: "bottom", ref: popoverRef, shouldCloseOnInteractOutside: () => false, triggerRef: buttonRef },
45
+ React__default.createElement(FocusScope, { contain: !isPointerDownOutside },
46
+ React__default.createElement(Menu, { "aria-label": menuLabel,
47
+ // eslint-disable-next-line jsx-a11y/no-autofocus -- a menu opened by its button must move focus into the menu
48
+ autoFocus: "first", disallowEmptySelection: true, items: options, onClose: () => setOpen(false), onSelectionChange: handleSelectionChange, selectedKeys: selected ? [selected.id] : [], selectionMode: "single" }, (option) => (React__default.createElement(MenuItem, { className: "tds-dropdown-item", textValue: option.name }, ({ isSelected }) => (React__default.createElement(React__default.Fragment, null,
49
+ React__default.createElement("span", { slot: "prefix" },
50
+ React__default.createElement(Icon, { "aria-hidden": true, style: { visibility: isSelected ? "visible" : "hidden" }, symbol: "general#check" })),
51
+ React__default.createElement("span", { slot: "label" }, option.name)))))))));
52
+ return { button, popover };
53
+ }
54
+
55
+ export { useTagMenu };
56
+ //# sourceMappingURL=useTagMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTagMenu.js","sources":["../../../src/components/tag/useTagMenu.tsx"],"sourcesContent":["import \"../dropdown/index.css\"\n\nimport Icon from \"@utilities/Icon\"\nimport React, { type ReactNode, useEffect, useRef, useState } from \"react\"\nimport { FocusScope, useInteractOutside, usePreventScroll } from \"react-aria\"\nimport type { Key } from \"react-aria-components\"\nimport { Button as AriaButton } from \"react-aria-components/Button\"\nimport { Menu, MenuItem } from \"react-aria-components/Menu\"\nimport { Popover } from \"react-aria-components/Popover\"\n\nexport interface TagOption {\n id: Key\n name: string\n}\n\ninterface UseTagMenuOptions {\n /** Accessible name of the menu button. */\n buttonLabel: string\n /** Accessible name of the menu. */\n menuLabel: string\n onChange: (option: TagOption) => void\n options: TagOption[]\n /** The name of the current option. The menu marks the option with this name. */\n selectedName: string\n}\n\ninterface TagMenu {\n /** The menu button. Place it inside the tag, after the name. */\n button: ReactNode\n /** The menu. */\n popover: ReactNode\n}\n\n/**\n * The menu button and single-select menu that change a tag's value.\n * Internal to Tag. The menu is non-modal, like Dropdown's, so one click on\n * another Tag's menu button closes this menu and opens that one.\n */\nexport function useTagMenu({\n buttonLabel,\n menuLabel,\n onChange,\n options,\n selectedName,\n}: UseTagMenuOptions): TagMenu {\n const [isOpen, setOpen] = useState(false)\n const buttonRef = useRef<HTMLButtonElement | null>(null)\n const popoverRef = useRef<HTMLElement>(null)\n const [isPointerDownOutside, setIsPointerDownOutside] = useState(false)\n const selected = options.find((option) => option.name === selectedName)\n\n useEffect(() => {\n if (!isOpen) setIsPointerDownOutside(false)\n }, [isOpen])\n\n useInteractOutside({\n isDisabled: !isOpen,\n onInteractOutside: (event) => {\n if (buttonRef.current?.contains(event.target as Node)) return\n setOpen(false)\n },\n onInteractOutsideStart: () => setIsPointerDownOutside(true),\n ref: popoverRef,\n })\n usePreventScroll({ isDisabled: !isOpen })\n\n const handleSelectionChange = (keys: \"all\" | Set<Key>) => {\n if (keys === \"all\") return\n const [key] = keys\n const option = options.find((o) => o.id === key)\n if (option) onChange(option)\n }\n\n const button = (\n <AriaButton\n aria-expanded={isOpen}\n aria-haspopup=\"menu\"\n aria-label={buttonLabel}\n className=\"tds-tag-menu-button\"\n onPress={() => setOpen((open) => !open)}\n ref={buttonRef}\n >\n <Icon aria-hidden symbol=\"general#down-caret\" />\n </AriaButton>\n )\n\n const popover = (\n <Popover\n className=\"tds-dropdown-popover\"\n isNonModal\n isOpen={isOpen}\n onOpenChange={setOpen}\n placement=\"bottom\"\n ref={popoverRef}\n shouldCloseOnInteractOutside={() => false}\n triggerRef={buttonRef}\n >\n <FocusScope contain={!isPointerDownOutside}>\n <Menu\n aria-label={menuLabel}\n // eslint-disable-next-line jsx-a11y/no-autofocus -- a menu opened by its button must move focus into the menu\n autoFocus=\"first\"\n disallowEmptySelection\n items={options}\n onClose={() => setOpen(false)}\n onSelectionChange={handleSelectionChange}\n selectedKeys={selected ? [selected.id] : []}\n selectionMode=\"single\"\n >\n {(option) => (\n <MenuItem className=\"tds-dropdown-item\" textValue={option.name}>\n {({ isSelected }) => (\n <>\n <span slot=\"prefix\">\n <Icon\n aria-hidden\n style={{ visibility: isSelected ? \"visible\" : \"hidden\" }}\n symbol=\"general#check\"\n />\n </span>\n <span slot=\"label\">{option.name}</span>\n </>\n )}\n </MenuItem>\n )}\n </Menu>\n </FocusScope>\n </Popover>\n )\n\n return { button, popover }\n}\n"],"names":["React","AriaButton"],"mappings":";;;;;;;AAiCA;;;;AAIG;AACG,SAAU,UAAU,CAAC,EACzB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,OAAO,EACP,YAAY,GACM,EAAA;IAClB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC;AACzC,IAAA,MAAM,SAAS,GAAG,MAAM,CAA2B,IAAI,CAAC;AACxD,IAAA,MAAM,UAAU,GAAG,MAAM,CAAc,IAAI,CAAC;IAC5C,MAAM,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC;AACvE,IAAA,MAAM,QAAQ,GAAG,OAAO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