@qualcomm-ui/react 1.4.2 → 1.5.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.
@@ -6,6 +6,17 @@ import { type CheckboxIndicatorProps } from "./checkbox-indicator";
6
6
  import { type CheckboxLabelProps } from "./checkbox-label";
7
7
  import { type CheckboxRootProps } from "./checkbox-root";
8
8
  export interface CheckboxProps extends CheckboxRootProps {
9
+ /**
10
+ * {@link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label aria-label}
11
+ * attribute, forwarded to the hidden input element.
12
+ */
13
+ "aria-label"?: string | undefined;
14
+ /**
15
+ * {@link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-labelledby aria-labelledby}
16
+ * attribute, forwarded to the hidden input element. If you provide a {@link
17
+ * label}, omit this prop.
18
+ */
19
+ "aria-labelledby"?: string | undefined;
9
20
  /**
10
21
  * The simple Checkbox doesn't support children.
11
22
  */
@@ -46,5 +57,5 @@ export interface CheckboxProps extends CheckboxRootProps {
46
57
  */
47
58
  labelProps?: CheckboxLabelProps;
48
59
  }
49
- export declare function Checkbox({ controlProps, errorText, errorTextProps, hiddenInputProps, indicatorProps, label, labelProps, ...props }: CheckboxProps): ReactElement;
60
+ export declare function Checkbox({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, controlProps, errorText, errorTextProps, hiddenInputProps: hiddenInputPropsProp, indicatorProps, label, labelProps, ...props }: CheckboxProps): ReactElement;
50
61
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/checkbox/checkbox.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,YAAY,EAAE,SAAS,EAAC,MAAM,OAAO,CAAA;AAMlD,OAAO,EAAkB,KAAK,oBAAoB,EAAC,MAAM,oBAAoB,CAAA;AAC7E,OAAO,EAEL,KAAK,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AAA;AAChC,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAgB,KAAK,kBAAkB,EAAC,MAAM,kBAAkB,CAAA;AACvE,OAAO,EAAe,KAAK,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AAEpE,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAEjC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAEtC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAA;IAEhB;;;OAGG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAA;IAEnC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAA;IAEvC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,wBAAwB,CAAA;IAE3C;;;OAGG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAA;IAEvC;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IAEjB;;;OAGG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAA;CAChC;AAED,wBAAgB,QAAQ,CAAC,EACvB,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,YAAY,EACZ,SAAS,EACT,cAAc,EACd,gBAAgB,EAAE,oBAAoB,EACtC,cAAc,EACd,KAAK,EACL,UAAU,EACV,GAAG,KAAK,EACT,EAAE,aAAa,GAAG,YAAY,CAyC9B"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import{jsx as jsx7,jsxs}from"react/jsx-runtime";import{useOptionalContentId}from"@qualcomm-ui/react-core/machine";import{useControlledId as useControlledId2}from"@qualcomm-ui/react-core/state";import{c as _c}from"react/compiler-runtime";import{jsx as jsx2}from"react/jsx-runtime";import{useCheckboxControl}from"@qualcomm-ui/react-core/checkbox";import{PolymorphicElement as PolymorphicElement2}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps2}from"@qualcomm-ui/utils/merge-props";import{jsx}from"react/jsx-runtime";import{CheckmarkIcon}from"@qualcomm-ui/react/checkmark";import{useCheckboxIndicator}from"@qualcomm-ui/react-core/checkbox";import{PolymorphicElement}from"@qualcomm-ui/react-core/system";import{mergeProps}from"@qualcomm-ui/utils/merge-props";import{createGuardedContext}from"@qualcomm-ui/react-core/context";var[QdsCheckboxContextProvider,useQdsCheckboxContext]=createGuardedContext({hookName:"useQdsCheckboxContext",providerName:"<QdsCheckboxContextProvider>",strict:!0});function CheckboxIndicator(t0){let{children,...props}=t0,{contextProps,indeterminate}=useCheckboxIndicator(),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps(contextProps,qdsContext.getIndicatorBindings(),props);return jsx(PolymorphicElement,{as:"div",...mergedProps,children:children??jsx(CheckmarkIcon,{indeterminate,size:qdsContext.size})})}function CheckboxControl(t0){let $=_c(2),{children:t1,id,...props}=t0,children=t1===void 0?jsx2(CheckboxIndicator,{}):t1,t2;$[0]!==id?(t2={id},$[0]=id,$[1]=t2):t2=$[1];let contextProps=useCheckboxControl(t2),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps2(contextProps,qdsContext.getControlBindings(),props);return jsx2(PolymorphicElement2,{as:"div",...mergedProps,children})}import{c as _c2}from"react/compiler-runtime";import{jsx as jsx3}from"react/jsx-runtime";import{AlertCircle}from"lucide-react";import{InputErrorText}from"@qualcomm-ui/react/input";import{useCheckboxErrorText}from"@qualcomm-ui/react-core/checkbox";import{mergeProps as mergeProps3}from"@qualcomm-ui/utils/merge-props";function CheckboxErrorText(t0){let $=_c2(2),{children,id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=useCheckboxErrorText(t1),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps3(contextProps,qdsContext.getErrorTextBindings(),props);return jsx3(InputErrorText,{icon:AlertCircle,...mergedProps,children})}import{c as _c3}from"react/compiler-runtime";import{jsx as jsx4}from"react/jsx-runtime";import{useCheckboxHiddenInput}from"@qualcomm-ui/react-core/checkbox";import{mergeProps as mergeProps4}from"@qualcomm-ui/utils/merge-props";function CheckboxHiddenInput(t0){let $=_c3(2),{id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=useCheckboxHiddenInput(t1),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps4(contextProps,qdsContext.getHiddenInputBindings(),props);return jsx4("input",{...mergedProps})}import{c as _c4}from"react/compiler-runtime";import{jsx as jsx5}from"react/jsx-runtime";import{useCheckboxLabel}from"@qualcomm-ui/react-core/checkbox";import{PolymorphicElement as PolymorphicElement3}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps5}from"@qualcomm-ui/utils/merge-props";function CheckboxLabel(t0){let $=_c4(2),{children,id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=useCheckboxLabel(t1),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps5(contextProps,qdsContext.getLabelBindings(),props);return jsx5(PolymorphicElement3,{as:"span",...mergedProps,children})}import{c as _c5}from"react/compiler-runtime";import{jsx as jsx6}from"react/jsx-runtime";import"react";import{splitCheckboxProps}from"@qualcomm-ui/core/checkbox";import{createQdsCheckboxApi}from"@qualcomm-ui/qds-core/checkbox";import{CheckboxContextProvider,useCheckbox}from"@qualcomm-ui/react-core/checkbox";import{normalizeProps}from"@qualcomm-ui/react-core/machine";import{useControlledId}from"@qualcomm-ui/react-core/state";import{PolymorphicElement as PolymorphicElement4}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps6}from"@qualcomm-ui/utils/merge-props";function CheckboxRoot(t0){let $=_c5(2),{children,id,size,...props}=t0,[checkboxProps,localProps]=splitCheckboxProps(props),context=useCheckbox(checkboxProps),t1;$[0]!==size?(t1=createQdsCheckboxApi({size},normalizeProps),$[0]=size,$[1]=t1):t1=$[1];let qdsContext=t1,mergedProps=mergeProps6(context.getRootBindings({id:useControlledId(id)}),qdsContext.getRootBindings(),localProps);return jsx6(QdsCheckboxContextProvider,{value:qdsContext,children:jsx6(CheckboxContextProvider,{value:context,children:jsx6(PolymorphicElement4,{as:"label",...mergedProps,children})})})}function Checkbox(t0){let{controlProps,errorText,errorTextProps,hiddenInputProps,indicatorProps,label,labelProps,...props}=t0,labelContent=label||labelProps?.children,errorTextContent=errorText||errorTextProps?.children,ids={errorText:useOptionalContentId(errorTextContent,errorTextProps),hiddenInput:useControlledId2(hiddenInputProps?.id),label:useOptionalContentId(labelContent,labelProps),root:useControlledId2(props.id),...props.ids};return jsxs(CheckboxRoot,{...props,id:ids.root,ids,children:[jsx7(CheckboxHiddenInput,{...hiddenInputProps,id:ids.hiddenInput}),jsx7(CheckboxControl,{...controlProps,children:jsx7(CheckboxIndicator,{...indicatorProps})}),labelContent?jsx7(CheckboxLabel,{...labelProps,id:ids.label,children:labelContent}):null,errorTextContent?jsx7(CheckboxErrorText,{...errorTextProps,id:ids.errorText,children:errorTextContent}):null]})}import{c as _c6}from"react/compiler-runtime";import{useCheckboxContext}from"@qualcomm-ui/react-core/checkbox";import{renderProp}from"@qualcomm-ui/react-core/system";function CheckboxContext(t0){let $=_c6(3),{children}=t0,context=useCheckboxContext(),t1;return $[0]!==children||$[1]!==context?(t1=renderProp(children,context),$[0]=children,$[1]=context,$[2]=t1):t1=$[2],t1}var Checkbox2=Checkbox;Checkbox2.Context=CheckboxContext;Checkbox2.Control=CheckboxControl;Checkbox2.ErrorText=CheckboxErrorText;Checkbox2.HiddenInput=CheckboxHiddenInput;Checkbox2.Indicator=CheckboxIndicator;Checkbox2.Label=CheckboxLabel;Checkbox2.Root=CheckboxRoot;export{Checkbox2 as Checkbox};
2
+ import{jsx as jsx7,jsxs}from"react/jsx-runtime";import{useOptionalContentId}from"@qualcomm-ui/react-core/machine";import{useControlledId as useControlledId2}from"@qualcomm-ui/react-core/state";import{c as _c}from"react/compiler-runtime";import{jsx as jsx2}from"react/jsx-runtime";import{useCheckboxControl}from"@qualcomm-ui/react-core/checkbox";import{PolymorphicElement as PolymorphicElement2}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps2}from"@qualcomm-ui/utils/merge-props";import{jsx}from"react/jsx-runtime";import{CheckmarkIcon}from"@qualcomm-ui/react/checkmark";import{useCheckboxIndicator}from"@qualcomm-ui/react-core/checkbox";import{PolymorphicElement}from"@qualcomm-ui/react-core/system";import{mergeProps}from"@qualcomm-ui/utils/merge-props";import{createGuardedContext}from"@qualcomm-ui/react-core/context";var[QdsCheckboxContextProvider,useQdsCheckboxContext]=createGuardedContext({hookName:"useQdsCheckboxContext",providerName:"<QdsCheckboxContextProvider>",strict:!0});function CheckboxIndicator(t0){let{children,...props}=t0,{contextProps,indeterminate}=useCheckboxIndicator(),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps(contextProps,qdsContext.getIndicatorBindings(),props);return jsx(PolymorphicElement,{as:"div",...mergedProps,children:children??jsx(CheckmarkIcon,{indeterminate,size:qdsContext.size})})}function CheckboxControl(t0){let $=_c(2),{children:t1,id,...props}=t0,children=t1===void 0?jsx2(CheckboxIndicator,{}):t1,t2;$[0]!==id?(t2={id},$[0]=id,$[1]=t2):t2=$[1];let contextProps=useCheckboxControl(t2),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps2(contextProps,qdsContext.getControlBindings(),props);return jsx2(PolymorphicElement2,{as:"div",...mergedProps,children})}import{c as _c2}from"react/compiler-runtime";import{jsx as jsx3}from"react/jsx-runtime";import{AlertCircle}from"lucide-react";import{InputErrorText}from"@qualcomm-ui/react/input";import{useCheckboxErrorText}from"@qualcomm-ui/react-core/checkbox";import{mergeProps as mergeProps3}from"@qualcomm-ui/utils/merge-props";function CheckboxErrorText(t0){let $=_c2(2),{children,id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=useCheckboxErrorText(t1),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps3(contextProps,qdsContext.getErrorTextBindings(),props);return jsx3(InputErrorText,{icon:AlertCircle,...mergedProps,children})}import{c as _c3}from"react/compiler-runtime";import{jsx as jsx4}from"react/jsx-runtime";import{useCheckboxHiddenInput}from"@qualcomm-ui/react-core/checkbox";import{mergeProps as mergeProps4}from"@qualcomm-ui/utils/merge-props";function CheckboxHiddenInput(t0){let $=_c3(2),{id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=useCheckboxHiddenInput(t1),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps4(contextProps,qdsContext.getHiddenInputBindings(),props);return jsx4("input",{...mergedProps})}import{c as _c4}from"react/compiler-runtime";import{jsx as jsx5}from"react/jsx-runtime";import{useCheckboxLabel}from"@qualcomm-ui/react-core/checkbox";import{PolymorphicElement as PolymorphicElement3}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps5}from"@qualcomm-ui/utils/merge-props";function CheckboxLabel(t0){let $=_c4(2),{children,id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=useCheckboxLabel(t1),qdsContext=useQdsCheckboxContext(),mergedProps=mergeProps5(contextProps,qdsContext.getLabelBindings(),props);return jsx5(PolymorphicElement3,{as:"span",...mergedProps,children})}import{c as _c5}from"react/compiler-runtime";import{jsx as jsx6}from"react/jsx-runtime";import"react";import{splitCheckboxProps}from"@qualcomm-ui/core/checkbox";import{createQdsCheckboxApi}from"@qualcomm-ui/qds-core/checkbox";import{CheckboxContextProvider,useCheckbox}from"@qualcomm-ui/react-core/checkbox";import{normalizeProps}from"@qualcomm-ui/react-core/machine";import{useControlledId}from"@qualcomm-ui/react-core/state";import{PolymorphicElement as PolymorphicElement4}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps6}from"@qualcomm-ui/utils/merge-props";function CheckboxRoot(t0){let $=_c5(2),{children,id,size,...props}=t0,[checkboxProps,localProps]=splitCheckboxProps(props),context=useCheckbox(checkboxProps),t1;$[0]!==size?(t1=createQdsCheckboxApi({size},normalizeProps),$[0]=size,$[1]=t1):t1=$[1];let qdsContext=t1,mergedProps=mergeProps6(context.getRootBindings({id:useControlledId(id)}),qdsContext.getRootBindings(),localProps);return jsx6(QdsCheckboxContextProvider,{value:qdsContext,children:jsx6(CheckboxContextProvider,{value:context,children:jsx6(PolymorphicElement4,{as:"label",...mergedProps,children})})})}function Checkbox(t0){let{"aria-label":ariaLabel,"aria-labelledby":ariaLabelledBy,controlProps,errorText,errorTextProps,hiddenInputProps:hiddenInputPropsProp,indicatorProps,label,labelProps,...props}=t0,labelContent=label||labelProps?.children,errorTextContent=errorText||errorTextProps?.children,hiddenInputProps={...hiddenInputPropsProp};ariaLabel!==void 0&&(hiddenInputProps["aria-label"]=ariaLabel),ariaLabelledBy!==void 0&&(hiddenInputProps["aria-labelledby"]=ariaLabelledBy);let ids={errorText:useOptionalContentId(errorTextContent,errorTextProps),hiddenInput:useControlledId2(hiddenInputProps?.id),label:useOptionalContentId(labelContent,labelProps),root:useControlledId2(props.id),...props.ids};return jsxs(CheckboxRoot,{...props,id:ids.root,ids,children:[jsx7(CheckboxHiddenInput,{...hiddenInputProps,id:ids.hiddenInput}),jsx7(CheckboxControl,{...controlProps,children:jsx7(CheckboxIndicator,{...indicatorProps})}),labelContent?jsx7(CheckboxLabel,{...labelProps,id:ids.label,children:labelContent}):null,errorTextContent?jsx7(CheckboxErrorText,{...errorTextProps,id:ids.errorText,children:errorTextContent}):null]})}import{c as _c6}from"react/compiler-runtime";import{useCheckboxContext}from"@qualcomm-ui/react-core/checkbox";import{renderProp}from"@qualcomm-ui/react-core/system";function CheckboxContext(t0){let $=_c6(3),{children}=t0,context=useCheckboxContext(),t1;return $[0]!==children||$[1]!==context?(t1=renderProp(children,context),$[0]=children,$[1]=context,$[2]=t1):t1=$[2],t1}var Checkbox2=Checkbox;Checkbox2.Context=CheckboxContext;Checkbox2.Control=CheckboxControl;Checkbox2.ErrorText=CheckboxErrorText;Checkbox2.HiddenInput=CheckboxHiddenInput;Checkbox2.Indicator=CheckboxIndicator;Checkbox2.Label=CheckboxLabel;Checkbox2.Root=CheckboxRoot;export{Checkbox2 as Checkbox};
3
3
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/checkbox/checkbox.tsx", "../../src/checkbox/checkbox-control.tsx", "../../src/checkbox/checkbox-indicator.tsx", "../../src/checkbox/qds-checkbox-context.ts", "../../src/checkbox/checkbox-error-text.tsx", "../../src/checkbox/checkbox-hidden-input.tsx", "../../src/checkbox/checkbox-label.tsx", "../../src/checkbox/checkbox-root.tsx", "../../src/checkbox/checkbox-context.tsx", "../../src/checkbox/index.ts"],
4
- "sourcesContent": ["import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useOptionalContentId } from \"@qualcomm-ui/react-core/machine\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { CheckboxControl } from \"./checkbox-control\";\nimport { CheckboxErrorText } from \"./checkbox-error-text\";\nimport { CheckboxHiddenInput } from \"./checkbox-hidden-input\";\nimport { CheckboxIndicator } from \"./checkbox-indicator\";\nimport { CheckboxLabel } from \"./checkbox-label\";\nimport { CheckboxRoot } from \"./checkbox-root\";\nexport function Checkbox(t0) {\n const {\n controlProps,\n errorText,\n errorTextProps,\n hiddenInputProps,\n indicatorProps,\n label,\n labelProps,\n ...props\n } = t0;\n const labelContent = label || labelProps?.children;\n const errorTextContent = errorText || errorTextProps?.children;\n const ids = {\n errorText: useOptionalContentId(errorTextContent, errorTextProps),\n hiddenInput: useControlledId(hiddenInputProps?.id),\n label: useOptionalContentId(labelContent, labelProps),\n root: useControlledId(props.id),\n ...props.ids\n };\n return jsxs(CheckboxRoot, {\n ...props,\n id: ids.root,\n ids,\n children: [jsx(CheckboxHiddenInput, {\n ...hiddenInputProps,\n id: ids.hiddenInput\n }), jsx(CheckboxControl, {\n ...controlProps,\n children: jsx(CheckboxIndicator, {\n ...indicatorProps\n })\n }), labelContent ? jsx(CheckboxLabel, {\n ...labelProps,\n id: ids.label,\n children: labelContent\n }) : null, errorTextContent ? jsx(CheckboxErrorText, {\n ...errorTextProps,\n id: ids.errorText,\n children: errorTextContent\n }) : null]\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useCheckboxControl } from \"@qualcomm-ui/react-core/checkbox\";\nimport { PolymorphicElement } from \"@qualcomm-ui/react-core/system\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { CheckboxIndicator } from \"./checkbox-indicator\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxControl(t0) {\n const $ = _c(2);\n const {\n children: t1,\n id,\n ...props\n } = t0;\n const children = t1 === undefined ? jsx(CheckboxIndicator, {}) : t1;\n let t2;\n if ($[0] !== id) {\n t2 = {\n id\n };\n $[0] = id;\n $[1] = t2;\n } else {\n t2 = $[1];\n }\n const contextProps = useCheckboxControl(t2);\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getControlBindings(), props);\n return jsx(PolymorphicElement, {\n as: \"div\",\n ...mergedProps,\n children\n });\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { CheckmarkIcon } from \"@qualcomm-ui/react/checkmark\";\nimport { useCheckboxIndicator } from \"@qualcomm-ui/react-core/checkbox\";\nimport { PolymorphicElement } from \"@qualcomm-ui/react-core/system\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxIndicator(t0) {\n const {\n children,\n ...props\n } = t0;\n const {\n contextProps,\n indeterminate\n } = useCheckboxIndicator();\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getIndicatorBindings(), props);\n return jsx(PolymorphicElement, {\n as: \"div\",\n ...mergedProps,\n children: children ?? jsx(CheckmarkIcon, {\n indeterminate,\n size: qdsContext.size\n })\n });\n}", "import { createGuardedContext } from \"@qualcomm-ui/react-core/context\";\nexport const [QdsCheckboxContextProvider, useQdsCheckboxContext] = createGuardedContext({\n hookName: \"useQdsCheckboxContext\",\n providerName: \"<QdsCheckboxContextProvider>\",\n strict: true\n});", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { AlertCircle } from \"lucide-react\";\nimport { InputErrorText } from \"@qualcomm-ui/react/input\";\nimport { useCheckboxErrorText } from \"@qualcomm-ui/react-core/checkbox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxErrorText(t0) {\n const $ = _c(2);\n const {\n children,\n id,\n ...props\n } = t0;\n let t1;\n if ($[0] !== id) {\n t1 = {\n id\n };\n $[0] = id;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n const contextProps = useCheckboxErrorText(t1);\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getErrorTextBindings(), props);\n return jsx(InputErrorText, {\n icon: AlertCircle,\n ...mergedProps,\n children\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useCheckboxHiddenInput } from \"@qualcomm-ui/react-core/checkbox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxHiddenInput(t0) {\n const $ = _c(2);\n const {\n id,\n ...props\n } = t0;\n let t1;\n if ($[0] !== id) {\n t1 = {\n id\n };\n $[0] = id;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n const contextProps = useCheckboxHiddenInput(t1);\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getHiddenInputBindings(), props);\n return jsx(\"input\", {\n ...mergedProps\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useCheckboxLabel } from \"@qualcomm-ui/react-core/checkbox\";\nimport { PolymorphicElement } from \"@qualcomm-ui/react-core/system\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxLabel(t0) {\n const $ = _c(2);\n const {\n children,\n id,\n ...props\n } = t0;\n let t1;\n if ($[0] !== id) {\n t1 = {\n id\n };\n $[0] = id;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n const contextProps = useCheckboxLabel(t1);\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getLabelBindings(), props);\n return jsx(PolymorphicElement, {\n as: \"span\",\n ...mergedProps,\n children\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { splitCheckboxProps } from \"@qualcomm-ui/core/checkbox\";\nimport { createQdsCheckboxApi } from \"@qualcomm-ui/qds-core/checkbox\";\nimport { CheckboxContextProvider, useCheckbox } from \"@qualcomm-ui/react-core/checkbox\";\nimport { normalizeProps } from \"@qualcomm-ui/react-core/machine\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { PolymorphicElement } from \"@qualcomm-ui/react-core/system\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { QdsCheckboxContextProvider } from \"./qds-checkbox-context\";\nexport function CheckboxRoot(t0) {\n const $ = _c(2);\n const {\n children,\n id,\n size,\n ...props\n } = t0;\n const [checkboxProps, localProps] = splitCheckboxProps(props);\n const context = useCheckbox(checkboxProps);\n let t1;\n if ($[0] !== size) {\n t1 = createQdsCheckboxApi({\n size\n }, normalizeProps);\n $[0] = size;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n const qdsContext = t1;\n const mergedProps = mergeProps(context.getRootBindings({\n id: useControlledId(id)\n }), qdsContext.getRootBindings(), localProps);\n return jsx(QdsCheckboxContextProvider, {\n value: qdsContext,\n children: jsx(CheckboxContextProvider, {\n value: context,\n children: jsx(PolymorphicElement, {\n as: \"label\",\n ...mergedProps,\n children\n })\n })\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { useCheckboxContext } from \"@qualcomm-ui/react-core/checkbox\";\nimport { renderProp } from \"@qualcomm-ui/react-core/system\";\nexport function CheckboxContext(t0) {\n const $ = _c(3);\n const {\n children\n } = t0;\n const context = useCheckboxContext();\n let t1;\n if ($[0] !== children || $[1] !== context) {\n t1 = renderProp(children, context);\n $[0] = children;\n $[1] = context;\n $[2] = t1;\n } else {\n t1 = $[2];\n }\n return t1;\n}", "import { Checkbox as SimpleCheckbox } from \"./checkbox\";\nimport { CheckboxContext } from \"./checkbox-context\";\nimport { CheckboxControl } from \"./checkbox-control\";\nimport { CheckboxErrorText } from \"./checkbox-error-text\";\nimport { CheckboxHiddenInput } from \"./checkbox-hidden-input\";\nimport { CheckboxIndicator } from \"./checkbox-indicator\";\nimport { CheckboxLabel } from \"./checkbox-label\";\nimport { CheckboxRoot } from \"./checkbox-root\";\nexport const Checkbox = SimpleCheckbox;\nCheckbox.Context = CheckboxContext;\nCheckbox.Control = CheckboxControl;\nCheckbox.ErrorText = CheckboxErrorText;\nCheckbox.HiddenInput = CheckboxHiddenInput;\nCheckbox.Indicator = CheckboxIndicator;\nCheckbox.Label = CheckboxLabel;\nCheckbox.Root = CheckboxRoot;"],
5
- "mappings": ";AAAA,OAAS,OAAAA,KAAK,SAAY,oBAC1B,OAAS,yBAA4B,kCACrC,OAAS,mBAAAC,qBAAuB,gCCFhC,OAAS,KAAK,OAAU,yBACxB,OAAS,OAAAC,SAAW,oBACpB,OAAS,uBAA0B,mCACnC,OAAS,sBAAAC,wBAA0B,iCACnC,OAAS,cAAAC,gBAAkB,iCCJ3B,OAAS,QAAW,oBACpB,OAAS,kBAAqB,+BAC9B,OAAS,yBAA4B,mC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AACC,KAAI,oBAAqB,CAClC,GAAG,iBACH,GAAI,IAAI,WACV,CAAC,EAAGA,KAAI,gBAAiB,CACvB,GAAG,aACH,SAAUA,KAAI,kBAAmB,CAC/B,GAAG,cACL,CAAC,CACH,CAAC,EAAG,aAAeA,KAAI,cAAe,CACpC,GAAG,WACH,GAAI,IAAI,MACR,SAAU,YACZ,CAAC,EAAI,KAAM,iBAAmBA,KAAI,kBAAmB,CACnD,GAAG,eACH,GAAI,IAAI,UACR,SAAU,gBACZ,CAAC,EAAI,IAAI,CACX,CAAC,CACH,CQnDA,OAAS,KAAKC,QAAU,yBACxB,OAAS,uBAA0B,mCACnC,OAAS,eAAkB,iCACpB,SAAS,gBAAgB,GAAI,CAClC,IAAM,EAAIA,IAAG,CAAC,EACR,CACJ,QACF,EAAI,GACE,QAAU,mBAAmB,EAC/B,GACJ,OAAI,EAAE,CAAC,IAAM,UAAY,EAAE,CAAC,IAAM,SAChC,GAAK,WAAW,SAAU,OAAO,EACjC,EAAE,CAAC,EAAI,SACP,EAAE,CAAC,EAAI,QACP,EAAE,CAAC,EAAI,IAEP,GAAK,EAAE,CAAC,EAEH,EACT,CCXO,IAAMC,UAAW,SACxBA,UAAS,QAAU,gBACnBA,UAAS,QAAU,gBACnBA,UAAS,UAAY,kBACrBA,UAAS,YAAc,oBACvBA,UAAS,UAAY,kBACrBA,UAAS,MAAQ,cACjBA,UAAS,KAAO",
4
+ "sourcesContent": ["import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useOptionalContentId } from \"@qualcomm-ui/react-core/machine\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { CheckboxControl } from \"./checkbox-control\";\nimport { CheckboxErrorText } from \"./checkbox-error-text\";\nimport { CheckboxHiddenInput } from \"./checkbox-hidden-input\";\nimport { CheckboxIndicator } from \"./checkbox-indicator\";\nimport { CheckboxLabel } from \"./checkbox-label\";\nimport { CheckboxRoot } from \"./checkbox-root\";\nexport function Checkbox(t0) {\n const {\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledBy,\n controlProps,\n errorText,\n errorTextProps,\n hiddenInputProps: hiddenInputPropsProp,\n indicatorProps,\n label,\n labelProps,\n ...props\n } = t0;\n const labelContent = label || labelProps?.children;\n const errorTextContent = errorText || errorTextProps?.children;\n const hiddenInputProps = {\n ...hiddenInputPropsProp\n };\n if (ariaLabel !== void 0) {\n hiddenInputProps[\"aria-label\"] = ariaLabel;\n }\n if (ariaLabelledBy !== void 0) {\n hiddenInputProps[\"aria-labelledby\"] = ariaLabelledBy;\n }\n const ids = {\n errorText: useOptionalContentId(errorTextContent, errorTextProps),\n hiddenInput: useControlledId(hiddenInputProps?.id),\n label: useOptionalContentId(labelContent, labelProps),\n root: useControlledId(props.id),\n ...props.ids\n };\n return jsxs(CheckboxRoot, {\n ...props,\n id: ids.root,\n ids,\n children: [jsx(CheckboxHiddenInput, {\n ...hiddenInputProps,\n id: ids.hiddenInput\n }), jsx(CheckboxControl, {\n ...controlProps,\n children: jsx(CheckboxIndicator, {\n ...indicatorProps\n })\n }), labelContent ? jsx(CheckboxLabel, {\n ...labelProps,\n id: ids.label,\n children: labelContent\n }) : null, errorTextContent ? jsx(CheckboxErrorText, {\n ...errorTextProps,\n id: ids.errorText,\n children: errorTextContent\n }) : null]\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useCheckboxControl } from \"@qualcomm-ui/react-core/checkbox\";\nimport { PolymorphicElement } from \"@qualcomm-ui/react-core/system\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { CheckboxIndicator } from \"./checkbox-indicator\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxControl(t0) {\n const $ = _c(2);\n const {\n children: t1,\n id,\n ...props\n } = t0;\n const children = t1 === undefined ? jsx(CheckboxIndicator, {}) : t1;\n let t2;\n if ($[0] !== id) {\n t2 = {\n id\n };\n $[0] = id;\n $[1] = t2;\n } else {\n t2 = $[1];\n }\n const contextProps = useCheckboxControl(t2);\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getControlBindings(), props);\n return jsx(PolymorphicElement, {\n as: \"div\",\n ...mergedProps,\n children\n });\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { CheckmarkIcon } from \"@qualcomm-ui/react/checkmark\";\nimport { useCheckboxIndicator } from \"@qualcomm-ui/react-core/checkbox\";\nimport { PolymorphicElement } from \"@qualcomm-ui/react-core/system\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxIndicator(t0) {\n const {\n children,\n ...props\n } = t0;\n const {\n contextProps,\n indeterminate\n } = useCheckboxIndicator();\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getIndicatorBindings(), props);\n return jsx(PolymorphicElement, {\n as: \"div\",\n ...mergedProps,\n children: children ?? jsx(CheckmarkIcon, {\n indeterminate,\n size: qdsContext.size\n })\n });\n}", "import { createGuardedContext } from \"@qualcomm-ui/react-core/context\";\nexport const [QdsCheckboxContextProvider, useQdsCheckboxContext] = createGuardedContext({\n hookName: \"useQdsCheckboxContext\",\n providerName: \"<QdsCheckboxContextProvider>\",\n strict: true\n});", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { AlertCircle } from \"lucide-react\";\nimport { InputErrorText } from \"@qualcomm-ui/react/input\";\nimport { useCheckboxErrorText } from \"@qualcomm-ui/react-core/checkbox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxErrorText(t0) {\n const $ = _c(2);\n const {\n children,\n id,\n ...props\n } = t0;\n let t1;\n if ($[0] !== id) {\n t1 = {\n id\n };\n $[0] = id;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n const contextProps = useCheckboxErrorText(t1);\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getErrorTextBindings(), props);\n return jsx(InputErrorText, {\n icon: AlertCircle,\n ...mergedProps,\n children\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useCheckboxHiddenInput } from \"@qualcomm-ui/react-core/checkbox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxHiddenInput(t0) {\n const $ = _c(2);\n const {\n id,\n ...props\n } = t0;\n let t1;\n if ($[0] !== id) {\n t1 = {\n id\n };\n $[0] = id;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n const contextProps = useCheckboxHiddenInput(t1);\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getHiddenInputBindings(), props);\n return jsx(\"input\", {\n ...mergedProps\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useCheckboxLabel } from \"@qualcomm-ui/react-core/checkbox\";\nimport { PolymorphicElement } from \"@qualcomm-ui/react-core/system\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsCheckboxContext } from \"./qds-checkbox-context\";\nexport function CheckboxLabel(t0) {\n const $ = _c(2);\n const {\n children,\n id,\n ...props\n } = t0;\n let t1;\n if ($[0] !== id) {\n t1 = {\n id\n };\n $[0] = id;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n const contextProps = useCheckboxLabel(t1);\n const qdsContext = useQdsCheckboxContext();\n const mergedProps = mergeProps(contextProps, qdsContext.getLabelBindings(), props);\n return jsx(PolymorphicElement, {\n as: \"span\",\n ...mergedProps,\n children\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { splitCheckboxProps } from \"@qualcomm-ui/core/checkbox\";\nimport { createQdsCheckboxApi } from \"@qualcomm-ui/qds-core/checkbox\";\nimport { CheckboxContextProvider, useCheckbox } from \"@qualcomm-ui/react-core/checkbox\";\nimport { normalizeProps } from \"@qualcomm-ui/react-core/machine\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { PolymorphicElement } from \"@qualcomm-ui/react-core/system\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { QdsCheckboxContextProvider } from \"./qds-checkbox-context\";\nexport function CheckboxRoot(t0) {\n const $ = _c(2);\n const {\n children,\n id,\n size,\n ...props\n } = t0;\n const [checkboxProps, localProps] = splitCheckboxProps(props);\n const context = useCheckbox(checkboxProps);\n let t1;\n if ($[0] !== size) {\n t1 = createQdsCheckboxApi({\n size\n }, normalizeProps);\n $[0] = size;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n const qdsContext = t1;\n const mergedProps = mergeProps(context.getRootBindings({\n id: useControlledId(id)\n }), qdsContext.getRootBindings(), localProps);\n return jsx(QdsCheckboxContextProvider, {\n value: qdsContext,\n children: jsx(CheckboxContextProvider, {\n value: context,\n children: jsx(PolymorphicElement, {\n as: \"label\",\n ...mergedProps,\n children\n })\n })\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { useCheckboxContext } from \"@qualcomm-ui/react-core/checkbox\";\nimport { renderProp } from \"@qualcomm-ui/react-core/system\";\nexport function CheckboxContext(t0) {\n const $ = _c(3);\n const {\n children\n } = t0;\n const context = useCheckboxContext();\n let t1;\n if ($[0] !== children || $[1] !== context) {\n t1 = renderProp(children, context);\n $[0] = children;\n $[1] = context;\n $[2] = t1;\n } else {\n t1 = $[2];\n }\n return t1;\n}", "import { Checkbox as SimpleCheckbox } from \"./checkbox\";\nimport { CheckboxContext } from \"./checkbox-context\";\nimport { CheckboxControl } from \"./checkbox-control\";\nimport { CheckboxErrorText } from \"./checkbox-error-text\";\nimport { CheckboxHiddenInput } from \"./checkbox-hidden-input\";\nimport { CheckboxIndicator } from \"./checkbox-indicator\";\nimport { CheckboxLabel } from \"./checkbox-label\";\nimport { CheckboxRoot } from \"./checkbox-root\";\nexport const Checkbox = SimpleCheckbox;\nCheckbox.Context = CheckboxContext;\nCheckbox.Control = CheckboxControl;\nCheckbox.ErrorText = CheckboxErrorText;\nCheckbox.HiddenInput = CheckboxHiddenInput;\nCheckbox.Indicator = CheckboxIndicator;\nCheckbox.Label = CheckboxLabel;\nCheckbox.Root = CheckboxRoot;"],
5
+ "mappings": ";AAAA,OAAS,OAAAA,KAAK,SAAY,oBAC1B,OAAS,yBAA4B,kCACrC,OAAS,mBAAAC,qBAAuB,gCCFhC,OAAS,KAAK,OAAU,yBACxB,OAAS,OAAAC,SAAW,oBACpB,OAAS,uBAA0B,mCACnC,OAAS,sBAAAC,wBAA0B,iCACnC,OAAS,cAAAC,gBAAkB,iCCJ3B,OAAS,QAAW,oBACpB,OAAS,kBAAqB,+BAC9B,OAAS,yBAA4B,mCACrC,OAAS,uBAA0B,iCACnC,OAAS,eAAkB,iCCJ3B,OAAS,yBAA4B,kCAC9B,GAAM,CAAC,2BAA4B,qBAAqB,EAAI,qBAAqB,CACtF,SAAU,wBACV,aAAc,+BACd,OAAQ,EACV,CAAC,EDCM,SAAS,kBAAkB,GAAI,CACpC,GAAM,CACJ,SACA,GAAG,KACL,EAAI,GACE,CACJ,aACA,aACF,EAAI,qBAAqB,EACnB,WAAa,sBAAsB,EACnC,YAAc,WAAW,aAAc,WAAW,qBAAqB,EAAG,KAAK,EACrF,OAAO,IAAI,mBAAoB,CAC7B,GAAI,MACJ,GAAG,YACH,SAAU,UAAY,IAAI,cAAe,CACvC,cACA,KAAM,WAAW,IACnB,CAAC,CACH,CAAC,CACH,CDlBO,SAAS,gBAAgB,GAAI,CAClC,IAAM,EAAI,GAAG,CAAC,EACR,CACJ,SAAU,GACV,GACA,GAAG,KACL,EAAI,GACE,SAAW,KAAO,OAAYC,KAAI,kBAAmB,CAAC,CAAC,EAAI,GAC7D,GACA,EAAE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J,QACF,EAAI,GACE,QAAU,mBAAmB,EAC/B,GACJ,OAAI,EAAE,CAAC,IAAM,UAAY,EAAE,CAAC,IAAM,SAChC,GAAK,WAAW,SAAU,OAAO,EACjC,EAAE,CAAC,EAAI,SACP,EAAE,CAAC,EAAI,QACP,EAAE,CAAC,EAAI,IAEP,GAAK,EAAE,CAAC,EAEH,EACT,CCXO,IAAMC,UAAW,SACxBA,UAAS,QAAU,gBACnBA,UAAS,QAAU,gBACnBA,UAAS,UAAY,kBACrBA,UAAS,YAAc,oBACvBA,UAAS,UAAY,kBACrBA,UAAS,MAAQ,cACjBA,UAAS,KAAO",
6
6
  "names": ["jsx", "useControlledId", "jsx", "PolymorphicElement", "mergeProps", "jsx", "mergeProps", "PolymorphicElement", "_c", "jsx", "mergeProps", "_c", "mergeProps", "jsx", "_c", "jsx", "mergeProps", "_c", "mergeProps", "jsx", "_c", "jsx", "PolymorphicElement", "mergeProps", "_c", "mergeProps", "jsx", "PolymorphicElement", "_c", "jsx", "PolymorphicElement", "mergeProps", "_c", "mergeProps", "jsx", "PolymorphicElement", "useControlledId", "jsx", "_c", "Checkbox"]
7
7
  }
@@ -15,6 +15,17 @@ import { type ComboboxPositionerProps } from "./combobox-positioner";
15
15
  import { type ComboboxRootProps } from "./combobox-root";
16
16
  import { type ComboboxTriggerProps } from "./combobox-trigger";
17
17
  export interface ComboboxProps<T extends CollectionItem> extends ComboboxRootProps<T> {
18
+ /**
19
+ * {@link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label aria-label}
20
+ * attribute, forwarded to the input element.
21
+ */
22
+ "aria-label"?: string | undefined;
23
+ /**
24
+ * {@link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-labelledby aria-labelledby}
25
+ * attribute, forwarded to the input element. If you provide a {@link label},
26
+ * omit this prop.
27
+ */
28
+ "aria-labelledby"?: string | undefined;
18
29
  /**
19
30
  * Props applied to the clear trigger element. To prevent this element from
20
31
  * rendering, pass `{hidden: true}`
@@ -120,5 +131,5 @@ export interface ComboboxProps<T extends CollectionItem> extends ComboboxRootPro
120
131
  */
121
132
  virtual?: boolean;
122
133
  }
123
- export declare function Combobox<T extends CollectionItem = CollectionItem>({ clearTriggerProps, contentProps, controlProps, emptyMessage, emptyProps, errorIndicatorProps, errorText, errorTextProps, highlightMatchingText, hint, hintProps, inputProps, label, labelProps, portalProps, positionerProps, renderItem, triggerProps, virtual, ...props }: ComboboxProps<T>): ReactElement;
134
+ export declare function Combobox<T extends CollectionItem = CollectionItem>({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, clearTriggerProps, contentProps, controlProps, emptyMessage, emptyProps, errorIndicatorProps, errorText, errorTextProps, highlightMatchingText, hint, hintProps, inputProps: inputPropsProp, label, labelProps, portalProps, positionerProps, renderItem, triggerProps, virtual, ...props }: ComboboxProps<T>): ReactElement;
124
135
  //# sourceMappingURL=combobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../src/combobox/combobox.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,YAAY,EAAE,SAAS,EAAC,MAAM,OAAO,CAAA;AAGlD,OAAO,EAAS,KAAK,WAAW,EAAC,MAAM,gCAAgC,CAAA;AAEvE,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAA;AAEjE,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAkB,KAAK,oBAAoB,EAAC,MAAM,oBAAoB,CAAA;AAC7E,OAAO,EAAkB,KAAK,oBAAoB,EAAC,MAAM,oBAAoB,CAAA;AAC7E,OAAO,EAAgB,KAAK,kBAAkB,EAAC,MAAM,kBAAkB,CAAA;AACvE,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAA;AAC9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;;OAIG;IACH,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAE7B;;;;OAIG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAA;IAE/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IAEjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAA;IAE/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAA;IAEzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,uBAAuB,CAAA;IAEzC;;OAEG;IACH,UAAU,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAA;IAEtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAA;IAEnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,EAAE,EAClE,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,mBAAmB,EACnB,SAAS,EACT,cAAc,EACd,qBAAqB,EACrB,IAAI,EACJ,SAAS,EACT,UAAU,EAAE,cAAc,EAC1B,KAAK,EACL,UAAU,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,YAAY,EACZ,OAAO,EACP,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,YAAY,CAmFjC"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import{jsx as jsx18,jsxs as jsxs4}from"react/jsx-runtime";import{useOptionalContentId}from"@qualcomm-ui/react-core/machine";import{Portal}from"@qualcomm-ui/react-core/portal";import{useControlledId}from"@qualcomm-ui/react-core/state";import{jsx}from"react/jsx-runtime";import{X}from"lucide-react";import{InlineIconButton}from"@qualcomm-ui/react/inline-icon-button";import{useQdsInputContext}from"@qualcomm-ui/react/input";import{CoreCombobox}from"@qualcomm-ui/react-core/combobox";import{mergeProps}from"@qualcomm-ui/utils/merge-props";function ComboboxClearTrigger(t0){let{render,...props}=t0,qdsContext=useQdsInputContext(),mergedProps=mergeProps(qdsContext.getClearTriggerBindings(),props);return jsx(CoreCombobox.ClearTrigger,{render:jsx(InlineIconButton,{icon:X,render,variant:"scale"}),...mergedProps})}import{c as _c}from"react/compiler-runtime";import{jsx as jsx2}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox2}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps2}from"@qualcomm-ui/utils/merge-props";import{createGuardedContext}from"@qualcomm-ui/react-core/context";var[QdsComboboxContextProvider,useQdsComboboxContext]=createGuardedContext({hookName:"useQdsComboboxContext",providerName:"<QdsComboboxContextProvider>",strict:!0});function ComboboxContent(props){let $=_c(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps2(qdsContext.getContentBindings(),props);t0=jsx2(CoreCombobox2.Content,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{jsx as jsx3,jsxs}from"react/jsx-runtime";import{InputStartIcon,useQdsInputContext as useQdsInputContext2}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox3}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps3}from"@qualcomm-ui/utils/merge-props";function ComboboxControl(t0){let{children,...props}=t0,qdsContext=useQdsComboboxContext(),qdsInputContext=useQdsInputContext2(),mergedProps=mergeProps3(qdsContext.getControlBindings(),props);return jsxs(CoreCombobox3.Control,{...mergedProps,children:[qdsInputContext.startIcon?jsx3(InputStartIcon,{icon:qdsInputContext.startIcon}):null,children]})}import{c as _c2}from"react/compiler-runtime";import{jsx as jsx4}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox4}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps4}from"@qualcomm-ui/utils/merge-props";function ComboboxEmpty(props){let $=_c2(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps4(qdsContext.getItemBindings(),props);t0=jsx4(CoreCombobox4.Empty,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{jsx as jsx5}from"react/jsx-runtime";import{InputErrorIndicator}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox5}from"@qualcomm-ui/react-core/combobox";function ComboboxErrorIndicator({icon,render,...props}){return jsx5(CoreCombobox5.ErrorIndicator,{render:jsx5(InputErrorIndicator,{icon,render}),...props})}import{jsx as jsx6}from"react/jsx-runtime";import{InputErrorText}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox6}from"@qualcomm-ui/react-core/combobox";function ComboboxErrorText({icon,render,...props}){return jsx6(CoreCombobox6.ErrorText,{render:jsx6(InputErrorText,{icon,render}),...props})}import{jsx as jsx7}from"react/jsx-runtime";import{InputHint}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox7}from"@qualcomm-ui/react-core/combobox";function ComboboxHint({children,render,...props}){return jsx7(CoreCombobox7.Hint,{render:jsx7(InputHint,{render}),...props,children})}import{c as _c3}from"react/compiler-runtime";import{jsx as jsx8}from"react/jsx-runtime";import{useQdsInputContext as useQdsInputContext3}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox8}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps5}from"@qualcomm-ui/utils/merge-props";function ComboboxInput(props){let $=_c3(3),qdsContext=useQdsInputContext3(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps5(qdsContext.getInputBindings(),props);t0=jsx8(CoreCombobox8.Input,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{c as _c6}from"react/compiler-runtime";import{Fragment,jsx as jsx12,jsxs as jsxs2}from"react/jsx-runtime";import{Fragment as Fragment2}from"react";import{useComboboxContext}from"@qualcomm-ui/react-core/combobox";import{HighlightText}from"@qualcomm-ui/react-core/highlight";import{renderProp}from"@qualcomm-ui/react-core/system";import{c as _c4}from"react/compiler-runtime";import{jsx as jsx9}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox9}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps6}from"@qualcomm-ui/utils/merge-props";function ComboboxItem(props){let $=_c4(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps6(qdsContext.getItemBindings(),props);t0=jsx9(CoreCombobox9.Item,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{jsx as jsx10}from"react/jsx-runtime";import{Check}from"lucide-react";import{Icon}from"@qualcomm-ui/react/icon";import{CoreCombobox as CoreCombobox10}from"@qualcomm-ui/react-core/combobox";function ComboboxItemIndicator({children,...props}){return jsx10(CoreCombobox10.ItemIndicator,{...props,children:children??jsx10(Icon,{icon:Check})})}import{c as _c5}from"react/compiler-runtime";import{jsx as jsx11}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox11}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps7}from"@qualcomm-ui/utils/merge-props";function ComboboxItemText(props){let $=_c5(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps7(qdsContext.getItemTextBindings(),props);t0=jsx11(CoreCombobox11.ItemText,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}function ComboboxItems(t0){let $=_c6(7),{highlightMatchingText,renderItem}=t0,context=useComboboxContext();if(renderItem){let t12;return $[0]!==context.collection||$[1]!==renderItem?(t12=jsx12(Fragment,{children:context.collection.items.map(item=>{let value=context.collection.getItemValue(item);return jsx12(Fragment2,{children:renderProp(renderItem,{item})},value)})}),$[0]=context.collection,$[1]=renderItem,$[2]=t12):t12=$[2],t12}let t1;return $[3]!==context.collection||$[4]!==context.inputValue||$[5]!==highlightMatchingText?(t1=jsx12(Fragment,{children:context.collection.items.map(item_0=>{let label=context.collection.stringifyItem(item_0),value_0=context.collection.getItemValue(item_0);return jsx12(Fragment2,{children:jsxs2(ComboboxItem,{item:item_0,children:[jsx12(ComboboxItemText,{children:highlightMatchingText?jsx12(HighlightText,{ignoreCase:!0,query:context.inputValue??"",text:label??""}):label}),jsx12(ComboboxItemIndicator,{})]})},value_0)})}),$[3]=context.collection,$[4]=context.inputValue,$[5]=highlightMatchingText,$[6]=t1):t1=$[6],t1}import{jsx as jsx13}from"react/jsx-runtime";import{InputLabel}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox12,useComboboxContext as useComboboxContext2}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps8}from"@qualcomm-ui/utils/merge-props";function ComboboxLabel(t0){let{render,...props}=t0,comboboxContext=useComboboxContext2(),qdsContext=useQdsComboboxContext(),mergedProps=mergeProps8(qdsContext.getLabelBindings(),props);return jsx13(CoreCombobox12.Label,{render:jsx13(InputLabel,{render,required:comboboxContext.required}),...mergedProps})}import{c as _c7}from"react/compiler-runtime";import{jsx as jsx14}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox13}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps9}from"@qualcomm-ui/utils/merge-props";function ComboboxPositioner(props){let $=_c7(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps9(qdsContext.getPositionerBindings(),props);t0=jsx14(CoreCombobox13.Positioner,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{c as _c8}from"react/compiler-runtime";import{jsx as jsx15}from"react/jsx-runtime";import"react";import{createQdsInputApi}from"@qualcomm-ui/qds-core/input";import{createQdsSelectApi}from"@qualcomm-ui/qds-core/select";import{QdsInputContextProvider}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox14}from"@qualcomm-ui/react-core/combobox";import{normalizeProps}from"@qualcomm-ui/react-core/machine";import{mergeProps as mergeProps10}from"@qualcomm-ui/utils/merge-props";function ComboboxRoot(t0){let $=_c8(7),t1;if($[0]!==t0){let{icon,size,...props}=t0,t2;$[2]!==size?(t2=createQdsSelectApi({size},normalizeProps),$[2]=size,$[3]=t2):t2=$[3];let qdsContext=t2,t3;$[4]!==icon||$[5]!==size?(t3=createQdsInputApi({size,startIcon:icon},normalizeProps),$[4]=icon,$[5]=size,$[6]=t3):t3=$[6];let qdsInputApi=t3,mergedProps=mergeProps10(qdsContext.getRootBindings(),props);t1=jsx15(QdsComboboxContextProvider,{value:qdsContext,children:jsx15(QdsInputContextProvider,{value:qdsInputApi,children:jsx15(CoreCombobox14.Root,{...mergedProps})})}),$[0]=t0,$[1]=t1}else t1=$[1];return t1}import{jsx as jsx16}from"react/jsx-runtime";import{ChevronDown}from"lucide-react";import{InlineIconButton as InlineIconButton2}from"@qualcomm-ui/react/inline-icon-button";import{CoreCombobox as CoreCombobox15}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps11}from"@qualcomm-ui/utils/merge-props";function ComboboxTrigger(t0){let{icon:t1,render,...props}=t0,icon=t1===void 0?ChevronDown:t1,qdsContext=useQdsComboboxContext(),mergedProps=mergeProps11(qdsContext.getIndicatorBindings(),props);return jsx16(CoreCombobox15.Trigger,{render:jsx16(InlineIconButton2,{icon,render,size:qdsContext.size==="sm"?"sm":"md",variant:"scale"}),...mergedProps})}import{jsx as jsx17,jsxs as jsxs3}from"react/jsx-runtime";import{Fragment as Fragment3,useEffect,useRef}from"react";import{useVirtualizer}from"@tanstack/react-virtual";import{useComboboxContext as useComboboxContext3}from"@qualcomm-ui/react-core/combobox";import{HighlightText as HighlightText2}from"@qualcomm-ui/react-core/highlight";import{useMergedRef}from"@qualcomm-ui/react-core/refs";import{mergeProps as mergeProps12}from"@qualcomm-ui/utils/merge-props";function ComboboxVirtualContent({children,highlightMatchingText,ref,renderItem,virtualOptions,...props}){let{collection,inputValue,open,setScrollToIndexFn}=useComboboxContext3(),qdsContext=useQdsComboboxContext(),localRef=useRef(null),mergedRef=useMergedRef(ref,localRef);useEffect(()=>{requestAnimationFrame(()=>{let positioner=localRef.current.closest('[data-part="positioner"]');positioner&&positioner.style.setProperty("--scrollbar-width",`${positioner.offsetWidth-positioner.clientWidth}px`)})},[inputValue,open]);let virtualizer=useVirtualizer({count:collection.items.length,enabled:open,estimateSize:()=>qdsContext.size==="sm"?32:40,getScrollElement:()=>localRef.current.closest('[data-part="positioner"]')||localRef.current,overscan:5,paddingEnd:2,scrollPaddingEnd:2,...virtualOptions}),mergedProps=mergeProps12(qdsContext.getContentBindings(),{style:{height:`${virtualizer.getTotalSize()}px`}},props),timerRef=useRef(void 0);return useEffect(()=>{setScrollToIndexFn(details=>{let scrollOptions={align:"auto",behavior:"auto"};details&&(details.immediate?virtualizer.scrollToIndex(details.index,scrollOptions):(clearTimeout(timerRef.current),timerRef.current=setTimeout(()=>{virtualizer.scrollToIndex(details.index,scrollOptions)})))})},[setScrollToIndexFn,virtualizer]),renderItem?jsxs3(ComboboxContent,{...mergedProps,ref:mergedRef,"data-virtual":!0,children:[children,virtualizer.getVirtualItems().map(virtualItem=>{let item=collection.items.at(virtualItem.index),value=collection.getItemValue(item);return jsx17(Fragment3,{children:renderItem({"data-virtual":"",item,style:{"--virtual-item-start":`${virtualItem.start}px`}})},value)})]}):jsxs3(ComboboxContent,{...mergedProps,ref:mergedRef,"data-virtual":!0,children:[children,virtualizer.getVirtualItems().map(virtualItem_0=>{let item_0=collection.items.at(virtualItem_0.index),label=collection.stringifyItem(item_0),value_0=collection.getItemValue(item_0);return jsxs3(ComboboxItem,{"data-virtual":!0,item:item_0,style:{"--virtual-item-start":`${virtualItem_0.start}px`},children:[jsx17(ComboboxItemText,{children:highlightMatchingText?jsx17(HighlightText2,{ignoreCase:!0,query:inputValue,text:label??""}):label}),jsx17(ComboboxItemIndicator,{})]},value_0)})]})}function Combobox(t0){let{clearTriggerProps,contentProps,controlProps,emptyMessage,emptyProps,errorIndicatorProps,errorText,errorTextProps,highlightMatchingText,hint,hintProps,inputProps,label,labelProps,portalProps,positionerProps,renderItem,triggerProps,virtual,...props}=t0,emptyContent=emptyMessage||emptyProps?.children||"No results found",labelContent=label||labelProps?.children,hintContent=hint||hintProps?.children,errorTextContent=errorText||errorTextProps?.children,ids={clearTrigger:useOptionalContentId(!clearTriggerProps?.hidden,clearTriggerProps),content:useControlledId(contentProps?.id),control:useControlledId(controlProps?.id),errorText:useOptionalContentId(errorTextContent,errorTextProps),hint:useOptionalContentId(hintContent,hintProps),input:useControlledId(inputProps?.id),label:useOptionalContentId(labelContent,labelProps),positioner:useControlledId(positionerProps?.id),root:useControlledId(props.id),...props.ids};return jsxs4(ComboboxRoot,{...props,ids,children:[labelContent?jsx18(ComboboxLabel,{...labelProps,id:ids.label,children:labelContent}):null,jsxs4(ComboboxControl,{...controlProps,id:ids.control,children:[jsx18(ComboboxInput,{...inputProps,id:ids.input}),jsx18(ComboboxClearTrigger,{...clearTriggerProps,id:ids.clearTrigger}),jsx18(ComboboxErrorIndicator,{...errorIndicatorProps}),jsx18(ComboboxTrigger,{...triggerProps,id:ids.trigger})]}),jsx18(Portal,{...portalProps,children:jsx18(ComboboxPositioner,{...positionerProps,id:ids.positioner,children:virtual?jsx18(ComboboxVirtualContent,{...contentProps,highlightMatchingText,id:ids.content,renderItem,children:jsx18(ComboboxEmpty,{...emptyProps,children:emptyContent})}):jsxs4(ComboboxContent,{...contentProps,id:ids.content,children:[jsx18(ComboboxEmpty,{...emptyProps,children:emptyContent}),jsx18(ComboboxItems,{highlightMatchingText,renderItem})]})})}),errorTextContent?jsx18(ComboboxErrorText,{...errorTextProps,id:ids.errorText,children:errorTextContent}):null,hintContent?jsx18(ComboboxHint,{...hintProps,id:ids.hint,children:hintContent}):null]})}import{c as _c9}from"react/compiler-runtime";import{useComboboxContext as useComboboxContext4}from"@qualcomm-ui/react-core/combobox";import{renderProp as renderProp2}from"@qualcomm-ui/react-core/system";function ComboboxContext(t0){let $=_c9(3),{children}=t0,context=useComboboxContext4(),t1;return $[0]!==children||$[1]!==context?(t1=renderProp2(children,context),$[0]=children,$[1]=context,$[2]=t1):t1=$[2],t1}var Combobox2=Combobox;Combobox2.ClearTrigger=ComboboxClearTrigger;Combobox2.Content=ComboboxContent;Combobox2.Context=ComboboxContext;Combobox2.Control=ComboboxControl;Combobox2.Empty=ComboboxEmpty;Combobox2.ErrorIndicator=ComboboxErrorIndicator;Combobox2.ErrorText=ComboboxErrorText;Combobox2.Hint=ComboboxHint;Combobox2.Input=ComboboxInput;Combobox2.ItemIndicator=ComboboxItemIndicator;Combobox2.ItemText=ComboboxItemText;Combobox2.Item=ComboboxItem;Combobox2.Items=ComboboxItems;Combobox2.Label=ComboboxLabel;Combobox2.Positioner=ComboboxPositioner;Combobox2.Root=ComboboxRoot;Combobox2.Trigger=ComboboxTrigger;Combobox2.VirtualContent=ComboboxVirtualContent;export{Combobox2 as Combobox,QdsComboboxContextProvider,useQdsComboboxContext};
2
+ import{jsx as jsx18,jsxs as jsxs4}from"react/jsx-runtime";import{useOptionalContentId}from"@qualcomm-ui/react-core/machine";import{Portal}from"@qualcomm-ui/react-core/portal";import{useControlledId}from"@qualcomm-ui/react-core/state";import{jsx}from"react/jsx-runtime";import{X}from"lucide-react";import{InlineIconButton}from"@qualcomm-ui/react/inline-icon-button";import{useQdsInputContext}from"@qualcomm-ui/react/input";import{CoreCombobox}from"@qualcomm-ui/react-core/combobox";import{mergeProps}from"@qualcomm-ui/utils/merge-props";function ComboboxClearTrigger(t0){let{render,...props}=t0,qdsContext=useQdsInputContext(),mergedProps=mergeProps(qdsContext.getClearTriggerBindings(),props);return jsx(CoreCombobox.ClearTrigger,{render:jsx(InlineIconButton,{icon:X,render,variant:"scale"}),...mergedProps})}import{c as _c}from"react/compiler-runtime";import{jsx as jsx2}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox2}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps2}from"@qualcomm-ui/utils/merge-props";import{createGuardedContext}from"@qualcomm-ui/react-core/context";var[QdsComboboxContextProvider,useQdsComboboxContext]=createGuardedContext({hookName:"useQdsComboboxContext",providerName:"<QdsComboboxContextProvider>",strict:!0});function ComboboxContent(props){let $=_c(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps2(qdsContext.getContentBindings(),props);t0=jsx2(CoreCombobox2.Content,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{jsx as jsx3,jsxs}from"react/jsx-runtime";import{InputStartIcon,useQdsInputContext as useQdsInputContext2}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox3}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps3}from"@qualcomm-ui/utils/merge-props";function ComboboxControl(t0){let{children,...props}=t0,qdsContext=useQdsComboboxContext(),qdsInputContext=useQdsInputContext2(),mergedProps=mergeProps3(qdsContext.getControlBindings(),props);return jsxs(CoreCombobox3.Control,{...mergedProps,children:[qdsInputContext.startIcon?jsx3(InputStartIcon,{icon:qdsInputContext.startIcon}):null,children]})}import{c as _c2}from"react/compiler-runtime";import{jsx as jsx4}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox4}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps4}from"@qualcomm-ui/utils/merge-props";function ComboboxEmpty(props){let $=_c2(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps4(qdsContext.getItemBindings(),props);t0=jsx4(CoreCombobox4.Empty,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{jsx as jsx5}from"react/jsx-runtime";import{InputErrorIndicator}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox5}from"@qualcomm-ui/react-core/combobox";function ComboboxErrorIndicator({icon,render,...props}){return jsx5(CoreCombobox5.ErrorIndicator,{render:jsx5(InputErrorIndicator,{icon,render}),...props})}import{jsx as jsx6}from"react/jsx-runtime";import{InputErrorText}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox6}from"@qualcomm-ui/react-core/combobox";function ComboboxErrorText({icon,render,...props}){return jsx6(CoreCombobox6.ErrorText,{render:jsx6(InputErrorText,{icon,render}),...props})}import{jsx as jsx7}from"react/jsx-runtime";import{InputHint}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox7}from"@qualcomm-ui/react-core/combobox";function ComboboxHint({children,render,...props}){return jsx7(CoreCombobox7.Hint,{render:jsx7(InputHint,{render}),...props,children})}import{c as _c3}from"react/compiler-runtime";import{jsx as jsx8}from"react/jsx-runtime";import{useQdsInputContext as useQdsInputContext3}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox8}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps5}from"@qualcomm-ui/utils/merge-props";function ComboboxInput(props){let $=_c3(3),qdsContext=useQdsInputContext3(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps5(qdsContext.getInputBindings(),props);t0=jsx8(CoreCombobox8.Input,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{c as _c6}from"react/compiler-runtime";import{Fragment,jsx as jsx12,jsxs as jsxs2}from"react/jsx-runtime";import{Fragment as Fragment2}from"react";import{useComboboxContext}from"@qualcomm-ui/react-core/combobox";import{HighlightText}from"@qualcomm-ui/react-core/highlight";import{renderProp}from"@qualcomm-ui/react-core/system";import{c as _c4}from"react/compiler-runtime";import{jsx as jsx9}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox9}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps6}from"@qualcomm-ui/utils/merge-props";function ComboboxItem(props){let $=_c4(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps6(qdsContext.getItemBindings(),props);t0=jsx9(CoreCombobox9.Item,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{jsx as jsx10}from"react/jsx-runtime";import{Check}from"lucide-react";import{Icon}from"@qualcomm-ui/react/icon";import{CoreCombobox as CoreCombobox10}from"@qualcomm-ui/react-core/combobox";function ComboboxItemIndicator({children,...props}){return jsx10(CoreCombobox10.ItemIndicator,{...props,children:children??jsx10(Icon,{icon:Check})})}import{c as _c5}from"react/compiler-runtime";import{jsx as jsx11}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox11}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps7}from"@qualcomm-ui/utils/merge-props";function ComboboxItemText(props){let $=_c5(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps7(qdsContext.getItemTextBindings(),props);t0=jsx11(CoreCombobox11.ItemText,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}function ComboboxItems(t0){let $=_c6(7),{highlightMatchingText,renderItem}=t0,context=useComboboxContext();if(renderItem){let t12;return $[0]!==context.collection||$[1]!==renderItem?(t12=jsx12(Fragment,{children:context.collection.items.map(item=>{let value=context.collection.getItemValue(item);return jsx12(Fragment2,{children:renderProp(renderItem,{item})},value)})}),$[0]=context.collection,$[1]=renderItem,$[2]=t12):t12=$[2],t12}let t1;return $[3]!==context.collection||$[4]!==context.inputValue||$[5]!==highlightMatchingText?(t1=jsx12(Fragment,{children:context.collection.items.map(item_0=>{let label=context.collection.stringifyItem(item_0),value_0=context.collection.getItemValue(item_0);return jsx12(Fragment2,{children:jsxs2(ComboboxItem,{item:item_0,children:[jsx12(ComboboxItemText,{children:highlightMatchingText?jsx12(HighlightText,{ignoreCase:!0,query:context.inputValue??"",text:label??""}):label}),jsx12(ComboboxItemIndicator,{})]})},value_0)})}),$[3]=context.collection,$[4]=context.inputValue,$[5]=highlightMatchingText,$[6]=t1):t1=$[6],t1}import{jsx as jsx13}from"react/jsx-runtime";import{InputLabel}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox12,useComboboxContext as useComboboxContext2}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps8}from"@qualcomm-ui/utils/merge-props";function ComboboxLabel(t0){let{render,...props}=t0,comboboxContext=useComboboxContext2(),qdsContext=useQdsComboboxContext(),mergedProps=mergeProps8(qdsContext.getLabelBindings(),props);return jsx13(CoreCombobox12.Label,{render:jsx13(InputLabel,{render,required:comboboxContext.required}),...mergedProps})}import{c as _c7}from"react/compiler-runtime";import{jsx as jsx14}from"react/jsx-runtime";import{CoreCombobox as CoreCombobox13}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps9}from"@qualcomm-ui/utils/merge-props";function ComboboxPositioner(props){let $=_c7(3),qdsContext=useQdsComboboxContext(),t0;if($[0]!==props||$[1]!==qdsContext){let mergedProps=mergeProps9(qdsContext.getPositionerBindings(),props);t0=jsx14(CoreCombobox13.Positioner,{...mergedProps}),$[0]=props,$[1]=qdsContext,$[2]=t0}else t0=$[2];return t0}import{c as _c8}from"react/compiler-runtime";import{jsx as jsx15}from"react/jsx-runtime";import"react";import{createQdsInputApi}from"@qualcomm-ui/qds-core/input";import{createQdsSelectApi}from"@qualcomm-ui/qds-core/select";import{QdsInputContextProvider}from"@qualcomm-ui/react/input";import{CoreCombobox as CoreCombobox14}from"@qualcomm-ui/react-core/combobox";import{normalizeProps}from"@qualcomm-ui/react-core/machine";import{mergeProps as mergeProps10}from"@qualcomm-ui/utils/merge-props";function ComboboxRoot(t0){let $=_c8(7),t1;if($[0]!==t0){let{icon,size,...props}=t0,t2;$[2]!==size?(t2=createQdsSelectApi({size},normalizeProps),$[2]=size,$[3]=t2):t2=$[3];let qdsContext=t2,t3;$[4]!==icon||$[5]!==size?(t3=createQdsInputApi({size,startIcon:icon},normalizeProps),$[4]=icon,$[5]=size,$[6]=t3):t3=$[6];let qdsInputApi=t3,mergedProps=mergeProps10(qdsContext.getRootBindings(),props);t1=jsx15(QdsComboboxContextProvider,{value:qdsContext,children:jsx15(QdsInputContextProvider,{value:qdsInputApi,children:jsx15(CoreCombobox14.Root,{...mergedProps})})}),$[0]=t0,$[1]=t1}else t1=$[1];return t1}import{jsx as jsx16}from"react/jsx-runtime";import{ChevronDown}from"lucide-react";import{InlineIconButton as InlineIconButton2}from"@qualcomm-ui/react/inline-icon-button";import{CoreCombobox as CoreCombobox15}from"@qualcomm-ui/react-core/combobox";import{mergeProps as mergeProps11}from"@qualcomm-ui/utils/merge-props";function ComboboxTrigger(t0){let{icon:t1,render,...props}=t0,icon=t1===void 0?ChevronDown:t1,qdsContext=useQdsComboboxContext(),mergedProps=mergeProps11(qdsContext.getIndicatorBindings(),props);return jsx16(CoreCombobox15.Trigger,{render:jsx16(InlineIconButton2,{icon,render,size:qdsContext.size==="sm"?"sm":"md",variant:"scale"}),...mergedProps})}import{jsx as jsx17,jsxs as jsxs3}from"react/jsx-runtime";import{Fragment as Fragment3,useEffect,useRef}from"react";import{useVirtualizer}from"@tanstack/react-virtual";import{useComboboxContext as useComboboxContext3}from"@qualcomm-ui/react-core/combobox";import{HighlightText as HighlightText2}from"@qualcomm-ui/react-core/highlight";import{useMergedRef}from"@qualcomm-ui/react-core/refs";import{mergeProps as mergeProps12}from"@qualcomm-ui/utils/merge-props";function ComboboxVirtualContent({children,highlightMatchingText,ref,renderItem,virtualOptions,...props}){let{collection,inputValue,open,setScrollToIndexFn}=useComboboxContext3(),qdsContext=useQdsComboboxContext(),localRef=useRef(null),mergedRef=useMergedRef(ref,localRef);useEffect(()=>{requestAnimationFrame(()=>{let positioner=localRef.current.closest('[data-part="positioner"]');positioner&&positioner.style.setProperty("--scrollbar-width",`${positioner.offsetWidth-positioner.clientWidth}px`)})},[inputValue,open]);let virtualizer=useVirtualizer({count:collection.items.length,enabled:open,estimateSize:()=>qdsContext.size==="sm"?32:40,getScrollElement:()=>localRef.current.closest('[data-part="positioner"]')||localRef.current,overscan:5,paddingEnd:2,scrollPaddingEnd:2,...virtualOptions}),mergedProps=mergeProps12(qdsContext.getContentBindings(),{style:{height:`${virtualizer.getTotalSize()}px`}},props),timerRef=useRef(void 0);return useEffect(()=>{setScrollToIndexFn(details=>{let scrollOptions={align:"auto",behavior:"auto"};details&&(details.immediate?virtualizer.scrollToIndex(details.index,scrollOptions):(clearTimeout(timerRef.current),timerRef.current=setTimeout(()=>{virtualizer.scrollToIndex(details.index,scrollOptions)})))})},[setScrollToIndexFn,virtualizer]),renderItem?jsxs3(ComboboxContent,{...mergedProps,ref:mergedRef,"data-virtual":!0,children:[children,virtualizer.getVirtualItems().map(virtualItem=>{let item=collection.items.at(virtualItem.index),value=collection.getItemValue(item);return jsx17(Fragment3,{children:renderItem({"data-virtual":"",item,style:{"--virtual-item-start":`${virtualItem.start}px`}})},value)})]}):jsxs3(ComboboxContent,{...mergedProps,ref:mergedRef,"data-virtual":!0,children:[children,virtualizer.getVirtualItems().map(virtualItem_0=>{let item_0=collection.items.at(virtualItem_0.index),label=collection.stringifyItem(item_0),value_0=collection.getItemValue(item_0);return jsxs3(ComboboxItem,{"data-virtual":!0,item:item_0,style:{"--virtual-item-start":`${virtualItem_0.start}px`},children:[jsx17(ComboboxItemText,{children:highlightMatchingText?jsx17(HighlightText2,{ignoreCase:!0,query:inputValue,text:label??""}):label}),jsx17(ComboboxItemIndicator,{})]},value_0)})]})}function Combobox(t0){let{"aria-label":ariaLabel,"aria-labelledby":ariaLabelledBy,clearTriggerProps,contentProps,controlProps,emptyMessage,emptyProps,errorIndicatorProps,errorText,errorTextProps,highlightMatchingText,hint,hintProps,inputProps:inputPropsProp,label,labelProps,portalProps,positionerProps,renderItem,triggerProps,virtual,...props}=t0,emptyContent=emptyMessage||emptyProps?.children||"No results found",labelContent=label||labelProps?.children,hintContent=hint||hintProps?.children,errorTextContent=errorText||errorTextProps?.children,inputProps={...inputPropsProp};ariaLabel!==void 0&&(inputProps["aria-label"]=ariaLabel),ariaLabelledBy!==void 0&&(inputProps["aria-labelledby"]=ariaLabelledBy);let ids={clearTrigger:useOptionalContentId(!clearTriggerProps?.hidden,clearTriggerProps),content:useControlledId(contentProps?.id),control:useControlledId(controlProps?.id),errorText:useOptionalContentId(errorTextContent,errorTextProps),hint:useOptionalContentId(hintContent,hintProps),input:useControlledId(inputProps?.id),label:useOptionalContentId(labelContent,labelProps),positioner:useControlledId(positionerProps?.id),root:useControlledId(props.id),...props.ids};return jsxs4(ComboboxRoot,{...props,ids,children:[labelContent?jsx18(ComboboxLabel,{...labelProps,id:ids.label,children:labelContent}):null,jsxs4(ComboboxControl,{...controlProps,id:ids.control,children:[jsx18(ComboboxInput,{...inputProps,id:ids.input}),jsx18(ComboboxClearTrigger,{...clearTriggerProps,id:ids.clearTrigger}),jsx18(ComboboxErrorIndicator,{...errorIndicatorProps}),jsx18(ComboboxTrigger,{...triggerProps,id:ids.trigger})]}),jsx18(Portal,{...portalProps,children:jsx18(ComboboxPositioner,{...positionerProps,id:ids.positioner,children:virtual?jsx18(ComboboxVirtualContent,{...contentProps,highlightMatchingText,id:ids.content,renderItem,children:jsx18(ComboboxEmpty,{...emptyProps,children:emptyContent})}):jsxs4(ComboboxContent,{...contentProps,id:ids.content,children:[jsx18(ComboboxEmpty,{...emptyProps,children:emptyContent}),jsx18(ComboboxItems,{highlightMatchingText,renderItem})]})})}),errorTextContent?jsx18(ComboboxErrorText,{...errorTextProps,id:ids.errorText,children:errorTextContent}):null,hintContent?jsx18(ComboboxHint,{...hintProps,id:ids.hint,children:hintContent}):null]})}import{c as _c9}from"react/compiler-runtime";import{useComboboxContext as useComboboxContext4}from"@qualcomm-ui/react-core/combobox";import{renderProp as renderProp2}from"@qualcomm-ui/react-core/system";function ComboboxContext(t0){let $=_c9(3),{children}=t0,context=useComboboxContext4(),t1;return $[0]!==children||$[1]!==context?(t1=renderProp2(children,context),$[0]=children,$[1]=context,$[2]=t1):t1=$[2],t1}var Combobox2=Combobox;Combobox2.ClearTrigger=ComboboxClearTrigger;Combobox2.Content=ComboboxContent;Combobox2.Context=ComboboxContext;Combobox2.Control=ComboboxControl;Combobox2.Empty=ComboboxEmpty;Combobox2.ErrorIndicator=ComboboxErrorIndicator;Combobox2.ErrorText=ComboboxErrorText;Combobox2.Hint=ComboboxHint;Combobox2.Input=ComboboxInput;Combobox2.ItemIndicator=ComboboxItemIndicator;Combobox2.ItemText=ComboboxItemText;Combobox2.Item=ComboboxItem;Combobox2.Items=ComboboxItems;Combobox2.Label=ComboboxLabel;Combobox2.Positioner=ComboboxPositioner;Combobox2.Root=ComboboxRoot;Combobox2.Trigger=ComboboxTrigger;Combobox2.VirtualContent=ComboboxVirtualContent;export{Combobox2 as Combobox,QdsComboboxContextProvider,useQdsComboboxContext};
3
3
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/combobox/combobox.tsx", "../../src/combobox/combobox-clear-trigger.tsx", "../../src/combobox/combobox-content.tsx", "../../src/combobox/qds-combobox-context.ts", "../../src/combobox/combobox-control.tsx", "../../src/combobox/combobox-empty.tsx", "../../src/combobox/combobox-error-indicator.tsx", "../../src/combobox/combobox-error-text.tsx", "../../src/combobox/combobox-hint.tsx", "../../src/combobox/combobox-input.tsx", "../../src/combobox/combobox-items.tsx", "../../src/combobox/combobox-item.tsx", "../../src/combobox/combobox-item-indicator.tsx", "../../src/combobox/combobox-item-text.tsx", "../../src/combobox/combobox-label.tsx", "../../src/combobox/combobox-positioner.tsx", "../../src/combobox/combobox-root.tsx", "../../src/combobox/combobox-trigger.tsx", "../../src/combobox/combobox-virtual-content.tsx", "../../src/combobox/combobox-context.tsx", "../../src/combobox/index.ts"],
4
- "sourcesContent": ["import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useOptionalContentId } from \"@qualcomm-ui/react-core/machine\";\nimport { Portal } from \"@qualcomm-ui/react-core/portal\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { ComboboxClearTrigger } from \"./combobox-clear-trigger\";\nimport { ComboboxContent } from \"./combobox-content\";\nimport { ComboboxControl } from \"./combobox-control\";\nimport { ComboboxEmpty } from \"./combobox-empty\";\nimport { ComboboxErrorIndicator } from \"./combobox-error-indicator\";\nimport { ComboboxErrorText } from \"./combobox-error-text\";\nimport { ComboboxHint } from \"./combobox-hint\";\nimport { ComboboxInput } from \"./combobox-input\";\nimport { ComboboxItems } from \"./combobox-items\";\nimport { ComboboxLabel } from \"./combobox-label\";\nimport { ComboboxPositioner } from \"./combobox-positioner\";\nimport { ComboboxRoot } from \"./combobox-root\";\nimport { ComboboxTrigger } from \"./combobox-trigger\";\nimport { ComboboxVirtualContent } from \"./combobox-virtual-content\";\nexport function Combobox(t0) {\n const {\n clearTriggerProps,\n contentProps,\n controlProps,\n emptyMessage,\n emptyProps,\n errorIndicatorProps,\n errorText,\n errorTextProps,\n highlightMatchingText,\n hint,\n hintProps,\n inputProps,\n label,\n labelProps,\n portalProps,\n positionerProps,\n renderItem,\n triggerProps,\n virtual,\n ...props\n } = t0;\n const emptyContent = emptyMessage || emptyProps?.children || \"No results found\";\n const labelContent = label || labelProps?.children;\n const hintContent = hint || hintProps?.children;\n const errorTextContent = errorText || errorTextProps?.children;\n const ids = {\n clearTrigger: useOptionalContentId(!clearTriggerProps?.hidden, clearTriggerProps),\n content: useControlledId(contentProps?.id),\n control: useControlledId(controlProps?.id),\n errorText: useOptionalContentId(errorTextContent, errorTextProps),\n hint: useOptionalContentId(hintContent, hintProps),\n input: useControlledId(inputProps?.id),\n label: useOptionalContentId(labelContent, labelProps),\n positioner: useControlledId(positionerProps?.id),\n root: useControlledId(props.id),\n ...props.ids\n };\n return jsxs(ComboboxRoot, {\n ...props,\n ids,\n children: [labelContent ? jsx(ComboboxLabel, {\n ...labelProps,\n id: ids.label,\n children: labelContent\n }) : null, jsxs(ComboboxControl, {\n ...controlProps,\n id: ids.control,\n children: [jsx(ComboboxInput, {\n ...inputProps,\n id: ids.input\n }), jsx(ComboboxClearTrigger, {\n ...clearTriggerProps,\n id: ids.clearTrigger\n }), jsx(ComboboxErrorIndicator, {\n ...errorIndicatorProps\n }), jsx(ComboboxTrigger, {\n ...triggerProps,\n id: ids.trigger\n })]\n }), jsx(Portal, {\n ...portalProps,\n children: jsx(ComboboxPositioner, {\n ...positionerProps,\n id: ids.positioner,\n children: virtual ? jsx(ComboboxVirtualContent, {\n ...contentProps,\n highlightMatchingText,\n id: ids.content,\n renderItem,\n children: jsx(ComboboxEmpty, {\n ...emptyProps,\n children: emptyContent\n })\n }) : jsxs(ComboboxContent, {\n ...contentProps,\n id: ids.content,\n children: [jsx(ComboboxEmpty, {\n ...emptyProps,\n children: emptyContent\n }), jsx(ComboboxItems, {\n highlightMatchingText,\n renderItem\n })]\n })\n })\n }), errorTextContent ? jsx(ComboboxErrorText, {\n ...errorTextProps,\n id: ids.errorText,\n children: errorTextContent\n }) : null, hintContent ? jsx(ComboboxHint, {\n ...hintProps,\n id: ids.hint,\n children: hintContent\n }) : null]\n });\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { X } from \"lucide-react\";\nimport { InlineIconButton } from \"@qualcomm-ui/react/inline-icon-button\";\nimport { useQdsInputContext } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nexport function ComboboxClearTrigger(t0) {\n const {\n render,\n ...props\n } = t0;\n const qdsContext = useQdsInputContext();\n const mergedProps = mergeProps(qdsContext.getClearTriggerBindings(), props);\n return jsx(CoreCombobox.ClearTrigger, {\n render: jsx(InlineIconButton, {\n icon: X,\n render,\n variant: \"scale\"\n }),\n ...mergedProps\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxContent(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getContentBindings(), props);\n t0 = jsx(CoreCombobox.Content, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { createGuardedContext } from \"@qualcomm-ui/react-core/context\";\nexport const [QdsComboboxContextProvider, useQdsComboboxContext] = createGuardedContext({\n hookName: \"useQdsComboboxContext\",\n providerName: \"<QdsComboboxContextProvider>\",\n strict: true\n});", "import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { InputStartIcon, useQdsInputContext } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxControl(t0) {\n const {\n children,\n ...props\n } = t0;\n const qdsContext = useQdsComboboxContext();\n const qdsInputContext = useQdsInputContext();\n const mergedProps = mergeProps(qdsContext.getControlBindings(), props);\n return jsxs(CoreCombobox.Control, {\n ...mergedProps,\n children: [qdsInputContext.startIcon ? jsx(InputStartIcon, {\n icon: qdsInputContext.startIcon\n }) : null, children]\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxEmpty(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getItemBindings(), props);\n t0 = jsx(CoreCombobox.Empty, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { InputErrorIndicator } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nexport function ComboboxErrorIndicator({\n icon,\n render,\n ...props\n}) {\n return /* @__PURE__ */jsx(CoreCombobox.ErrorIndicator, {\n render: /* @__PURE__ */jsx(InputErrorIndicator, {\n icon,\n render\n }),\n ...props\n });\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { InputErrorText } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nexport function ComboboxErrorText({\n icon,\n render,\n ...props\n}) {\n return /* @__PURE__ */jsx(CoreCombobox.ErrorText, {\n render: /* @__PURE__ */jsx(InputErrorText, {\n icon,\n render\n }),\n ...props\n });\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { InputHint } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nexport function ComboboxHint({\n children,\n render,\n ...props\n}) {\n return /* @__PURE__ */jsx(CoreCombobox.Hint, {\n render: /* @__PURE__ */jsx(InputHint, {\n render\n }),\n ...props,\n children\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useQdsInputContext } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nexport function ComboboxInput(props) {\n const $ = _c(3);\n const qdsContext = useQdsInputContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getInputBindings(), props);\n t0 = jsx(CoreCombobox.Input, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nimport { Fragment as Fragment2 } from \"react\";\nimport { useComboboxContext } from \"@qualcomm-ui/react-core/combobox\";\nimport { HighlightText } from \"@qualcomm-ui/react-core/highlight\";\nimport { renderProp } from \"@qualcomm-ui/react-core/system\";\nimport { ComboboxItem } from \"./combobox-item\";\nimport { ComboboxItemIndicator } from \"./combobox-item-indicator\";\nimport { ComboboxItemText } from \"./combobox-item-text\";\nexport function ComboboxItems(t0) {\n const $ = _c(7);\n const {\n highlightMatchingText,\n renderItem\n } = t0;\n const context = useComboboxContext();\n if (renderItem) {\n let t1;\n if ($[0] !== context.collection || $[1] !== renderItem) {\n t1 = jsx(Fragment, {\n children: context.collection.items.map(item => {\n const value = context.collection.getItemValue(item);\n return jsx(Fragment2, {\n children: renderProp(renderItem, {\n item\n })\n }, value);\n })\n });\n $[0] = context.collection;\n $[1] = renderItem;\n $[2] = t1;\n } else {\n t1 = $[2];\n }\n return t1;\n }\n let t1;\n if ($[3] !== context.collection || $[4] !== context.inputValue || $[5] !== highlightMatchingText) {\n t1 = jsx(Fragment, {\n children: context.collection.items.map(item_0 => {\n const label = context.collection.stringifyItem(item_0);\n const value_0 = context.collection.getItemValue(item_0);\n return jsx(Fragment2, {\n children: jsxs(ComboboxItem, {\n item: item_0,\n children: [jsx(ComboboxItemText, {\n children: highlightMatchingText ? jsx(HighlightText, {\n ignoreCase: true,\n query: context.inputValue ?? \"\",\n text: label ?? \"\"\n }) : label\n }), jsx(ComboboxItemIndicator, {})]\n })\n }, value_0);\n })\n });\n $[3] = context.collection;\n $[4] = context.inputValue;\n $[5] = highlightMatchingText;\n $[6] = t1;\n } else {\n t1 = $[6];\n }\n return t1;\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxItem(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getItemBindings(), props);\n t0 = jsx(CoreCombobox.Item, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { Check } from \"lucide-react\";\nimport { Icon } from \"@qualcomm-ui/react/icon\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nexport function ComboboxItemIndicator({\n children,\n ...props\n}) {\n return /* @__PURE__ */jsx(CoreCombobox.ItemIndicator, {\n ...props,\n children: children ?? /* @__PURE__ */jsx(Icon, {\n icon: Check\n })\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxItemText(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getItemTextBindings(), props);\n t0 = jsx(CoreCombobox.ItemText, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { InputLabel } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox, useComboboxContext } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxLabel(t0) {\n const {\n render,\n ...props\n } = t0;\n const comboboxContext = useComboboxContext();\n const qdsContext = useQdsComboboxContext();\n const mergedProps = mergeProps(qdsContext.getLabelBindings(), props);\n return jsx(CoreCombobox.Label, {\n render: jsx(InputLabel, {\n render,\n required: comboboxContext.required\n }),\n ...mergedProps\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxPositioner(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getPositionerBindings(), props);\n t0 = jsx(CoreCombobox.Positioner, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { createQdsInputApi } from \"@qualcomm-ui/qds-core/input\";\nimport { createQdsSelectApi } from \"@qualcomm-ui/qds-core/select\";\nimport { QdsInputContextProvider } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { normalizeProps } from \"@qualcomm-ui/react-core/machine\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { QdsComboboxContextProvider } from \"./qds-combobox-context\";\nexport function ComboboxRoot(t0) {\n const $ = _c(7);\n let t1;\n if ($[0] !== t0) {\n const {\n icon,\n size,\n ...props\n } = t0;\n let t2;\n if ($[2] !== size) {\n t2 = createQdsSelectApi({\n size\n }, normalizeProps);\n $[2] = size;\n $[3] = t2;\n } else {\n t2 = $[3];\n }\n const qdsContext = t2;\n let t3;\n if ($[4] !== icon || $[5] !== size) {\n t3 = createQdsInputApi({\n size,\n startIcon: icon\n }, normalizeProps);\n $[4] = icon;\n $[5] = size;\n $[6] = t3;\n } else {\n t3 = $[6];\n }\n const qdsInputApi = t3;\n const mergedProps = mergeProps(qdsContext.getRootBindings(), props);\n t1 = jsx(QdsComboboxContextProvider, {\n value: qdsContext,\n children: jsx(QdsInputContextProvider, {\n value: qdsInputApi,\n children: jsx(CoreCombobox.Root, {\n ...mergedProps\n })\n })\n });\n $[0] = t0;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n return t1;\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { ChevronDown } from \"lucide-react\";\nimport { InlineIconButton } from \"@qualcomm-ui/react/inline-icon-button\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxTrigger(t0) {\n const {\n icon: t1,\n render,\n ...props\n } = t0;\n const icon = t1 === undefined ? ChevronDown : t1;\n const qdsContext = useQdsComboboxContext();\n const mergedProps = mergeProps(qdsContext.getIndicatorBindings(), props);\n return jsx(CoreCombobox.Trigger, {\n render: jsx(InlineIconButton, {\n icon,\n render,\n size: qdsContext.size === \"sm\" ? \"sm\" : \"md\",\n variant: \"scale\"\n }),\n ...mergedProps\n });\n}", "import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { Fragment, useEffect, useRef } from \"react\";\nimport { useVirtualizer } from \"@tanstack/react-virtual\";\nimport { useComboboxContext } from \"@qualcomm-ui/react-core/combobox\";\nimport { HighlightText } from \"@qualcomm-ui/react-core/highlight\";\nimport { useMergedRef } from \"@qualcomm-ui/react-core/refs\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { ComboboxContent } from \"./combobox-content\";\nimport { ComboboxItem } from \"./combobox-item\";\nimport { ComboboxItemIndicator } from \"./combobox-item-indicator\";\nimport { ComboboxItemText } from \"./combobox-item-text\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxVirtualContent({\n children,\n highlightMatchingText,\n ref,\n renderItem,\n virtualOptions,\n ...props\n}) {\n const {\n collection,\n inputValue,\n open,\n setScrollToIndexFn\n } = useComboboxContext();\n const qdsContext = useQdsComboboxContext();\n const localRef = useRef(null);\n const mergedRef = useMergedRef(ref, localRef);\n useEffect(() => {\n requestAnimationFrame(() => {\n const positioner = localRef.current.closest(`[data-part=\"positioner\"]`);\n if (!positioner) {\n return;\n }\n positioner.style.setProperty(\"--scrollbar-width\", `${positioner.offsetWidth - positioner.clientWidth}px`);\n });\n }, [inputValue, open]);\n const virtualizer = useVirtualizer({\n count: collection.items.length,\n enabled: open,\n estimateSize: () => qdsContext.size === \"sm\" ? 32 : 40,\n getScrollElement: () => localRef.current.closest(`[data-part=\"positioner\"]`) || localRef.current,\n overscan: 5,\n // account for 2px border\n paddingEnd: 2,\n scrollPaddingEnd: 2,\n ...virtualOptions\n });\n const mergedProps = mergeProps(qdsContext.getContentBindings(), {\n style: {\n height: `${virtualizer.getTotalSize()}px`\n }\n }, props);\n const timerRef = useRef(void 0);\n useEffect(() => {\n const handleScrollToIndexFn = details => {\n const scrollOptions = {\n align: \"auto\",\n behavior: \"auto\"\n };\n if (!details) {\n return;\n }\n if (details.immediate) {\n virtualizer.scrollToIndex(details.index, scrollOptions);\n } else {\n clearTimeout(timerRef.current);\n timerRef.current = setTimeout(() => {\n virtualizer.scrollToIndex(details.index, scrollOptions);\n });\n }\n };\n setScrollToIndexFn(handleScrollToIndexFn);\n }, [setScrollToIndexFn, virtualizer]);\n if (renderItem) {\n return /* @__PURE__ */jsxs(ComboboxContent, {\n ...mergedProps,\n ref: mergedRef,\n \"data-virtual\": true,\n children: [children, virtualizer.getVirtualItems().map(virtualItem => {\n const item = collection.items.at(virtualItem.index);\n const value = collection.getItemValue(item);\n return /* @__PURE__ */jsx(Fragment, {\n children: renderItem({\n \"data-virtual\": \"\",\n item,\n style: {\n \"--virtual-item-start\": `${virtualItem.start}px`\n }\n })\n }, value);\n })]\n });\n }\n return /* @__PURE__ */jsxs(ComboboxContent, {\n ...mergedProps,\n ref: mergedRef,\n \"data-virtual\": true,\n children: [children, virtualizer.getVirtualItems().map(virtualItem_0 => {\n const item_0 = collection.items.at(virtualItem_0.index);\n const label = collection.stringifyItem(item_0);\n const value_0 = collection.getItemValue(item_0);\n return /* @__PURE__ */jsxs(ComboboxItem, {\n \"data-virtual\": true,\n item: item_0,\n style: {\n \"--virtual-item-start\": `${virtualItem_0.start}px`\n },\n children: [/* @__PURE__ */jsx(ComboboxItemText, {\n children: highlightMatchingText ? /* @__PURE__ */jsx(HighlightText, {\n ignoreCase: true,\n query: inputValue,\n text: label ?? \"\"\n }) : label\n }), /* @__PURE__ */jsx(ComboboxItemIndicator, {})]\n }, value_0);\n })]\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { useComboboxContext } from \"@qualcomm-ui/react-core/combobox\";\nimport { renderProp } from \"@qualcomm-ui/react-core/system\";\nexport function ComboboxContext(t0) {\n const $ = _c(3);\n const {\n children\n } = t0;\n const context = useComboboxContext();\n let t1;\n if ($[0] !== children || $[1] !== context) {\n t1 = renderProp(children, context);\n $[0] = children;\n $[1] = context;\n $[2] = t1;\n } else {\n t1 = $[2];\n }\n return t1;\n}", "import { Combobox as SimpleCombobox } from \"./combobox\";\nimport { ComboboxClearTrigger } from \"./combobox-clear-trigger\";\nimport { ComboboxContent } from \"./combobox-content\";\nimport { ComboboxContext } from \"./combobox-context\";\nimport { ComboboxControl } from \"./combobox-control\";\nimport { ComboboxEmpty } from \"./combobox-empty\";\nimport { ComboboxErrorIndicator } from \"./combobox-error-indicator\";\nimport { ComboboxErrorText } from \"./combobox-error-text\";\nimport { ComboboxHint } from \"./combobox-hint\";\nimport { ComboboxInput } from \"./combobox-input\";\nimport { ComboboxItem } from \"./combobox-item\";\nimport { ComboboxItemIndicator } from \"./combobox-item-indicator\";\nimport { ComboboxItemText } from \"./combobox-item-text\";\nimport { ComboboxItems } from \"./combobox-items\";\nimport { ComboboxLabel } from \"./combobox-label\";\nimport { ComboboxPositioner } from \"./combobox-positioner\";\nimport { ComboboxRoot } from \"./combobox-root\";\nimport { ComboboxTrigger } from \"./combobox-trigger\";\nimport { ComboboxVirtualContent } from \"./combobox-virtual-content\";\nexport * from \"./qds-combobox-context\";\nexport const Combobox = SimpleCombobox;\nCombobox.ClearTrigger = ComboboxClearTrigger;\nCombobox.Content = ComboboxContent;\nCombobox.Context = ComboboxContext;\nCombobox.Control = ComboboxControl;\nCombobox.Empty = ComboboxEmpty;\nCombobox.ErrorIndicator = ComboboxErrorIndicator;\nCombobox.ErrorText = ComboboxErrorText;\nCombobox.Hint = ComboboxHint;\nCombobox.Input = ComboboxInput;\nCombobox.ItemIndicator = ComboboxItemIndicator;\nCombobox.ItemText = ComboboxItemText;\nCombobox.Item = ComboboxItem;\nCombobox.Items = ComboboxItems;\nCombobox.Label = ComboboxLabel;\nCombobox.Positioner = ComboboxPositioner;\nCombobox.Root = ComboboxRoot;\nCombobox.Trigger = ComboboxTrigger;\nCombobox.VirtualContent = ComboboxVirtualContent;"],
5
- "mappings": ";AAAA,OAAS,OAAAA,MAAK,QAAAC,UAAY,oBAC1B,OAAS,yBAA4B,kCACrC,OAAS,WAAc,iCACvB,OAAS,oBAAuB,gCCHhC,OAAS,QAAW,oBACpB,OAAS,MAAS,eAClB,OAAS,qBAAwB,wCACjC,OAAS,uBAA0B,2BACnC,OAAS,iBAAoB,mCAC7B,OAAS,eAAkB,iCACpB,SAAS,qBAAqB,GAAI,CACvC,GAAM,CACJ,OACA,GAAG,KACL,EAAI,GACE,WAAa,mBAAmB,EAChC,YAAc,WAAW,WAAW,wBAAwB,EAAG,KAAK,EAC1E,OAAO,IAAI,aAAa,aAAc,CACpC,OAAQ,IAAI,iBAAkB,CAC5B,KAAM,EACN,OACA,QAAS,OACX,CAAC,EACD,GAAG,WACL,CAAC,CACH,CCrBA,OAAS,KAAK,OAAU,yBACxB,OAAS,OAAAC,SAAW,oBACpB,OAAS,gBAAAC,kBAAoB,mCAC7B,OAAS,cAAAC,gBAAkB,iCCH3B,OAAS,yBAA4B,kCAC9B,GAAM,CAAC,2BAA4B,qBAAqB,EAAI,qBAAqB,CACtF,SAAU,wBACV,aAAc,+BACd,OAAQ,EACV,CAAC,EDAM,SAAS,gBAAgB,MAAO,CACrC,IA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G,WACH,SAAU,YACZ,CAAC,EAAGA,MAAI,cAAe,CACrB,sBACA,UACF,CAAC,CAAC,CACJ,CAAC,CACH,CAAC,CACH,CAAC,EAAG,iBAAmBA,MAAI,kBAAmB,CAC5C,GAAG,eACH,GAAI,IAAI,UACR,SAAU,gBACZ,CAAC,EAAI,KAAM,YAAcA,MAAI,aAAc,CACzC,GAAG,UACH,GAAI,IAAI,KACR,SAAU,WACZ,CAAC,EAAI,IAAI,CACX,CAAC,CACH,CmBnHA,OAAS,KAAKC,QAAU,yBACxB,OAAS,sBAAAC,wBAA0B,mCACnC,OAAS,cAAAC,gBAAkB,iCACpB,SAAS,gBAAgB,GAAI,CAClC,IAAM,EAAIF,IAAG,CAAC,EACR,CACJ,QACF,EAAI,GACE,QAAUC,oBAAmB,EAC/B,GACJ,OAAI,EAAE,CAAC,IAAM,UAAY,EAAE,CAAC,IAAM,SAChC,GAAKC,YAAW,SAAU,OAAO,EACjC,EAAE,CAAC,EAAI,SACP,EAAE,CAAC,EAAI,QACP,EAAE,CAAC,EAAI,IAEP,GAAK,EAAE,CAAC,EAEH,EACT,CCCO,IAAMC,UAAW,SACxBA,UAAS,aAAe,qBACxBA,UAAS,QAAU,gBACnBA,UAAS,QAAU,gBACnBA,UAAS,QAAU,gBACnBA,UAAS,MAAQ,cACjBA,UAAS,eAAiB,uBAC1BA,UAAS,UAAY,kBACrBA,UAAS,KAAO,aAChBA,UAAS,MAAQ,cACjBA,UAAS,cAAgB,sBACzBA,UAAS,SAAW,iBACpBA,UAAS,KAAO,aAChBA,UAAS,MAAQ,cACjBA,UAAS,MAAQ,cACjBA,UAAS,WAAa,mBACtBA,UAAS,KAAO,aAChBA,UAAS,QAAU,gBACnBA,UAAS,eAAiB",
4
+ "sourcesContent": ["import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useOptionalContentId } from \"@qualcomm-ui/react-core/machine\";\nimport { Portal } from \"@qualcomm-ui/react-core/portal\";\nimport { useControlledId } from \"@qualcomm-ui/react-core/state\";\nimport { ComboboxClearTrigger } from \"./combobox-clear-trigger\";\nimport { ComboboxContent } from \"./combobox-content\";\nimport { ComboboxControl } from \"./combobox-control\";\nimport { ComboboxEmpty } from \"./combobox-empty\";\nimport { ComboboxErrorIndicator } from \"./combobox-error-indicator\";\nimport { ComboboxErrorText } from \"./combobox-error-text\";\nimport { ComboboxHint } from \"./combobox-hint\";\nimport { ComboboxInput } from \"./combobox-input\";\nimport { ComboboxItems } from \"./combobox-items\";\nimport { ComboboxLabel } from \"./combobox-label\";\nimport { ComboboxPositioner } from \"./combobox-positioner\";\nimport { ComboboxRoot } from \"./combobox-root\";\nimport { ComboboxTrigger } from \"./combobox-trigger\";\nimport { ComboboxVirtualContent } from \"./combobox-virtual-content\";\nexport function Combobox(t0) {\n const {\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledBy,\n clearTriggerProps,\n contentProps,\n controlProps,\n emptyMessage,\n emptyProps,\n errorIndicatorProps,\n errorText,\n errorTextProps,\n highlightMatchingText,\n hint,\n hintProps,\n inputProps: inputPropsProp,\n label,\n labelProps,\n portalProps,\n positionerProps,\n renderItem,\n triggerProps,\n virtual,\n ...props\n } = t0;\n const emptyContent = emptyMessage || emptyProps?.children || \"No results found\";\n const labelContent = label || labelProps?.children;\n const hintContent = hint || hintProps?.children;\n const errorTextContent = errorText || errorTextProps?.children;\n const inputProps = {\n ...inputPropsProp\n };\n if (ariaLabel !== void 0) {\n inputProps[\"aria-label\"] = ariaLabel;\n }\n if (ariaLabelledBy !== void 0) {\n inputProps[\"aria-labelledby\"] = ariaLabelledBy;\n }\n const ids = {\n clearTrigger: useOptionalContentId(!clearTriggerProps?.hidden, clearTriggerProps),\n content: useControlledId(contentProps?.id),\n control: useControlledId(controlProps?.id),\n errorText: useOptionalContentId(errorTextContent, errorTextProps),\n hint: useOptionalContentId(hintContent, hintProps),\n input: useControlledId(inputProps?.id),\n label: useOptionalContentId(labelContent, labelProps),\n positioner: useControlledId(positionerProps?.id),\n root: useControlledId(props.id),\n ...props.ids\n };\n return jsxs(ComboboxRoot, {\n ...props,\n ids,\n children: [labelContent ? jsx(ComboboxLabel, {\n ...labelProps,\n id: ids.label,\n children: labelContent\n }) : null, jsxs(ComboboxControl, {\n ...controlProps,\n id: ids.control,\n children: [jsx(ComboboxInput, {\n ...inputProps,\n id: ids.input\n }), jsx(ComboboxClearTrigger, {\n ...clearTriggerProps,\n id: ids.clearTrigger\n }), jsx(ComboboxErrorIndicator, {\n ...errorIndicatorProps\n }), jsx(ComboboxTrigger, {\n ...triggerProps,\n id: ids.trigger\n })]\n }), jsx(Portal, {\n ...portalProps,\n children: jsx(ComboboxPositioner, {\n ...positionerProps,\n id: ids.positioner,\n children: virtual ? jsx(ComboboxVirtualContent, {\n ...contentProps,\n highlightMatchingText,\n id: ids.content,\n renderItem,\n children: jsx(ComboboxEmpty, {\n ...emptyProps,\n children: emptyContent\n })\n }) : jsxs(ComboboxContent, {\n ...contentProps,\n id: ids.content,\n children: [jsx(ComboboxEmpty, {\n ...emptyProps,\n children: emptyContent\n }), jsx(ComboboxItems, {\n highlightMatchingText,\n renderItem\n })]\n })\n })\n }), errorTextContent ? jsx(ComboboxErrorText, {\n ...errorTextProps,\n id: ids.errorText,\n children: errorTextContent\n }) : null, hintContent ? jsx(ComboboxHint, {\n ...hintProps,\n id: ids.hint,\n children: hintContent\n }) : null]\n });\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { X } from \"lucide-react\";\nimport { InlineIconButton } from \"@qualcomm-ui/react/inline-icon-button\";\nimport { useQdsInputContext } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nexport function ComboboxClearTrigger(t0) {\n const {\n render,\n ...props\n } = t0;\n const qdsContext = useQdsInputContext();\n const mergedProps = mergeProps(qdsContext.getClearTriggerBindings(), props);\n return jsx(CoreCombobox.ClearTrigger, {\n render: jsx(InlineIconButton, {\n icon: X,\n render,\n variant: \"scale\"\n }),\n ...mergedProps\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxContent(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getContentBindings(), props);\n t0 = jsx(CoreCombobox.Content, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { createGuardedContext } from \"@qualcomm-ui/react-core/context\";\nexport const [QdsComboboxContextProvider, useQdsComboboxContext] = createGuardedContext({\n hookName: \"useQdsComboboxContext\",\n providerName: \"<QdsComboboxContextProvider>\",\n strict: true\n});", "import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { InputStartIcon, useQdsInputContext } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxControl(t0) {\n const {\n children,\n ...props\n } = t0;\n const qdsContext = useQdsComboboxContext();\n const qdsInputContext = useQdsInputContext();\n const mergedProps = mergeProps(qdsContext.getControlBindings(), props);\n return jsxs(CoreCombobox.Control, {\n ...mergedProps,\n children: [qdsInputContext.startIcon ? jsx(InputStartIcon, {\n icon: qdsInputContext.startIcon\n }) : null, children]\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxEmpty(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getItemBindings(), props);\n t0 = jsx(CoreCombobox.Empty, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { InputErrorIndicator } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nexport function ComboboxErrorIndicator({\n icon,\n render,\n ...props\n}) {\n return /* @__PURE__ */jsx(CoreCombobox.ErrorIndicator, {\n render: /* @__PURE__ */jsx(InputErrorIndicator, {\n icon,\n render\n }),\n ...props\n });\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { InputErrorText } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nexport function ComboboxErrorText({\n icon,\n render,\n ...props\n}) {\n return /* @__PURE__ */jsx(CoreCombobox.ErrorText, {\n render: /* @__PURE__ */jsx(InputErrorText, {\n icon,\n render\n }),\n ...props\n });\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { InputHint } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nexport function ComboboxHint({\n children,\n render,\n ...props\n}) {\n return /* @__PURE__ */jsx(CoreCombobox.Hint, {\n render: /* @__PURE__ */jsx(InputHint, {\n render\n }),\n ...props,\n children\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useQdsInputContext } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nexport function ComboboxInput(props) {\n const $ = _c(3);\n const qdsContext = useQdsInputContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getInputBindings(), props);\n t0 = jsx(CoreCombobox.Input, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nimport { Fragment as Fragment2 } from \"react\";\nimport { useComboboxContext } from \"@qualcomm-ui/react-core/combobox\";\nimport { HighlightText } from \"@qualcomm-ui/react-core/highlight\";\nimport { renderProp } from \"@qualcomm-ui/react-core/system\";\nimport { ComboboxItem } from \"./combobox-item\";\nimport { ComboboxItemIndicator } from \"./combobox-item-indicator\";\nimport { ComboboxItemText } from \"./combobox-item-text\";\nexport function ComboboxItems(t0) {\n const $ = _c(7);\n const {\n highlightMatchingText,\n renderItem\n } = t0;\n const context = useComboboxContext();\n if (renderItem) {\n let t1;\n if ($[0] !== context.collection || $[1] !== renderItem) {\n t1 = jsx(Fragment, {\n children: context.collection.items.map(item => {\n const value = context.collection.getItemValue(item);\n return jsx(Fragment2, {\n children: renderProp(renderItem, {\n item\n })\n }, value);\n })\n });\n $[0] = context.collection;\n $[1] = renderItem;\n $[2] = t1;\n } else {\n t1 = $[2];\n }\n return t1;\n }\n let t1;\n if ($[3] !== context.collection || $[4] !== context.inputValue || $[5] !== highlightMatchingText) {\n t1 = jsx(Fragment, {\n children: context.collection.items.map(item_0 => {\n const label = context.collection.stringifyItem(item_0);\n const value_0 = context.collection.getItemValue(item_0);\n return jsx(Fragment2, {\n children: jsxs(ComboboxItem, {\n item: item_0,\n children: [jsx(ComboboxItemText, {\n children: highlightMatchingText ? jsx(HighlightText, {\n ignoreCase: true,\n query: context.inputValue ?? \"\",\n text: label ?? \"\"\n }) : label\n }), jsx(ComboboxItemIndicator, {})]\n })\n }, value_0);\n })\n });\n $[3] = context.collection;\n $[4] = context.inputValue;\n $[5] = highlightMatchingText;\n $[6] = t1;\n } else {\n t1 = $[6];\n }\n return t1;\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxItem(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getItemBindings(), props);\n t0 = jsx(CoreCombobox.Item, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { Check } from \"lucide-react\";\nimport { Icon } from \"@qualcomm-ui/react/icon\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nexport function ComboboxItemIndicator({\n children,\n ...props\n}) {\n return /* @__PURE__ */jsx(CoreCombobox.ItemIndicator, {\n ...props,\n children: children ?? /* @__PURE__ */jsx(Icon, {\n icon: Check\n })\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxItemText(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getItemTextBindings(), props);\n t0 = jsx(CoreCombobox.ItemText, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { InputLabel } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox, useComboboxContext } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxLabel(t0) {\n const {\n render,\n ...props\n } = t0;\n const comboboxContext = useComboboxContext();\n const qdsContext = useQdsComboboxContext();\n const mergedProps = mergeProps(qdsContext.getLabelBindings(), props);\n return jsx(CoreCombobox.Label, {\n render: jsx(InputLabel, {\n render,\n required: comboboxContext.required\n }),\n ...mergedProps\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxPositioner(props) {\n const $ = _c(3);\n const qdsContext = useQdsComboboxContext();\n let t0;\n if ($[0] !== props || $[1] !== qdsContext) {\n const mergedProps = mergeProps(qdsContext.getPositionerBindings(), props);\n t0 = jsx(CoreCombobox.Positioner, {\n ...mergedProps\n });\n $[0] = props;\n $[1] = qdsContext;\n $[2] = t0;\n } else {\n t0 = $[2];\n }\n return t0;\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { createQdsInputApi } from \"@qualcomm-ui/qds-core/input\";\nimport { createQdsSelectApi } from \"@qualcomm-ui/qds-core/select\";\nimport { QdsInputContextProvider } from \"@qualcomm-ui/react/input\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { normalizeProps } from \"@qualcomm-ui/react-core/machine\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { QdsComboboxContextProvider } from \"./qds-combobox-context\";\nexport function ComboboxRoot(t0) {\n const $ = _c(7);\n let t1;\n if ($[0] !== t0) {\n const {\n icon,\n size,\n ...props\n } = t0;\n let t2;\n if ($[2] !== size) {\n t2 = createQdsSelectApi({\n size\n }, normalizeProps);\n $[2] = size;\n $[3] = t2;\n } else {\n t2 = $[3];\n }\n const qdsContext = t2;\n let t3;\n if ($[4] !== icon || $[5] !== size) {\n t3 = createQdsInputApi({\n size,\n startIcon: icon\n }, normalizeProps);\n $[4] = icon;\n $[5] = size;\n $[6] = t3;\n } else {\n t3 = $[6];\n }\n const qdsInputApi = t3;\n const mergedProps = mergeProps(qdsContext.getRootBindings(), props);\n t1 = jsx(QdsComboboxContextProvider, {\n value: qdsContext,\n children: jsx(QdsInputContextProvider, {\n value: qdsInputApi,\n children: jsx(CoreCombobox.Root, {\n ...mergedProps\n })\n })\n });\n $[0] = t0;\n $[1] = t1;\n } else {\n t1 = $[1];\n }\n return t1;\n}", "import { jsx } from \"react/jsx-runtime\";\nimport { ChevronDown } from \"lucide-react\";\nimport { InlineIconButton } from \"@qualcomm-ui/react/inline-icon-button\";\nimport { CoreCombobox } from \"@qualcomm-ui/react-core/combobox\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxTrigger(t0) {\n const {\n icon: t1,\n render,\n ...props\n } = t0;\n const icon = t1 === undefined ? ChevronDown : t1;\n const qdsContext = useQdsComboboxContext();\n const mergedProps = mergeProps(qdsContext.getIndicatorBindings(), props);\n return jsx(CoreCombobox.Trigger, {\n render: jsx(InlineIconButton, {\n icon,\n render,\n size: qdsContext.size === \"sm\" ? \"sm\" : \"md\",\n variant: \"scale\"\n }),\n ...mergedProps\n });\n}", "import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { Fragment, useEffect, useRef } from \"react\";\nimport { useVirtualizer } from \"@tanstack/react-virtual\";\nimport { useComboboxContext } from \"@qualcomm-ui/react-core/combobox\";\nimport { HighlightText } from \"@qualcomm-ui/react-core/highlight\";\nimport { useMergedRef } from \"@qualcomm-ui/react-core/refs\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nimport { ComboboxContent } from \"./combobox-content\";\nimport { ComboboxItem } from \"./combobox-item\";\nimport { ComboboxItemIndicator } from \"./combobox-item-indicator\";\nimport { ComboboxItemText } from \"./combobox-item-text\";\nimport { useQdsComboboxContext } from \"./qds-combobox-context\";\nexport function ComboboxVirtualContent({\n children,\n highlightMatchingText,\n ref,\n renderItem,\n virtualOptions,\n ...props\n}) {\n const {\n collection,\n inputValue,\n open,\n setScrollToIndexFn\n } = useComboboxContext();\n const qdsContext = useQdsComboboxContext();\n const localRef = useRef(null);\n const mergedRef = useMergedRef(ref, localRef);\n useEffect(() => {\n requestAnimationFrame(() => {\n const positioner = localRef.current.closest(`[data-part=\"positioner\"]`);\n if (!positioner) {\n return;\n }\n positioner.style.setProperty(\"--scrollbar-width\", `${positioner.offsetWidth - positioner.clientWidth}px`);\n });\n }, [inputValue, open]);\n const virtualizer = useVirtualizer({\n count: collection.items.length,\n enabled: open,\n estimateSize: () => qdsContext.size === \"sm\" ? 32 : 40,\n getScrollElement: () => localRef.current.closest(`[data-part=\"positioner\"]`) || localRef.current,\n overscan: 5,\n // account for 2px border\n paddingEnd: 2,\n scrollPaddingEnd: 2,\n ...virtualOptions\n });\n const mergedProps = mergeProps(qdsContext.getContentBindings(), {\n style: {\n height: `${virtualizer.getTotalSize()}px`\n }\n }, props);\n const timerRef = useRef(void 0);\n useEffect(() => {\n const handleScrollToIndexFn = details => {\n const scrollOptions = {\n align: \"auto\",\n behavior: \"auto\"\n };\n if (!details) {\n return;\n }\n if (details.immediate) {\n virtualizer.scrollToIndex(details.index, scrollOptions);\n } else {\n clearTimeout(timerRef.current);\n timerRef.current = setTimeout(() => {\n virtualizer.scrollToIndex(details.index, scrollOptions);\n });\n }\n };\n setScrollToIndexFn(handleScrollToIndexFn);\n }, [setScrollToIndexFn, virtualizer]);\n if (renderItem) {\n return /* @__PURE__ */jsxs(ComboboxContent, {\n ...mergedProps,\n ref: mergedRef,\n \"data-virtual\": true,\n children: [children, virtualizer.getVirtualItems().map(virtualItem => {\n const item = collection.items.at(virtualItem.index);\n const value = collection.getItemValue(item);\n return /* @__PURE__ */jsx(Fragment, {\n children: renderItem({\n \"data-virtual\": \"\",\n item,\n style: {\n \"--virtual-item-start\": `${virtualItem.start}px`\n }\n })\n }, value);\n })]\n });\n }\n return /* @__PURE__ */jsxs(ComboboxContent, {\n ...mergedProps,\n ref: mergedRef,\n \"data-virtual\": true,\n children: [children, virtualizer.getVirtualItems().map(virtualItem_0 => {\n const item_0 = collection.items.at(virtualItem_0.index);\n const label = collection.stringifyItem(item_0);\n const value_0 = collection.getItemValue(item_0);\n return /* @__PURE__ */jsxs(ComboboxItem, {\n \"data-virtual\": true,\n item: item_0,\n style: {\n \"--virtual-item-start\": `${virtualItem_0.start}px`\n },\n children: [/* @__PURE__ */jsx(ComboboxItemText, {\n children: highlightMatchingText ? /* @__PURE__ */jsx(HighlightText, {\n ignoreCase: true,\n query: inputValue,\n text: label ?? \"\"\n }) : label\n }), /* @__PURE__ */jsx(ComboboxItemIndicator, {})]\n }, value_0);\n })]\n });\n}", "import { c as _c } from \"react/compiler-runtime\";\nimport { useComboboxContext } from \"@qualcomm-ui/react-core/combobox\";\nimport { renderProp } from \"@qualcomm-ui/react-core/system\";\nexport function ComboboxContext(t0) {\n const $ = _c(3);\n const {\n children\n } = t0;\n const context = useComboboxContext();\n let t1;\n if ($[0] !== children || $[1] !== context) {\n t1 = renderProp(children, context);\n $[0] = children;\n $[1] = context;\n $[2] = t1;\n } else {\n t1 = $[2];\n }\n return t1;\n}", "import { Combobox as SimpleCombobox } from \"./combobox\";\nimport { ComboboxClearTrigger } from \"./combobox-clear-trigger\";\nimport { ComboboxContent } from \"./combobox-content\";\nimport { ComboboxContext } from \"./combobox-context\";\nimport { ComboboxControl } from \"./combobox-control\";\nimport { ComboboxEmpty } from \"./combobox-empty\";\nimport { ComboboxErrorIndicator } from \"./combobox-error-indicator\";\nimport { ComboboxErrorText } from \"./combobox-error-text\";\nimport { ComboboxHint } from \"./combobox-hint\";\nimport { ComboboxInput } from \"./combobox-input\";\nimport { ComboboxItem } from \"./combobox-item\";\nimport { ComboboxItemIndicator } from \"./combobox-item-indicator\";\nimport { ComboboxItemText } from \"./combobox-item-text\";\nimport { ComboboxItems } from \"./combobox-items\";\nimport { ComboboxLabel } from \"./combobox-label\";\nimport { ComboboxPositioner } from \"./combobox-positioner\";\nimport { ComboboxRoot } from \"./combobox-root\";\nimport { ComboboxTrigger } from \"./combobox-trigger\";\nimport { ComboboxVirtualContent } from \"./combobox-virtual-content\";\nexport * from \"./qds-combobox-context\";\nexport const Combobox = SimpleCombobox;\nCombobox.ClearTrigger = ComboboxClearTrigger;\nCombobox.Content = ComboboxContent;\nCombobox.Context = ComboboxContext;\nCombobox.Control = ComboboxControl;\nCombobox.Empty = ComboboxEmpty;\nCombobox.ErrorIndicator = ComboboxErrorIndicator;\nCombobox.ErrorText = ComboboxErrorText;\nCombobox.Hint = ComboboxHint;\nCombobox.Input = ComboboxInput;\nCombobox.ItemIndicator = ComboboxItemIndicator;\nCombobox.ItemText = ComboboxItemText;\nCombobox.Item = ComboboxItem;\nCombobox.Items = ComboboxItems;\nCombobox.Label = ComboboxLabel;\nCombobox.Positioner = ComboboxPositioner;\nCombobox.Root = ComboboxRoot;\nCombobox.Trigger = ComboboxTrigger;\nCombobox.VirtualContent = ComboboxVirtualContent;"],
5
+ "mappings": ";AAAA,OAAS,OAAAA,MAAK,QAAAC,UAAY,oBAC1B,OAAS,yBAA4B,kCACrC,OAAS,WAAc,iCACvB,OAAS,oBAAuB,gCCHhC,OAAS,QAAW,oBACpB,OAAS,MAAS,eAClB,OAAS,qBAAwB,wCACjC,OAAS,uBAA0B,2BACnC,OAAS,iBAAoB,mCAC7B,OAAS,eAAkB,iCACpB,SAAS,qBAAqB,GAAI,CACvC,GAAM,CACJ,OACA,GAAG,KACL,EAAI,GACE,WAAa,mBAAmB,EAChC,YAAc,WAAW,WAAW,wBAAwB,EAAG,KAAK,EAC1E,OAAO,IAAI,aAAa,aAAc,CACpC,OAAQ,IAAI,iBAAkB,CAC5B,KAAM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AU,gBACnBA,UAAS,QAAU,gBACnBA,UAAS,MAAQ,cACjBA,UAAS,eAAiB,uBAC1BA,UAAS,UAAY,kBACrBA,UAAS,KAAO,aAChBA,UAAS,MAAQ,cACjBA,UAAS,cAAgB,sBACzBA,UAAS,SAAW,iBACpBA,UAAS,KAAO,aAChBA,UAAS,MAAQ,cACjBA,UAAS,MAAQ,cACjBA,UAAS,WAAa,mBACtBA,UAAS,KAAO,aAChBA,UAAS,QAAU,gBACnBA,UAAS,eAAiB",
6
6
  "names": ["jsx", "jsxs", "jsx", "CoreCombobox", "mergeProps", "mergeProps", "jsx", "CoreCombobox", "jsx", "useQdsInputContext", "CoreCombobox", "mergeProps", "useQdsInputContext", "mergeProps", "CoreCombobox", "jsx", "_c", "jsx", "CoreCombobox", "mergeProps", "_c", "mergeProps", "jsx", "CoreCombobox", "jsx", "CoreCombobox", "jsx", "CoreCombobox", "jsx", "CoreCombobox", "_c", "jsx", "useQdsInputContext", "CoreCombobox", "mergeProps", "_c", "jsx", "jsxs", "_c", "jsx", "CoreCombobox", "mergeProps", "_c", "mergeProps", "jsx", "CoreCombobox", "jsx", "CoreCombobox", "_c", "jsx", "CoreCombobox", "mergeProps", "_c", "mergeProps", "jsx", "CoreCombobox", "_c", "t1", "jsx", "jsxs", "jsx", "CoreCombobox", "useComboboxContext", "mergeProps", "useComboboxContext", "mergeProps", "jsx", "CoreCombobox", "_c", "jsx", "CoreCombobox", "mergeProps", "_c", "mergeProps", "jsx", "CoreCombobox", "_c", "jsx", "CoreCombobox", "mergeProps", "_c", "mergeProps", "jsx", "CoreCombobox", "jsx", "InlineIconButton", "CoreCombobox", "mergeProps", "mergeProps", "jsx", "CoreCombobox", "InlineIconButton", "jsx", "jsxs", "Fragment", "useComboboxContext", "HighlightText", "mergeProps", "useComboboxContext", "mergeProps", "jsxs", "jsx", "Fragment", "HighlightText", "jsxs", "jsx", "_c", "useComboboxContext", "renderProp", "Combobox"]
7
7
  }
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import{jsx as jsx10,jsxs as jsxs2}from"react/jsx-runtime";import{useOptionalContentId}from"@qualcomm-ui/react-core/machine";import{useControlledId}from"@qualcomm-ui/react-core/state";import{c as _c}from"react/compiler-runtime";import{jsx}from"react/jsx-runtime";import{X}from"lucide-react";import{InlineIconButton}from"@qualcomm-ui/react/inline-icon-button";import{useQdsInputContext}from"@qualcomm-ui/react/input";import{CorePasswordInput}from"@qualcomm-ui/react-core/password-input";import{mergeProps}from"@qualcomm-ui/utils/merge-props";function PasswordInputClearTrigger(props){let $=_c(4),contextProps=CorePasswordInput.usePasswordInputClearTrigger(),qdsContext=useQdsInputContext(),t0;if($[0]!==contextProps||$[1]!==props||$[2]!==qdsContext){let mergedProps=mergeProps(contextProps,qdsContext.getClearTriggerBindings(),props);t0=jsx(InlineIconButton,{icon:X,...mergedProps}),$[0]=contextProps,$[1]=props,$[2]=qdsContext,$[3]=t0}else t0=$[3];return t0}import{c as _c2}from"react/compiler-runtime";import{jsx as jsx2}from"react/jsx-runtime";import{InputErrorIndicator}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput2}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps2}from"@qualcomm-ui/utils/merge-props";function PasswordInputErrorIndicator(props){let $=_c2(3),contextProps=CorePasswordInput2.usePasswordInputErrorIndicator(),t0;if($[0]!==contextProps||$[1]!==props){let mergedProps=mergeProps2(contextProps,props);t0=jsx2(InputErrorIndicator,{...mergedProps}),$[0]=contextProps,$[1]=props,$[2]=t0}else t0=$[2];return t0}import{c as _c3}from"react/compiler-runtime";import{jsx as jsx3}from"react/jsx-runtime";import{InputErrorText}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput3}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps3}from"@qualcomm-ui/utils/merge-props";function PasswordInputErrorText(t0){let $=_c3(2),{children,id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=CorePasswordInput3.usePasswordInputErrorText(t1),mergedProps=mergeProps3(contextProps,props);return jsx3(InputErrorText,{...mergedProps,children})}import{c as _c4}from"react/compiler-runtime";import{jsx as jsx4}from"react/jsx-runtime";import{useQdsInputContext as useQdsInputContext2}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput4}from"@qualcomm-ui/react-core/password-input";import{PolymorphicElement}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps4}from"@qualcomm-ui/utils/merge-props";function PasswordInputHint(t0){let $=_c4(2),{children,id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=CorePasswordInput4.usePasswordInputHint(t1),qdsContext=useQdsInputContext2(),mergedProps=mergeProps4(contextProps,qdsContext.getHintBindings(),props);return jsx4(PolymorphicElement,{as:"span",...mergedProps,children})}import{c as _c5}from"react/compiler-runtime";import{jsx as jsx5}from"react/jsx-runtime";import{useQdsInputContext as useQdsInputContext3}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput5}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps5}from"@qualcomm-ui/utils/merge-props";function PasswordInputInput(t0){let $=_c5(2),{id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=CorePasswordInput5.usePasswordInputInput(t1),qdsContext=useQdsInputContext3(),mergedProps=mergeProps5(contextProps,qdsContext.getInputBindings(),props);return jsx5("input",{...mergedProps})}import{jsx as jsx6,jsxs}from"react/jsx-runtime";import{InputStartIcon,useQdsInputContext as useQdsInputContext4}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput6}from"@qualcomm-ui/react-core/password-input";import{PolymorphicElement as PolymorphicElement2}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps6}from"@qualcomm-ui/utils/merge-props";function PasswordInputInputGroup(t0){let{children,...props}=t0,contextProps=CorePasswordInput6.usePasswordInputInputGroup(),qdsContext=useQdsInputContext4(),mergedProps=mergeProps6(contextProps,qdsContext.getGroupBindings(),props);return jsxs(PolymorphicElement2,{as:"div",...mergedProps,children:[qdsContext.startIcon?jsx6(InputStartIcon,{icon:qdsContext.startIcon}):null,children]})}import{c as _c6}from"react/compiler-runtime";import{jsx as jsx7}from"react/jsx-runtime";import{InputLabel}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput7,usePasswordInputContext}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps7}from"@qualcomm-ui/utils/merge-props";function PasswordInputLabel(props){let $=_c6(6),context=usePasswordInputContext(),t0;$[0]!==props.id?(t0={id:props.id},$[0]=props.id,$[1]=t0):t0=$[1];let contextProps=CorePasswordInput7.usePasswordInputLabel(t0),t1;if($[2]!==context.required||$[3]!==contextProps||$[4]!==props){let mergedProps=mergeProps7(contextProps,props);t1=jsx7(InputLabel,{required:context.required,...mergedProps}),$[2]=context.required,$[3]=contextProps,$[4]=props,$[5]=t1}else t1=$[5];return t1}import{c as _c7}from"react/compiler-runtime";import{jsx as jsx8}from"react/jsx-runtime";import"react";import{splitPasswordInputProps}from"@qualcomm-ui/core/password-input";import{createQdsInputApi}from"@qualcomm-ui/qds-core/input";import{QdsInputContextProvider}from"@qualcomm-ui/react/input";import{normalizeProps}from"@qualcomm-ui/react-core/machine";import{CorePasswordInput as CorePasswordInput8,PasswordInputContextProvider}from"@qualcomm-ui/react-core/password-input";import{PolymorphicElement as PolymorphicElement3}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps8}from"@qualcomm-ui/utils/merge-props";function PasswordInputRoot(t0){let $=_c7(3),{children,size,startIcon,...props}=t0,[textInputProps,localProps]=splitPasswordInputProps(props),context=CorePasswordInput8.usePasswordInput(textInputProps),t1;$[0]!==size||$[1]!==startIcon?(t1=createQdsInputApi({size,startIcon},normalizeProps),$[0]=size,$[1]=startIcon,$[2]=t1):t1=$[2];let qdsContext=t1,mergedProps=mergeProps8(context.getRootBindings(),qdsContext.getRootBindings(),localProps);return jsx8(PasswordInputContextProvider,{value:context,children:jsx8(QdsInputContextProvider,{value:qdsContext,children:jsx8(PolymorphicElement3,{as:"div",...mergedProps,children})})})}import{c as _c8}from"react/compiler-runtime";import{jsx as jsx9}from"react/jsx-runtime";import{Eye,EyeOff}from"lucide-react";import{passwordInputClasses}from"@qualcomm-ui/qds-core/password-input";import{InlineIconButton as InlineIconButton2}from"@qualcomm-ui/react/inline-icon-button";import{CorePasswordInput as CorePasswordInput9,usePasswordInputContext as usePasswordInputContext2}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps9}from"@qualcomm-ui/utils/merge-props";function PasswordInputVisibilityTrigger(t0){let $=_c8(2),{children,iconOff:t1,iconOn:t2,id,...props}=t0,iconOff=t1===void 0?EyeOff:t1,iconOn=t2===void 0?Eye:t2,context=usePasswordInputContext2(),t3;$[0]!==id?(t3={id},$[0]=id,$[1]=t3):t3=$[1];let contextProps=CorePasswordInput9.usePasswordInputVisibilityTrigger(t3),mergedProps=mergeProps9(contextProps,{className:passwordInputClasses.visibilityTrigger},props);return jsx9(InlineIconButton2,{icon:context.visible?iconOff:iconOn,...mergedProps,children})}function PasswordInput(t0){let{clearable,errorIndicatorProps,errorText,errorTextProps,hint,hintProps,inputGroupProps,inputProps,label,labelProps,placeholder,visibilityTriggerProps,...props}=t0,labelContent=label||labelProps?.children,errorTextContent=errorText||errorTextProps?.children,hintContent=hint||hintProps?.children,visibilityTriggerId=useControlledId(visibilityTriggerProps?.id),ids={errorText:useOptionalContentId(errorTextContent,errorTextProps),hint:useOptionalContentId(hintContent,hintProps),input:useControlledId(inputProps?.id),label:useOptionalContentId(labelContent,labelProps),visibilityTrigger:visibilityTriggerId,...props.ids};return jsxs2(PasswordInputRoot,{...props,ids,children:[labelContent?jsx10(PasswordInputLabel,{...labelProps,id:ids.label,children:labelContent}):null,jsxs2(PasswordInputInputGroup,{...inputGroupProps,children:[jsx10(PasswordInputInput,{placeholder,...inputProps,id:ids.input}),clearable?jsx10(PasswordInputClearTrigger,{}):null,jsx10(PasswordInputVisibilityTrigger,{...visibilityTriggerProps,id:ids.visibilityTrigger}),jsx10(PasswordInputErrorIndicator,{...errorIndicatorProps})]}),hintContent?jsx10(PasswordInputHint,{...hintProps,id:ids.hint,children:hintContent}):null,errorTextContent?jsx10(PasswordInputErrorText,{...errorTextProps,id:ids.errorText,children:errorTextContent}):null]})}var PasswordInput2=PasswordInput;PasswordInput2.ClearTrigger=PasswordInputClearTrigger;PasswordInput2.ErrorIndicator=PasswordInputErrorIndicator;PasswordInput2.ErrorText=PasswordInputErrorText;PasswordInput2.Hint=PasswordInputHint;PasswordInput2.InputGroup=PasswordInputInputGroup;PasswordInput2.Input=PasswordInputInput;PasswordInput2.Label=PasswordInputLabel;PasswordInput2.Root=PasswordInputRoot;PasswordInput2.VisibilityTrigger=PasswordInputVisibilityTrigger;export{PasswordInput2 as PasswordInput};
2
+ import{jsx as jsx10,jsxs as jsxs2}from"react/jsx-runtime";import{useOptionalContentId}from"@qualcomm-ui/react-core/machine";import{useControlledId}from"@qualcomm-ui/react-core/state";import{c as _c}from"react/compiler-runtime";import{jsx}from"react/jsx-runtime";import{X}from"lucide-react";import{InlineIconButton}from"@qualcomm-ui/react/inline-icon-button";import{useQdsInputContext}from"@qualcomm-ui/react/input";import{CorePasswordInput}from"@qualcomm-ui/react-core/password-input";import{mergeProps}from"@qualcomm-ui/utils/merge-props";function PasswordInputClearTrigger(props){let $=_c(4),contextProps=CorePasswordInput.usePasswordInputClearTrigger(),qdsContext=useQdsInputContext(),t0;if($[0]!==contextProps||$[1]!==props||$[2]!==qdsContext){let mergedProps=mergeProps(contextProps,qdsContext.getClearTriggerBindings(),props);t0=jsx(InlineIconButton,{icon:X,...mergedProps}),$[0]=contextProps,$[1]=props,$[2]=qdsContext,$[3]=t0}else t0=$[3];return t0}import{c as _c2}from"react/compiler-runtime";import{jsx as jsx2}from"react/jsx-runtime";import{InputErrorIndicator}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput2}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps2}from"@qualcomm-ui/utils/merge-props";function PasswordInputErrorIndicator(props){let $=_c2(3),contextProps=CorePasswordInput2.usePasswordInputErrorIndicator(),t0;if($[0]!==contextProps||$[1]!==props){let mergedProps=mergeProps2(contextProps,props);t0=jsx2(InputErrorIndicator,{...mergedProps}),$[0]=contextProps,$[1]=props,$[2]=t0}else t0=$[2];return t0}import{c as _c3}from"react/compiler-runtime";import{jsx as jsx3}from"react/jsx-runtime";import{InputErrorText}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput3}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps3}from"@qualcomm-ui/utils/merge-props";function PasswordInputErrorText(t0){let $=_c3(2),{children,id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=CorePasswordInput3.usePasswordInputErrorText(t1),mergedProps=mergeProps3(contextProps,props);return jsx3(InputErrorText,{...mergedProps,children})}import{c as _c4}from"react/compiler-runtime";import{jsx as jsx4}from"react/jsx-runtime";import{useQdsInputContext as useQdsInputContext2}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput4}from"@qualcomm-ui/react-core/password-input";import{PolymorphicElement}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps4}from"@qualcomm-ui/utils/merge-props";function PasswordInputHint(t0){let $=_c4(2),{children,id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=CorePasswordInput4.usePasswordInputHint(t1),qdsContext=useQdsInputContext2(),mergedProps=mergeProps4(contextProps,qdsContext.getHintBindings(),props);return jsx4(PolymorphicElement,{as:"span",...mergedProps,children})}import{c as _c5}from"react/compiler-runtime";import{jsx as jsx5}from"react/jsx-runtime";import{useQdsInputContext as useQdsInputContext3}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput5}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps5}from"@qualcomm-ui/utils/merge-props";function PasswordInputInput(t0){let $=_c5(2),{id,...props}=t0,t1;$[0]!==id?(t1={id},$[0]=id,$[1]=t1):t1=$[1];let contextProps=CorePasswordInput5.usePasswordInputInput(t1),qdsContext=useQdsInputContext3(),mergedProps=mergeProps5(contextProps,qdsContext.getInputBindings(),props);return jsx5("input",{...mergedProps})}import{jsx as jsx6,jsxs}from"react/jsx-runtime";import{InputStartIcon,useQdsInputContext as useQdsInputContext4}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput6}from"@qualcomm-ui/react-core/password-input";import{PolymorphicElement as PolymorphicElement2}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps6}from"@qualcomm-ui/utils/merge-props";function PasswordInputInputGroup(t0){let{children,...props}=t0,contextProps=CorePasswordInput6.usePasswordInputInputGroup(),qdsContext=useQdsInputContext4(),mergedProps=mergeProps6(contextProps,qdsContext.getGroupBindings(),props);return jsxs(PolymorphicElement2,{as:"div",...mergedProps,children:[qdsContext.startIcon?jsx6(InputStartIcon,{icon:qdsContext.startIcon}):null,children]})}import{c as _c6}from"react/compiler-runtime";import{jsx as jsx7}from"react/jsx-runtime";import{InputLabel}from"@qualcomm-ui/react/input";import{CorePasswordInput as CorePasswordInput7,usePasswordInputContext}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps7}from"@qualcomm-ui/utils/merge-props";function PasswordInputLabel(props){let $=_c6(6),context=usePasswordInputContext(),t0;$[0]!==props.id?(t0={id:props.id},$[0]=props.id,$[1]=t0):t0=$[1];let contextProps=CorePasswordInput7.usePasswordInputLabel(t0),t1;if($[2]!==context.required||$[3]!==contextProps||$[4]!==props){let mergedProps=mergeProps7(contextProps,props);t1=jsx7(InputLabel,{required:context.required,...mergedProps}),$[2]=context.required,$[3]=contextProps,$[4]=props,$[5]=t1}else t1=$[5];return t1}import{c as _c7}from"react/compiler-runtime";import{jsx as jsx8}from"react/jsx-runtime";import"react";import{splitPasswordInputProps}from"@qualcomm-ui/core/password-input";import{createQdsInputApi}from"@qualcomm-ui/qds-core/input";import{QdsInputContextProvider}from"@qualcomm-ui/react/input";import{normalizeProps}from"@qualcomm-ui/react-core/machine";import{CorePasswordInput as CorePasswordInput8,PasswordInputContextProvider}from"@qualcomm-ui/react-core/password-input";import{PolymorphicElement as PolymorphicElement3}from"@qualcomm-ui/react-core/system";import{mergeProps as mergeProps8}from"@qualcomm-ui/utils/merge-props";function PasswordInputRoot(t0){let $=_c7(3),{children,size,startIcon,...props}=t0,[textInputProps,localProps]=splitPasswordInputProps(props),context=CorePasswordInput8.usePasswordInput(textInputProps),t1;$[0]!==size||$[1]!==startIcon?(t1=createQdsInputApi({size,startIcon},normalizeProps),$[0]=size,$[1]=startIcon,$[2]=t1):t1=$[2];let qdsContext=t1,mergedProps=mergeProps8(context.getRootBindings(),qdsContext.getRootBindings(),localProps);return jsx8(PasswordInputContextProvider,{value:context,children:jsx8(QdsInputContextProvider,{value:qdsContext,children:jsx8(PolymorphicElement3,{as:"div",...mergedProps,children})})})}import{c as _c8}from"react/compiler-runtime";import{jsx as jsx9}from"react/jsx-runtime";import{Eye,EyeOff}from"lucide-react";import{passwordInputClasses}from"@qualcomm-ui/qds-core/password-input";import{InlineIconButton as InlineIconButton2}from"@qualcomm-ui/react/inline-icon-button";import{CorePasswordInput as CorePasswordInput9,usePasswordInputContext as usePasswordInputContext2}from"@qualcomm-ui/react-core/password-input";import{mergeProps as mergeProps9}from"@qualcomm-ui/utils/merge-props";function PasswordInputVisibilityTrigger(t0){let $=_c8(2),{children,iconOff:t1,iconOn:t2,id,...props}=t0,iconOff=t1===void 0?EyeOff:t1,iconOn=t2===void 0?Eye:t2,context=usePasswordInputContext2(),t3;$[0]!==id?(t3={id},$[0]=id,$[1]=t3):t3=$[1];let contextProps=CorePasswordInput9.usePasswordInputVisibilityTrigger(t3),mergedProps=mergeProps9(contextProps,{className:passwordInputClasses.visibilityTrigger},props);return jsx9(InlineIconButton2,{icon:context.visible?iconOff:iconOn,...mergedProps,children})}function PasswordInput(t0){let{"aria-label":ariaLabel,"aria-labelledby":ariaLabelledBy,clearable,errorIndicatorProps,errorText,errorTextProps,hint,hintProps,inputGroupProps,inputProps:inputPropsProp,label,labelProps,placeholder,visibilityTriggerProps,...props}=t0,labelContent=label||labelProps?.children,errorTextContent=errorText||errorTextProps?.children,hintContent=hint||hintProps?.children,inputProps={...inputPropsProp};ariaLabel!==void 0&&(inputProps["aria-label"]=ariaLabel),ariaLabelledBy!==void 0&&(inputProps["aria-labelledby"]=ariaLabelledBy);let visibilityTriggerId=useControlledId(visibilityTriggerProps?.id),ids={errorText:useOptionalContentId(errorTextContent,errorTextProps),hint:useOptionalContentId(hintContent,hintProps),input:useControlledId(inputProps?.id),label:useOptionalContentId(labelContent,labelProps),visibilityTrigger:visibilityTriggerId,...props.ids};return jsxs2(PasswordInputRoot,{...props,ids,children:[labelContent?jsx10(PasswordInputLabel,{...labelProps,id:ids.label,children:labelContent}):null,jsxs2(PasswordInputInputGroup,{...inputGroupProps,children:[jsx10(PasswordInputInput,{placeholder,...inputProps,id:ids.input}),clearable?jsx10(PasswordInputClearTrigger,{}):null,jsx10(PasswordInputVisibilityTrigger,{...visibilityTriggerProps,id:ids.visibilityTrigger}),jsx10(PasswordInputErrorIndicator,{...errorIndicatorProps})]}),hintContent?jsx10(PasswordInputHint,{...hintProps,id:ids.hint,children:hintContent}):null,errorTextContent?jsx10(PasswordInputErrorText,{...errorTextProps,id:ids.errorText,children:errorTextContent}):null]})}var PasswordInput2=PasswordInput;PasswordInput2.ClearTrigger=PasswordInputClearTrigger;PasswordInput2.ErrorIndicator=PasswordInputErrorIndicator;PasswordInput2.ErrorText=PasswordInputErrorText;PasswordInput2.Hint=PasswordInputHint;PasswordInput2.InputGroup=PasswordInputInputGroup;PasswordInput2.Input=PasswordInputInput;PasswordInput2.Label=PasswordInputLabel;PasswordInput2.Root=PasswordInputRoot;PasswordInput2.VisibilityTrigger=PasswordInputVisibilityTrigger;export{PasswordInput2 as PasswordInput};
3
3
  //# sourceMappingURL=index.js.map