@planningcenter/tapestry 3.2.1-rc.2 → 3.2.1-rc.3

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.
@@ -0,0 +1,65 @@
1
+ import "./index.css";
2
+ import React, { type AriaAttributes, type ReactNode } from "react";
3
+ import type { Key, ListBoxItemProps, ListBoxSectionProps } from "react-aria-components";
4
+ export type ComboBoxSize = "md" | "lg";
5
+ export interface ComboBoxProps<T extends object = object> {
6
+ /** Whether the combo box allows the menu to be open when the collection is empty. */
7
+ allowsEmptyCollection?: boolean;
8
+ /** The children of the combo box (ComboBoxItem elements or a render function). */
9
+ children: ReactNode | ((item: T) => ReactNode);
10
+ /** The default uncontrolled value of the text input. */
11
+ defaultInputValue?: string;
12
+ /** The default list of items (uncontrolled dynamic collection). */
13
+ defaultItems?: Iterable<T>;
14
+ /** The default uncontrolled selected value. */
15
+ defaultValue?: Key | null;
16
+ /** Helper text displayed below the component. Styled as error text when `invalid` is `true`. */
17
+ description?: string;
18
+ /** Disables the field and trigger button. */
19
+ disabled?: boolean;
20
+ /** Item keys that are disabled and cannot be selected or focused. */
21
+ disabledKeys?: Iterable<Key>;
22
+ /** Custom filter function for determining if an item should appear in the list. */
23
+ filter?: (textValue: string, inputValue: string) => boolean;
24
+ /** If `true`, the `label` text is rendered as an `aria-label` instead of a visible label element. */
25
+ hideLabel?: boolean;
26
+ /** The controlled value of the text input. */
27
+ inputValue?: string;
28
+ /** Whether the input is in an invalid state. */
29
+ invalid?: boolean;
30
+ /** The list of items (controlled dynamic collection). */
31
+ items?: Iterable<T>;
32
+ /** Accessible label for the field. */
33
+ label: string;
34
+ /** Controls when the listbox opens. */
35
+ menuTrigger?: "focus" | "input" | "manual";
36
+ /** Field name for form submission. */
37
+ name?: string;
38
+ /** Called when the selected value changes. */
39
+ onChange?: (value: Key | null) => void;
40
+ /** Called when the input text changes. */
41
+ onInputChange?: (value: string) => void;
42
+ /** Placeholder text for the input. */
43
+ placeholder?: string;
44
+ /** If `true`, allows the value to be read but not changed. */
45
+ readOnly?: boolean;
46
+ /** If `true`, appends an asterisk at the end of the label text. */
47
+ required?: boolean;
48
+ /** The size of the combo box. */
49
+ size?: ComboBoxSize;
50
+ /** The controlled selected value. */
51
+ value?: Key | null;
52
+ }
53
+ export type ComboBoxElementProps<T extends object = object> = ComboBoxProps<T> & Omit<AriaAttributes, keyof ComboBoxProps<T>> & {
54
+ className?: string;
55
+ id?: string;
56
+ };
57
+ export declare function ComboBox<T extends object>({ allowsEmptyCollection, children, className, defaultInputValue, defaultItems, defaultValue, description, disabled, disabledKeys, filter, hideLabel, inputValue, invalid, items, label, menuTrigger, name, onChange, onInputChange, placeholder, readOnly, required, size, value, ...restProps }: ComboBoxElementProps<T>): React.JSX.Element;
58
+ export declare function ComboBoxItem<T extends object>(props: ListBoxItemProps<T>): React.JSX.Element;
59
+ interface ComboBoxSectionProps<T extends object> extends Omit<ListBoxSectionProps<T>, "children"> {
60
+ children: ReactNode;
61
+ title?: string;
62
+ }
63
+ export declare function ComboBoxSection<T extends object>({ children, title, ...props }: ComboBoxSectionProps<T>): React.JSX.Element;
64
+ export {};
65
+ //# sourceMappingURL=ComboBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComboBox.d.ts","sourceRoot":"","sources":["../../../src/components/combo-box/ComboBox.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AAIpB,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAClE,OAAO,KAAK,EACV,GAAG,EACH,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,uBAAuB,CAAA;AAe9B,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,CAAA;AAEtC,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACtD,qFAAqF;IACrF,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,kFAAkF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}
@@ -0,0 +1,30 @@
1
+ import Icon from '../../utilities/Icon.js';
2
+ import classNames from 'classnames';
3
+ import React__default from 'react';
4
+ import { ComboBox as ComboBox$1, Label, Group, Input, Button, Popover, ListBox, Text, ListBoxItem, ListBoxSection, Header } from 'react-aria-components';
5
+
6
+ function ComboBox({ allowsEmptyCollection, children, className, defaultInputValue, defaultItems, defaultValue, description, disabled, disabledKeys, filter, hideLabel, inputValue, invalid, items, label, menuTrigger, name, onChange, onInputChange, placeholder, readOnly, required, size = "md", value, ...restProps }) {
7
+ const combinedClassName = classNames("tds-combo-box", { "tds-combo-box--lg": size === "lg" }, className);
8
+ return (React__default.createElement(ComboBox$1, { ...restProps, allowsEmptyCollection: allowsEmptyCollection, "aria-label": hideLabel ? label : undefined, className: combinedClassName, defaultFilter: filter, defaultInputValue: defaultInputValue, defaultItems: defaultItems, defaultValue: defaultValue, disabledKeys: disabledKeys, inputValue: inputValue, isDisabled: disabled, isInvalid: invalid, isReadOnly: readOnly, isRequired: required, items: items, menuTrigger: menuTrigger, name: name, onChange: onChange ?? undefined, onInputChange: onInputChange, value: value },
9
+ !hideLabel && React__default.createElement(Label, { className: "tds-combo-box-label" }, label),
10
+ React__default.createElement(Group, { className: "tds-combo-box-field" },
11
+ React__default.createElement(Input, { className: "tds-combo-box-input", placeholder: placeholder }),
12
+ React__default.createElement(Button, { className: "tds-combo-box-button" },
13
+ React__default.createElement(Icon, { "aria-hidden": true, symbol: "general#down-caret" }))),
14
+ React__default.createElement(Popover, { className: "tds-combo-box-popover" },
15
+ React__default.createElement(ListBox, { className: "tds-combo-box-list" }, children)),
16
+ description && (React__default.createElement(Text, { className: "tds-combo-box-description", slot: "description" },
17
+ React__default.createElement(Icon, { "aria-hidden": true, className: "tds-combo-box-description-invalid-icon", symbol: "general#exclamation-triangle" }),
18
+ description))));
19
+ }
20
+ function ComboBoxItem(props) {
21
+ return (React__default.createElement(ListBoxItem, { ...props, className: classNames("tds-combo-box-list-item", props.className) }));
22
+ }
23
+ function ComboBoxSection({ children, title, ...props }) {
24
+ return (React__default.createElement(ListBoxSection, { ...props, className: classNames("tds-combo-box-list-section", props.className) },
25
+ title && (React__default.createElement(Header, { className: "tds-combo-box-section-header" }, title)),
26
+ children));
27
+ }
28
+
29
+ export { ComboBox, ComboBoxItem, ComboBoxSection };
30
+ //# sourceMappingURL=ComboBox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComboBox.js","sources":["../../../src/components/combo-box/ComboBox.tsx"],"sourcesContent":["import \"./index.css\"\n\nimport Icon from \"@utilities/Icon\"\nimport classNames from \"classnames\"\nimport React, { type AriaAttributes, type ReactNode } from \"react\"\nimport type {\n Key,\n ListBoxItemProps,\n ListBoxSectionProps,\n} from \"react-aria-components\"\nimport {\n Button,\n ComboBox as AriaComboBox,\n Group,\n Header,\n Input,\n Label,\n ListBox,\n ListBoxItem,\n ListBoxSection,\n Popover,\n Text,\n} from \"react-aria-components\"\n\nexport type ComboBoxSize = \"md\" | \"lg\"\n\nexport interface ComboBoxProps<T extends object = object> {\n /** Whether the combo box allows the menu to be open when the collection is empty. */\n allowsEmptyCollection?: boolean\n /** The children of the combo box (ComboBoxItem elements or a render function). */\n children: ReactNode | ((item: T) => ReactNode)\n /** The default uncontrolled value of the text input. */\n defaultInputValue?: string\n /** The default list of items (uncontrolled dynamic collection). */\n defaultItems?: Iterable<T>\n /** The default uncontrolled selected value. */\n defaultValue?: Key | null\n /** Helper text displayed below the component. Styled as error text when `invalid` is `true`. */\n description?: string\n /** Disables the field and trigger button. */\n disabled?: boolean\n /** Item keys that are disabled and cannot be selected or focused. */\n disabledKeys?: Iterable<Key>\n /** Custom filter function for determining if an item should appear in the list. */\n filter?: (textValue: string, inputValue: string) => boolean\n /** If `true`, the `label` text is rendered as an `aria-label` instead of a visible label element. */\n hideLabel?: boolean\n /** The controlled value of the text input. */\n inputValue?: string\n /** Whether the input is in an invalid state. */\n invalid?: boolean\n /** The list of items (controlled dynamic collection). */\n items?: Iterable<T>\n /** Accessible label for the field. */\n label: string\n /** Controls when the listbox opens. */\n menuTrigger?: \"focus\" | \"input\" | \"manual\"\n /** Field name for form submission. */\n name?: string\n /** Called when the selected value changes. */\n onChange?: (value: Key | null) => void\n /** Called when the input text changes. */\n onInputChange?: (value: string) => void\n /** Placeholder text for the input. */\n placeholder?: string\n /** If `true`, allows the value to be read but not changed. */\n readOnly?: boolean\n /** If `true`, appends an asterisk at the end of the label text. */\n required?: boolean\n /** The size of the combo box. */\n size?: ComboBoxSize\n /** The controlled selected value. */\n value?: Key | null\n}\n\nexport type ComboBoxElementProps<T extends object = object> = ComboBoxProps<T> &\n Omit<AriaAttributes, keyof ComboBoxProps<T>> & {\n className?: string\n id?: string\n }\n\nexport function ComboBox<T extends object>({\n allowsEmptyCollection,\n children,\n className,\n defaultInputValue,\n defaultItems,\n defaultValue,\n description,\n disabled,\n disabledKeys,\n filter,\n hideLabel,\n inputValue,\n invalid,\n items,\n label,\n menuTrigger,\n name,\n onChange,\n onInputChange,\n placeholder,\n readOnly,\n required,\n size = \"md\",\n value,\n ...restProps\n}: ComboBoxElementProps<T>) {\n const combinedClassName = classNames(\n \"tds-combo-box\",\n { \"tds-combo-box--lg\": size === \"lg\" },\n className\n )\n\n return (\n <AriaComboBox\n {...restProps}\n allowsEmptyCollection={allowsEmptyCollection}\n aria-label={hideLabel ? label : undefined}\n className={combinedClassName}\n defaultFilter={filter}\n defaultInputValue={defaultInputValue}\n defaultItems={defaultItems}\n defaultValue={defaultValue}\n disabledKeys={disabledKeys}\n inputValue={inputValue}\n isDisabled={disabled}\n isInvalid={invalid}\n isReadOnly={readOnly}\n isRequired={required}\n items={items}\n menuTrigger={menuTrigger}\n name={name}\n onChange={onChange ?? undefined}\n onInputChange={onInputChange}\n value={value}\n >\n {!hideLabel && <Label className=\"tds-combo-box-label\">{label}</Label>}\n <Group className=\"tds-combo-box-field\">\n <Input className=\"tds-combo-box-input\" placeholder={placeholder} />\n <Button className=\"tds-combo-box-button\">\n <Icon aria-hidden symbol=\"general#down-caret\" />\n </Button>\n </Group>\n <Popover className=\"tds-combo-box-popover\">\n <ListBox className=\"tds-combo-box-list\">{children}</ListBox>\n </Popover>\n {description && (\n <Text className=\"tds-combo-box-description\" slot=\"description\">\n <Icon\n aria-hidden\n className=\"tds-combo-box-description-invalid-icon\"\n symbol=\"general#exclamation-triangle\"\n />\n {description}\n </Text>\n )}\n </AriaComboBox>\n )\n}\n\nexport function ComboBoxItem<T extends object>(props: ListBoxItemProps<T>) {\n return (\n <ListBoxItem\n {...props}\n className={classNames(\"tds-combo-box-list-item\", props.className)}\n />\n )\n}\n\ninterface ComboBoxSectionProps<T extends object>\n extends Omit<ListBoxSectionProps<T>, \"children\"> {\n children: ReactNode\n title?: string\n}\n\nexport function ComboBoxSection<T extends object>({\n children,\n title,\n ...props\n}: ComboBoxSectionProps<T>) {\n return (\n <ListBoxSection\n {...props}\n className={classNames(\"tds-combo-box-list-section\", props.className)}\n >\n {title && (\n <Header className=\"tds-combo-box-section-header\">{title}</Header>\n )}\n {children}\n </ListBoxSection>\n )\n}\n"],"names":["React","AriaComboBox"],"mappings":";;;;;AAiFM,SAAU,QAAQ,CAAmB,EACzC,qBAAqB,EACrB,QAAQ,EACR,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,SAAS,EACT,UAAU,EACV,OAAO,EACP,KAAK,EACL,KAAK,EACL,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,IAAI,GAAG,IAAI,EACX,KAAK,EACL,GAAG,SAAS,EACY,EAAA;AACxB,IAAA,MAAM,iBAAiB,GAAG,UAAU,CAClC,eAAe,EACf,EAAE,mBAAmB,EAAE,IAAI,KAAK,IAAI,EAAE,EACtC,SAAS,CACV;AAED,IAAA,QACEA,cAAA,CAAA,aAAA,CAACC,UAAY,OACP,SAAS,EACb,qBAAqB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SAAS,EAAC,2BAA2B,EAAC,IAAI,EAAC,aAAa,EAAA;YAC5DA,cAAA,CAAA,aAAA,CAAC,IAAI,yBAEH,SAAS,EAAC,wCAAwC,EAClD,MAAM,EAAC,8BAA8B,EAAA,CACrC;AACD,YAAA,WAAW,CACP,CACR,CACY;AAEnB;AAEM,SAAU,YAAY,CAAmB,KAA0B,EAAA;AACvE,IAAA,QACEA,cAAA,CAAA,aAAA,CAAC,WAAW,OACN,KAAK,EACT,SAAS,EAAE,UAAU,CAAC,yBAAyB,EAAE,KAAK,CAAC,SAAS,CAAC,EAAA,CACjE;AAEN;AAQM,SAAU,eAAe,CAAmB,EAChD,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACgB,EAAA;AACxB,IAAA,QACEA,cAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAA,GACT,KAAK,EACT,SAAS,EAAE,UAAU,CAAC,4BAA4B,EAAE,KAAK,CAAC,SAAS,CAAC,EAAA;QAEnE,KAAK,KACJA,cAAA,CAAA,aAAA,CAAC,MAAM,EAAA,EAAC,SAAS,EAAC,8BAA8B,EAAA,EAAE,KAAK,CAAU,CAClE;QACA,QAAQ,CACM;AAErB;;;;"}
@@ -0,0 +1,4 @@
1
+ import "./index.css";
2
+ export type { ComboBoxElementProps, ComboBoxProps, ComboBoxSize, } from "./ComboBox";
3
+ export { ComboBox, ComboBoxItem, ComboBoxSection } from "./ComboBox";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/combo-box/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AAEpB,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,YAAY,GACb,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA"}
package/dist/index.css CHANGED
@@ -1619,9 +1619,8 @@ tds-sidenav-section:not(.hydrated) > [slot="ssr"]{
1619
1619
 
1620
1620
  .tds-btn svg:not(.symbol){
1621
1621
  display:block;
1622
- inline-size:auto;
1623
- block-size:auto;
1624
- max-block-size:.66666667lh;
1622
+ width:.66666667lh;
1623
+ height:.66666667lh;
1625
1624
  color:var(--tds-btn-icon-color, currentColor);
1626
1625
  }
1627
1626