@servicetitan/anvil2 1.40.1 → 1.40.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{Calendar-C099gPDT.js → Calendar-2q8zRbMK.js} +2 -2
  3. package/dist/{Calendar-C099gPDT.js.map → Calendar-2q8zRbMK.js.map} +1 -1
  4. package/dist/{Calendar-B2lMJY8r-Ddu4TfZW.js → Calendar-KVYGk3wS-CEptqxjI.js} +3 -3
  5. package/dist/{Calendar-B2lMJY8r-Ddu4TfZW.js.map → Calendar-KVYGk3wS-CEptqxjI.js.map} +1 -1
  6. package/dist/Calendar.js +1 -1
  7. package/dist/{Checkbox-B25R5cdM-CQSPNPUv.js → Checkbox-Qucv_PK8-Bovwdnlj.js} +7 -18
  8. package/dist/Checkbox-Qucv_PK8-Bovwdnlj.js.map +1 -0
  9. package/dist/{Checkbox-BEM_rIup.js → Checkbox-cfgZP7Z2.js} +2 -2
  10. package/dist/{Checkbox-BEM_rIup.js.map → Checkbox-cfgZP7Z2.js.map} +1 -1
  11. package/dist/Checkbox.js +1 -1
  12. package/dist/{Combobox-mdEmKiV9.js → Combobox-3l2SK47T.js} +4 -4
  13. package/dist/{Combobox-mdEmKiV9.js.map → Combobox-3l2SK47T.js.map} +1 -1
  14. package/dist/Combobox.js +1 -1
  15. package/dist/{DateField-Cwvw5EXY.js → DateField-CfNLRY0D.js} +6 -6
  16. package/dist/{DateField-Cwvw5EXY.js.map → DateField-CfNLRY0D.js.map} +1 -1
  17. package/dist/DateField.js +1 -1
  18. package/dist/{DateFieldRange-BmokKaNf.js → DateFieldRange-BEL4Jdy8.js} +2 -2
  19. package/dist/{DateFieldRange-BmokKaNf.js.map → DateFieldRange-BEL4Jdy8.js.map} +1 -1
  20. package/dist/{DateFieldRange-DxR0h7Y6-CV2wAhJB.js → DateFieldRange-DtppOifM-DZvtSHar.js} +5 -5
  21. package/dist/{DateFieldRange-DxR0h7Y6-CV2wAhJB.js.map → DateFieldRange-DtppOifM-DZvtSHar.js.map} +1 -1
  22. package/dist/DateFieldRange.js +1 -1
  23. package/dist/{DateFieldSingle-BlKlfasz.js → DateFieldSingle-CJ6j0p1L.js} +2 -2
  24. package/dist/{DateFieldSingle-BlKlfasz.js.map → DateFieldSingle-CJ6j0p1L.js.map} +1 -1
  25. package/dist/DateFieldSingle.js +1 -1
  26. package/dist/{DaysOfTheWeek-CnTEWxtN.js → DaysOfTheWeek-Dl31wkmU.js} +2 -2
  27. package/dist/{DaysOfTheWeek-CnTEWxtN.js.map → DaysOfTheWeek-Dl31wkmU.js.map} +1 -1
  28. package/dist/DaysOfTheWeek.js +1 -1
  29. package/dist/{Dialog-CTf90W9W.js → Dialog-CJZEBa5r.js} +14 -13
  30. package/dist/Dialog-CJZEBa5r.js.map +1 -0
  31. package/dist/Dialog.js +1 -1
  32. package/dist/{Drawer-BmyhW9rQ.js → Drawer-Cj3nJc4k.js} +2 -2
  33. package/dist/{Drawer-BmyhW9rQ.js.map → Drawer-Cj3nJc4k.js.map} +1 -1
  34. package/dist/Drawer.js +1 -1
  35. package/dist/{InputMask-CzTlJ1ya.js → InputMask-BdLGTTAk.js} +2 -2
  36. package/dist/{InputMask-CzTlJ1ya.js.map → InputMask-BdLGTTAk.js.map} +1 -1
  37. package/dist/{InputMask-C9FmGrFp-BEgnXA0F.js → InputMask-Hn-xudp1-BKhtZ7Zk.js} +15 -3
  38. package/dist/InputMask-Hn-xudp1-BKhtZ7Zk.js.map +1 -0
  39. package/dist/InputMask.js +1 -1
  40. package/dist/{ListView-CULEOIJt.js → ListView-_YFTewqc.js} +3 -3
  41. package/dist/{ListView-CULEOIJt.js.map → ListView-_YFTewqc.js.map} +1 -1
  42. package/dist/ListView.js +1 -1
  43. package/dist/{Menu-C9fOIYH7.js → Menu-1EwVMNIw.js} +2 -2
  44. package/dist/{Menu-C9fOIYH7.js.map → Menu-1EwVMNIw.js.map} +1 -1
  45. package/dist/{Menu-Dh8roQgP-De9kBXuN.js → Menu-CffX1bPZ-BeEOvryY.js} +3 -3
  46. package/dist/{Menu-Dh8roQgP-De9kBXuN.js.map → Menu-CffX1bPZ-BeEOvryY.js.map} +1 -1
  47. package/dist/Menu.js +1 -1
  48. package/dist/{Overflow-BrXwlYpn-CtqaiNgb.js → Overflow-CFClqFVC-BKqOBCan.js} +43 -17
  49. package/dist/Overflow-CFClqFVC-BKqOBCan.js.map +1 -0
  50. package/dist/{Overflow-BrXwlYpn.css → Overflow-CFClqFVC.css} +29 -26
  51. package/dist/{Overflow-B6rIOkAI.js → Overflow-w-3_04fS.js} +2 -2
  52. package/dist/{Overflow-B6rIOkAI.js.map → Overflow-w-3_04fS.js.map} +1 -1
  53. package/dist/Overflow.js +1 -1
  54. package/dist/{Page--tqLz6hu.js → Page-BikjTlTM.js} +5 -5
  55. package/dist/{Page--tqLz6hu.js.map → Page-BikjTlTM.js.map} +1 -1
  56. package/dist/Page.js +1 -1
  57. package/dist/Pagination.js +1 -1
  58. package/dist/Pagination.js.map +1 -1
  59. package/dist/{Popover-DwWPCZH--BIhxtOlK.js → Popover-jcmNuir0-DjlCqU1z.js} +10 -50
  60. package/dist/Popover-jcmNuir0-DjlCqU1z.js.map +1 -0
  61. package/dist/{Popover-DVPij2bz.js → Popover-rB4BVx-A.js} +2 -2
  62. package/dist/{Popover-DVPij2bz.js.map → Popover-rB4BVx-A.js.map} +1 -1
  63. package/dist/Popover.js +1 -1
  64. package/dist/{ProgressBar-DOtekmJS.js → ProgressBar-BL34rg_J.js} +2 -2
  65. package/dist/{ProgressBar-DOtekmJS.js.map → ProgressBar-BL34rg_J.js.map} +1 -1
  66. package/dist/{ProgressBar-Dg77Xf_k-CyD-A4pF.js → ProgressBar-CzXzPpIX-Clg1J71o.js} +58 -12
  67. package/dist/ProgressBar-CzXzPpIX-Clg1J71o.js.map +1 -0
  68. package/dist/ProgressBar.js +1 -1
  69. package/dist/{Radio-BZ44ktjU-CZuSckW6.js → Radio-BnOSIK1U-1MmGQFPi.js} +3 -3
  70. package/dist/{Radio-BZ44ktjU-CZuSckW6.js.map → Radio-BnOSIK1U-1MmGQFPi.js.map} +1 -1
  71. package/dist/{Radio-BpE1s8OT.js → Radio-BzZUxQa6.js} +2 -2
  72. package/dist/{Radio-BpE1s8OT.js.map → Radio-BzZUxQa6.js.map} +1 -1
  73. package/dist/Radio.js +1 -1
  74. package/dist/{SearchField-BQY7LHe2.js → SearchField-BGPqpnVd.js} +2 -2
  75. package/dist/{SearchField-BQY7LHe2.js.map → SearchField-BGPqpnVd.js.map} +1 -1
  76. package/dist/SearchField.js +1 -1
  77. package/dist/{SelectCard-BaKoHPjf-BLXKVIys.js → SelectCard-ynL5QcZD-BtBzMtyR.js} +4 -4
  78. package/dist/{SelectCard-BaKoHPjf-BLXKVIys.js.map → SelectCard-ynL5QcZD-BtBzMtyR.js.map} +1 -1
  79. package/dist/SelectCard.js +1 -1
  80. package/dist/{SelectCardGroup-BVGPNZft.js → SelectCardGroup-D6GuJJB2.js} +2 -2
  81. package/dist/{SelectCardGroup-BVGPNZft.js.map → SelectCardGroup-D6GuJJB2.js.map} +1 -1
  82. package/dist/{SelectTrigger-DMMw_LkZ.js → SelectTrigger-Bo2VPAD0.js} +2 -2
  83. package/dist/{SelectTrigger-DMMw_LkZ.js.map → SelectTrigger-Bo2VPAD0.js.map} +1 -1
  84. package/dist/SelectTrigger.js +1 -1
  85. package/dist/{SelectTriggerBase-A6_sIBpr-DfI0HLx2.js → SelectTriggerBase-BGHwx0mN-B3HiW5tQ.js} +3 -3
  86. package/dist/{SelectTriggerBase-A6_sIBpr-DfI0HLx2.js.map → SelectTriggerBase-BGHwx0mN-B3HiW5tQ.js.map} +1 -1
  87. package/dist/{Stepper-CwIV7ZiT.js → Stepper-BtbDBIzz.js} +2 -2
  88. package/dist/{Stepper-CwIV7ZiT.js.map → Stepper-BtbDBIzz.js.map} +1 -1
  89. package/dist/Stepper.js +1 -1
  90. package/dist/{TextField-CG6Nv-0C-jX4uvHT8.js → TextField-BIeCvDD--C7yp05g5.js} +3 -3
  91. package/dist/{TextField-CG6Nv-0C-jX4uvHT8.js.map → TextField-BIeCvDD--C7yp05g5.js.map} +1 -1
  92. package/dist/{TextField-DoqYMou3.js → TextField-COXABNrR.js} +2 -2
  93. package/dist/{TextField-DoqYMou3.js.map → TextField-COXABNrR.js.map} +1 -1
  94. package/dist/TextField.css +27 -24
  95. package/dist/TextField.js +1 -1
  96. package/dist/TextField.module-EkKlj66e-EkKlj66e.js +20 -0
  97. package/dist/{TextField.module-ChLlwuT--ChLlwuT-.js.map → TextField.module-EkKlj66e-EkKlj66e.js.map} +1 -1
  98. package/dist/{Textarea-6omWLtXb.js → Textarea-D6K3Jc5_.js} +2 -2
  99. package/dist/{Textarea-6omWLtXb.js.map → Textarea-D6K3Jc5_.js.map} +1 -1
  100. package/dist/Textarea.js +1 -1
  101. package/dist/Toast.js +1 -1
  102. package/dist/{Toolbar-B7NKUkgL.js → Toolbar-CLsgDAKk.js} +3 -3
  103. package/dist/{Toolbar-B7NKUkgL.js.map → Toolbar-CLsgDAKk.js.map} +1 -1
  104. package/dist/Toolbar.js +1 -1
  105. package/dist/{Tooltip-BcUIIzkM.js → Tooltip-B_swJyoW.js} +2 -2
  106. package/dist/{Tooltip-BcUIIzkM.js.map → Tooltip-B_swJyoW.js.map} +1 -1
  107. package/dist/Tooltip.js +1 -1
  108. package/dist/components/Dialog/Dialog.d.ts +1 -0
  109. package/dist/components/Drawer/Drawer.d.ts +1 -0
  110. package/dist/index.js +26 -26
  111. package/dist/{toast-ByZDutpT.js → toast-CJSBieY0.js} +2 -2
  112. package/dist/{toast-ByZDutpT.js.map → toast-CJSBieY0.js.map} +1 -1
  113. package/package.json +2 -2
  114. package/dist/Checkbox-B25R5cdM-CQSPNPUv.js.map +0 -1
  115. package/dist/Dialog-CTf90W9W.js.map +0 -1
  116. package/dist/InputMask-C9FmGrFp-BEgnXA0F.js.map +0 -1
  117. package/dist/Overflow-BrXwlYpn-CtqaiNgb.js.map +0 -1
  118. package/dist/Popover-DwWPCZH--BIhxtOlK.js.map +0 -1
  119. package/dist/ProgressBar-Dg77Xf_k-CyD-A4pF.js.map +0 -1
  120. package/dist/TextField.module-ChLlwuT--ChLlwuT-.js +0 -20
  121. /package/dist/{Calendar-B2lMJY8r.css → Calendar-KVYGk3wS.css} +0 -0
  122. /package/dist/{Menu-Dh8roQgP.css → Menu-CffX1bPZ.css} +0 -0
  123. /package/dist/{Popover-DwWPCZH-.css → Popover-jcmNuir0.css} +0 -0
  124. /package/dist/{ProgressBar-Dg77Xf_k.css → ProgressBar-CzXzPpIX.css} +0 -0
  125. /package/dist/{Radio-BZ44ktjU.css → Radio-BnOSIK1U.css} +0 -0
  126. /package/dist/{SelectCard-BaKoHPjf.css → SelectCard-ynL5QcZD.css} +0 -0
  127. /package/dist/{SelectTriggerBase-A6_sIBpr.css → SelectTriggerBase-BGHwx0mN.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Stepper-CwIV7ZiT.js","sources":["../../hammer-react/dist/Stepper-DMaF9Zis.js","../src/components/Stepper/Stepper.tsx"],"sourcesContent":["import { jsxs, jsx, Fragment } from 'react/jsx-runtime';\nimport { forwardRef, useRef, useContext, useState, useEffect, createContext, useMemo } from 'react';\nimport cx from 'classnames';\nimport { O as Overflow } from './Overflow-BrXwlYpn.js';\nimport { motion } from '/home/runner/work/hammer/hammer/node_modules/.pnpm/motion@12.4.10_@emotion+is-prop-valid@1.3.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/motion/dist/es/motion/lib/react.mjs';\nimport { core } from '@servicetitan/hammer-token';\nimport { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v.js';\nimport { B as Button } from './Button-BaHFf1AT.js';\nimport { u as useMergeRefs } from './useMergeRefs-Bde85AWI.js';\nimport { I as Icon } from './Icon-B6HmlQiR.js';\nimport Check from '@servicetitan/hammer-icon/mdi/round/check.svg';\n\nimport './Stepper.css';const bar = \"_bar_txl4u_26\";\nconst label$1 = \"_label_txl4u_42\";\nconst circle = \"_circle_txl4u_49\";\nconst styles$3 = {\n\t\"stepper-step\": \"_stepper-step_txl4u_2\",\n\tbar: bar,\n\tlabel: label$1,\n\tcircle: circle,\n\t\"all-completed\": \"_all-completed_txl4u_80\",\n\t\"can-navigate\": \"_can-navigate_txl4u_83\"\n};\n\nconst StepperStep = forwardRef(\n (props, ref) => {\n const stepRef = useRef(null);\n const {\n current,\n items,\n setCurrent,\n focus,\n setFocus,\n allCompleted,\n allowNavigateToPrevStep\n } = useContext(StepperContext);\n const {\n onClick,\n children,\n onFocus,\n onKeyDown,\n controls,\n className,\n ...rest\n } = props;\n const index = useRef();\n const [selected, setSelected] = useState(false);\n const [completed, setCompleted] = useState(\n // Below is to be used for custom overriding\n // completed state for a step\n // Check Stepper.stories.tsx#103 for the use case\n stepRef.current?.getAttribute(\"data-completed\") === \"true\" ? true : void 0\n );\n useEffect(() => {\n if (!items) return;\n index.current = Array.prototype.indexOf.call(items, stepRef.current);\n setCompleted(index.current < current);\n setSelected(index.current === current);\n }, [current, items]);\n const stepClassNames = cx(styles$3[\"stepper-step\"], className, {\n [styles$3[\"can-navigate\"]]: allowNavigateToPrevStep,\n [styles$3[\"all-completed\"]]: allCompleted\n });\n const onClickHandler = (e) => {\n onClick?.(e, index.current);\n if (!allowNavigateToPrevStep || selected || index.current === void 0 || !items || index.current > current) {\n return;\n }\n setCurrent(index.current ?? 0);\n setFocus(index.current);\n items[index.current].focus();\n };\n const onKeyDownHandler = (e) => {\n onKeyDown?.(e);\n const focusableItems = Array.prototype.filter.call(\n items,\n (item) => item.getAttribute(\"data-completed\") === \"true\" || item.getAttribute(\"aria-selected\") === \"true\"\n );\n const prevFocus = focus - 1;\n const nextFocus = focus + 1;\n switch (e.code) {\n case \"Enter\":\n case \"Space\":\n e.preventDefault();\n setCurrent(focus);\n break;\n case \"ArrowRight\":\n e.preventDefault();\n if (nextFocus === focusableItems.length) {\n setFocus(0);\n focusableItems[0].focus();\n focusableItems[0].setAttribute(\"tabindex\", \"0\");\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n return;\n }\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n setFocus(nextFocus);\n focusableItems[nextFocus].focus();\n focusableItems[nextFocus].setAttribute(\"tabindex\", \"0\");\n break;\n case \"ArrowLeft\":\n e.preventDefault();\n if (focus === 0) {\n const lastItemIndex = focusableItems.length - 1;\n setFocus(lastItemIndex);\n focusableItems[lastItemIndex].focus();\n focusableItems[lastItemIndex].setAttribute(\"tabindex\", \"0\");\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n return;\n }\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n setFocus(prevFocus);\n focusableItems[prevFocus].focus();\n focusableItems[prevFocus].setAttribute(\"tabindex\", \"0\");\n break;\n }\n };\n return /* @__PURE__ */ jsxs(\n \"button\",\n {\n type: \"button\",\n role: \"tab\",\n \"data-anv\": \"stepper-step\",\n className: stepClassNames,\n \"aria-selected\": selected,\n \"aria-controls\": controls,\n tabIndex: allowNavigateToPrevStep && selected ? 0 : -1,\n \"data-completed\": completed,\n onClick: onClickHandler,\n onKeyDown: allowNavigateToPrevStep ? onKeyDownHandler : onKeyDown,\n ...rest,\n ref: useMergeRefs([stepRef, ref]),\n children: [\n /* @__PURE__ */ jsx(\"span\", { className: styles$3.bar }),\n /* @__PURE__ */ jsxs(\"span\", { className: styles$3.label, children: [\n /* @__PURE__ */ jsx(\"span\", { className: styles$3.circle, children: /* @__PURE__ */ jsx(Icon, { svg: Check, inherit: true, \"aria-hidden\": true }) }),\n children\n ] })\n ]\n }\n );\n }\n);\nStepperStep.displayName = \"StepperStep\";\n\nconst label = \"_label_qeq4d_33\";\nconst styles$2 = {\n\t\"stepper-list\": \"_stepper-list_qeq4d_2\",\n\t\"stepper-steps\": \"_stepper-steps_qeq4d_24\",\n\tlabel: label\n};\n\nconst StepperList = forwardRef(\n (props, ref) => {\n const { className, children, onKeyDown, ...rest } = props;\n const { current, items } = useContext(StepperContext);\n const tabListClassNames = cx(styles$2[\"stepper-list\"], className);\n const currentLabel = items?.[current].querySelectorAll(\"span\")[1].textContent;\n return /* @__PURE__ */ jsxs(\n \"div\",\n {\n ...rest,\n className: tabListClassNames,\n \"data-anv\": \"stepper-list\",\n ref,\n role: \"tablist\",\n children: [\n /* @__PURE__ */ jsx(\"div\", { className: styles$2[\"stepper-steps\"], children }),\n /* @__PURE__ */ jsx(\"span\", { className: styles$2.label, children: currentLabel })\n ]\n }\n );\n }\n);\nStepperList.displayName = \"StepperList\";\n\nconst styles$1 = {\n\t\"stepper-panel\": \"_stepper-panel_4h550_2\"\n};\n\nconst StepperPanel = forwardRef(\n (props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const { id, className, style, children, ...rest } = componentProps;\n const { current, items, allCompleted, setCurrentId } = useContext(StepperContext);\n const currentId = items?.[current].getAttribute(\"aria-controls\");\n const isCurrent = currentId === id;\n useEffect(() => {\n if (isCurrent && !allCompleted) {\n setCurrentId(currentId ?? \"\");\n }\n }, [allCompleted, isCurrent, currentId, setCurrentId]);\n const tabPanelClassNames = cx(styles$1[\"stepper-panel\"], className);\n const styleCombined = {\n ...style,\n ...layoutStyles\n };\n if (isCurrent && !allCompleted) {\n return /* @__PURE__ */ jsx(\n motion.div,\n {\n style: styleCombined,\n className: tabPanelClassNames,\n transition: {\n opacity: {\n duration: +core.primitive.DurationSlow.value.replace(\"ms\", \"\") / 1e3\n }\n },\n initial: { opacity: 0 },\n animate: { opacity: 1 },\n exit: { opacity: 0 },\n layout: true,\n ...rest,\n role: \"tabpanel\",\n \"data-anv\": \"stepper-panel\",\n id,\n ref,\n children: /* @__PURE__ */ jsx(Overflow, { flexGrow: 1, children })\n }\n );\n }\n return /* @__PURE__ */ jsx(Fragment, {});\n }\n);\nStepperPanel.displayName = \"StepperPanel\";\n\nconst stepper = \"_stepper_1czb4_2\";\nconst styles = {\n\tstepper: stepper\n};\n\nconst StepperNextButton = forwardRef((props, ref) => {\n const {\n setAllCompleted,\n onComplete,\n setCurrent,\n setFocus,\n items,\n current,\n allCompleted\n } = useContext(StepperContext);\n const {\n onClick,\n onFocus,\n nextLabel = \"Next\",\n completeLabel = \"Complete\",\n appearance = \"primary\",\n ...rest\n } = props;\n const proceedToNextStep = () => {\n if (items && current === items.length - 1) {\n items.forEach((item) => item.setAttribute(\"tabindex\", \"-1\"));\n setAllCompleted?.(true);\n onComplete?.();\n return;\n }\n setCurrent(current + 1);\n setFocus(current + 1);\n };\n const onClickHandler = (e) => {\n const onClickResult = onClick?.(e);\n if (onClickResult !== void 0 && !!onClickResult && onClickResult instanceof Promise) {\n onClickResult.then((result) => {\n if (result === false) return;\n proceedToNextStep();\n });\n } else {\n if (onClickResult === false) return;\n proceedToNextStep();\n }\n };\n return allCompleted ? null : /* @__PURE__ */ jsx(\n Button,\n {\n \"data-anv\": \"stepper-next-button\",\n onClick: onClickHandler,\n appearance,\n ref,\n ...rest,\n children: items && current === items.length - 1 ? completeLabel : nextLabel\n }\n );\n});\nStepperNextButton.displayName = \"StepperNextButton\";\n\nconst StepperPrevButton = forwardRef((props, ref) => {\n const {\n setCurrent,\n setFocus,\n allCompleted,\n setAllCompleted,\n items,\n current,\n allowNavigateToPrevStep\n } = useContext(StepperContext);\n const { onClick, label = \"Previous\", onFocus, ...rest } = props;\n const onClickHandler = (e) => {\n if (allCompleted) {\n setAllCompleted?.(false);\n if (allowNavigateToPrevStep) {\n items?.[current].setAttribute(\"tabindex\", \"0\");\n }\n } else {\n setCurrent(current - 1);\n setFocus(current - 1);\n }\n onClick?.(e);\n };\n return current === 0 ? null : /* @__PURE__ */ jsx(\n Button,\n {\n \"data-anv\": \"stepper-prev-button\",\n onClick: onClickHandler,\n ref,\n ...rest,\n children: label\n }\n );\n});\nStepperPrevButton.displayName = \"StepperPrevButton\";\n\nconst StepperFinalPanel = forwardRef((props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const { id, className, style, children, ...rest } = componentProps;\n const { allCompleted, setCurrentId } = useContext(StepperContext);\n useEffect(() => {\n if (allCompleted) {\n setCurrentId(\"final-panel\");\n }\n }, [allCompleted, setCurrentId]);\n const tabPanelClassNames = cx(styles$1[\"stepper-panel\"], className);\n const styleCombined = {\n ...style,\n ...layoutStyles\n };\n if (allCompleted) {\n return /* @__PURE__ */ jsx(\n motion.div,\n {\n style: styleCombined,\n className: tabPanelClassNames,\n transition: {\n opacity: {\n duration: +core.primitive.DurationSlow.value.replace(\"ms\", \"\") / 1e3\n }\n },\n initial: { opacity: 0 },\n animate: { opacity: 1 },\n exit: { opacity: 0 },\n layout: true,\n ...rest,\n role: \"tabpanel\",\n \"data-anv\": \"stepper-final-panel\",\n tabIndex: 0,\n ref,\n children: /* @__PURE__ */ jsx(Overflow, { children })\n }\n );\n }\n return null;\n});\nStepperFinalPanel.displayName = \"StepperFinalPanel\";\n\nconst StepperContext = createContext({\n current: 0,\n currentId: \"\",\n focus: 0,\n setFocus: () => void 0,\n setCurrent: () => void 0,\n setCurrentId: () => void 0\n});\nconst StepperElement = forwardRef(\n (props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const {\n defaultIndex,\n className,\n allowNavigateToPrevStep,\n children,\n onChange,\n onComplete,\n style,\n ...rest\n } = componentProps;\n const tabRef = useRef(null);\n const [items, setItems] = useState();\n const [allCompleted, setAllCompleted] = useState(false);\n const [current, setCurrent] = useState(defaultIndex ?? 0);\n const [currentId, setCurrentId] = useState(\"\");\n const [focus, setFocus] = useState(defaultIndex ?? 0);\n const stepperClassNames = cx(styles[\"stepper\"], className);\n useEffect(() => {\n setItems(tabRef.current?.querySelectorAll(\"[role=tab]:not([disabled])\"));\n }, []);\n useEffect(() => {\n onChange?.({\n currentStepId: currentId,\n currentStepIndex: allCompleted ? void 0 : current\n });\n }, [allCompleted, currentId, onChange]);\n const styleCombined = { ...style, ...layoutStyles };\n const value = useMemo(\n () => ({\n current,\n setCurrent,\n currentId,\n setCurrentId,\n focus,\n setFocus,\n onComplete,\n items,\n allCompleted,\n setAllCompleted,\n allowNavigateToPrevStep\n }),\n [\n current,\n currentId,\n focus,\n onComplete,\n items,\n allCompleted,\n setAllCompleted,\n allowNavigateToPrevStep\n ]\n );\n return /* @__PURE__ */ jsx(StepperContext.Provider, { value, children: /* @__PURE__ */ jsx(\n motion.div,\n {\n transition: { duration: 0 },\n layout: true,\n className: stepperClassNames,\n \"data-anv\": \"stepper\",\n style: styleCombined,\n ...rest,\n ref: useMergeRefs([tabRef, ref]),\n children\n }\n ) });\n }\n);\nStepperElement.displayName = \"Stepper\";\nconst Stepper = Object.assign(StepperElement, {\n /**\n * Individual step component for the Stepper.\n *\n * Features:\n * - Visual progress indicator with animated bar\n * - Check icon for completed steps\n * - Keyboard navigation support\n * - Accessible with proper ARIA attributes\n * - Click handling for step navigation\n * - Visual states for current, completed, and future steps\n * - Responsive design with mobile-friendly layout\n * - Focus management for keyboard users\n * - Custom styling support\n *\n * @example\n * <Stepper.Step controls=\"step1\">\n * Personal Information\n * </Stepper.Step>\n *\n * @example\n * <Stepper.Step\n * controls=\"step2\"\n * onClick={(e, index) => console.log(`Clicked step ${index}`)}\n * >\n * Contact Details\n * </Stepper.Step>\n */\n Step: StepperStep,\n /**\n * Container component for organizing and displaying stepper steps.\n *\n * Features:\n * - Groups multiple stepper steps together\n * - Displays current step label\n * - Responsive design with mobile-friendly layout\n * - Accessible with proper ARIA roles\n * - Automatic step organization\n * - Visual step indicators\n * - Context-based current step display\n * - Flexible layout with CSS Grid/Flexbox\n * - Container queries for responsive behavior\n *\n * @example\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n */\n List: StepperList,\n /**\n * Content panel component for displaying step content in the Stepper.\n *\n * Features:\n * - Displays content for the current step only\n * - Smooth fade-in/fade-out animations\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.Panel id=\"step1\">\n * <h2>Personal Information</h2>\n * <form>\n * <label htmlFor=\"name\">Name:</label>\n * <input id=\"name\" type=\"text\" />\n * </form>\n * </Stepper.Panel>\n */\n Panel: StepperPanel,\n /**\n * Next button component for navigating to the next step in the Stepper.\n *\n * Features:\n * - Automatically advances to the next step\n * - Changes label to \"Complete\" on the final step\n * - Supports async validation with Promise return\n * - Prevents navigation when validation fails\n * - Hides when all steps are completed\n * - Accessible with proper button semantics\n * - Customizable appearance and styling\n * - Integration with stepper context\n * - Automatic completion handling\n *\n * @example\n * <Stepper.NextButton\n * nextLabel=\"Continue\"\n * completeLabel=\"Finish\"\n * />\n *\n * @example\n * <Stepper.NextButton\n * onClick={async (e) => {\n * const isValid = await validateForm();\n * return isValid;\n * }}\n * appearance=\"primary\"\n * />\n */\n NextButton: StepperNextButton,\n /**\n * Previous button component for navigating to the previous step in the Stepper.\n *\n * Features:\n * - Navigates to the previous step when available\n * - Hides when on the first step\n * - Restores navigation when returning from completion\n * - Accessible with proper button semantics\n * - Customizable label and styling\n * - Integration with stepper context\n * - Automatic focus management\n * - Support for completion state handling\n *\n * @example\n * <Stepper.PrevButton label=\"Go Back\" />\n *\n * @example\n * <Stepper.PrevButton\n * label=\"Previous Step\"\n * appearance=\"secondary\"\n * onClick={(e) => console.log('Going back')}\n * />\n */\n PrevButton: StepperPrevButton,\n /**\n * Final panel component displayed when all stepper steps are completed.\n *\n * Features:\n * - Displays only when all steps are completed\n * - Smooth fade-in animation on completion\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.FinalPanel>\n * <h2>Congratulations!</h2>\n * <p>You have successfully completed all steps.</p>\n * <Button onClick={handleSubmit}>Submit</Button>\n * </Stepper.FinalPanel>\n */\n FinalPanel: StepperFinalPanel\n});\n\nexport { Stepper as S, StepperList as a, StepperStep as b, StepperPanel as c, StepperNextButton as d, StepperPrevButton as e, StepperFinalPanel as f };\n//# sourceMappingURL=Stepper-DMaF9Zis.js.map\n","import {\n StepperProps as CoreStepperProps,\n Stepper as CoreStepper,\n StepperListProps as CoreStepperListProps,\n StepperList as CoreStepperList,\n StepperStepProps as CoreStepperStepProps,\n StepperStep as CoreStepperStep,\n StepperPanelProps as CoreStepperPanelProps,\n StepperPanel as CoreStepperPanel,\n StepperNextButton as CoreStepperNextButton,\n StepperNextButtonProps as CoreStepperNextButtonProps,\n StepperPrevButton as CoreStepperPrevButton,\n StepperPrevButtonProps as CoreStepperPrevButtonProps,\n StepperFinalPanel as CoreStepperFinalPanel,\n StepperFinalPanelProps as CoreStepperFinalPanelProps,\n} from \"@servicetitan/hammer-react\";\nimport { Ref, forwardRef } from \"react\";\nimport { useTrackingId } from \"../../hooks/useTrackingId\";\nimport { DataTrackingId } from \"../../types/DataTrackingId\";\n\n/**\n * Props for the Stepper component\n * @property {number} [defaultIndex] - Default step to start on\n * @property {boolean} [allowNavigateToPrevStep] - Allows users to navigate to previous steps\n * @property {function} [onChange] - Returns current step data when step changes\n * @property {function} [onComplete] - Called when all steps are completed\n * @extends ComponentPropsWithoutRef<\"div\">\n * @extends LayoutUtilProps\n */\nexport type StepperProps = CoreStepperProps;\n\n/**\n * Props for the StepperList component\n * @extends ComponentPropsWithoutRef<\"div\">\n */\nexport type StepperListProps = CoreStepperListProps;\n\n/**\n * Props for the StepperStep component\n * @property {string} controls - ID of the panel that this step is controlling\n * @property {function} [onClick] - Called when the step is clicked\n * @extends ComponentPropsWithoutRef<\"button\">\n */\nexport type StepperStepProps = CoreStepperStepProps;\n\n/**\n * Props for the StepperPanel component\n * @property {string} id - Unique identifier for the panel\n * @extends ComponentPropsWithoutRef<\"div\">\n * @extends LayoutUtilProps\n */\nexport type StepperPanelProps = CoreStepperPanelProps;\n\n/**\n * Props for the StepperNextButton component\n * @property {string} [nextLabel] - Label for the next button\n * @property {string} [completeLabel] - Label for the complete button\n * @property {function} [onClick] - Called when the \"Next\" button is clicked\n * @extends ButtonProps\n * @extends DataTrackingId\n */\nexport type StepperNextButtonProps = CoreStepperNextButtonProps &\n DataTrackingId;\n\n/**\n * Props for the StepperPrevButton component\n * @property {string} [label] - Label for the previous button\n * @extends ButtonProps\n * @extends DataTrackingId\n */\nexport type StepperPrevButtonProps = CoreStepperPrevButtonProps &\n DataTrackingId;\n\n/**\n * Props for the StepperFinalPanel component\n * @extends ComponentPropsWithoutRef<\"div\">\n * @extends LayoutUtilProps\n */\nexport type StepperFinalPanelProps = CoreStepperFinalPanelProps;\n\nconst StepperElement = forwardRef(\n (props: StepperProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepper ref={ref} {...props} />;\n },\n);\nStepperElement.displayName = CoreStepper.displayName;\n\n/**\n * Container component for organizing and displaying stepper steps.\n *\n * Features:\n * - Groups multiple stepper steps together\n * - Displays current step label\n * - Responsive design with mobile-friendly layout\n * - Accessible with proper ARIA roles\n * - Automatic step organization\n * - Visual step indicators\n * - Context-based current step display\n * - Flexible layout with CSS Grid/Flexbox\n * - Container queries for responsive behavior\n *\n * @example\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n */\nexport const StepperList = forwardRef(\n (props: StepperListProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepperList ref={ref} {...props} />;\n },\n);\nStepperList.displayName = CoreStepperList.displayName;\n\n/**\n * Individual step component for the Stepper.\n *\n * Features:\n * - Visual progress indicator with animated bar\n * - Check icon for completed steps\n * - Keyboard navigation support\n * - Accessible with proper ARIA attributes\n * - Click handling for step navigation\n * - Visual states for current, completed, and future steps\n * - Responsive design with mobile-friendly layout\n * - Focus management for keyboard users\n * - Custom styling support\n *\n * @example\n * <Stepper.Step controls=\"step1\">\n * Personal Information\n * </Stepper.Step>\n */\nexport const StepperStep = forwardRef(\n (props: StepperStepProps, ref: Ref<HTMLButtonElement>) => {\n return <CoreStepperStep ref={ref} {...props} />;\n },\n);\nStepperStep.displayName = CoreStepperStep.displayName;\n\n/**\n * Content panel component for displaying step content in the Stepper.\n *\n * Features:\n * - Displays content for the current step only\n * - Smooth fade-in/fade-out animations\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.Panel id=\"step1\">\n * <h2>Personal Information</h2>\n * <form>\n * <label htmlFor=\"name\">Name:</label>\n * <input id=\"name\" type=\"text\" />\n * </form>\n * </Stepper.Panel>\n */\nexport const StepperPanel = forwardRef(\n (props: StepperPanelProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepperPanel ref={ref} {...props} />;\n },\n);\nStepperPanel.displayName = CoreStepperPanel.displayName;\n\n/**\n * Final panel component displayed when all stepper steps are completed.\n *\n * Features:\n * - Displays only when all steps are completed\n * - Smooth fade-in animation on completion\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.FinalPanel>\n * <h2>Congratulations!</h2>\n * <p>You have successfully completed all steps.</p>\n * <Button onClick={handleSubmit}>Submit</Button>\n * </Stepper.FinalPanel>\n */\nexport const StepperFinalPanel = forwardRef(\n (props: StepperFinalPanelProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepperFinalPanel ref={ref} {...props} />;\n },\n);\nStepperFinalPanel.displayName = CoreStepperFinalPanel.displayName;\n\n// TODO: Update A2 to export NextButton and PrevButton\n/**\n * Next button component for navigating to the next step in the Stepper.\n *\n * Features:\n * - Automatically advances to the next step\n * - Changes label to \"Complete\" on the final step\n * - Supports async validation with Promise return\n * - Prevents navigation when validation fails\n * - Hides when all steps are completed\n * - Accessible with proper button semantics\n * - Customizable appearance and styling\n * - Integration with stepper context\n * - Automatic completion handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.NextButton\n * nextLabel=\"Continue\"\n * completeLabel=\"Finish\"\n * />\n */\nexport const StepperNextButton = forwardRef(\n (props: StepperNextButtonProps, ref: Ref<HTMLButtonElement>) => {\n const data = {\n nextLabel: props.nextLabel,\n completeLabel: props.completeLabel,\n };\n\n const trackingId = useTrackingId({\n name: \"StepperNextButton\",\n data,\n hasOverride: !!props[\"data-tracking-id\"],\n });\n return (\n <CoreStepperNextButton\n ref={ref}\n data-tracking-id={trackingId}\n {...props}\n />\n );\n },\n);\nStepperNextButton.displayName = CoreStepperNextButton.displayName;\n\n/**\n * Previous button component for navigating to the previous step in the Stepper.\n *\n * Features:\n * - Navigates to the previous step when available\n * - Hides when on the first step\n * - Restores navigation when returning from completion\n * - Accessible with proper button semantics\n * - Customizable label and styling\n * - Integration with stepper context\n * - Automatic focus management\n * - Support for completion state handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.PrevButton label=\"Go Back\" />\n */\nexport const StepperPrevButton = forwardRef(\n (props: StepperPrevButtonProps, ref: Ref<HTMLButtonElement>) => {\n const data = {\n label: props.label,\n };\n\n const trackingId = useTrackingId({\n name: \"StepperPrevButton\",\n data,\n hasOverride: !!props[\"data-tracking-id\"],\n });\n return (\n <CoreStepperPrevButton\n ref={ref}\n data-tracking-id={trackingId}\n {...props}\n />\n );\n },\n);\nStepperPrevButton.displayName = CoreStepperPrevButton.displayName;\n\n/**\n * Stepper component for creating multi-step workflows and forms.\n *\n * Features:\n * - Multi-step navigation with visual progress indicators\n * - Keyboard navigation support with arrow keys\n * - Optional navigation to previous steps\n * - Smooth animations and transitions\n * - Accessible with proper ARIA roles and attributes\n * - Customizable step labels and content\n * - Completion state handling\n * - Layout utilities for positioning and spacing\n * - Motion animations for step transitions\n * - Context-based state management\n *\n * @example\n * <Stepper defaultIndex={0} allowNavigateToPrevStep>\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n *\n * <Stepper.Panel id=\"step1\">\n * <h2>Step 1 Content</h2>\n * <p>This is the first step content.</p>\n * </Stepper.Panel>\n *\n * <Stepper.Panel id=\"step2\">\n * <h2>Step 2 Content</h2>\n * <p>This is the second step content.</p>\n * </Stepper.Panel>\n *\n * <Stepper.Panel id=\"step3\">\n * <h2>Step 3 Content</h2>\n * <p>This is the final step content.</p>\n * </Stepper.Panel>\n *\n * <Stepper.FinalPanel>\n * <h2>Completed!</h2>\n * <p>All steps have been completed successfully.</p>\n * </Stepper.FinalPanel>\n *\n * <Stepper.PrevButton />\n * <Stepper.NextButton />\n * </Stepper>\n */\nexport const Stepper = Object.assign(StepperElement, {\n /**\n * Container component for organizing and displaying stepper steps.\n *\n * Features:\n * - Groups multiple stepper steps together\n * - Displays current step label\n * - Responsive design with mobile-friendly layout\n * - Accessible with proper ARIA roles\n * - Automatic step organization\n * - Visual step indicators\n * - Context-based current step display\n * - Flexible layout with CSS Grid/Flexbox\n * - Container queries for responsive behavior\n *\n * @example\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n */\n List: StepperList,\n\n /**\n * Individual step component for the Stepper.\n *\n * Features:\n * - Visual progress indicator with animated bar\n * - Check icon for completed steps\n * - Keyboard navigation support\n * - Accessible with proper ARIA attributes\n * - Click handling for step navigation\n * - Visual states for current, completed, and future steps\n * - Responsive design with mobile-friendly layout\n * - Focus management for keyboard users\n * - Custom styling support\n *\n * @example\n * <Stepper.Step controls=\"step1\">\n * Personal Information\n * </Stepper.Step>\n */\n Step: StepperStep,\n\n /**\n * Content panel component for displaying step content in the Stepper.\n *\n * Features:\n * - Displays content for the current step only\n * - Smooth fade-in/fade-out animations\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.Panel id=\"step1\">\n * <h2>Personal Information</h2>\n * <form>\n * <label htmlFor=\"name\">Name:</label>\n * <input id=\"name\" type=\"text\" />\n * </form>\n * </Stepper.Panel>\n */\n Panel: StepperPanel,\n\n /**\n * Final panel component displayed when all stepper steps are completed.\n *\n * Features:\n * - Displays only when all steps are completed\n * - Smooth fade-in animation on completion\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.FinalPanel>\n * <h2>Congratulations!</h2>\n * <p>You have successfully completed all steps.</p>\n * <Button onClick={handleSubmit}>Submit</Button>\n * </Stepper.FinalPanel>\n */\n FinalPanel: StepperFinalPanel,\n\n /**\n * Next button component for navigating to the next step in the Stepper.\n *\n * Features:\n * - Automatically advances to the next step\n * - Changes label to \"Complete\" on the final step\n * - Supports async validation with Promise return\n * - Prevents navigation when validation fails\n * - Hides when all steps are completed\n * - Accessible with proper button semantics\n * - Customizable appearance and styling\n * - Integration with stepper context\n * - Automatic completion handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.NextButton\n * nextLabel=\"Continue\"\n * completeLabel=\"Finish\"\n * />\n */\n NextButton: StepperNextButton,\n\n /**\n * Previous button component for navigating to the previous step in the Stepper.\n *\n * Features:\n * - Navigates to the previous step when available\n * - Hides when on the first step\n * - Restores navigation when returning from completion\n * - Accessible with proper button semantics\n * - Customizable label and styling\n * - Integration with stepper context\n * - Automatic focus management\n * - Support for completion state handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.PrevButton label=\"Go Back\" />\n */\n PrevButton: StepperPrevButton,\n});\n"],"names":["StepperStep","Check","StepperList","StepperPanel","core.primitive.DurationSlow","StepperNextButton","StepperPrevButton","StepperFinalPanel","StepperElement","Stepper","CoreStepper","CoreStepperList","CoreStepperStep","CoreStepperPanel","CoreStepperFinalPanel","CoreStepperNextButton","CoreStepperPrevButton"],"mappings":";;;;;;;;;;;;;AAYuB,MAAM,GAAG,GAAG,eAAe;AAClD,MAAM,OAAO,GAAG,iBAAiB;AACjC,MAAM,MAAM,GAAG,kBAAkB;AACjC,MAAM,QAAQ,GAAG;AACjB,CAAC,cAAc,EAAE,uBAAuB;AACxC,CAAC,GAAG,EAAE,GAAG;AACT,CAAC,KAAK,EAAE,OAAO;AACf,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,eAAe,EAAE,yBAAyB;AAC3C,CAAC,cAAc,EAAE;AACjB,CAAC;;AAED,MAAMA,aAAW,GAAG,UAAU;AAC9B,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK;AAClB,IAAI,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC;AAChC,IAAI,MAAM;AACV,MAAM,OAAO;AACb,MAAM,KAAK;AACX,MAAM,UAAU;AAChB,MAAM,KAAK;AACX,MAAM,QAAQ;AACd,MAAM,YAAY;AAClB,MAAM;AACN,KAAK,GAAG,UAAU,CAAC,cAAc,CAAC;AAClC,IAAI,MAAM;AACV,MAAM,OAAO;AACb,MAAM,QAAQ;AACd,MAAM,OAAO;AACb,MAAM,SAAS;AACf,MAAM,QAAQ;AACd,MAAM,S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Q,UAAU;AAClB,QAAQ,KAAK;AACb,QAAQ,YAAY;AACpB,QAAQ,eAAe;AACvB,QAAQ;AACR;AACA,KAAK;AACL,IAAI,uBAAuB,GAAG,CAAC,cAAc,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,QAAQ,kBAAkB,GAAG;AAC9F,MAAM,MAAM,CAAC,GAAG;AAChB,MAAM;AACN,QAAQ,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE;AACnC,QAAQ,MAAM,EAAE,IAAI;AACpB,QAAQ,SAAS,EAAE,iBAAiB;AACpC,QAAQ,UAAU,EAAE,SAAS;AAC7B,QAAQ,KAAK,EAAE,aAAa;AAC5B,QAAQ,GAAG,IAAI;AACf,QAAQ,GAAG,EAAE,YAAY,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AACxC,QAAQ;AACR;AACA,KAAK,EAAE,CAAC;AACR;AACA,CAAC;AACDA,gBAAc,CAAC,WAAW,GAAG,SAAS;AACtC,MAAMC,SAAO,GAAG,MAAM,CAAC,MAAM,CAACD,gBAAc,EAAE;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,EAAER,aAAW;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,EAAEE,aAAW;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,KAAK,EAAEC,cAAY;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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,CAAA,WAAA;AAiDzC,MAAA,OAAA,GAAU,MAAO,CAAA,MAAA,CAAO,cAAgB,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAsBnD,IAAM,EAAA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBN,IAAM,EAAA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAyBN,KAAO,EAAA,YAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBP,UAAY,EAAA,iBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBZ,UAAY,EAAA,iBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBZ,UAAY,EAAA;AACd,CAAC;;;;"}
1
+ {"version":3,"file":"Stepper-BtbDBIzz.js","sources":["../../hammer-react/dist/Stepper-BVPbpAeT.js","../src/components/Stepper/Stepper.tsx"],"sourcesContent":["import { jsxs, jsx, Fragment } from 'react/jsx-runtime';\nimport { forwardRef, useRef, useContext, useState, useEffect, createContext, useMemo } from 'react';\nimport cx from 'classnames';\nimport { O as Overflow } from './Overflow-CFClqFVC.js';\nimport { motion } from '/home/runner/work/hammer/hammer/node_modules/.pnpm/motion@12.4.10_@emotion+is-prop-valid@1.3.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/motion/dist/es/motion/lib/react.mjs';\nimport { core } from '@servicetitan/hammer-token';\nimport { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v.js';\nimport { B as Button } from './Button-BaHFf1AT.js';\nimport { u as useMergeRefs } from './useMergeRefs-Bde85AWI.js';\nimport { I as Icon } from './Icon-B6HmlQiR.js';\nimport Check from '@servicetitan/hammer-icon/mdi/round/check.svg';\n\nimport './Stepper.css';const bar = \"_bar_txl4u_26\";\nconst label$1 = \"_label_txl4u_42\";\nconst circle = \"_circle_txl4u_49\";\nconst styles$3 = {\n\t\"stepper-step\": \"_stepper-step_txl4u_2\",\n\tbar: bar,\n\tlabel: label$1,\n\tcircle: circle,\n\t\"all-completed\": \"_all-completed_txl4u_80\",\n\t\"can-navigate\": \"_can-navigate_txl4u_83\"\n};\n\nconst StepperStep = forwardRef(\n (props, ref) => {\n const stepRef = useRef(null);\n const {\n current,\n items,\n setCurrent,\n focus,\n setFocus,\n allCompleted,\n allowNavigateToPrevStep\n } = useContext(StepperContext);\n const {\n onClick,\n children,\n onFocus,\n onKeyDown,\n controls,\n className,\n ...rest\n } = props;\n const index = useRef();\n const [selected, setSelected] = useState(false);\n const [completed, setCompleted] = useState(\n // Below is to be used for custom overriding\n // completed state for a step\n // Check Stepper.stories.tsx#103 for the use case\n stepRef.current?.getAttribute(\"data-completed\") === \"true\" ? true : void 0\n );\n useEffect(() => {\n if (!items) return;\n index.current = Array.prototype.indexOf.call(items, stepRef.current);\n setCompleted(index.current < current);\n setSelected(index.current === current);\n }, [current, items]);\n const stepClassNames = cx(styles$3[\"stepper-step\"], className, {\n [styles$3[\"can-navigate\"]]: allowNavigateToPrevStep,\n [styles$3[\"all-completed\"]]: allCompleted\n });\n const onClickHandler = (e) => {\n onClick?.(e, index.current);\n if (!allowNavigateToPrevStep || selected || index.current === void 0 || !items || index.current > current) {\n return;\n }\n setCurrent(index.current ?? 0);\n setFocus(index.current);\n items[index.current].focus();\n };\n const onKeyDownHandler = (e) => {\n onKeyDown?.(e);\n const focusableItems = Array.prototype.filter.call(\n items,\n (item) => item.getAttribute(\"data-completed\") === \"true\" || item.getAttribute(\"aria-selected\") === \"true\"\n );\n const prevFocus = focus - 1;\n const nextFocus = focus + 1;\n switch (e.code) {\n case \"Enter\":\n case \"Space\":\n e.preventDefault();\n setCurrent(focus);\n break;\n case \"ArrowRight\":\n e.preventDefault();\n if (nextFocus === focusableItems.length) {\n setFocus(0);\n focusableItems[0].focus();\n focusableItems[0].setAttribute(\"tabindex\", \"0\");\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n return;\n }\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n setFocus(nextFocus);\n focusableItems[nextFocus].focus();\n focusableItems[nextFocus].setAttribute(\"tabindex\", \"0\");\n break;\n case \"ArrowLeft\":\n e.preventDefault();\n if (focus === 0) {\n const lastItemIndex = focusableItems.length - 1;\n setFocus(lastItemIndex);\n focusableItems[lastItemIndex].focus();\n focusableItems[lastItemIndex].setAttribute(\"tabindex\", \"0\");\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n return;\n }\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n setFocus(prevFocus);\n focusableItems[prevFocus].focus();\n focusableItems[prevFocus].setAttribute(\"tabindex\", \"0\");\n break;\n }\n };\n return /* @__PURE__ */ jsxs(\n \"button\",\n {\n type: \"button\",\n role: \"tab\",\n \"data-anv\": \"stepper-step\",\n className: stepClassNames,\n \"aria-selected\": selected,\n \"aria-controls\": controls,\n tabIndex: allowNavigateToPrevStep && selected ? 0 : -1,\n \"data-completed\": completed,\n onClick: onClickHandler,\n onKeyDown: allowNavigateToPrevStep ? onKeyDownHandler : onKeyDown,\n ...rest,\n ref: useMergeRefs([stepRef, ref]),\n children: [\n /* @__PURE__ */ jsx(\"span\", { className: styles$3.bar }),\n /* @__PURE__ */ jsxs(\"span\", { className: styles$3.label, children: [\n /* @__PURE__ */ jsx(\"span\", { className: styles$3.circle, children: /* @__PURE__ */ jsx(Icon, { svg: Check, inherit: true, \"aria-hidden\": true }) }),\n children\n ] })\n ]\n }\n );\n }\n);\nStepperStep.displayName = \"StepperStep\";\n\nconst label = \"_label_qeq4d_33\";\nconst styles$2 = {\n\t\"stepper-list\": \"_stepper-list_qeq4d_2\",\n\t\"stepper-steps\": \"_stepper-steps_qeq4d_24\",\n\tlabel: label\n};\n\nconst StepperList = forwardRef(\n (props, ref) => {\n const { className, children, onKeyDown, ...rest } = props;\n const { current, items } = useContext(StepperContext);\n const tabListClassNames = cx(styles$2[\"stepper-list\"], className);\n const currentLabel = items?.[current].querySelectorAll(\"span\")[1].textContent;\n return /* @__PURE__ */ jsxs(\n \"div\",\n {\n ...rest,\n className: tabListClassNames,\n \"data-anv\": \"stepper-list\",\n ref,\n role: \"tablist\",\n children: [\n /* @__PURE__ */ jsx(\"div\", { className: styles$2[\"stepper-steps\"], children }),\n /* @__PURE__ */ jsx(\"span\", { className: styles$2.label, children: currentLabel })\n ]\n }\n );\n }\n);\nStepperList.displayName = \"StepperList\";\n\nconst styles$1 = {\n\t\"stepper-panel\": \"_stepper-panel_4h550_2\"\n};\n\nconst StepperPanel = forwardRef(\n (props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const { id, className, style, children, ...rest } = componentProps;\n const { current, items, allCompleted, setCurrentId } = useContext(StepperContext);\n const currentId = items?.[current].getAttribute(\"aria-controls\");\n const isCurrent = currentId === id;\n useEffect(() => {\n if (isCurrent && !allCompleted) {\n setCurrentId(currentId ?? \"\");\n }\n }, [allCompleted, isCurrent, currentId, setCurrentId]);\n const tabPanelClassNames = cx(styles$1[\"stepper-panel\"], className);\n const styleCombined = {\n ...style,\n ...layoutStyles\n };\n if (isCurrent && !allCompleted) {\n return /* @__PURE__ */ jsx(\n motion.div,\n {\n style: styleCombined,\n className: tabPanelClassNames,\n transition: {\n opacity: {\n duration: +core.primitive.DurationSlow.value.replace(\"ms\", \"\") / 1e3\n }\n },\n initial: { opacity: 0 },\n animate: { opacity: 1 },\n exit: { opacity: 0 },\n layout: true,\n ...rest,\n role: \"tabpanel\",\n \"data-anv\": \"stepper-panel\",\n id,\n ref,\n children: /* @__PURE__ */ jsx(Overflow, { flexGrow: 1, children })\n }\n );\n }\n return /* @__PURE__ */ jsx(Fragment, {});\n }\n);\nStepperPanel.displayName = \"StepperPanel\";\n\nconst stepper = \"_stepper_1czb4_2\";\nconst styles = {\n\tstepper: stepper\n};\n\nconst StepperNextButton = forwardRef((props, ref) => {\n const {\n setAllCompleted,\n onComplete,\n setCurrent,\n setFocus,\n items,\n current,\n allCompleted\n } = useContext(StepperContext);\n const {\n onClick,\n onFocus,\n nextLabel = \"Next\",\n completeLabel = \"Complete\",\n appearance = \"primary\",\n ...rest\n } = props;\n const proceedToNextStep = () => {\n if (items && current === items.length - 1) {\n items.forEach((item) => item.setAttribute(\"tabindex\", \"-1\"));\n setAllCompleted?.(true);\n onComplete?.();\n return;\n }\n setCurrent(current + 1);\n setFocus(current + 1);\n };\n const onClickHandler = (e) => {\n const onClickResult = onClick?.(e);\n if (onClickResult !== void 0 && !!onClickResult && onClickResult instanceof Promise) {\n onClickResult.then((result) => {\n if (result === false) return;\n proceedToNextStep();\n });\n } else {\n if (onClickResult === false) return;\n proceedToNextStep();\n }\n };\n return allCompleted ? null : /* @__PURE__ */ jsx(\n Button,\n {\n \"data-anv\": \"stepper-next-button\",\n onClick: onClickHandler,\n appearance,\n ref,\n ...rest,\n children: items && current === items.length - 1 ? completeLabel : nextLabel\n }\n );\n});\nStepperNextButton.displayName = \"StepperNextButton\";\n\nconst StepperPrevButton = forwardRef((props, ref) => {\n const {\n setCurrent,\n setFocus,\n allCompleted,\n setAllCompleted,\n items,\n current,\n allowNavigateToPrevStep\n } = useContext(StepperContext);\n const { onClick, label = \"Previous\", onFocus, ...rest } = props;\n const onClickHandler = (e) => {\n if (allCompleted) {\n setAllCompleted?.(false);\n if (allowNavigateToPrevStep) {\n items?.[current].setAttribute(\"tabindex\", \"0\");\n }\n } else {\n setCurrent(current - 1);\n setFocus(current - 1);\n }\n onClick?.(e);\n };\n return current === 0 ? null : /* @__PURE__ */ jsx(\n Button,\n {\n \"data-anv\": \"stepper-prev-button\",\n onClick: onClickHandler,\n ref,\n ...rest,\n children: label\n }\n );\n});\nStepperPrevButton.displayName = \"StepperPrevButton\";\n\nconst StepperFinalPanel = forwardRef((props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const { id, className, style, children, ...rest } = componentProps;\n const { allCompleted, setCurrentId } = useContext(StepperContext);\n useEffect(() => {\n if (allCompleted) {\n setCurrentId(\"final-panel\");\n }\n }, [allCompleted, setCurrentId]);\n const tabPanelClassNames = cx(styles$1[\"stepper-panel\"], className);\n const styleCombined = {\n ...style,\n ...layoutStyles\n };\n if (allCompleted) {\n return /* @__PURE__ */ jsx(\n motion.div,\n {\n style: styleCombined,\n className: tabPanelClassNames,\n transition: {\n opacity: {\n duration: +core.primitive.DurationSlow.value.replace(\"ms\", \"\") / 1e3\n }\n },\n initial: { opacity: 0 },\n animate: { opacity: 1 },\n exit: { opacity: 0 },\n layout: true,\n ...rest,\n role: \"tabpanel\",\n \"data-anv\": \"stepper-final-panel\",\n tabIndex: 0,\n ref,\n children: /* @__PURE__ */ jsx(Overflow, { children })\n }\n );\n }\n return null;\n});\nStepperFinalPanel.displayName = \"StepperFinalPanel\";\n\nconst StepperContext = createContext({\n current: 0,\n currentId: \"\",\n focus: 0,\n setFocus: () => void 0,\n setCurrent: () => void 0,\n setCurrentId: () => void 0\n});\nconst StepperElement = forwardRef(\n (props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const {\n defaultIndex,\n className,\n allowNavigateToPrevStep,\n children,\n onChange,\n onComplete,\n style,\n ...rest\n } = componentProps;\n const tabRef = useRef(null);\n const [items, setItems] = useState();\n const [allCompleted, setAllCompleted] = useState(false);\n const [current, setCurrent] = useState(defaultIndex ?? 0);\n const [currentId, setCurrentId] = useState(\"\");\n const [focus, setFocus] = useState(defaultIndex ?? 0);\n const stepperClassNames = cx(styles[\"stepper\"], className);\n useEffect(() => {\n setItems(tabRef.current?.querySelectorAll(\"[role=tab]:not([disabled])\"));\n }, []);\n useEffect(() => {\n onChange?.({\n currentStepId: currentId,\n currentStepIndex: allCompleted ? void 0 : current\n });\n }, [allCompleted, currentId, onChange]);\n const styleCombined = { ...style, ...layoutStyles };\n const value = useMemo(\n () => ({\n current,\n setCurrent,\n currentId,\n setCurrentId,\n focus,\n setFocus,\n onComplete,\n items,\n allCompleted,\n setAllCompleted,\n allowNavigateToPrevStep\n }),\n [\n current,\n currentId,\n focus,\n onComplete,\n items,\n allCompleted,\n setAllCompleted,\n allowNavigateToPrevStep\n ]\n );\n return /* @__PURE__ */ jsx(StepperContext.Provider, { value, children: /* @__PURE__ */ jsx(\n motion.div,\n {\n transition: { duration: 0 },\n layout: true,\n className: stepperClassNames,\n \"data-anv\": \"stepper\",\n style: styleCombined,\n ...rest,\n ref: useMergeRefs([tabRef, ref]),\n children\n }\n ) });\n }\n);\nStepperElement.displayName = \"Stepper\";\nconst Stepper = Object.assign(StepperElement, {\n /**\n * Individual step component for the Stepper.\n *\n * Features:\n * - Visual progress indicator with animated bar\n * - Check icon for completed steps\n * - Keyboard navigation support\n * - Accessible with proper ARIA attributes\n * - Click handling for step navigation\n * - Visual states for current, completed, and future steps\n * - Responsive design with mobile-friendly layout\n * - Focus management for keyboard users\n * - Custom styling support\n *\n * @example\n * <Stepper.Step controls=\"step1\">\n * Personal Information\n * </Stepper.Step>\n *\n * @example\n * <Stepper.Step\n * controls=\"step2\"\n * onClick={(e, index) => console.log(`Clicked step ${index}`)}\n * >\n * Contact Details\n * </Stepper.Step>\n */\n Step: StepperStep,\n /**\n * Container component for organizing and displaying stepper steps.\n *\n * Features:\n * - Groups multiple stepper steps together\n * - Displays current step label\n * - Responsive design with mobile-friendly layout\n * - Accessible with proper ARIA roles\n * - Automatic step organization\n * - Visual step indicators\n * - Context-based current step display\n * - Flexible layout with CSS Grid/Flexbox\n * - Container queries for responsive behavior\n *\n * @example\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n */\n List: StepperList,\n /**\n * Content panel component for displaying step content in the Stepper.\n *\n * Features:\n * - Displays content for the current step only\n * - Smooth fade-in/fade-out animations\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.Panel id=\"step1\">\n * <h2>Personal Information</h2>\n * <form>\n * <label htmlFor=\"name\">Name:</label>\n * <input id=\"name\" type=\"text\" />\n * </form>\n * </Stepper.Panel>\n */\n Panel: StepperPanel,\n /**\n * Next button component for navigating to the next step in the Stepper.\n *\n * Features:\n * - Automatically advances to the next step\n * - Changes label to \"Complete\" on the final step\n * - Supports async validation with Promise return\n * - Prevents navigation when validation fails\n * - Hides when all steps are completed\n * - Accessible with proper button semantics\n * - Customizable appearance and styling\n * - Integration with stepper context\n * - Automatic completion handling\n *\n * @example\n * <Stepper.NextButton\n * nextLabel=\"Continue\"\n * completeLabel=\"Finish\"\n * />\n *\n * @example\n * <Stepper.NextButton\n * onClick={async (e) => {\n * const isValid = await validateForm();\n * return isValid;\n * }}\n * appearance=\"primary\"\n * />\n */\n NextButton: StepperNextButton,\n /**\n * Previous button component for navigating to the previous step in the Stepper.\n *\n * Features:\n * - Navigates to the previous step when available\n * - Hides when on the first step\n * - Restores navigation when returning from completion\n * - Accessible with proper button semantics\n * - Customizable label and styling\n * - Integration with stepper context\n * - Automatic focus management\n * - Support for completion state handling\n *\n * @example\n * <Stepper.PrevButton label=\"Go Back\" />\n *\n * @example\n * <Stepper.PrevButton\n * label=\"Previous Step\"\n * appearance=\"secondary\"\n * onClick={(e) => console.log('Going back')}\n * />\n */\n PrevButton: StepperPrevButton,\n /**\n * Final panel component displayed when all stepper steps are completed.\n *\n * Features:\n * - Displays only when all steps are completed\n * - Smooth fade-in animation on completion\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.FinalPanel>\n * <h2>Congratulations!</h2>\n * <p>You have successfully completed all steps.</p>\n * <Button onClick={handleSubmit}>Submit</Button>\n * </Stepper.FinalPanel>\n */\n FinalPanel: StepperFinalPanel\n});\n\nexport { Stepper as S, StepperList as a, StepperStep as b, StepperPanel as c, StepperNextButton as d, StepperPrevButton as e, StepperFinalPanel as f };\n//# sourceMappingURL=Stepper-BVPbpAeT.js.map\n","import {\n StepperProps as CoreStepperProps,\n Stepper as CoreStepper,\n StepperListProps as CoreStepperListProps,\n StepperList as CoreStepperList,\n StepperStepProps as CoreStepperStepProps,\n StepperStep as CoreStepperStep,\n StepperPanelProps as CoreStepperPanelProps,\n StepperPanel as CoreStepperPanel,\n StepperNextButton as CoreStepperNextButton,\n StepperNextButtonProps as CoreStepperNextButtonProps,\n StepperPrevButton as CoreStepperPrevButton,\n StepperPrevButtonProps as CoreStepperPrevButtonProps,\n StepperFinalPanel as CoreStepperFinalPanel,\n StepperFinalPanelProps as CoreStepperFinalPanelProps,\n} from \"@servicetitan/hammer-react\";\nimport { Ref, forwardRef } from \"react\";\nimport { useTrackingId } from \"../../hooks/useTrackingId\";\nimport { DataTrackingId } from \"../../types/DataTrackingId\";\n\n/**\n * Props for the Stepper component\n * @property {number} [defaultIndex] - Default step to start on\n * @property {boolean} [allowNavigateToPrevStep] - Allows users to navigate to previous steps\n * @property {function} [onChange] - Returns current step data when step changes\n * @property {function} [onComplete] - Called when all steps are completed\n * @extends ComponentPropsWithoutRef<\"div\">\n * @extends LayoutUtilProps\n */\nexport type StepperProps = CoreStepperProps;\n\n/**\n * Props for the StepperList component\n * @extends ComponentPropsWithoutRef<\"div\">\n */\nexport type StepperListProps = CoreStepperListProps;\n\n/**\n * Props for the StepperStep component\n * @property {string} controls - ID of the panel that this step is controlling\n * @property {function} [onClick] - Called when the step is clicked\n * @extends ComponentPropsWithoutRef<\"button\">\n */\nexport type StepperStepProps = CoreStepperStepProps;\n\n/**\n * Props for the StepperPanel component\n * @property {string} id - Unique identifier for the panel\n * @extends ComponentPropsWithoutRef<\"div\">\n * @extends LayoutUtilProps\n */\nexport type StepperPanelProps = CoreStepperPanelProps;\n\n/**\n * Props for the StepperNextButton component\n * @property {string} [nextLabel] - Label for the next button\n * @property {string} [completeLabel] - Label for the complete button\n * @property {function} [onClick] - Called when the \"Next\" button is clicked\n * @extends ButtonProps\n * @extends DataTrackingId\n */\nexport type StepperNextButtonProps = CoreStepperNextButtonProps &\n DataTrackingId;\n\n/**\n * Props for the StepperPrevButton component\n * @property {string} [label] - Label for the previous button\n * @extends ButtonProps\n * @extends DataTrackingId\n */\nexport type StepperPrevButtonProps = CoreStepperPrevButtonProps &\n DataTrackingId;\n\n/**\n * Props for the StepperFinalPanel component\n * @extends ComponentPropsWithoutRef<\"div\">\n * @extends LayoutUtilProps\n */\nexport type StepperFinalPanelProps = CoreStepperFinalPanelProps;\n\nconst StepperElement = forwardRef(\n (props: StepperProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepper ref={ref} {...props} />;\n },\n);\nStepperElement.displayName = CoreStepper.displayName;\n\n/**\n * Container component for organizing and displaying stepper steps.\n *\n * Features:\n * - Groups multiple stepper steps together\n * - Displays current step label\n * - Responsive design with mobile-friendly layout\n * - Accessible with proper ARIA roles\n * - Automatic step organization\n * - Visual step indicators\n * - Context-based current step display\n * - Flexible layout with CSS Grid/Flexbox\n * - Container queries for responsive behavior\n *\n * @example\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n */\nexport const StepperList = forwardRef(\n (props: StepperListProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepperList ref={ref} {...props} />;\n },\n);\nStepperList.displayName = CoreStepperList.displayName;\n\n/**\n * Individual step component for the Stepper.\n *\n * Features:\n * - Visual progress indicator with animated bar\n * - Check icon for completed steps\n * - Keyboard navigation support\n * - Accessible with proper ARIA attributes\n * - Click handling for step navigation\n * - Visual states for current, completed, and future steps\n * - Responsive design with mobile-friendly layout\n * - Focus management for keyboard users\n * - Custom styling support\n *\n * @example\n * <Stepper.Step controls=\"step1\">\n * Personal Information\n * </Stepper.Step>\n */\nexport const StepperStep = forwardRef(\n (props: StepperStepProps, ref: Ref<HTMLButtonElement>) => {\n return <CoreStepperStep ref={ref} {...props} />;\n },\n);\nStepperStep.displayName = CoreStepperStep.displayName;\n\n/**\n * Content panel component for displaying step content in the Stepper.\n *\n * Features:\n * - Displays content for the current step only\n * - Smooth fade-in/fade-out animations\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.Panel id=\"step1\">\n * <h2>Personal Information</h2>\n * <form>\n * <label htmlFor=\"name\">Name:</label>\n * <input id=\"name\" type=\"text\" />\n * </form>\n * </Stepper.Panel>\n */\nexport const StepperPanel = forwardRef(\n (props: StepperPanelProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepperPanel ref={ref} {...props} />;\n },\n);\nStepperPanel.displayName = CoreStepperPanel.displayName;\n\n/**\n * Final panel component displayed when all stepper steps are completed.\n *\n * Features:\n * - Displays only when all steps are completed\n * - Smooth fade-in animation on completion\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.FinalPanel>\n * <h2>Congratulations!</h2>\n * <p>You have successfully completed all steps.</p>\n * <Button onClick={handleSubmit}>Submit</Button>\n * </Stepper.FinalPanel>\n */\nexport const StepperFinalPanel = forwardRef(\n (props: StepperFinalPanelProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepperFinalPanel ref={ref} {...props} />;\n },\n);\nStepperFinalPanel.displayName = CoreStepperFinalPanel.displayName;\n\n// TODO: Update A2 to export NextButton and PrevButton\n/**\n * Next button component for navigating to the next step in the Stepper.\n *\n * Features:\n * - Automatically advances to the next step\n * - Changes label to \"Complete\" on the final step\n * - Supports async validation with Promise return\n * - Prevents navigation when validation fails\n * - Hides when all steps are completed\n * - Accessible with proper button semantics\n * - Customizable appearance and styling\n * - Integration with stepper context\n * - Automatic completion handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.NextButton\n * nextLabel=\"Continue\"\n * completeLabel=\"Finish\"\n * />\n */\nexport const StepperNextButton = forwardRef(\n (props: StepperNextButtonProps, ref: Ref<HTMLButtonElement>) => {\n const data = {\n nextLabel: props.nextLabel,\n completeLabel: props.completeLabel,\n };\n\n const trackingId = useTrackingId({\n name: \"StepperNextButton\",\n data,\n hasOverride: !!props[\"data-tracking-id\"],\n });\n return (\n <CoreStepperNextButton\n ref={ref}\n data-tracking-id={trackingId}\n {...props}\n />\n );\n },\n);\nStepperNextButton.displayName = CoreStepperNextButton.displayName;\n\n/**\n * Previous button component for navigating to the previous step in the Stepper.\n *\n * Features:\n * - Navigates to the previous step when available\n * - Hides when on the first step\n * - Restores navigation when returning from completion\n * - Accessible with proper button semantics\n * - Customizable label and styling\n * - Integration with stepper context\n * - Automatic focus management\n * - Support for completion state handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.PrevButton label=\"Go Back\" />\n */\nexport const StepperPrevButton = forwardRef(\n (props: StepperPrevButtonProps, ref: Ref<HTMLButtonElement>) => {\n const data = {\n label: props.label,\n };\n\n const trackingId = useTrackingId({\n name: \"StepperPrevButton\",\n data,\n hasOverride: !!props[\"data-tracking-id\"],\n });\n return (\n <CoreStepperPrevButton\n ref={ref}\n data-tracking-id={trackingId}\n {...props}\n />\n );\n },\n);\nStepperPrevButton.displayName = CoreStepperPrevButton.displayName;\n\n/**\n * Stepper component for creating multi-step workflows and forms.\n *\n * Features:\n * - Multi-step navigation with visual progress indicators\n * - Keyboard navigation support with arrow keys\n * - Optional navigation to previous steps\n * - Smooth animations and transitions\n * - Accessible with proper ARIA roles and attributes\n * - Customizable step labels and content\n * - Completion state handling\n * - Layout utilities for positioning and spacing\n * - Motion animations for step transitions\n * - Context-based state management\n *\n * @example\n * <Stepper defaultIndex={0} allowNavigateToPrevStep>\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n *\n * <Stepper.Panel id=\"step1\">\n * <h2>Step 1 Content</h2>\n * <p>This is the first step content.</p>\n * </Stepper.Panel>\n *\n * <Stepper.Panel id=\"step2\">\n * <h2>Step 2 Content</h2>\n * <p>This is the second step content.</p>\n * </Stepper.Panel>\n *\n * <Stepper.Panel id=\"step3\">\n * <h2>Step 3 Content</h2>\n * <p>This is the final step content.</p>\n * </Stepper.Panel>\n *\n * <Stepper.FinalPanel>\n * <h2>Completed!</h2>\n * <p>All steps have been completed successfully.</p>\n * </Stepper.FinalPanel>\n *\n * <Stepper.PrevButton />\n * <Stepper.NextButton />\n * </Stepper>\n */\nexport const Stepper = Object.assign(StepperElement, {\n /**\n * Container component for organizing and displaying stepper steps.\n *\n * Features:\n * - Groups multiple stepper steps together\n * - Displays current step label\n * - Responsive design with mobile-friendly layout\n * - Accessible with proper ARIA roles\n * - Automatic step organization\n * - Visual step indicators\n * - Context-based current step display\n * - Flexible layout with CSS Grid/Flexbox\n * - Container queries for responsive behavior\n *\n * @example\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n */\n List: StepperList,\n\n /**\n * Individual step component for the Stepper.\n *\n * Features:\n * - Visual progress indicator with animated bar\n * - Check icon for completed steps\n * - Keyboard navigation support\n * - Accessible with proper ARIA attributes\n * - Click handling for step navigation\n * - Visual states for current, completed, and future steps\n * - Responsive design with mobile-friendly layout\n * - Focus management for keyboard users\n * - Custom styling support\n *\n * @example\n * <Stepper.Step controls=\"step1\">\n * Personal Information\n * </Stepper.Step>\n */\n Step: StepperStep,\n\n /**\n * Content panel component for displaying step content in the Stepper.\n *\n * Features:\n * - Displays content for the current step only\n * - Smooth fade-in/fade-out animations\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.Panel id=\"step1\">\n * <h2>Personal Information</h2>\n * <form>\n * <label htmlFor=\"name\">Name:</label>\n * <input id=\"name\" type=\"text\" />\n * </form>\n * </Stepper.Panel>\n */\n Panel: StepperPanel,\n\n /**\n * Final panel component displayed when all stepper steps are completed.\n *\n * Features:\n * - Displays only when all steps are completed\n * - Smooth fade-in animation on completion\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.FinalPanel>\n * <h2>Congratulations!</h2>\n * <p>You have successfully completed all steps.</p>\n * <Button onClick={handleSubmit}>Submit</Button>\n * </Stepper.FinalPanel>\n */\n FinalPanel: StepperFinalPanel,\n\n /**\n * Next button component for navigating to the next step in the Stepper.\n *\n * Features:\n * - Automatically advances to the next step\n * - Changes label to \"Complete\" on the final step\n * - Supports async validation with Promise return\n * - Prevents navigation when validation fails\n * - Hides when all steps are completed\n * - Accessible with proper button semantics\n * - Customizable appearance and styling\n * - Integration with stepper context\n * - Automatic completion handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.NextButton\n * nextLabel=\"Continue\"\n * completeLabel=\"Finish\"\n * />\n */\n NextButton: StepperNextButton,\n\n /**\n * Previous button component for navigating to the previous step in the Stepper.\n *\n * Features:\n * - Navigates to the previous step when available\n * - Hides when on the first step\n * - Restores navigation when returning from completion\n * - Accessible with proper button semantics\n * - Customizable label and styling\n * - Integration with stepper context\n * - Automatic focus management\n * - Support for completion state handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.PrevButton label=\"Go Back\" />\n */\n PrevButton: StepperPrevButton,\n});\n"],"names":["StepperStep","Check","StepperList","StepperPanel","core.primitive.DurationSlow","StepperNextButton","StepperPrevButton","StepperFinalPanel","StepperElement","Stepper","CoreStepper","CoreStepperList","CoreStepperStep","CoreStepperPanel","CoreStepperFinalPanel","CoreStepperNextButton","CoreStepperPrevButton"],"mappings":";;;;;;;;;;;;;AAYuB,MAAM,GAAG,GAAG,eAAe;AAClD,MAAM,OAAO,GAAG,iBAAiB;AACjC,MAAM,MAAM,GAAG,kBAAkB;AACjC,MAAM,QAAQ,GAAG;AACjB,CAAC,cAAc,EAAE,uBAAuB;AACxC,CAAC,GAAG,EAAE,GAAG;AACT,CAAC,KAAK,EAAE,OAAO;AACf,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,eAAe,EAAE,yBAAyB;AAC3C,CAAC,cAAc,EAAE;AACjB,CAAC;;AAED,MAAMA,aAAW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AAW;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,EAAEE,aAAW;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,KAAK,EAAEC,cAAY;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAEE,mBAAiB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAEC,mBAAiB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAEC;AACd,CAAC,CAAC;;ACjgBF,MAAM,cAAiB,GAAA,UAAA;AAAA,EACrB,CAAC,OAAqB,GAA6B,KAAA;AACjD,IAAA,uBAAQ,GAAA,CAAAG,SAAA,EAAA,EAAY,GAAW,EAAA,GAAG,KAAO,EAAA,CAAA;AAAA;AAE7C,CAAA;AACA,cAAA,CAAe,cAAcA,SAAY,CAAA,WAAA;AAuBlC,MAAM,WAAc,GAAA,UAAA;AAAA,EACzB,CAAC,OAAyB,GAA6B,KAAA;AACrD,IAAA,uBAAQ,GAAA,CAAAC,aAAA,EAAA,EAAgB,GAAW,EAAA,GAAG,KAAO,EAAA,CAAA;AAAA;AAEjD;AACA,WAAA,CAAY,cAAcA,aAAgB,CAAA,WAAA;AAqBnC,MAAM,WAAc,GAAA,UAAA;AAAA,EACzB,CAAC,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AAAA;AAAA,EAuBZ,UAAY,EAAA,iBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBZ,UAAY,EAAA;AACd,CAAC;;;;"}
package/dist/Stepper.js CHANGED
@@ -1,2 +1,2 @@
1
- export { S as Stepper, d as StepperFinalPanel, a as StepperList, e as StepperNextButton, c as StepperPanel, f as StepperPrevButton, b as StepperStep, S as default } from './Stepper-CwIV7ZiT.js';
1
+ export { S as Stepper, d as StepperFinalPanel, a as StepperList, e as StepperNextButton, c as StepperPanel, f as StepperPrevButton, b as StepperStep, S as default } from './Stepper-BtbDBIzz.js';
2
2
  //# sourceMappingURL=Stepper.js.map
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { forwardRef, useRef, useState, useMemo, useId } from 'react';
3
3
  import { c as cx } from './index-tZvMCc77.js';
4
- import { L as Label } from './ProgressBar-Dg77Xf_k-CyD-A4pF.js';
4
+ import { L as Label } from './ProgressBar-CzXzPpIX-Clg1J71o.js';
5
5
  import { S as Spinner } from './Spinner-DliJVzdW-BQlZEj4V.js';
6
- import { t as textfieldStyles } from './TextField.module-ChLlwuT--ChLlwuT-.js';
6
+ import { t as textfieldStyles } from './TextField.module-EkKlj66e-EkKlj66e.js';
7
7
  import { u as useOptionallyControlledState } from './useOptionallyControlledState-DAv5LXXh-DAv5LXXh.js';
8
8
  import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js';
9
9
  import { u as useMergeRefs } from './useMergeRefs-Bde85AWI-Bde85AWI.js';
@@ -173,4 +173,4 @@ const TextFieldElement = forwardRef(
173
173
  const TextField = Object.assign(TextFieldElement, {});
174
174
 
175
175
  export { TextField as T };
176
- //# sourceMappingURL=TextField-CG6Nv-0C-jX4uvHT8.js.map
176
+ //# sourceMappingURL=TextField-BIeCvDD--C7yp05g5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField-CG6Nv-0C-jX4uvHT8.js","sources":["../../hammer-react/dist/TextField-CG6Nv-0C.js"],"sourcesContent":["import { jsxs, jsx } from 'react/jsx-runtime';\nimport { forwardRef, useRef, useState, useMemo, useId } from 'react';\nimport cx from 'classnames';\nimport { L as Label } from './ProgressBar-Dg77Xf_k.js';\nimport { S as Spinner } from './Spinner-DliJVzdW.js';\nimport { t as textfieldStyles } from './TextField.module-ChLlwuT-.js';\nimport { u as useOptionallyControlledState } from './useOptionallyControlledState-DAv5LXXh.js';\nimport { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v.js';\nimport { u as useMergeRefs } from './useMergeRefs-Bde85AWI.js';\nimport { H as Helper } from './Helper-h7k80qls.js';\n\nconst TextFieldElement = forwardRef(\n function TextField2(props, ref) {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const {\n className,\n error,\n errorAriaLive: errorAriaLiveProp = \"assertive\",\n defaultValue: defaultValueProp,\n value: valueProp,\n label,\n moreInfo,\n prefix,\n suffix,\n size,\n type = \"text\",\n required,\n onChange,\n onFocus,\n onBlur,\n id: idProp,\n description,\n hint,\n showCounter,\n maxLength,\n loading,\n disabled,\n labelProps,\n style,\n placeholder,\n ...rest\n } = componentProps;\n const inputRef = useRef(null);\n const [isTyping, setIsTyping] = useState(false);\n const [openInfo, setOpenInfo] = useState(false);\n const [errorAriaLive, setErrorAriaLive] = useState(\"off\");\n const [value, setValue] = useOptionallyControlledState({\n controlledValue: valueProp,\n defaultValue: defaultValueProp\n });\n const length = useMemo(() => {\n if (typeof value === \"string\" || typeof value === \"number\") {\n return String(value).length;\n }\n return 0;\n }, [value]);\n const onChangeHandler = (e) => {\n setValue(e.target.value);\n onChange?.(e);\n if (!isTyping) {\n setIsTyping(true);\n }\n };\n const focusHandler = (e) => {\n onFocus?.(e);\n setOpenInfo(true);\n setErrorAriaLive(errorAriaLiveProp);\n };\n const blurHandler = (e) => {\n onBlur?.(e);\n setOpenInfo(false);\n setErrorAriaLive(\"off\");\n };\n const labelUid = useId();\n const id = idProp ?? labelUid;\n const prefixUid = useId();\n const suffixUid = useId();\n const helperUid = useId();\n const errorMessage = typeof error !== \"boolean\" ? error : void 0;\n const styleCombined = { ...style, ...layoutStyles };\n return /* @__PURE__ */ jsxs(\n \"div\",\n {\n className: cx(textfieldStyles[\"textfield\"], className),\n \"data-anv\": \"textfield\",\n style: styleCombined,\n children: [\n label && /* @__PURE__ */ jsx(\n Label,\n {\n moreInfo,\n openMoreInfo: openInfo,\n required,\n htmlFor: id,\n ...labelProps,\n children: label\n }\n ),\n /* @__PURE__ */ jsxs(\n \"div\",\n {\n className: cx(textfieldStyles[\"input-wrapper\"], {\n [textfieldStyles[\"small\"]]: size === \"small\",\n [textfieldStyles[\"large\"]]: size === \"large\"\n }),\n role: \"presentation\",\n onClick: () => inputRef.current?.focus(),\n children: [\n prefix ? /* @__PURE__ */ jsx(\n \"div\",\n {\n \"aria-hidden\": true,\n className: textfieldStyles[\"prefix\"],\n id: `prefix${prefixUid}`,\n children: prefix\n }\n ) : null,\n /* @__PURE__ */ jsx(\n \"input\",\n {\n id,\n className: cx(textfieldStyles[\"input\"], {\n [textfieldStyles[\"error\"]]: error\n }),\n onChange: onChangeHandler,\n onFocus: focusHandler,\n onBlur: blurHandler,\n ref: useMergeRefs([ref, inputRef]),\n required,\n maxLength,\n placeholder,\n type,\n disabled,\n value: value ?? \"\",\n ...rest,\n \"aria-label\": label ? void 0 : placeholder,\n \"aria-describedby\": helperUid,\n \"aria-invalid\": error ? !!error : void 0\n }\n ),\n loading ? /* @__PURE__ */ jsx(\"div\", { className: textfieldStyles[\"loading-spinner-wrapper\"], children: /* @__PURE__ */ jsx(Spinner, {}) }) : null,\n suffix ? /* @__PURE__ */ jsx(\n \"div\",\n {\n className: textfieldStyles[\"suffix\"],\n \"aria-hidden\": true,\n id: `suffix${suffixUid}`,\n children: suffix\n }\n ) : null\n ]\n }\n ),\n hint || showCounter || errorMessage || description ? /* @__PURE__ */ jsx(\n Helper,\n {\n id: helperUid,\n hint,\n maxLength,\n inputLength: length,\n isTyping,\n showCounter,\n errorMessage,\n errorAriaLive,\n description\n }\n ) : null\n ]\n }\n );\n }\n);\nconst TextField = Object.assign(TextFieldElement, {});\n\nexport { TextField as T };\n//# sourceMappingURL=TextField-CG6Nv-0C.js.map\n"],"names":[],"mappings":";;;;;;;;;;;AAWA,MAAM,gBAAgB,GAAG,UAAU;AACnC,EAAE,SAAS,UAAU,CAAC,KAAK,EAAE,GAAG,EAAE;AAClC,IAAI,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,kBAAkB,CAAC,KAAK,CAAC;AACtE,IAAI,MAAM;AACV,MAAM,SAAS;AACf,MAAM,KAAK;AACX,MAAM,aAAa,EAAE,iBAAiB,GAAG,WAAW;AACpD,MAAM,YAAY,EAAE,gBAAgB;AACpC,MAAM,KAAK,EAAE,SAAS;AACtB,MAAM,KAAK;AACX,MAAM,QAAQ;AACd,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,MAAM,IAAI;AACV,MAAM,IAAI,GAAG,MAAM;AACnB,MAAM,QAAQ;AACd,MAAM,QAAQ;AACd,MAAM,OAAO;AACb,MAAM,MAAM;AACZ,MAAM,EAAE,EAAE,MAAM;AAChB,MAAM,WAAW;AACjB,MAAM,IAAI;AACV,MAAM,WAAW;AACjB,MAAM,SAAS;AACf,MAAM,OAAO;AACb,MAAM,QAAQ;AACd,MAAM,UAAU;AAChB,MAAM,KAAK;AACX,MAAM,WAAW;AACjB,MAAM,GAAG;AACT,KAAK,GAAG,cAAc;AACtB,IAAI,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC;AACjC,IAAI,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC;AACnD,IAAI,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC;AACnD,I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AC;AAC5C,oBAAoB,QAAQ,EAAE;AAC9B;AACA,iBAAiB,GAAG;AACpB;AACA;AACA,WAAW;AACX,UAAU,IAAI,IAAI,WAAW,IAAI,YAAY,IAAI,WAAW,mBAAmB,GAAG;AAClF,YAAY,MAAM;AAClB,YAAY;AACZ,cAAc,EAAE,EAAE,SAAS;AAC3B,cAAc,IAAI;AAClB,cAAc,SAAS;AACvB,cAAc,WAAW,EAAE,MAAM;AACjC,cAAc,QAAQ;AACtB,cAAc,WAAW;AACzB,cAAc,YAAY;AAC1B,cAAc,aAAa;AAC3B,cAAc;AACd;AACA,WAAW,GAAG;AACd;AACA;AACA,KAAK;AACL;AACA,CAAC;AACI,MAAC,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,EAAE,EAAE;;;;"}
1
+ {"version":3,"file":"TextField-BIeCvDD--C7yp05g5.js","sources":["../../hammer-react/dist/TextField-BIeCvDD-.js"],"sourcesContent":["import { jsxs, jsx } from 'react/jsx-runtime';\nimport { forwardRef, useRef, useState, useMemo, useId } from 'react';\nimport cx from 'classnames';\nimport { L as Label } from './ProgressBar-CzXzPpIX.js';\nimport { S as Spinner } from './Spinner-DliJVzdW.js';\nimport { t as textfieldStyles } from './TextField.module-EkKlj66e.js';\nimport { u as useOptionallyControlledState } from './useOptionallyControlledState-DAv5LXXh.js';\nimport { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v.js';\nimport { u as useMergeRefs } from './useMergeRefs-Bde85AWI.js';\nimport { H as Helper } from './Helper-h7k80qls.js';\n\nconst TextFieldElement = forwardRef(\n function TextField2(props, ref) {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const {\n className,\n error,\n errorAriaLive: errorAriaLiveProp = \"assertive\",\n defaultValue: defaultValueProp,\n value: valueProp,\n label,\n moreInfo,\n prefix,\n suffix,\n size,\n type = \"text\",\n required,\n onChange,\n onFocus,\n onBlur,\n id: idProp,\n description,\n hint,\n showCounter,\n maxLength,\n loading,\n disabled,\n labelProps,\n style,\n placeholder,\n ...rest\n } = componentProps;\n const inputRef = useRef(null);\n const [isTyping, setIsTyping] = useState(false);\n const [openInfo, setOpenInfo] = useState(false);\n const [errorAriaLive, setErrorAriaLive] = useState(\"off\");\n const [value, setValue] = useOptionallyControlledState({\n controlledValue: valueProp,\n defaultValue: defaultValueProp\n });\n const length = useMemo(() => {\n if (typeof value === \"string\" || typeof value === \"number\") {\n return String(value).length;\n }\n return 0;\n }, [value]);\n const onChangeHandler = (e) => {\n setValue(e.target.value);\n onChange?.(e);\n if (!isTyping) {\n setIsTyping(true);\n }\n };\n const focusHandler = (e) => {\n onFocus?.(e);\n setOpenInfo(true);\n setErrorAriaLive(errorAriaLiveProp);\n };\n const blurHandler = (e) => {\n onBlur?.(e);\n setOpenInfo(false);\n setErrorAriaLive(\"off\");\n };\n const labelUid = useId();\n const id = idProp ?? labelUid;\n const prefixUid = useId();\n const suffixUid = useId();\n const helperUid = useId();\n const errorMessage = typeof error !== \"boolean\" ? error : void 0;\n const styleCombined = { ...style, ...layoutStyles };\n return /* @__PURE__ */ jsxs(\n \"div\",\n {\n className: cx(textfieldStyles[\"textfield\"], className),\n \"data-anv\": \"textfield\",\n style: styleCombined,\n children: [\n label && /* @__PURE__ */ jsx(\n Label,\n {\n moreInfo,\n openMoreInfo: openInfo,\n required,\n htmlFor: id,\n ...labelProps,\n children: label\n }\n ),\n /* @__PURE__ */ jsxs(\n \"div\",\n {\n className: cx(textfieldStyles[\"input-wrapper\"], {\n [textfieldStyles[\"small\"]]: size === \"small\",\n [textfieldStyles[\"large\"]]: size === \"large\"\n }),\n role: \"presentation\",\n onClick: () => inputRef.current?.focus(),\n children: [\n prefix ? /* @__PURE__ */ jsx(\n \"div\",\n {\n \"aria-hidden\": true,\n className: textfieldStyles[\"prefix\"],\n id: `prefix${prefixUid}`,\n children: prefix\n }\n ) : null,\n /* @__PURE__ */ jsx(\n \"input\",\n {\n id,\n className: cx(textfieldStyles[\"input\"], {\n [textfieldStyles[\"error\"]]: error\n }),\n onChange: onChangeHandler,\n onFocus: focusHandler,\n onBlur: blurHandler,\n ref: useMergeRefs([ref, inputRef]),\n required,\n maxLength,\n placeholder,\n type,\n disabled,\n value: value ?? \"\",\n ...rest,\n \"aria-label\": label ? void 0 : placeholder,\n \"aria-describedby\": helperUid,\n \"aria-invalid\": error ? !!error : void 0\n }\n ),\n loading ? /* @__PURE__ */ jsx(\"div\", { className: textfieldStyles[\"loading-spinner-wrapper\"], children: /* @__PURE__ */ jsx(Spinner, {}) }) : null,\n suffix ? /* @__PURE__ */ jsx(\n \"div\",\n {\n className: textfieldStyles[\"suffix\"],\n \"aria-hidden\": true,\n id: `suffix${suffixUid}`,\n children: suffix\n }\n ) : null\n ]\n }\n ),\n hint || showCounter || errorMessage || description ? /* @__PURE__ */ jsx(\n Helper,\n {\n id: helperUid,\n hint,\n maxLength,\n inputLength: length,\n isTyping,\n showCounter,\n errorMessage,\n errorAriaLive,\n description\n }\n ) : null\n ]\n }\n );\n }\n);\nconst TextField = Object.assign(TextFieldElement, {});\n\nexport { TextField as T };\n//# sourceMappingURL=TextField-BIeCvDD-.js.map\n"],"names":[],"mappings":";;;;;;;;;;;AAWA,MAAM,gBAAgB,GAAG,UAAU;AACnC,EAAE,SAAS,UAAU,CAAC,KAAK,EAAE,GAAG,EAAE;AAClC,IAAI,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,kBAAkB,CAAC,KAAK,CAAC;AACtE,IAAI,MAAM;AACV,MAAM,SAAS;AACf,MAAM,KAAK;AACX,MAAM,aAAa,EAAE,iBAAiB,GAAG,WAAW;AACpD,MAAM,YAAY,EAAE,gBAAgB;AACpC,MAAM,KAAK,EAAE,SAAS;AACtB,MAAM,KAAK;AACX,MAAM,QAAQ;AACd,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,MAAM,IAAI;AACV,MAAM,IAAI,GAAG,MAAM;AACnB,MAAM,QAAQ;AACd,MAAM,QAAQ;AACd,MAAM,OAAO;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oBAAoB,cAAc,EAAE,KAAK,GAAG,CAAC,CAAC,KAAK,GAAG;AACtD;AACA,iBAAiB;AACjB,gBAAgB,OAAO,mBAAmB,GAAG,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,CAAC,yBAAyB,CAAC,EAAE,QAAQ,kBAAkB,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,IAAI;AAClK,gBAAgB,MAAM,mBAAmB,GAAG;AAC5C,kBAAkB,KAAK;AACvB,kBAAkB;AAClB,oBAAoB,SAAS,EAAE,eAAe,CAAC,QAAQ,CAAC;AACxD,oBAAoB,aAAa,EAAE,IAAI;AACvC,oBAAoB,EAAE,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AAC5C,oBAAoB,QAAQ,EAAE;AAC9B;AACA,iBAAiB,GAAG;AACpB;AACA;AACA,WAAW;AACX,UAAU,IAAI,IAAI,WAAW,IAAI,YAAY,IAAI,WAAW,mBAAmB,GAAG;AAClF,YAAY,MAAM;AAClB,YAAY;AACZ,cAAc,EAAE,EAAE,SAAS;AAC3B,cAAc,IAAI;AAClB,cAAc,SAAS;AACvB,cAAc,WAAW,EAAE,MAAM;AACjC,cAAc,QAAQ;AACtB,cAAc,WAAW;AACzB,cAAc,YAAY;AAC1B,cAAc,aAAa;AAC3B,cAAc;AACd;AACA,WAAW,GAAG;AACd;AACA;AACA,KAAK;AACL;AACA,CAAC;AACI,MAAC,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,EAAE,EAAE;;;;"}
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { forwardRef } from 'react';
3
3
  import { useTrackingId } from './useTrackingId.js';
4
4
  import { c as childrenToString } from './childrenToString-Bz9MqbHb-Bz9MqbHb.js';
5
- import { T as TextField$1 } from './TextField-CG6Nv-0C-jX4uvHT8.js';
5
+ import { T as TextField$1 } from './TextField-BIeCvDD--C7yp05g5.js';
6
6
 
7
7
  const TextField = forwardRef(
8
8
  (props, ref) => {
@@ -26,4 +26,4 @@ const TextField = forwardRef(
26
26
  TextField.displayName = TextField$1.displayName;
27
27
 
28
28
  export { TextField as T };
29
- //# sourceMappingURL=TextField-DoqYMou3.js.map
29
+ //# sourceMappingURL=TextField-COXABNrR.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField-DoqYMou3.js","sources":["../src/components/TextField/TextField.tsx"],"sourcesContent":["import {\n TextFieldProps as CoreTextFieldProps,\n TextField as CoreTextField,\n childrenToString,\n} from \"@servicetitan/hammer-react\";\nimport { Ref, forwardRef } from \"react\";\nimport { useTrackingId } from \"../../hooks/useTrackingId\";\nimport { DistributiveOmit } from \"../../types\";\nimport { DataTrackingId } from \"../../types/DataTrackingId\";\n\nexport type TextFieldProps = DistributiveOmit<CoreTextFieldProps, \"prefix\"> &\n DataTrackingId & {\n prefix?: string;\n };\n\nexport const TextField = forwardRef(\n (props: TextFieldProps, ref: Ref<HTMLInputElement>) => {\n const data = {\n label: childrenToString(props.label),\n labelProps: props.labelProps,\n prefix: childrenToString(props.prefix),\n hint: childrenToString(props.hint),\n description: childrenToString(props.description),\n size: props.size,\n type: props.type,\n };\n\n const trackingId = useTrackingId({\n name: \"TextField\",\n data,\n hasOverride: !!props[\"data-tracking-id\"],\n });\n return <CoreTextField ref={ref} data-tracking-id={trackingId} {...props} />;\n },\n);\nTextField.displayName = CoreTextField.displayName;\n"],"names":["CoreTextField"],"mappings":";;;;;;AAeO,MAAM,SAAY,GAAA,UAAA;AAAA,EACvB,CAAC,OAAuB,GAA+B,KAAA;AACrD,IAAA,MAAM,IAAO,GAAA;AAAA,MACX,KAAA,EAAO,gBAAiB,CAAA,KAAA,CAAM,KAAK,CAAA;AAAA,MACnC,YAAY,KAAM,CAAA,UAAA;AAAA,MAClB,MAAA,EAAQ,gBAAiB,CAAA,KAAA,CAAM,MAAM,CAAA;AAAA,MACrC,IAAA,EAAM,gBAAiB,CAAA,KAAA,CAAM,IAAI,CAAA;AAAA,MACjC,WAAA,EAAa,gBAAiB,CAAA,KAAA,CAAM,WAAW,CAAA;AAAA,MAC/C,MAAM,KAAM,CAAA,IAAA;AAAA,MACZ,MAAM,KAAM,CAAA;AAAA,KACd;AAEA,IAAA,MAAM,aAAa,aAAc,CAAA;AAAA,MAC/B,IAAM,EAAA,WAAA;AAAA,MACN,IAAA;AAAA,MACA,WAAa,EAAA,CAAC,CAAC,KAAA,CAAM,kBAAkB;AAAA,KACxC,CAAA;AACD,IAAA,2BAAQA,WAAc,EAAA,EAAA,GAAA,EAAU,kBAAkB,EAAA,UAAA,EAAa,GAAG,KAAO,EAAA,CAAA;AAAA;AAE7E;AACA,SAAA,CAAU,cAAcA,WAAc,CAAA,WAAA;;;;"}
1
+ {"version":3,"file":"TextField-COXABNrR.js","sources":["../src/components/TextField/TextField.tsx"],"sourcesContent":["import {\n TextFieldProps as CoreTextFieldProps,\n TextField as CoreTextField,\n childrenToString,\n} from \"@servicetitan/hammer-react\";\nimport { Ref, forwardRef } from \"react\";\nimport { useTrackingId } from \"../../hooks/useTrackingId\";\nimport { DistributiveOmit } from \"../../types\";\nimport { DataTrackingId } from \"../../types/DataTrackingId\";\n\nexport type TextFieldProps = DistributiveOmit<CoreTextFieldProps, \"prefix\"> &\n DataTrackingId & {\n prefix?: string;\n };\n\nexport const TextField = forwardRef(\n (props: TextFieldProps, ref: Ref<HTMLInputElement>) => {\n const data = {\n label: childrenToString(props.label),\n labelProps: props.labelProps,\n prefix: childrenToString(props.prefix),\n hint: childrenToString(props.hint),\n description: childrenToString(props.description),\n size: props.size,\n type: props.type,\n };\n\n const trackingId = useTrackingId({\n name: \"TextField\",\n data,\n hasOverride: !!props[\"data-tracking-id\"],\n });\n return <CoreTextField ref={ref} data-tracking-id={trackingId} {...props} />;\n },\n);\nTextField.displayName = CoreTextField.displayName;\n"],"names":["CoreTextField"],"mappings":";;;;;;AAeO,MAAM,SAAY,GAAA,UAAA;AAAA,EACvB,CAAC,OAAuB,GAA+B,KAAA;AACrD,IAAA,MAAM,IAAO,GAAA;AAAA,MACX,KAAA,EAAO,gBAAiB,CAAA,KAAA,CAAM,KAAK,CAAA;AAAA,MACnC,YAAY,KAAM,CAAA,UAAA;AAAA,MAClB,MAAA,EAAQ,gBAAiB,CAAA,KAAA,CAAM,MAAM,CAAA;AAAA,MACrC,IAAA,EAAM,gBAAiB,CAAA,KAAA,CAAM,IAAI,CAAA;AAAA,MACjC,WAAA,EAAa,gBAAiB,CAAA,KAAA,CAAM,WAAW,CAAA;AAAA,MAC/C,MAAM,KAAM,CAAA,IAAA;AAAA,MACZ,MAAM,KAAM,CAAA;AAAA,KACd;AAEA,IAAA,MAAM,aAAa,aAAc,CAAA;AAAA,MAC/B,IAAM,EAAA,WAAA;AAAA,MACN,IAAA;AAAA,MACA,WAAa,EAAA,CAAC,CAAC,KAAA,CAAM,kBAAkB;AAAA,KACxC,CAAA;AACD,IAAA,2BAAQA,WAAc,EAAA,EAAA,GAAA,EAAU,kBAAkB,EAAA,UAAA,EAAa,GAAG,KAAO,EAAA,CAAA;AAAA;AAE7E;AACA,SAAA,CAAU,cAAcA,WAAc,CAAA,WAAA;;;;"}
@@ -1,7 +1,7 @@
1
1
  @layer starter, reset, base, state, application;
2
2
  @layer starter, reset, base, state, application;
3
3
  @layer reset {
4
- ._textfield_fc0u4_2 {
4
+ ._textfield_v737q_2 {
5
5
  all: unset;
6
6
  font-family: var(--font-family-base, "Nunito Sans", sans-serif);
7
7
  font-size: 100%;
@@ -14,7 +14,7 @@
14
14
  box-sizing: border-box;
15
15
  display: flex;
16
16
  }
17
- ._input_fc0u4_15 {
17
+ ._input_v737q_15 {
18
18
  all: unset;
19
19
  font-family: var(--font-family-base, "Nunito Sans", sans-serif);
20
20
  font-size: 100%;
@@ -27,7 +27,7 @@
27
27
  box-sizing: border-box;
28
28
  display: block;
29
29
  }
30
- ._input-wrapper_fc0u4_28 {
30
+ ._input-wrapper_v737q_28 {
31
31
  all: unset;
32
32
  font-family: var(--font-family-base, "Nunito Sans", sans-serif);
33
33
  font-size: 100%;
@@ -40,8 +40,8 @@
40
40
  box-sizing: border-box;
41
41
  display: flex;
42
42
  }
43
- ._prefix_fc0u4_41,
44
- ._suffix_fc0u4_42 {
43
+ ._prefix_v737q_41,
44
+ ._suffix_v737q_42 {
45
45
  all: unset;
46
46
  font-family: var(--font-family-base, "Nunito Sans", sans-serif);
47
47
  font-size: 100%;
@@ -56,18 +56,18 @@
56
56
  }
57
57
  }
58
58
  @layer base {
59
- ._textfield_fc0u4_2 {
59
+ ._textfield_v737q_2 {
60
60
  flex-direction: column;
61
61
  font-size: 1rem;
62
62
  gap: 0.5rem;
63
63
  }
64
- ._textfield_fc0u4_2 ._loading-spinner-wrapper_fc0u4_62 {
64
+ ._textfield_v737q_2 ._loading-spinner-wrapper_v737q_62 {
65
65
  width: 1rem;
66
66
  height: 1rem;
67
67
  padding-inline-start: 0.5rem;
68
68
  padding-inline-end: 0.5rem;
69
69
  }
70
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28 {
70
+ ._textfield_v737q_2 ._input-wrapper_v737q_28 {
71
71
  background-color: var(--background-color, #ffffff);
72
72
  border: 0.0625rem solid var(--border-color, #949596);
73
73
  border-radius: 0.375rem;
@@ -76,7 +76,7 @@
76
76
  align-items: center;
77
77
  height: 2.5rem;
78
78
  }
79
- ._textfield_fc0u4_2 ._input_fc0u4_15 {
79
+ ._textfield_v737q_2 ._input_v737q_15 {
80
80
  font-family: var(--font-family-base, "Nunito Sans", sans-serif);
81
81
  font-size: 100%;
82
82
  color: var(--foreground-color, #141414);
@@ -87,14 +87,14 @@
87
87
  padding-block: 0.5rem;
88
88
  padding-inline: 0.75rem;
89
89
  }
90
- ._textfield_fc0u4_2 ._input_fc0u4_15::-moz-placeholder {
90
+ ._textfield_v737q_2 ._input_v737q_15::-moz-placeholder {
91
91
  color: var(--foreground-color-subdued, #737475);
92
92
  }
93
- ._textfield_fc0u4_2 ._input_fc0u4_15::placeholder {
93
+ ._textfield_v737q_2 ._input_v737q_15::placeholder {
94
94
  color: var(--foreground-color-subdued, #737475);
95
95
  }
96
- ._textfield_fc0u4_2 ._prefix_fc0u4_41,
97
- ._textfield_fc0u4_2 ._suffix_fc0u4_42 {
96
+ ._textfield_v737q_2 ._prefix_v737q_41,
97
+ ._textfield_v737q_2 ._suffix_v737q_42 {
98
98
  flex-grow: 0;
99
99
  flex-shrink: 0;
100
100
  flex-basis: auto;
@@ -106,39 +106,42 @@
106
106
  }
107
107
  }
108
108
  @layer state {
109
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28._small_fc0u4_104 {
109
+ ._textfield_v737q_2 ._input-wrapper_v737q_28._small_v737q_104 {
110
110
  height: 2rem;
111
111
  }
112
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28._large_fc0u4_107 {
112
+ ._textfield_v737q_2 ._input-wrapper_v737q_28._large_v737q_107 {
113
113
  height: 3rem;
114
114
  }
115
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has(._input_fc0u4_15:disabled) {
115
+ ._textfield_v737q_2 ._input-wrapper_v737q_28:has(._input_v737q_15:disabled) {
116
116
  opacity: 0.4;
117
117
  }
118
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has(._input_fc0u4_15:-moz-read-only) {
118
+ ._textfield_v737q_2 ._input-wrapper_v737q_28:has(._input_v737q_15:-moz-read-only) {
119
119
  background-color: var(--background-color-strong, #f7f7f7);
120
120
  }
121
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has(._input_fc0u4_15:read-only) {
121
+ ._textfield_v737q_2 ._input-wrapper_v737q_28:has(._input_v737q_15:read-only) {
122
122
  background-color: var(--background-color-strong, #f7f7f7);
123
123
  }
124
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has(._input_fc0u4_15._error_fc0u4_116) {
124
+ ._textfield_v737q_2 ._input-wrapper_v737q_28:has(._input_v737q_15._error_v737q_116) {
125
125
  border-color: var(--border-color-danger, #e13212);
126
126
  }
127
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has(._input_fc0u4_15:focus), ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has([data-interactive=focus-visible]) {
127
+ ._textfield_v737q_2 ._input-wrapper_v737q_28:has(._input_v737q_15:focus), ._textfield_v737q_2 ._input-wrapper_v737q_28:has([data-interactive=focus-visible]) {
128
128
  outline: 0.125rem solid var(--focus-ring-color, #0265DC);
129
129
  outline-offset: 0.125rem;
130
130
  }
131
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has(._input_fc0u4_15._error_fc0u4_116:focus) {
131
+ ._textfield_v737q_2 ._input-wrapper_v737q_28:has(._input_v737q_15._error_v737q_116:focus) {
132
132
  outline: 0.125rem solid var(--focus-ring-color-danger, #e13212);
133
133
  outline-offset: 0.125rem;
134
134
  }
135
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has(._prefix_fc0u4_41) input {
135
+ ._textfield_v737q_2 ._input-wrapper_v737q_28:has(._prefix_v737q_41) input {
136
136
  padding-inline-start: 0;
137
137
  }
138
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has(._suffix_fc0u4_42) input {
138
+ ._textfield_v737q_2 ._input-wrapper_v737q_28:has(._suffix_v737q_42) input {
139
139
  padding-inline-end: 0;
140
140
  }
141
- ._textfield_fc0u4_2 ._input-wrapper_fc0u4_28:has(._suffix_fc0u4_42) ._loading-spinner_fc0u4_62 {
141
+ ._textfield_v737q_2 ._input-wrapper_v737q_28:has(._suffix_v737q_42) ._loading-spinner_v737q_62 {
142
142
  padding-inline-end: 0;
143
143
  }
144
+ ._input_v737q_15[data-input-empty=true] {
145
+ color: var(--foreground-color-subdued, #737475);
146
+ }
144
147
  }
package/dist/TextField.js CHANGED
@@ -1,2 +1,2 @@
1
- export { T as TextField, T as default } from './TextField-DoqYMou3.js';
1
+ export { T as TextField, T as default } from './TextField-COXABNrR.js';
2
2
  //# sourceMappingURL=TextField.js.map
@@ -0,0 +1,20 @@
1
+ import './TextField.css';const textfield = "_textfield_v737q_2";
2
+ const input = "_input_v737q_15";
3
+ const prefix = "_prefix_v737q_41";
4
+ const suffix = "_suffix_v737q_42";
5
+ const small = "_small_v737q_104";
6
+ const large = "_large_v737q_107";
7
+ const error = "_error_v737q_116";
8
+ const textfieldStyles = {
9
+ textfield: textfield,
10
+ input: input,
11
+ "input-wrapper": "_input-wrapper_v737q_28",
12
+ prefix: prefix,
13
+ suffix: suffix,
14
+ "loading-spinner-wrapper": "_loading-spinner-wrapper_v737q_62",
15
+ small: small,
16
+ large: large,
17
+ error: error};
18
+
19
+ export { textfieldStyles as t };
20
+ //# sourceMappingURL=TextField.module-EkKlj66e-EkKlj66e.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.module-ChLlwuT--ChLlwuT-.js","sources":["../../hammer-react/dist/TextField.module-ChLlwuT-.js"],"sourcesContent":["import './TextField.css';const textfield = \"_textfield_fc0u4_2\";\nconst input = \"_input_fc0u4_15\";\nconst prefix = \"_prefix_fc0u4_41\";\nconst suffix = \"_suffix_fc0u4_42\";\nconst small = \"_small_fc0u4_104\";\nconst large = \"_large_fc0u4_107\";\nconst error = \"_error_fc0u4_116\";\nconst textfieldStyles = {\n\ttextfield: textfield,\n\tinput: input,\n\t\"input-wrapper\": \"_input-wrapper_fc0u4_28\",\n\tprefix: prefix,\n\tsuffix: suffix,\n\t\"loading-spinner-wrapper\": \"_loading-spinner-wrapper_fc0u4_62\",\n\tsmall: small,\n\tlarge: large,\n\terror: error};\n\nexport { textfieldStyles as t };\n//# sourceMappingURL=TextField.module-ChLlwuT-.js.map\n"],"names":[],"mappings":"AAAyB,MAAM,SAAS,GAAG,oBAAoB;AAC/D,MAAM,KAAK,GAAG,iBAAiB;AAC/B,MAAM,MAAM,GAAG,kBAAkB;AACjC,MAAM,MAAM,GAAG,kBAAkB;AACjC,MAAM,KAAK,GAAG,kBAAkB;AAChC,MAAM,KAAK,GAAG,kBAAkB;AAChC,MAAM,KAAK,GAAG,kBAAkB;AAC3B,MAAC,eAAe,GAAG;AACxB,CAAC,SAAS,EAAE,SAAS;AACrB,CAAC,KAAK,EAAE,KAAK;AACb,CAAC,eAAe,EAAE,yBAAyB;AAC3C,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,yBAAyB,EAAE,mCAAmC;AAC/D,CAAC,KAAK,EAAE,KAAK;AACb,CAAC,KAAK,EAAE,KAAK;AACb,CAAC,KAAK,EAAE,KAAK;;;;"}
1
+ {"version":3,"file":"TextField.module-EkKlj66e-EkKlj66e.js","sources":["../../hammer-react/dist/TextField.module-EkKlj66e.js"],"sourcesContent":["import './TextField.css';const textfield = \"_textfield_v737q_2\";\nconst input = \"_input_v737q_15\";\nconst prefix = \"_prefix_v737q_41\";\nconst suffix = \"_suffix_v737q_42\";\nconst small = \"_small_v737q_104\";\nconst large = \"_large_v737q_107\";\nconst error = \"_error_v737q_116\";\nconst textfieldStyles = {\n\ttextfield: textfield,\n\tinput: input,\n\t\"input-wrapper\": \"_input-wrapper_v737q_28\",\n\tprefix: prefix,\n\tsuffix: suffix,\n\t\"loading-spinner-wrapper\": \"_loading-spinner-wrapper_v737q_62\",\n\tsmall: small,\n\tlarge: large,\n\terror: error};\n\nexport { textfieldStyles as t };\n//# sourceMappingURL=TextField.module-EkKlj66e.js.map\n"],"names":[],"mappings":"AAAyB,MAAM,SAAS,GAAG,oBAAoB;AAC/D,MAAM,KAAK,GAAG,iBAAiB;AAC/B,MAAM,MAAM,GAAG,kBAAkB;AACjC,MAAM,MAAM,GAAG,kBAAkB;AACjC,MAAM,KAAK,GAAG,kBAAkB;AAChC,MAAM,KAAK,GAAG,kBAAkB;AAChC,MAAM,KAAK,GAAG,kBAAkB;AAC3B,MAAC,eAAe,GAAG;AACxB,CAAC,SAAS,EAAE,SAAS;AACrB,CAAC,KAAK,EAAE,KAAK;AACb,CAAC,eAAe,EAAE,yBAAyB;AAC3C,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,yBAAyB,EAAE,mCAAmC;AAC/D,CAAC,KAAK,EAAE,KAAK;AACb,CAAC,KAAK,EAAE,KAAK;AACb,CAAC,KAAK,EAAE,KAAK;;;;"}
@@ -4,7 +4,7 @@ import React__default, { useLayoutEffect, forwardRef, useRef, useState, useEffec
4
4
  import { useTrackingId } from './useTrackingId.js';
5
5
  import { c as childrenToString } from './childrenToString-Bz9MqbHb-Bz9MqbHb.js';
6
6
  import { c as cx } from './index-tZvMCc77.js';
7
- import { L as Label } from './ProgressBar-Dg77Xf_k-CyD-A4pF.js';
7
+ import { L as Label } from './ProgressBar-CzXzPpIX-Clg1J71o.js';
8
8
  import { _ as _objectWithoutPropertiesLoose, a as _extends } from './extends-Bg2s_OKl.js';
9
9
  import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js';
10
10
  import { u as useMergeRefs } from './useMergeRefs-Bde85AWI-Bde85AWI.js';
@@ -395,4 +395,4 @@ const Textarea = forwardRef(
395
395
  Textarea.displayName = Textarea$1.displayName;
396
396
 
397
397
  export { Textarea as T };
398
- //# sourceMappingURL=Textarea-6omWLtXb.js.map
398
+ //# sourceMappingURL=Textarea-D6K3Jc5_.js.map