@travel-match/ui 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/dist/components/AccountMenu/AccountMenu.cjs +1 -1
  2. package/dist/components/AccountMenu/AccountMenu.cjs.map +1 -1
  3. package/dist/components/AccountMenu/AccountMenu.js +1 -1
  4. package/dist/components/AccountMenu/AccountMenu.js.map +1 -1
  5. package/dist/components/ConfirmationDialog/ConfirmationDialog.cjs +1 -1
  6. package/dist/components/ConfirmationDialog/ConfirmationDialog.cjs.map +1 -1
  7. package/dist/components/ConfirmationDialog/ConfirmationDialog.js +1 -0
  8. package/dist/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -1
  9. package/dist/components/CtaRequestFlow/CtaRequestFlow.cjs +1 -1
  10. package/dist/components/CtaRequestFlow/CtaRequestFlow.cjs.map +1 -1
  11. package/dist/components/CtaRequestFlow/CtaRequestFlow.js +72 -37
  12. package/dist/components/CtaRequestFlow/CtaRequestFlow.js.map +1 -1
  13. package/dist/components/ExampleRequests/ExampleRequests.cjs +1 -1
  14. package/dist/components/ExampleRequests/ExampleRequests.cjs.map +1 -1
  15. package/dist/components/ExampleRequests/ExampleRequests.js +18 -17
  16. package/dist/components/ExampleRequests/ExampleRequests.js.map +1 -1
  17. package/dist/components/FaqItem/FaqItem.cjs +1 -1
  18. package/dist/components/FaqItem/FaqItem.cjs.map +1 -1
  19. package/dist/components/FaqItem/FaqItem.js +79 -34
  20. package/dist/components/FaqItem/FaqItem.js.map +1 -1
  21. package/dist/components/Field/Field.cjs +1 -1
  22. package/dist/components/Field/Field.cjs.map +1 -1
  23. package/dist/components/Field/Field.js +10 -8
  24. package/dist/components/Field/Field.js.map +1 -1
  25. package/dist/components/InlineAlert/InlineAlert.cjs +1 -1
  26. package/dist/components/InlineAlert/InlineAlert.cjs.map +1 -1
  27. package/dist/components/InlineAlert/InlineAlert.js +9 -8
  28. package/dist/components/InlineAlert/InlineAlert.js.map +1 -1
  29. package/dist/components/NewRequestOverlay/NewRequestOverlay.cjs +1 -1
  30. package/dist/components/NewRequestOverlay/NewRequestOverlay.cjs.map +1 -1
  31. package/dist/components/NewRequestOverlay/NewRequestOverlay.js +67 -48
  32. package/dist/components/NewRequestOverlay/NewRequestOverlay.js.map +1 -1
  33. package/dist/components/NotificationsDropdown/NotificationsMenu.cjs +1 -1
  34. package/dist/components/NotificationsDropdown/NotificationsMenu.cjs.map +1 -1
  35. package/dist/components/NotificationsDropdown/NotificationsMenu.js +1 -1
  36. package/dist/components/NotificationsDropdown/NotificationsMenu.js.map +1 -1
  37. package/dist/components/PartnerCarousel/PartnerCarousel.cjs.map +1 -1
  38. package/dist/components/PartnerCarousel/PartnerCarousel.js.map +1 -1
  39. package/dist/components/PhoneInput/PhoneInput.cjs +1 -1
  40. package/dist/components/PhoneInput/PhoneInput.cjs.map +1 -1
  41. package/dist/components/PhoneInput/PhoneInput.js +8 -5
  42. package/dist/components/PhoneInput/PhoneInput.js.map +1 -1
  43. package/dist/components/PopularQuestions/PopularQuestions.cjs +1 -1
  44. package/dist/components/PopularQuestions/PopularQuestions.cjs.map +1 -1
  45. package/dist/components/PopularQuestions/PopularQuestions.js +22 -21
  46. package/dist/components/PopularQuestions/PopularQuestions.js.map +1 -1
  47. package/dist/components/RegionMap/RegionMap.cjs +2 -0
  48. package/dist/components/RegionMap/RegionMap.cjs.map +1 -0
  49. package/dist/components/RegionMap/RegionMap.js +55 -0
  50. package/dist/components/RegionMap/RegionMap.js.map +1 -0
  51. package/dist/components/RegionMap/mapPaths.cjs +2 -0
  52. package/dist/components/RegionMap/mapPaths.cjs.map +1 -0
  53. package/dist/components/RegionMap/mapPaths.js +86 -0
  54. package/dist/components/RegionMap/mapPaths.js.map +1 -0
  55. package/dist/components/RequestSearch/RequestSearch.cjs +2 -0
  56. package/dist/components/RequestSearch/RequestSearch.cjs.map +1 -0
  57. package/dist/components/RequestSearch/RequestSearch.js +36 -0
  58. package/dist/components/RequestSearch/RequestSearch.js.map +1 -0
  59. package/dist/components/RequestSummary/RequestSummary.cjs +1 -1
  60. package/dist/components/RequestSummary/RequestSummary.cjs.map +1 -1
  61. package/dist/components/RequestSummary/RequestSummary.js +31 -32
  62. package/dist/components/RequestSummary/RequestSummary.js.map +1 -1
  63. package/dist/components/RequestTypeOption/RequestTypeOption.cjs +2 -0
  64. package/dist/components/RequestTypeOption/RequestTypeOption.cjs.map +1 -0
  65. package/dist/components/RequestTypeOption/RequestTypeOption.js +52 -0
  66. package/dist/components/RequestTypeOption/RequestTypeOption.js.map +1 -0
  67. package/dist/components/Select/Select.cjs +1 -1
  68. package/dist/components/Select/Select.cjs.map +1 -1
  69. package/dist/components/Select/Select.js +127 -121
  70. package/dist/components/Select/Select.js.map +1 -1
  71. package/dist/components/ShowMore/ShowMore.cjs +2 -0
  72. package/dist/components/ShowMore/ShowMore.cjs.map +1 -0
  73. package/dist/components/ShowMore/ShowMore.js +34 -0
  74. package/dist/components/ShowMore/ShowMore.js.map +1 -0
  75. package/dist/components/SiteHeader/SiteHeader.cjs.map +1 -1
  76. package/dist/components/SiteHeader/SiteHeader.js.map +1 -1
  77. package/dist/components/SortSelect/SortSelect.cjs +2 -0
  78. package/dist/components/SortSelect/SortSelect.cjs.map +1 -0
  79. package/dist/components/SortSelect/SortSelect.js +18 -0
  80. package/dist/components/SortSelect/SortSelect.js.map +1 -0
  81. package/dist/components/StatusFilter/StatusFilter.cjs +2 -0
  82. package/dist/components/StatusFilter/StatusFilter.cjs.map +1 -0
  83. package/dist/components/StatusFilter/StatusFilter.js +37 -0
  84. package/dist/components/StatusFilter/StatusFilter.js.map +1 -0
  85. package/dist/components/StatusTag/StatusTag.cjs.map +1 -1
  86. package/dist/components/StatusTag/StatusTag.js.map +1 -1
  87. package/dist/components/StepCard/StepCard.cjs +1 -1
  88. package/dist/components/StepCard/StepCard.cjs.map +1 -1
  89. package/dist/components/StepCard/StepCard.js +9 -6
  90. package/dist/components/StepCard/StepCard.js.map +1 -1
  91. package/dist/components/StepProgress/StepProgress.cjs +2 -0
  92. package/dist/components/StepProgress/StepProgress.cjs.map +1 -0
  93. package/dist/components/StepProgress/StepProgress.js +43 -0
  94. package/dist/components/StepProgress/StepProgress.js.map +1 -0
  95. package/dist/components/TelegramConnect/TelegramConnect.cjs +2 -0
  96. package/dist/components/TelegramConnect/TelegramConnect.cjs.map +1 -0
  97. package/dist/components/TelegramConnect/TelegramConnect.js +57 -0
  98. package/dist/components/TelegramConnect/TelegramConnect.js.map +1 -0
  99. package/dist/components/TextInput/TextInput.cjs +1 -1
  100. package/dist/components/TextInput/TextInput.cjs.map +1 -1
  101. package/dist/components/TextInput/TextInput.js +21 -19
  102. package/dist/components/TextInput/TextInput.js.map +1 -1
  103. package/dist/components/Textarea/Textarea.cjs +1 -1
  104. package/dist/components/Textarea/Textarea.cjs.map +1 -1
  105. package/dist/components/Textarea/Textarea.js +18 -16
  106. package/dist/components/Textarea/Textarea.js.map +1 -1
  107. package/dist/components/Toast/Toast.cjs +2 -0
  108. package/dist/components/Toast/Toast.cjs.map +1 -0
  109. package/dist/components/Toast/Toast.js +57 -0
  110. package/dist/components/Toast/Toast.js.map +1 -0
  111. package/dist/icons/generated/CheckmarkIcon.cjs +1 -1
  112. package/dist/icons/generated/CheckmarkIcon.cjs.map +1 -1
  113. package/dist/icons/generated/CheckmarkIcon.js +19 -2
  114. package/dist/icons/generated/CheckmarkIcon.js.map +1 -1
  115. package/dist/icons/generated/InfoIcon.cjs +2 -0
  116. package/dist/icons/generated/InfoIcon.cjs.map +1 -0
  117. package/dist/icons/generated/InfoIcon.js +35 -0
  118. package/dist/icons/generated/InfoIcon.js.map +1 -0
  119. package/dist/icons/generated/SendIcon.cjs +2 -0
  120. package/dist/icons/generated/SendIcon.cjs.map +1 -0
  121. package/dist/icons/generated/SendIcon.js +23 -0
  122. package/dist/icons/generated/SendIcon.js.map +1 -0
  123. package/dist/icons/generated/index.cjs +1 -1
  124. package/dist/icons/generated/index.cjs.map +1 -1
  125. package/dist/icons/generated/index.js +71 -67
  126. package/dist/icons/generated/index.js.map +1 -1
  127. package/dist/index.cjs +1 -1
  128. package/dist/index.d.cts +618 -32
  129. package/dist/index.d.ts +618 -32
  130. package/dist/index.js +146 -135
  131. package/dist/styles.css +1 -1
  132. package/dist/tailwind.css +0 -6
  133. package/dist/tokens/generated.cjs +1 -1
  134. package/dist/tokens/generated.cjs.map +1 -1
  135. package/dist/tokens/generated.js +1 -7
  136. package/dist/tokens/generated.js.map +1 -1
  137. package/dist/tokens.css +0 -12
  138. package/dist/tokens.d.cts +2 -26
  139. package/dist/tokens.d.ts +2 -26
  140. package/dist/tokens.json +1 -7
  141. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.cjs","names":["useFieldIds","FormField","cn","focusControlOnMouseDown","ResizeFieldIcon","require_ResizeFieldIcon","require_cn","require_Field","require_focusControl","react","react_jsx_runtime","startResize","handle","event","control","startY","startHeight","move","stop","Textarea","describedBy","ariaInvalid","props","ids","id","error","helperText","invalid","className","size","disabled","readOnly","resizable"],"sources":["../../../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import { forwardRef, type PointerEvent, type TextareaHTMLAttributes } from 'react';\nimport { ResizeFieldIcon } from '../../icons';\nimport { cn } from '../../utils/cn';\nimport { FormField, useFieldIds, type FieldSize, type FormFieldProps } from '../Field';\nimport { focusControlOnMouseDown } from '../Field/focusControl';\nimport './Textarea.css';\n\nexport interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, FormFieldProps {\n /** Figma \"Size\": `lg` 120px · `md` 100px (default) · `sm` 80px minimum height, with the matching text style. */\n size?: FieldSize;\n /** Shows the resize handle in the bottom corner and lets the user drag the field taller. Defaults to `true`. */\n resizable?: boolean;\n /** Shows the info icon in front of `helperText` (Figma \"With-icon-helper-text\"). */\n helperIcon?: boolean;\n}\n\n/** Drag on the handle: the textarea follows the pointer vertically (the CSS min-height keeps the Figma size as the floor). */\nfunction startResize(event: PointerEvent<HTMLSpanElement>) {\n const handle = event.currentTarget;\n const control = handle.parentElement?.querySelector<HTMLTextAreaElement>('.tm-field__control');\n if (!control || event.button !== 0) return;\n event.preventDefault();\n const startY = event.clientY;\n const startHeight = control.getBoundingClientRect().height;\n const move = (e: globalThis.PointerEvent) => {\n control.style.height = `${Math.max(0, startHeight + e.clientY - startY)}px`;\n };\n const stop = () => {\n handle.removeEventListener('pointermove', move);\n handle.removeEventListener('pointerup', stop);\n handle.removeEventListener('pointercancel', stop);\n };\n handle.setPointerCapture?.(event.pointerId);\n handle.addEventListener('pointermove', move);\n handle.addEventListener('pointerup', stop);\n handle.addEventListener('pointercancel', stop);\n}\n\n/** Figma \"Inputs / Style=Text-area\": a multi-line field with the design's own resize handle. */\nexport const Textarea = /* @__PURE__ */ forwardRef<HTMLTextAreaElement, TextareaProps>(function Textarea(\n {\n label,\n helperText,\n error,\n required,\n optional,\n size = 'md',\n resizable = true,\n helperIcon,\n id,\n disabled,\n readOnly,\n className,\n style,\n 'aria-describedby': describedBy,\n 'aria-invalid': ariaInvalid,\n ...props\n },\n ref,\n) {\n const ids = useFieldIds(id, Boolean(error || helperText));\n const invalid = Boolean(error);\n\n return (\n <FormField\n ids={ids}\n label={label}\n helperText={helperText}\n error={error}\n required={required}\n optional={optional}\n size={size}\n helperIcon={helperIcon}\n className={cn('tm-textarea', className)}\n style={style}\n >\n <div\n className=\"tm-field tm-textarea__box\"\n data-size={size}\n data-tm-icon-size={size}\n data-invalid={invalid ? '' : undefined}\n data-disabled={disabled ? '' : undefined}\n data-readonly={readOnly ? '' : undefined}\n onMouseDown={focusControlOnMouseDown}\n >\n <textarea\n ref={ref}\n id={ids.controlId}\n className=\"tm-field__control tm-textarea__control\"\n disabled={disabled}\n readOnly={readOnly}\n required={required}\n aria-invalid={ariaInvalid ?? (invalid || undefined)}\n aria-describedby={[describedBy, ids.messageId].filter(Boolean).join(' ') || undefined}\n {...props}\n />\n {resizable ? (\n // Pointer-only affordance, like the native resizer it replaces; hidden from assistive technology.\n <span className=\"tm-textarea__resize\" aria-hidden=\"true\" onPointerDown={disabled ? undefined : startResize}>\n <ResizeFieldIcon />\n </span>\n ) : null}\n </div>\n </FormField>\n );\n});\n"],"mappings":"A,qQAiBA,SAASW,EAAY,EAAsC,CACzD,IAAMC,EAASC,EAAM,cACfC,EAAUF,EAAO,eAAe,cAAmC,oBAAoB,EAC7F,GAAI,CAACE,GAAWD,EAAM,SAAW,EAAG,OACpCA,EAAM,eAAe,EACrB,IAAME,EAASF,EAAM,QACfG,EAAcF,EAAQ,sBAAsB,CAAC,CAAC,OAC9CG,EAAQ,GAA+B,CAC3C,EAAQ,MAAM,OAAS,GAAG,KAAK,IAAI,EAAGD,EAAc,EAAE,QAAUD,CAAM,EAAE,GAC1E,EACMG,MAAa,CACjBN,EAAO,oBAAoB,cAAeK,CAAI,EAC9CL,EAAO,oBAAoB,YAAaM,CAAI,EAC5CN,EAAO,oBAAoB,gBAAiBM,CAAI,CAClD,EACAN,EAAO,oBAAoBC,EAAM,SAAS,EAC1CD,EAAO,iBAAiB,cAAeK,CAAI,EAC3CL,EAAO,iBAAiB,YAAaM,CAAI,EACzCN,EAAO,iBAAiB,gBAAiBM,CAAI,CAC/C,CAGA,IAAaC,GAA2B,EAAAV,EAAA,WAAA,CAA+C,SACrF,CACE,QACA,aACA,QACA,WACA,WACA,OAAO,KACP,YAAY,GACZ,aACA,KACA,WACA,WACA,YACA,QACA,mBAAoBW,EACpB,eAAgBC,EAChB,GAAGC,GAEL,EACA,CACA,IAAMC,EAAMvB,EAAAA,YAAYwB,EAAI,GAAQC,GAASC,EAAW,EAClDC,EAAU,EAAQF,EAExB,OACE,EAAAf,EAAA,IAAA,CAACT,EAAAA,UAAD,CACO,MACE,QACK,aACL,QACG,WACA,WACJ,OACM,aACZ,UAAWC,EAAAA,GAAG,cAAe0B,CAAS,EAC/B,QAEP,UAAA,EAAAlB,EAAA,KAAA,CAAC,MAAD,CACE,UAAU,4BACV,YAAWmB,EACX,oBAAmBA,EACnB,eAAcF,EAAU,GAAK,IAAA,GAC7B,gBAAeG,EAAW,GAAK,IAAA,GAC/B,gBAAeC,EAAW,GAAK,IAAA,GAC/B,YAAa5B,EAAAA,wBAPf,SAAA,EASE,EAAAO,EAAA,IAAA,CAAC,WAAD,CACO,MACL,GAAIa,EAAI,UACR,UAAU,yCACA,WACA,WACA,WACV,eAAcF,IAAgBM,GAAW,IAAA,IACzC,mBAAkB,CAACP,EAAaG,EAAI,SAAS,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG,GAAK,IAAA,GAC5E,GAAID,CACL,CAAA,EACAU,GAEC,EAAAtB,EAAA,IAAA,CAAC,OAAD,CAAM,UAAU,sBAAsB,cAAY,OAAO,cAAeoB,EAAW,IAAA,GAAYnB,EAC7F,UAAA,EAAAD,EAAA,IAAA,CAACN,EAAAA,gBAAD,CAAkB,CAAA,CACd,CAAA,EACJ,IACD,C,EACI,CAAA,CAEf,CAAC,E"}
1
+ {"version":3,"file":"Textarea.cjs","names":["useFieldIds","FormField","cn","focusControlOnMouseDown","ResizeFieldIcon","require_ResizeFieldIcon","require_cn","require_Field","require_focusControl","react","react_jsx_runtime","startResize","handle","event","control","startY","startHeight","move","stop","Textarea","describedBy","ariaInvalid","props","ids","id","error","helperText","invalid","className","size","disabled","readOnly","resizable"],"sources":["../../../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import { forwardRef, type PointerEvent, type TextareaHTMLAttributes } from 'react';\nimport { ResizeFieldIcon } from '../../icons';\nimport { cn } from '../../utils/cn';\nimport { FormField, useFieldIds, type FieldErrorAppearanceProps, type FieldSize, type FormFieldProps } from '../Field';\nimport { focusControlOnMouseDown } from '../Field/focusControl';\nimport './Textarea.css';\n\nexport interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, FormFieldProps, FieldErrorAppearanceProps {\n /**\n * Figma \"Size\": `lg` 120px · `md` 100px (default) · `sm` 80px minimum height, with the matching text style.\n * A screen that draws its text area taller sets `--tm-textarea-min-height` (any CSS length, e.g. per breakpoint) on\n * the Textarea or an ancestor.\n */\n size?: FieldSize;\n /** Shows the resize handle in the bottom corner and lets the user drag the field taller. Defaults to `true`. */\n resizable?: boolean;\n /** Shows the info icon in front of `helperText` (Figma \"With-icon-helper-text\"). */\n helperIcon?: boolean;\n}\n\n/** Drag on the handle: the textarea follows the pointer vertically (the CSS min-height keeps the Figma size as the floor). */\nfunction startResize(event: PointerEvent<HTMLSpanElement>) {\n const handle = event.currentTarget;\n const control = handle.parentElement?.querySelector<HTMLTextAreaElement>('.tm-field__control');\n if (!control || event.button !== 0) return;\n event.preventDefault();\n const startY = event.clientY;\n const startHeight = control.getBoundingClientRect().height;\n const move = (e: globalThis.PointerEvent) => {\n control.style.height = `${Math.max(0, startHeight + e.clientY - startY)}px`;\n };\n const stop = () => {\n handle.removeEventListener('pointermove', move);\n handle.removeEventListener('pointerup', stop);\n handle.removeEventListener('pointercancel', stop);\n };\n handle.setPointerCapture?.(event.pointerId);\n handle.addEventListener('pointermove', move);\n handle.addEventListener('pointerup', stop);\n handle.addEventListener('pointercancel', stop);\n}\n\n/** Figma \"Inputs / Style=Text-area\": a multi-line field with the design's own resize handle. */\nexport const Textarea = /* @__PURE__ */ forwardRef<HTMLTextAreaElement, TextareaProps>(function Textarea(\n {\n label,\n helperText,\n error,\n required,\n optional,\n size = 'md',\n resizable = true,\n helperIcon,\n errorColor,\n errorBox,\n id,\n disabled,\n readOnly,\n className,\n style,\n 'aria-describedby': describedBy,\n 'aria-invalid': ariaInvalid,\n ...props\n },\n ref,\n) {\n const ids = useFieldIds(id, Boolean(error || helperText));\n const invalid = Boolean(error);\n\n return (\n <FormField\n ids={ids}\n label={label}\n helperText={helperText}\n error={error}\n required={required}\n optional={optional}\n size={size}\n helperIcon={helperIcon}\n errorColor={errorColor}\n errorBox={errorBox}\n className={cn('tm-textarea', className)}\n style={style}\n >\n <div\n className=\"tm-field tm-textarea__box\"\n data-size={size}\n data-tm-icon-size={size}\n data-invalid={invalid ? '' : undefined}\n data-disabled={disabled ? '' : undefined}\n data-readonly={readOnly ? '' : undefined}\n onMouseDown={focusControlOnMouseDown}\n >\n <textarea\n ref={ref}\n id={ids.controlId}\n className=\"tm-field__control tm-textarea__control\"\n disabled={disabled}\n readOnly={readOnly}\n required={required}\n aria-invalid={ariaInvalid ?? (invalid || undefined)}\n aria-describedby={[describedBy, ids.messageId].filter(Boolean).join(' ') || undefined}\n {...props}\n />\n {resizable ? (\n // Pointer-only affordance, like the native resizer it replaces; hidden from assistive technology.\n <span className=\"tm-textarea__resize\" aria-hidden=\"true\" onPointerDown={disabled ? undefined : startResize}>\n <ResizeFieldIcon />\n </span>\n ) : null}\n </div>\n </FormField>\n );\n});\n"],"mappings":"A,qQAqBA,SAASW,EAAY,EAAsC,CACzD,IAAMC,EAASC,EAAM,cACfC,EAAUF,EAAO,eAAe,cAAmC,oBAAoB,EAC7F,GAAI,CAACE,GAAWD,EAAM,SAAW,EAAG,OACpCA,EAAM,eAAe,EACrB,IAAME,EAASF,EAAM,QACfG,EAAcF,EAAQ,sBAAsB,CAAC,CAAC,OAC9CG,EAAQ,GAA+B,CAC3C,EAAQ,MAAM,OAAS,GAAG,KAAK,IAAI,EAAGD,EAAc,EAAE,QAAUD,CAAM,EAAE,GAC1E,EACMG,MAAa,CACjBN,EAAO,oBAAoB,cAAeK,CAAI,EAC9CL,EAAO,oBAAoB,YAAaM,CAAI,EAC5CN,EAAO,oBAAoB,gBAAiBM,CAAI,CAClD,EACAN,EAAO,oBAAoBC,EAAM,SAAS,EAC1CD,EAAO,iBAAiB,cAAeK,CAAI,EAC3CL,EAAO,iBAAiB,YAAaM,CAAI,EACzCN,EAAO,iBAAiB,gBAAiBM,CAAI,CAC/C,CAGA,IAAaC,GAA2B,EAAAV,EAAA,WAAA,CAA+C,SACrF,CACE,QACA,aACA,QACA,WACA,WACA,OAAO,KACP,YAAY,GACZ,aACA,aACA,WACA,KACA,WACA,WACA,YACA,QACA,mBAAoBW,EACpB,eAAgBC,EAChB,GAAGC,GAEL,EACA,CACA,IAAMC,EAAMvB,EAAAA,YAAYwB,EAAI,GAAQC,GAASC,EAAW,EAClDC,EAAU,EAAQF,EAExB,OACE,EAAAf,EAAA,IAAA,CAACT,EAAAA,UAAD,CACO,MACE,QACK,aACL,QACG,WACA,WACJ,OACM,aACA,aACF,WACV,UAAWC,EAAAA,GAAG,cAAe0B,CAAS,EAC/B,QAEP,UAAA,EAAAlB,EAAA,KAAA,CAAC,MAAD,CACE,UAAU,4BACV,YAAWmB,EACX,oBAAmBA,EACnB,eAAcF,EAAU,GAAK,IAAA,GAC7B,gBAAeG,EAAW,GAAK,IAAA,GAC/B,gBAAeC,EAAW,GAAK,IAAA,GAC/B,YAAa5B,EAAAA,wBAPf,SAAA,EASE,EAAAO,EAAA,IAAA,CAAC,WAAD,CACO,MACL,GAAIa,EAAI,UACR,UAAU,yCACA,WACA,WACA,WACV,eAAcF,IAAgBM,GAAW,IAAA,IACzC,mBAAkB,CAACP,EAAaG,EAAI,SAAS,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG,GAAK,IAAA,GAC5E,GAAID,CACL,CAAA,EACAU,GAEC,EAAAtB,EAAA,IAAA,CAAC,OAAD,CAAM,UAAU,sBAAsB,cAAY,OAAO,cAAeoB,EAAW,IAAA,GAAYnB,EAC7F,UAAA,EAAAD,EAAA,IAAA,CAACN,EAAAA,gBAAD,CAAkB,CAAA,CACd,CAAA,EACJ,IACD,C,EACI,CAAA,CAEf,CAAC,E"}
@@ -18,10 +18,10 @@ function c(e) {
18
18
  };
19
19
  t.setPointerCapture?.(e.pointerId), t.addEventListener("pointermove", a), t.addEventListener("pointerup", o), t.addEventListener("pointercancel", o);
20
20
  }
21
- var l = /* @__PURE__ */ a(function({ label: a, helperText: l, error: u, required: d, optional: f, size: p = "md", resizable: m = !0, helperIcon: h, id: g, disabled: _, readOnly: v, className: y, style: b, "aria-describedby": x, "aria-invalid": S, ...C }, w) {
22
- let T = r(g, !!(u || l)), E = !!u;
21
+ var l = /* @__PURE__ */ a(function({ label: a, helperText: l, error: u, required: d, optional: f, size: p = "md", resizable: m = !0, helperIcon: h, errorColor: g, errorBox: _, id: v, disabled: y, readOnly: b, className: x, style: S, "aria-describedby": C, "aria-invalid": w, ...T }, E) {
22
+ let D = r(v, !!(u || l)), O = !!u;
23
23
  return /* @__PURE__ */ o(n, {
24
- ids: T,
24
+ ids: D,
25
25
  label: a,
26
26
  helperText: l,
27
27
  error: u,
@@ -29,30 +29,32 @@ var l = /* @__PURE__ */ a(function({ label: a, helperText: l, error: u, required
29
29
  optional: f,
30
30
  size: p,
31
31
  helperIcon: h,
32
- className: t("tm-textarea", y),
33
- style: b,
32
+ errorColor: g,
33
+ errorBox: _,
34
+ className: t("tm-textarea", x),
35
+ style: S,
34
36
  children: /* @__PURE__ */ s("div", {
35
37
  className: "tm-field tm-textarea__box",
36
38
  "data-size": p,
37
39
  "data-tm-icon-size": p,
38
- "data-invalid": E ? "" : void 0,
39
- "data-disabled": _ ? "" : void 0,
40
- "data-readonly": v ? "" : void 0,
40
+ "data-invalid": O ? "" : void 0,
41
+ "data-disabled": y ? "" : void 0,
42
+ "data-readonly": b ? "" : void 0,
41
43
  onMouseDown: i,
42
44
  children: [/* @__PURE__ */ o("textarea", {
43
- ref: w,
44
- id: T.controlId,
45
+ ref: E,
46
+ id: D.controlId,
45
47
  className: "tm-field__control tm-textarea__control",
46
- disabled: _,
47
- readOnly: v,
48
+ disabled: y,
49
+ readOnly: b,
48
50
  required: d,
49
- "aria-invalid": S ?? (E || void 0),
50
- "aria-describedby": [x, T.messageId].filter(Boolean).join(" ") || void 0,
51
- ...C
51
+ "aria-invalid": w ?? (O || void 0),
52
+ "aria-describedby": [C, D.messageId].filter(Boolean).join(" ") || void 0,
53
+ ...T
52
54
  }), m ? /* @__PURE__ */ o("span", {
53
55
  className: "tm-textarea__resize",
54
56
  "aria-hidden": "true",
55
- onPointerDown: _ ? void 0 : c,
57
+ onPointerDown: y ? void 0 : c,
56
58
  children: /* @__PURE__ */ o(e, {})
57
59
  }) : null]
58
60
  })
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.js","names":["startResize","handle","event","control","startY","startHeight","move","stop","Textarea","describedBy","ariaInvalid","props","ids","useFieldIds","id","error","helperText","invalid","FormField","cn","className","size","disabled","readOnly","focusControlOnMouseDown","resizable","ResizeFieldIcon"],"sources":["../../../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import { forwardRef, type PointerEvent, type TextareaHTMLAttributes } from 'react';\nimport { ResizeFieldIcon } from '../../icons';\nimport { cn } from '../../utils/cn';\nimport { FormField, useFieldIds, type FieldSize, type FormFieldProps } from '../Field';\nimport { focusControlOnMouseDown } from '../Field/focusControl';\nimport './Textarea.css';\n\nexport interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, FormFieldProps {\n /** Figma \"Size\": `lg` 120px · `md` 100px (default) · `sm` 80px minimum height, with the matching text style. */\n size?: FieldSize;\n /** Shows the resize handle in the bottom corner and lets the user drag the field taller. Defaults to `true`. */\n resizable?: boolean;\n /** Shows the info icon in front of `helperText` (Figma \"With-icon-helper-text\"). */\n helperIcon?: boolean;\n}\n\n/** Drag on the handle: the textarea follows the pointer vertically (the CSS min-height keeps the Figma size as the floor). */\nfunction startResize(event: PointerEvent<HTMLSpanElement>) {\n const handle = event.currentTarget;\n const control = handle.parentElement?.querySelector<HTMLTextAreaElement>('.tm-field__control');\n if (!control || event.button !== 0) return;\n event.preventDefault();\n const startY = event.clientY;\n const startHeight = control.getBoundingClientRect().height;\n const move = (e: globalThis.PointerEvent) => {\n control.style.height = `${Math.max(0, startHeight + e.clientY - startY)}px`;\n };\n const stop = () => {\n handle.removeEventListener('pointermove', move);\n handle.removeEventListener('pointerup', stop);\n handle.removeEventListener('pointercancel', stop);\n };\n handle.setPointerCapture?.(event.pointerId);\n handle.addEventListener('pointermove', move);\n handle.addEventListener('pointerup', stop);\n handle.addEventListener('pointercancel', stop);\n}\n\n/** Figma \"Inputs / Style=Text-area\": a multi-line field with the design's own resize handle. */\nexport const Textarea = /* @__PURE__ */ forwardRef<HTMLTextAreaElement, TextareaProps>(function Textarea(\n {\n label,\n helperText,\n error,\n required,\n optional,\n size = 'md',\n resizable = true,\n helperIcon,\n id,\n disabled,\n readOnly,\n className,\n style,\n 'aria-describedby': describedBy,\n 'aria-invalid': ariaInvalid,\n ...props\n },\n ref,\n) {\n const ids = useFieldIds(id, Boolean(error || helperText));\n const invalid = Boolean(error);\n\n return (\n <FormField\n ids={ids}\n label={label}\n helperText={helperText}\n error={error}\n required={required}\n optional={optional}\n size={size}\n helperIcon={helperIcon}\n className={cn('tm-textarea', className)}\n style={style}\n >\n <div\n className=\"tm-field tm-textarea__box\"\n data-size={size}\n data-tm-icon-size={size}\n data-invalid={invalid ? '' : undefined}\n data-disabled={disabled ? '' : undefined}\n data-readonly={readOnly ? '' : undefined}\n onMouseDown={focusControlOnMouseDown}\n >\n <textarea\n ref={ref}\n id={ids.controlId}\n className=\"tm-field__control tm-textarea__control\"\n disabled={disabled}\n readOnly={readOnly}\n required={required}\n aria-invalid={ariaInvalid ?? (invalid || undefined)}\n aria-describedby={[describedBy, ids.messageId].filter(Boolean).join(' ') || undefined}\n {...props}\n />\n {resizable ? (\n // Pointer-only affordance, like the native resizer it replaces; hidden from assistive technology.\n <span className=\"tm-textarea__resize\" aria-hidden=\"true\" onPointerDown={disabled ? undefined : startResize}>\n <ResizeFieldIcon />\n </span>\n ) : null}\n </div>\n </FormField>\n );\n});\n"],"mappings":";;;;;;;;;AAiBA,SAASA,EAAY,GAAsC;CACzD,IAAMC,IAASC,EAAM,eACfC,IAAUF,EAAO,eAAe,cAAmC,oBAAoB;CAC7F,IAAI,CAACE,KAAWD,EAAM,WAAW,GAAG;CACpC,EAAM,eAAe;CACrB,IAAME,IAASF,EAAM,SACfG,IAAcF,EAAQ,sBAAsB,CAAC,CAAC,QAC9CG,KAAQ,MAA+B;EAC3C,EAAQ,MAAM,SAAS,GAAG,KAAK,IAAI,GAAGD,IAAc,EAAE,UAAUD,CAAM,EAAE;CAC1E,GACMG,UAAa;EAGjB,AAFAN,EAAO,oBAAoB,eAAeK,CAAI,GAC9CL,EAAO,oBAAoB,aAAaM,CAAI,GAC5CN,EAAO,oBAAoB,iBAAiBM,CAAI;CAClD;CAIA,AAHAN,EAAO,oBAAoBC,EAAM,SAAS,GAC1CD,EAAO,iBAAiB,eAAeK,CAAI,GAC3CL,EAAO,iBAAiB,aAAaM,CAAI,GACzCN,EAAO,iBAAiB,iBAAiBM,CAAI;AAC/C;AAGA,IAAaC,IAA2B,kBAA+C,SACrF,EACE,UACA,eACA,UACA,aACA,aACA,UAAO,MACP,eAAY,IACZ,eACA,OACA,aACA,aACA,cACA,UACA,oBAAoBC,GACpB,gBAAgBC,GAChB,GAAGC,KAEL,GACA;CACA,IAAMC,IAAMC,EAAYC,GAAI,GAAQC,KAASC,EAAW,GAClDC,IAAU,EAAQF;CAExB,OACE,kBAACG,GAAD;EACO;EACE;EACK;EACL;EACG;EACA;EACJ;EACM;EACZ,WAAWC,EAAG,eAAeC,CAAS;EAC/B;EAEP,UAAA,kBAAC,OAAD;GACE,WAAU;GACV,aAAWC;GACX,qBAAmBA;GACnB,gBAAcJ,IAAU,KAAK,KAAA;GAC7B,iBAAeK,IAAW,KAAK,KAAA;GAC/B,iBAAeC,IAAW,KAAK,KAAA;GAC/B,aAAaC;GAPf,UAAA,CASE,kBAAC,YAAD;IACO;IACL,IAAIZ,EAAI;IACR,WAAU;IACA;IACA;IACA;IACV,gBAAcF,MAAgBO,KAAW,KAAA;IACzC,oBAAkB,CAACR,GAAaG,EAAI,SAAS,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG,KAAK,KAAA;IAC5E,GAAID;GACL,CAAA,GACAc,IAEC,kBAAC,QAAD;IAAM,WAAU;IAAsB,eAAY;IAAO,eAAeH,IAAW,KAAA,IAAYtB;IAC7F,UAAA,kBAAC0B,GAAD,CAAkB,CAAA;GACd,CAAA,IACJ,IACD;;CACI,CAAA;AAEf,CAAC"}
1
+ {"version":3,"file":"Textarea.js","names":["startResize","handle","event","control","startY","startHeight","move","stop","Textarea","describedBy","ariaInvalid","props","ids","useFieldIds","id","error","helperText","invalid","FormField","cn","className","size","disabled","readOnly","focusControlOnMouseDown","resizable","ResizeFieldIcon"],"sources":["../../../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import { forwardRef, type PointerEvent, type TextareaHTMLAttributes } from 'react';\nimport { ResizeFieldIcon } from '../../icons';\nimport { cn } from '../../utils/cn';\nimport { FormField, useFieldIds, type FieldErrorAppearanceProps, type FieldSize, type FormFieldProps } from '../Field';\nimport { focusControlOnMouseDown } from '../Field/focusControl';\nimport './Textarea.css';\n\nexport interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, FormFieldProps, FieldErrorAppearanceProps {\n /**\n * Figma \"Size\": `lg` 120px · `md` 100px (default) · `sm` 80px minimum height, with the matching text style.\n * A screen that draws its text area taller sets `--tm-textarea-min-height` (any CSS length, e.g. per breakpoint) on\n * the Textarea or an ancestor.\n */\n size?: FieldSize;\n /** Shows the resize handle in the bottom corner and lets the user drag the field taller. Defaults to `true`. */\n resizable?: boolean;\n /** Shows the info icon in front of `helperText` (Figma \"With-icon-helper-text\"). */\n helperIcon?: boolean;\n}\n\n/** Drag on the handle: the textarea follows the pointer vertically (the CSS min-height keeps the Figma size as the floor). */\nfunction startResize(event: PointerEvent<HTMLSpanElement>) {\n const handle = event.currentTarget;\n const control = handle.parentElement?.querySelector<HTMLTextAreaElement>('.tm-field__control');\n if (!control || event.button !== 0) return;\n event.preventDefault();\n const startY = event.clientY;\n const startHeight = control.getBoundingClientRect().height;\n const move = (e: globalThis.PointerEvent) => {\n control.style.height = `${Math.max(0, startHeight + e.clientY - startY)}px`;\n };\n const stop = () => {\n handle.removeEventListener('pointermove', move);\n handle.removeEventListener('pointerup', stop);\n handle.removeEventListener('pointercancel', stop);\n };\n handle.setPointerCapture?.(event.pointerId);\n handle.addEventListener('pointermove', move);\n handle.addEventListener('pointerup', stop);\n handle.addEventListener('pointercancel', stop);\n}\n\n/** Figma \"Inputs / Style=Text-area\": a multi-line field with the design's own resize handle. */\nexport const Textarea = /* @__PURE__ */ forwardRef<HTMLTextAreaElement, TextareaProps>(function Textarea(\n {\n label,\n helperText,\n error,\n required,\n optional,\n size = 'md',\n resizable = true,\n helperIcon,\n errorColor,\n errorBox,\n id,\n disabled,\n readOnly,\n className,\n style,\n 'aria-describedby': describedBy,\n 'aria-invalid': ariaInvalid,\n ...props\n },\n ref,\n) {\n const ids = useFieldIds(id, Boolean(error || helperText));\n const invalid = Boolean(error);\n\n return (\n <FormField\n ids={ids}\n label={label}\n helperText={helperText}\n error={error}\n required={required}\n optional={optional}\n size={size}\n helperIcon={helperIcon}\n errorColor={errorColor}\n errorBox={errorBox}\n className={cn('tm-textarea', className)}\n style={style}\n >\n <div\n className=\"tm-field tm-textarea__box\"\n data-size={size}\n data-tm-icon-size={size}\n data-invalid={invalid ? '' : undefined}\n data-disabled={disabled ? '' : undefined}\n data-readonly={readOnly ? '' : undefined}\n onMouseDown={focusControlOnMouseDown}\n >\n <textarea\n ref={ref}\n id={ids.controlId}\n className=\"tm-field__control tm-textarea__control\"\n disabled={disabled}\n readOnly={readOnly}\n required={required}\n aria-invalid={ariaInvalid ?? (invalid || undefined)}\n aria-describedby={[describedBy, ids.messageId].filter(Boolean).join(' ') || undefined}\n {...props}\n />\n {resizable ? (\n // Pointer-only affordance, like the native resizer it replaces; hidden from assistive technology.\n <span className=\"tm-textarea__resize\" aria-hidden=\"true\" onPointerDown={disabled ? undefined : startResize}>\n <ResizeFieldIcon />\n </span>\n ) : null}\n </div>\n </FormField>\n );\n});\n"],"mappings":";;;;;;;;;AAqBA,SAASA,EAAY,GAAsC;CACzD,IAAMC,IAASC,EAAM,eACfC,IAAUF,EAAO,eAAe,cAAmC,oBAAoB;CAC7F,IAAI,CAACE,KAAWD,EAAM,WAAW,GAAG;CACpC,EAAM,eAAe;CACrB,IAAME,IAASF,EAAM,SACfG,IAAcF,EAAQ,sBAAsB,CAAC,CAAC,QAC9CG,KAAQ,MAA+B;EAC3C,EAAQ,MAAM,SAAS,GAAG,KAAK,IAAI,GAAGD,IAAc,EAAE,UAAUD,CAAM,EAAE;CAC1E,GACMG,UAAa;EAGjB,AAFAN,EAAO,oBAAoB,eAAeK,CAAI,GAC9CL,EAAO,oBAAoB,aAAaM,CAAI,GAC5CN,EAAO,oBAAoB,iBAAiBM,CAAI;CAClD;CAIA,AAHAN,EAAO,oBAAoBC,EAAM,SAAS,GAC1CD,EAAO,iBAAiB,eAAeK,CAAI,GAC3CL,EAAO,iBAAiB,aAAaM,CAAI,GACzCN,EAAO,iBAAiB,iBAAiBM,CAAI;AAC/C;AAGA,IAAaC,IAA2B,kBAA+C,SACrF,EACE,UACA,eACA,UACA,aACA,aACA,UAAO,MACP,eAAY,IACZ,eACA,eACA,aACA,OACA,aACA,aACA,cACA,UACA,oBAAoBC,GACpB,gBAAgBC,GAChB,GAAGC,KAEL,GACA;CACA,IAAMC,IAAMC,EAAYC,GAAI,GAAQC,KAASC,EAAW,GAClDC,IAAU,EAAQF;CAExB,OACE,kBAACG,GAAD;EACO;EACE;EACK;EACL;EACG;EACA;EACJ;EACM;EACA;EACF;EACV,WAAWC,EAAG,eAAeC,CAAS;EAC/B;EAEP,UAAA,kBAAC,OAAD;GACE,WAAU;GACV,aAAWC;GACX,qBAAmBA;GACnB,gBAAcJ,IAAU,KAAK,KAAA;GAC7B,iBAAeK,IAAW,KAAK,KAAA;GAC/B,iBAAeC,IAAW,KAAK,KAAA;GAC/B,aAAaC;GAPf,UAAA,CASE,kBAAC,YAAD;IACO;IACL,IAAIZ,EAAI;IACR,WAAU;IACA;IACA;IACA;IACV,gBAAcF,MAAgBO,KAAW,KAAA;IACzC,oBAAkB,CAACR,GAAaG,EAAI,SAAS,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG,KAAK,KAAA;IAC5E,GAAID;GACL,CAAA,GACAc,IAEC,kBAAC,QAAD;IAAM,WAAU;IAAsB,eAAY;IAAO,eAAeH,IAAW,KAAA,IAAYtB;IAC7F,UAAA,kBAAC0B,GAAD,CAAkB,CAAA;GACd,CAAA,IACJ,IACD;;CACI,CAAA;AAEf,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use client";const e=require("../../icons/generated/CheckmarkIcon.cjs"),t=require("../../icons/generated/InfoIcon.cjs"),n=require("../../icons/generated/XMarkIcon.cjs"),r=require("../../utils/cn.cjs");;/* empty css */let i=require("react"),a=require("react/jsx-runtime");var o={success:e.CheckmarkIcon,info:t.InfoIcon,error:n.XMarkIcon},s=(0,i.forwardRef)(function({tone:e=`success`,title:t,action:i,onClose:s,closeLabel:c=`Close`,className:l,children:u,...d},f){let p=o[e];return(0,a.jsxs)(`div`,{ref:f,className:r.cn(`tm-toast`,l),"data-tone":e,role:e===`error`?`alert`:`status`,...d,children:[(0,a.jsx)(`span`,{className:`tm-toast__icon`,"aria-hidden":`true`,children:(0,a.jsx)(p,{size:`sm`})}),(0,a.jsxs)(`div`,{className:`tm-toast__content`,children:[t!=null&&t!==!1?(0,a.jsx)(`div`,{className:`tm-toast__title`,children:t}):null,u!=null&&u!==!1?(0,a.jsx)(`div`,{className:`tm-toast__description`,children:u}):null,i!=null&&i!==!1?(0,a.jsx)(`div`,{className:`tm-toast__action`,children:i}):null]}),s?(0,a.jsx)(`button`,{type:`button`,className:`tm-toast__close`,"aria-label":c,onClick:s,children:(0,a.jsx)(n.XMarkIcon,{size:`sm`})}):null]})});exports.Toast=s;
2
+ //# sourceMappingURL=Toast.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.cjs","names":["CheckmarkIcon","InfoIcon","XMarkIcon","cn","require_CheckmarkIcon","require_InfoIcon","require_XMarkIcon","require_cn","react","react_jsx_runtime","ICONS","Toast","props","Icon","tone","className","title","children","action","onClose","closeLabel"],"sources":["../../../src/components/Toast/Toast.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes, type ReactNode } from 'react';\nimport { CheckmarkIcon, InfoIcon, XMarkIcon } from '../../icons';\nimport { cn } from '../../utils/cn';\nimport './Toast.css';\n\n/** Figma \"Type\": Success · Info · Error */\nexport type ToastTone = 'success' | 'info' | 'error';\n\nexport interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {\n /** Figma \"Type\". Sets the icon and its colours, and the default role: `status` for success/info, `alert` for error. */\n tone?: ToastTone;\n /** Short heading (Figma text property \"Title\"). */\n title?: ReactNode;\n /** Link or button under the message (Figma text property \"Action\"), e.g. `<button type=\"button\">Continue</button>`. */\n action?: ReactNode;\n /** Called by the × button. Without it the toast has no close button. */\n onClose?: () => void;\n /** Accessible name of the × button — translate it. */\n closeLabel?: string;\n /** The message (Figma text property \"Description\"). */\n children?: ReactNode;\n}\n\nconst ICONS = { success: CheckmarkIcon, info: InfoIcon, error: XMarkIcon } as const;\n\n/**\n * Figma component set \"Toast\" (2726:16883): a short confirmation that floats over the page — icon badge, title,\n * message, an optional action and a close button. The component is the card only; where it sits on screen,\n * how long it stays and how several stack is up to the app.\n */\nexport const Toast = /* @__PURE__ */ forwardRef<HTMLDivElement, ToastProps>(function Toast(\n { tone = 'success', title, action, onClose, closeLabel = 'Close', className, children, ...props },\n ref,\n) {\n const Icon = ICONS[tone];\n return (\n <div ref={ref} className={cn('tm-toast', className)} data-tone={tone} role={tone === 'error' ? 'alert' : 'status'} {...props}>\n <span className=\"tm-toast__icon\" aria-hidden=\"true\">\n <Icon size=\"sm\" />\n </span>\n <div className=\"tm-toast__content\">\n {title != null && title !== false ? <div className=\"tm-toast__title\">{title}</div> : null}\n {children != null && children !== false ? <div className=\"tm-toast__description\">{children}</div> : null}\n {action != null && action !== false ? <div className=\"tm-toast__action\">{action}</div> : null}\n </div>\n {onClose ? (\n <button type=\"button\" className=\"tm-toast__close\" aria-label={closeLabel} onClick={onClose}>\n <XMarkIcon size=\"sm\" />\n </button>\n ) : null}\n </div>\n );\n});\n"],"mappings":"A,0RAuBA,IAAMU,EAAQ,CAAE,QAASV,EAAAA,cAAe,KAAMC,EAAAA,SAAU,MAAOC,EAAAA,SAAU,EAO5DS,GAAwB,EAAAH,EAAA,WAAA,CAAuC,SAC1E,CAAE,OAAO,UAAW,QAAO,SAAQ,UAAS,aAAa,QAAS,YAAW,WAAU,GAAGI,GAC1F,EACA,CACA,IAAMC,EAAOH,EAAMI,GACnB,OACE,EAAAL,EAAA,KAAA,CAAC,MAAD,CAAU,MAAK,UAAWN,EAAAA,GAAG,WAAYY,CAAS,EAAG,YAAWD,EAAM,KAAMA,IAAS,QAAU,QAAU,SAAU,GAAIF,EAAvH,SAAA,EACE,EAAAH,EAAA,IAAA,CAAC,OAAD,CAAM,UAAU,iBAAiB,cAAY,OAC3C,UAAA,EAAAA,EAAA,IAAA,CAACI,EAAD,CAAM,KAAK,IAAM,CAAA,CACb,CAAA,GACN,EAAAJ,EAAA,KAAA,CAAC,MAAD,CAAK,UAAU,oBAAf,SAAA,CACGO,GAAS,MAAQA,IAAU,IAAQ,EAAAP,EAAA,IAAA,CAAC,MAAD,CAAK,UAAU,kBAAmB,SAAAO,CAAW,CAAA,EAAI,KACpFC,GAAY,MAAQA,IAAa,IAAQ,EAAAR,EAAA,IAAA,CAAC,MAAD,CAAK,UAAU,wBAAyB,UAAc,CAAA,EAAI,KACnGS,GAAU,MAAQA,IAAW,IAAQ,EAAAT,EAAA,IAAA,CAAC,MAAD,CAAK,UAAU,mBAAoB,SAAAS,CAAY,CAAA,EAAI,IACtF,C,GACJC,GACC,EAAAV,EAAA,IAAA,CAAC,SAAD,CAAQ,KAAK,SAAS,UAAU,kBAAkB,aAAYW,EAAY,QAASD,EACjF,UAAA,EAAAV,EAAA,IAAA,CAACP,EAAAA,UAAD,CAAW,KAAK,IAAM,CAAA,CAChB,CAAA,EACN,IACD,C,EAET,CAAC,E"}
@@ -0,0 +1,57 @@
1
+ "use client";
2
+ import { CheckmarkIcon as e } from "../../icons/generated/CheckmarkIcon.js";
3
+ import { InfoIcon as t } from "../../icons/generated/InfoIcon.js";
4
+ import { XMarkIcon as n } from "../../icons/generated/XMarkIcon.js";
5
+ import { cn as r } from "../../utils/cn.js";
6
+ /* empty css */
7
+ import { forwardRef as i } from "react";
8
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
9
+ // src/components/Toast/Toast.tsx
10
+ var s = {
11
+ success: e,
12
+ info: t,
13
+ error: n
14
+ }, c = /* @__PURE__ */ i(function({ tone: e = "success", title: t, action: i, onClose: c, closeLabel: l = "Close", className: u, children: d, ...f }, p) {
15
+ let m = s[e];
16
+ return /* @__PURE__ */ o("div", {
17
+ ref: p,
18
+ className: r("tm-toast", u),
19
+ "data-tone": e,
20
+ role: e === "error" ? "alert" : "status",
21
+ ...f,
22
+ children: [
23
+ /* @__PURE__ */ a("span", {
24
+ className: "tm-toast__icon",
25
+ "aria-hidden": "true",
26
+ children: /* @__PURE__ */ a(m, { size: "sm" })
27
+ }),
28
+ /* @__PURE__ */ o("div", {
29
+ className: "tm-toast__content",
30
+ children: [
31
+ t != null && t !== !1 ? /* @__PURE__ */ a("div", {
32
+ className: "tm-toast__title",
33
+ children: t
34
+ }) : null,
35
+ d != null && d !== !1 ? /* @__PURE__ */ a("div", {
36
+ className: "tm-toast__description",
37
+ children: d
38
+ }) : null,
39
+ i != null && i !== !1 ? /* @__PURE__ */ a("div", {
40
+ className: "tm-toast__action",
41
+ children: i
42
+ }) : null
43
+ ]
44
+ }),
45
+ c ? /* @__PURE__ */ a("button", {
46
+ type: "button",
47
+ className: "tm-toast__close",
48
+ "aria-label": l,
49
+ onClick: c,
50
+ children: /* @__PURE__ */ a(n, { size: "sm" })
51
+ }) : null
52
+ ]
53
+ });
54
+ });
55
+ export { c as Toast };
56
+
57
+ //# sourceMappingURL=Toast.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.js","names":["ICONS","CheckmarkIcon","InfoIcon","XMarkIcon","Toast","props","Icon","tone","cn","className","title","children","action","onClose","closeLabel"],"sources":["../../../src/components/Toast/Toast.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes, type ReactNode } from 'react';\nimport { CheckmarkIcon, InfoIcon, XMarkIcon } from '../../icons';\nimport { cn } from '../../utils/cn';\nimport './Toast.css';\n\n/** Figma \"Type\": Success · Info · Error */\nexport type ToastTone = 'success' | 'info' | 'error';\n\nexport interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {\n /** Figma \"Type\". Sets the icon and its colours, and the default role: `status` for success/info, `alert` for error. */\n tone?: ToastTone;\n /** Short heading (Figma text property \"Title\"). */\n title?: ReactNode;\n /** Link or button under the message (Figma text property \"Action\"), e.g. `<button type=\"button\">Continue</button>`. */\n action?: ReactNode;\n /** Called by the × button. Without it the toast has no close button. */\n onClose?: () => void;\n /** Accessible name of the × button — translate it. */\n closeLabel?: string;\n /** The message (Figma text property \"Description\"). */\n children?: ReactNode;\n}\n\nconst ICONS = { success: CheckmarkIcon, info: InfoIcon, error: XMarkIcon } as const;\n\n/**\n * Figma component set \"Toast\" (2726:16883): a short confirmation that floats over the page — icon badge, title,\n * message, an optional action and a close button. The component is the card only; where it sits on screen,\n * how long it stays and how several stack is up to the app.\n */\nexport const Toast = /* @__PURE__ */ forwardRef<HTMLDivElement, ToastProps>(function Toast(\n { tone = 'success', title, action, onClose, closeLabel = 'Close', className, children, ...props },\n ref,\n) {\n const Icon = ICONS[tone];\n return (\n <div ref={ref} className={cn('tm-toast', className)} data-tone={tone} role={tone === 'error' ? 'alert' : 'status'} {...props}>\n <span className=\"tm-toast__icon\" aria-hidden=\"true\">\n <Icon size=\"sm\" />\n </span>\n <div className=\"tm-toast__content\">\n {title != null && title !== false ? <div className=\"tm-toast__title\">{title}</div> : null}\n {children != null && children !== false ? <div className=\"tm-toast__description\">{children}</div> : null}\n {action != null && action !== false ? <div className=\"tm-toast__action\">{action}</div> : null}\n </div>\n {onClose ? (\n <button type=\"button\" className=\"tm-toast__close\" aria-label={closeLabel} onClick={onClose}>\n <XMarkIcon size=\"sm\" />\n </button>\n ) : null}\n </div>\n );\n});\n"],"mappings":";;;;;;;;;AAuBA,IAAMA,IAAQ;CAAE,SAASC;CAAe,MAAMC;CAAU,OAAOC;AAAU,GAO5DC,IAAwB,kBAAuC,SAC1E,EAAE,UAAO,WAAW,UAAO,WAAQ,YAAS,gBAAa,SAAS,cAAW,aAAU,GAAGC,KAC1F,GACA;CACA,IAAMC,IAAON,EAAMO;CACnB,OACE,kBAAC,OAAD;EAAU;EAAK,WAAWC,EAAG,YAAYC,CAAS;EAAG,aAAWF;EAAM,MAAMA,MAAS,UAAU,UAAU;EAAU,GAAIF;EAAvH,UAAA;GACE,kBAAC,QAAD;IAAM,WAAU;IAAiB,eAAY;IAC3C,UAAA,kBAACC,GAAD,EAAM,MAAK,KAAM,CAAA;GACb,CAAA;GACN,kBAAC,OAAD;IAAK,WAAU;IAAf,UAAA;KACGI,KAAS,QAAQA,MAAU,KAAQ,kBAAC,OAAD;MAAK,WAAU;MAAmB,UAAAA;KAAW,CAAA,IAAI;KACpFC,KAAY,QAAQA,MAAa,KAAQ,kBAAC,OAAD;MAAK,WAAU;MAAyB;KAAc,CAAA,IAAI;KACnGC,KAAU,QAAQA,MAAW,KAAQ,kBAAC,OAAD;MAAK,WAAU;MAAoB,UAAAA;KAAY,CAAA,IAAI;IACtF;;GACJC,IACC,kBAAC,UAAD;IAAQ,MAAK;IAAS,WAAU;IAAkB,cAAYC;IAAY,SAASD;IACjF,UAAA,kBAACV,GAAD,EAAW,MAAK,KAAM,CAAA;GAChB,CAAA,IACN;EACD;;AAET,CAAC"}
@@ -1,2 +1,2 @@
1
- "use client";const e=require("../createIcon.cjs");let t=require("react/jsx-runtime");var n=e.createIcon(`checkmark`,{md:1.091,sm:1.091},(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(`path`,{d:`M19 7L9.50002 16.5L4.50002 11.5`,stroke:`currentColor`,strokeWidth:`2.2`,style:{"--w":2.2},strokeLinecap:`round`,strokeLinejoin:`round`})}));exports.CheckmarkIcon=n;
1
+ "use client";const e=require("../createIcon.cjs");let t=require("react/jsx-runtime");var n=e.createIcon(`checkmark`,{md:1.091,sm:1.091},(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(`path`,{d:`M18 7.65507L9.81036 15.8447L5.50002 11.5344`,stroke:`currentColor`,strokeWidth:`2.2`,style:{"--w":2.2},strokeLinecap:`round`,strokeLinejoin:`round`})}),{md:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(`path`,{d:`M15 6L8.44828 13L5 9.31579`,stroke:`currentColor`,strokeWidth:`2`,style:{"--w":2},strokeLinecap:`round`,strokeLinejoin:`round`})}),sm:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(`path`,{d:`M12 5L6.75862 10L4 7.36842`,stroke:`currentColor`,strokeWidth:`1.6`,style:{"--w":1.6},strokeLinecap:`round`,strokeLinejoin:`round`})})});exports.CheckmarkIcon=n;
2
2
  //# sourceMappingURL=CheckmarkIcon.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckmarkIcon.cjs","names":["_Fragment","require_createIcon","react_jsx_runtime","CheckmarkIcon","\"md\"","\"sm\""],"sources":["../../../src/icons/generated/CheckmarkIcon.tsx"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport type { CSSProperties } from 'react';\nimport { createIcon } from '../createIcon';\n\n/** Figma: Icons / name=checkmark */\nexport const CheckmarkIcon = /* @__PURE__ */ createIcon(\n 'checkmark',\n {\"md\":1.091,\"sm\":1.091},\n <>\n <path d=\"M19 7L9.50002 16.5L4.50002 11.5\" stroke=\"currentColor\" strokeWidth=\"2.2\" style={{ '--w': 2.2 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>,\n);\n"],"mappings":"A,qFAKA,IAAaG,EAAgCF,EAAA,WAC3C,YACA,CAACG,GAAK,MAAMC,GAAK,KAAK,GACtB,EAAAH,EAAA,IAAA,CAAAF,EAAAA,SAAA,CAAA,UACE,EAAAE,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,kCAAkC,OAAO,eAAe,YAAY,MAAM,MAAO,CAAE,MAAO,GAAI,EAAoB,cAAc,QAAQ,eAAe,OAAQ,CAAA,CACvK,CAAA,CACJ,E"}
1
+ {"version":3,"file":"CheckmarkIcon.cjs","names":["_Fragment","require_createIcon","react_jsx_runtime","CheckmarkIcon","\"md\"","\"sm\""],"sources":["../../../src/icons/generated/CheckmarkIcon.tsx"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport type { CSSProperties } from 'react';\nimport { createIcon } from '../createIcon';\n\n/** Figma: Icons / name=checkmark */\nexport const CheckmarkIcon = /* @__PURE__ */ createIcon(\n 'checkmark',\n {\"md\":1.091,\"sm\":1.091},\n <>\n <path d=\"M18 7.65507L9.81036 15.8447L5.50002 11.5344\" stroke=\"currentColor\" strokeWidth=\"2.2\" style={{ '--w': 2.2 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>,\n {\n md: (\n <>\n <path d=\"M15 6L8.44828 13L5 9.31579\" stroke=\"currentColor\" strokeWidth=\"2\" style={{ '--w': 2 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>\n ),\n sm: (\n <>\n <path d=\"M12 5L6.75862 10L4 7.36842\" stroke=\"currentColor\" strokeWidth=\"1.6\" style={{ '--w': 1.6 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>\n ),\n },\n);\n"],"mappings":"A,qFAKA,IAAaG,EAAgCF,EAAA,WAC3C,YACA,CAACG,GAAK,MAAMC,GAAK,KAAK,GACtB,EAAAH,EAAA,IAAA,CAAAF,EAAAA,SAAA,CAAA,UACE,EAAAE,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,8CAA8C,OAAO,eAAe,YAAY,MAAM,MAAO,CAAE,MAAO,GAAI,EAAoB,cAAc,QAAQ,eAAe,OAAQ,CAAA,CACnL,CAAA,EACF,CACE,IACE,EAAAA,EAAA,IAAA,CAAAF,EAAAA,SAAA,CAAA,UACE,EAAAE,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,6BAA6B,OAAO,eAAe,YAAY,IAAI,MAAO,CAAE,MAAO,CAAE,EAAoB,cAAc,QAAQ,eAAe,OAAQ,CAAA,CAC9J,CAAA,EAEJ,IACE,EAAAA,EAAA,IAAA,CAAAF,EAAAA,SAAA,CAAA,UACE,EAAAE,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,6BAA6B,OAAO,eAAe,YAAY,MAAM,MAAO,CAAE,MAAO,GAAI,EAAoB,cAAc,QAAQ,eAAe,OAAQ,CAAA,CAClK,CAAA,CAEN,CACF,E"}
@@ -6,13 +6,30 @@ var r = /* @__PURE__ */ e("checkmark", {
6
6
  md: 1.091,
7
7
  sm: 1.091
8
8
  }, /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("path", {
9
- d: "M19 7L9.50002 16.5L4.50002 11.5",
9
+ d: "M18 7.65507L9.81036 15.8447L5.50002 11.5344",
10
10
  stroke: "currentColor",
11
11
  strokeWidth: "2.2",
12
12
  style: { "--w": 2.2 },
13
13
  strokeLinecap: "round",
14
14
  strokeLinejoin: "round"
15
- }) }));
15
+ }) }), {
16
+ md: /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("path", {
17
+ d: "M15 6L8.44828 13L5 9.31579",
18
+ stroke: "currentColor",
19
+ strokeWidth: "2",
20
+ style: { "--w": 2 },
21
+ strokeLinecap: "round",
22
+ strokeLinejoin: "round"
23
+ }) }),
24
+ sm: /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("path", {
25
+ d: "M12 5L6.75862 10L4 7.36842",
26
+ stroke: "currentColor",
27
+ strokeWidth: "1.6",
28
+ style: { "--w": 1.6 },
29
+ strokeLinecap: "round",
30
+ strokeLinejoin: "round"
31
+ }) })
32
+ });
16
33
  export { r as CheckmarkIcon };
17
34
 
18
35
  //# sourceMappingURL=CheckmarkIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckmarkIcon.js","names":["_Fragment","CheckmarkIcon","\"md\"","\"sm\"","Fragment"],"sources":["../../../src/icons/generated/CheckmarkIcon.tsx"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport type { CSSProperties } from 'react';\nimport { createIcon } from '../createIcon';\n\n/** Figma: Icons / name=checkmark */\nexport const CheckmarkIcon = /* @__PURE__ */ createIcon(\n 'checkmark',\n {\"md\":1.091,\"sm\":1.091},\n <>\n <path d=\"M19 7L9.50002 16.5L4.50002 11.5\" stroke=\"currentColor\" strokeWidth=\"2.2\" style={{ '--w': 2.2 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>,\n);\n"],"mappings":";;;;AAKA,IAAaC,IAAgC,kBAC3C,aACA;CAACC,IAAK;CAAMC,IAAK;AAAK,GACtB,kBAAAH,GAAA,EAAA,UACE,kBAAC,QAAD;CAAM,GAAE;CAAkC,QAAO;CAAe,aAAY;CAAM,OAAO,EAAE,OAAO,IAAI;CAAoB,eAAc;CAAQ,gBAAe;AAAQ,CAAA,EACvK,CAAA,CACJ"}
1
+ {"version":3,"file":"CheckmarkIcon.js","names":["_Fragment","CheckmarkIcon","\"md\"","\"sm\"","Fragment"],"sources":["../../../src/icons/generated/CheckmarkIcon.tsx"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport type { CSSProperties } from 'react';\nimport { createIcon } from '../createIcon';\n\n/** Figma: Icons / name=checkmark */\nexport const CheckmarkIcon = /* @__PURE__ */ createIcon(\n 'checkmark',\n {\"md\":1.091,\"sm\":1.091},\n <>\n <path d=\"M18 7.65507L9.81036 15.8447L5.50002 11.5344\" stroke=\"currentColor\" strokeWidth=\"2.2\" style={{ '--w': 2.2 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>,\n {\n md: (\n <>\n <path d=\"M15 6L8.44828 13L5 9.31579\" stroke=\"currentColor\" strokeWidth=\"2\" style={{ '--w': 2 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>\n ),\n sm: (\n <>\n <path d=\"M12 5L6.75862 10L4 7.36842\" stroke=\"currentColor\" strokeWidth=\"1.6\" style={{ '--w': 1.6 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>\n ),\n },\n);\n"],"mappings":";;;;AAKA,IAAaC,IAAgC,kBAC3C,aACA;CAACC,IAAK;CAAMC,IAAK;AAAK,GACtB,kBAAAH,GAAA,EAAA,UACE,kBAAC,QAAD;CAAM,GAAE;CAA8C,QAAO;CAAe,aAAY;CAAM,OAAO,EAAE,OAAO,IAAI;CAAoB,eAAc;CAAQ,gBAAe;AAAQ,CAAA,EACnL,CAAA,GACF;CACE,IACE,kBAAAA,GAAA,EAAA,UACE,kBAAC,QAAD;EAAM,GAAE;EAA6B,QAAO;EAAe,aAAY;EAAI,OAAO,EAAE,OAAO,EAAE;EAAoB,eAAc;EAAQ,gBAAe;CAAQ,CAAA,EAC9J,CAAA;CAEJ,IACE,kBAAAA,GAAA,EAAA,UACE,kBAAC,QAAD;EAAM,GAAE;EAA6B,QAAO;EAAe,aAAY;EAAM,OAAO,EAAE,OAAO,IAAI;EAAoB,eAAc;EAAQ,gBAAe;CAAQ,CAAA,EAClK,CAAA;AAEN,CACF"}
@@ -0,0 +1,2 @@
1
+ "use client";const e=require("../createIcon.cjs");let t=require("react/jsx-runtime");var n=e.createIcon(`info`,{md:1.08,sm:1.05},(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(`path`,{d:`M12 16L12 11.5M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3ZM11.9502 8L11.9502 7.9L12.0498 7.90039L12.0498 8L11.9502 8Z`,stroke:`currentColor`,strokeWidth:`2`,style:{"--w":2},strokeLinecap:`round`,strokeLinejoin:`round`})}),{md:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(`path`,{d:`M10 13.3333L10 9.5M10 2.5C14.1421 2.5 17.5 5.85786 17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85787 2.5 10 2.5ZM10 6.58333L10 6.5L10.083 6.50033L10.083 6.58333L10 6.58333Z`,stroke:`currentColor`,strokeWidth:`1.8`,style:{"--w":1.8},strokeLinecap:`round`,strokeLinejoin:`round`})}),sm:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(`path`,{d:`M8 10.6667L8 7.5M8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2ZM8 5.5L8 5.43333L8.06641 5.43359L8.06641 5.5L8 5.5Z`,stroke:`currentColor`,strokeWidth:`1.4`,style:{"--w":1.4},strokeLinecap:`round`,strokeLinejoin:`round`})})});exports.InfoIcon=n;
2
+ //# sourceMappingURL=InfoIcon.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfoIcon.cjs","names":["_Fragment","require_createIcon","react_jsx_runtime","InfoIcon","\"md\"","\"sm\""],"sources":["../../../src/icons/generated/InfoIcon.tsx"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport type { CSSProperties } from 'react';\nimport { createIcon } from '../createIcon';\n\n/** Figma: Icons / name=info */\nexport const InfoIcon = /* @__PURE__ */ createIcon(\n 'info',\n {\"md\":1.08,\"sm\":1.05},\n <>\n <path d=\"M12 16L12 11.5M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3ZM11.9502 8L11.9502 7.9L12.0498 7.90039L12.0498 8L11.9502 8Z\" stroke=\"currentColor\" strokeWidth=\"2\" style={{ '--w': 2 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>,\n {\n md: (\n <>\n <path d=\"M10 13.3333L10 9.5M10 2.5C14.1421 2.5 17.5 5.85786 17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85787 2.5 10 2.5ZM10 6.58333L10 6.5L10.083 6.50033L10.083 6.58333L10 6.58333Z\" stroke=\"currentColor\" strokeWidth=\"1.8\" style={{ '--w': 1.8 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>\n ),\n sm: (\n <>\n <path d=\"M8 10.6667L8 7.5M8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2ZM8 5.5L8 5.43333L8.06641 5.43359L8.06641 5.5L8 5.5Z\" stroke=\"currentColor\" strokeWidth=\"1.4\" style={{ '--w': 1.4 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>\n ),\n },\n);\n"],"mappings":"A,qFAKA,IAAaG,EAA2BF,EAAA,WACtC,OACA,CAACG,GAAK,KAAKC,GAAK,IAAI,GACpB,EAAAH,EAAA,IAAA,CAAAF,EAAAA,SAAA,CAAA,UACE,EAAAE,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,4LAA4L,OAAO,eAAe,YAAY,IAAI,MAAO,CAAE,MAAO,CAAE,EAAoB,cAAc,QAAQ,eAAe,OAAQ,CAAA,CAC7T,CAAA,EACF,CACE,IACE,EAAAA,EAAA,IAAA,CAAAF,EAAAA,SAAA,CAAA,UACE,EAAAE,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,2NAA2N,OAAO,eAAe,YAAY,MAAM,MAAO,CAAE,MAAO,GAAI,EAAoB,cAAc,QAAQ,eAAe,OAAQ,CAAA,CAChW,CAAA,EAEJ,IACE,EAAAA,EAAA,IAAA,CAAAF,EAAAA,SAAA,CAAA,UACE,EAAAE,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,iLAAiL,OAAO,eAAe,YAAY,MAAM,MAAO,CAAE,MAAO,GAAI,EAAoB,cAAc,QAAQ,eAAe,OAAQ,CAAA,CACtT,CAAA,CAEN,CACF,E"}
@@ -0,0 +1,35 @@
1
+ "use client";
2
+ import { createIcon as e } from "../createIcon.js";
3
+ import { Fragment as t, jsx as n } from "react/jsx-runtime";
4
+ // src/icons/generated/InfoIcon.tsx
5
+ var r = /* @__PURE__ */ e("info", {
6
+ md: 1.08,
7
+ sm: 1.05
8
+ }, /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("path", {
9
+ d: "M12 16L12 11.5M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3ZM11.9502 8L11.9502 7.9L12.0498 7.90039L12.0498 8L11.9502 8Z",
10
+ stroke: "currentColor",
11
+ strokeWidth: "2",
12
+ style: { "--w": 2 },
13
+ strokeLinecap: "round",
14
+ strokeLinejoin: "round"
15
+ }) }), {
16
+ md: /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("path", {
17
+ d: "M10 13.3333L10 9.5M10 2.5C14.1421 2.5 17.5 5.85786 17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85787 2.5 10 2.5ZM10 6.58333L10 6.5L10.083 6.50033L10.083 6.58333L10 6.58333Z",
18
+ stroke: "currentColor",
19
+ strokeWidth: "1.8",
20
+ style: { "--w": 1.8 },
21
+ strokeLinecap: "round",
22
+ strokeLinejoin: "round"
23
+ }) }),
24
+ sm: /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("path", {
25
+ d: "M8 10.6667L8 7.5M8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2ZM8 5.5L8 5.43333L8.06641 5.43359L8.06641 5.5L8 5.5Z",
26
+ stroke: "currentColor",
27
+ strokeWidth: "1.4",
28
+ style: { "--w": 1.4 },
29
+ strokeLinecap: "round",
30
+ strokeLinejoin: "round"
31
+ }) })
32
+ });
33
+ export { r as InfoIcon };
34
+
35
+ //# sourceMappingURL=InfoIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfoIcon.js","names":["_Fragment","InfoIcon","\"md\"","\"sm\"","Fragment"],"sources":["../../../src/icons/generated/InfoIcon.tsx"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport type { CSSProperties } from 'react';\nimport { createIcon } from '../createIcon';\n\n/** Figma: Icons / name=info */\nexport const InfoIcon = /* @__PURE__ */ createIcon(\n 'info',\n {\"md\":1.08,\"sm\":1.05},\n <>\n <path d=\"M12 16L12 11.5M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3ZM11.9502 8L11.9502 7.9L12.0498 7.90039L12.0498 8L11.9502 8Z\" stroke=\"currentColor\" strokeWidth=\"2\" style={{ '--w': 2 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>,\n {\n md: (\n <>\n <path d=\"M10 13.3333L10 9.5M10 2.5C14.1421 2.5 17.5 5.85786 17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85787 2.5 10 2.5ZM10 6.58333L10 6.5L10.083 6.50033L10.083 6.58333L10 6.58333Z\" stroke=\"currentColor\" strokeWidth=\"1.8\" style={{ '--w': 1.8 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>\n ),\n sm: (\n <>\n <path d=\"M8 10.6667L8 7.5M8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2ZM8 5.5L8 5.43333L8.06641 5.43359L8.06641 5.5L8 5.5Z\" stroke=\"currentColor\" strokeWidth=\"1.4\" style={{ '--w': 1.4 } as CSSProperties} strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </>\n ),\n },\n);\n"],"mappings":";;;;AAKA,IAAaC,IAA2B,kBACtC,QACA;CAACC,IAAK;CAAKC,IAAK;AAAI,GACpB,kBAAAH,GAAA,EAAA,UACE,kBAAC,QAAD;CAAM,GAAE;CAA4L,QAAO;CAAe,aAAY;CAAI,OAAO,EAAE,OAAO,EAAE;CAAoB,eAAc;CAAQ,gBAAe;AAAQ,CAAA,EAC7T,CAAA,GACF;CACE,IACE,kBAAAA,GAAA,EAAA,UACE,kBAAC,QAAD;EAAM,GAAE;EAA2N,QAAO;EAAe,aAAY;EAAM,OAAO,EAAE,OAAO,IAAI;EAAoB,eAAc;EAAQ,gBAAe;CAAQ,CAAA,EAChW,CAAA;CAEJ,IACE,kBAAAA,GAAA,EAAA,UACE,kBAAC,QAAD;EAAM,GAAE;EAAiL,QAAO;EAAe,aAAY;EAAM,OAAO,EAAE,OAAO,IAAI;EAAoB,eAAc;EAAQ,gBAAe;CAAQ,CAAA,EACtT,CAAA;AAEN,CACF"}
@@ -0,0 +1,2 @@
1
+ "use client";const e=require("../createIcon.cjs");let t=require("react/jsx-runtime");var n=e.createIcon(`send`,{md:1.2,sm:1.5},(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(`path`,{d:`M21 3L3 10.5L10.5 13.5L13.5 21L21 3Z`,stroke:`currentColor`,strokeWidth:`1.5`,style:{"--w":1.5},strokeLinejoin:`round`}),(0,t.jsx)(`path`,{d:`M21 3L10.5 13.5`,stroke:`currentColor`,strokeWidth:`1.5`,style:{"--w":1.5},strokeLinecap:`round`})]}));exports.SendIcon=n;
2
+ //# sourceMappingURL=SendIcon.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SendIcon.cjs","names":["_Fragment","require_createIcon","react_jsx_runtime","SendIcon","\"md\"","\"sm\""],"sources":["../../../src/icons/generated/SendIcon.tsx"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport type { CSSProperties } from 'react';\nimport { createIcon } from '../createIcon';\n\n/** Figma: Icons / name=send */\nexport const SendIcon = /* @__PURE__ */ createIcon(\n 'send',\n {\"md\":1.2,\"sm\":1.5},\n <>\n <path d=\"M21 3L3 10.5L10.5 13.5L13.5 21L21 3Z\" stroke=\"currentColor\" strokeWidth=\"1.5\" style={{ '--w': 1.5 } as CSSProperties} strokeLinejoin=\"round\"/>\n <path d=\"M21 3L10.5 13.5\" stroke=\"currentColor\" strokeWidth=\"1.5\" style={{ '--w': 1.5 } as CSSProperties} strokeLinecap=\"round\"/>\n </>,\n);\n"],"mappings":"A,qFAKA,IAAaG,EAA2BF,EAAA,WACtC,OACA,CAACG,GAAK,IAAIC,GAAK,GAAG,GAClB,EAAAH,EAAA,KAAA,CAAAF,EAAAA,SAAA,CAAA,SAAA,EACE,EAAAE,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,uCAAuC,OAAO,eAAe,YAAY,MAAM,MAAO,CAAE,MAAO,GAAI,EAAoB,eAAe,OAAQ,CAAA,GACtJ,EAAAA,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,kBAAkB,OAAO,eAAe,YAAY,MAAM,MAAO,CAAE,MAAO,GAAI,EAAoB,cAAc,OAAQ,CAAA,CAChI,CAAA,CAAA,CACJ,E"}
@@ -0,0 +1,23 @@
1
+ "use client";
2
+ import { createIcon as e } from "../createIcon.js";
3
+ import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ // src/icons/generated/SendIcon.tsx
5
+ var i = /* @__PURE__ */ e("send", {
6
+ md: 1.2,
7
+ sm: 1.5
8
+ }, /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n("path", {
9
+ d: "M21 3L3 10.5L10.5 13.5L13.5 21L21 3Z",
10
+ stroke: "currentColor",
11
+ strokeWidth: "1.5",
12
+ style: { "--w": 1.5 },
13
+ strokeLinejoin: "round"
14
+ }), /* @__PURE__ */ n("path", {
15
+ d: "M21 3L10.5 13.5",
16
+ stroke: "currentColor",
17
+ strokeWidth: "1.5",
18
+ style: { "--w": 1.5 },
19
+ strokeLinecap: "round"
20
+ })] }));
21
+ export { i as SendIcon };
22
+
23
+ //# sourceMappingURL=SendIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SendIcon.js","names":["_Fragment","SendIcon","\"md\"","\"sm\"","Fragment"],"sources":["../../../src/icons/generated/SendIcon.tsx"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport type { CSSProperties } from 'react';\nimport { createIcon } from '../createIcon';\n\n/** Figma: Icons / name=send */\nexport const SendIcon = /* @__PURE__ */ createIcon(\n 'send',\n {\"md\":1.2,\"sm\":1.5},\n <>\n <path d=\"M21 3L3 10.5L10.5 13.5L13.5 21L21 3Z\" stroke=\"currentColor\" strokeWidth=\"1.5\" style={{ '--w': 1.5 } as CSSProperties} strokeLinejoin=\"round\"/>\n <path d=\"M21 3L10.5 13.5\" stroke=\"currentColor\" strokeWidth=\"1.5\" style={{ '--w': 1.5 } as CSSProperties} strokeLinecap=\"round\"/>\n </>,\n);\n"],"mappings":";;;;AAKA,IAAaC,IAA2B,kBACtC,QACA;CAACC,IAAK;CAAIC,IAAK;AAAG,GAClB,kBAAAH,GAAA,EAAA,UAAA,CACE,kBAAC,QAAD;CAAM,GAAE;CAAuC,QAAO;CAAe,aAAY;CAAM,OAAO,EAAE,OAAO,IAAI;CAAoB,gBAAe;AAAQ,CAAA,GACtJ,kBAAC,QAAD;CAAM,GAAE;CAAkB,QAAO;CAAe,aAAY;CAAM,OAAO,EAAE,OAAO,IAAI;CAAoB,eAAc;AAAQ,CAAA,CAChI,EAAA,CAAA,CACJ"}
@@ -1,2 +1,2 @@
1
- "use client";const e=require("./AirplaneSeatIcon.cjs"),t=require("./BackArrowIcon.cjs"),n=require("./BaggageIcon.cjs"),r=require("./BedIcon.cjs"),i=require("./BookmarkIcon.cjs"),a=require("./BriefcaseIcon.cjs"),o=require("./CalendarIcon.cjs"),s=require("./CarIcon.cjs"),c=require("./CheckmarkIcon.cjs"),l=require("./CompareIcon.cjs"),u=require("./DownArrowIcon.cjs"),d=require("./EmailIcon.cjs"),f=require("./ErrorCircleIcon.cjs"),p=require("./EyeOpenIcon.cjs"),m=require("./EyeSlashedIcon.cjs"),h=require("./FlagIcon.cjs"),g=require("./FlagFranceIcon.cjs"),_=require("./FlagGermanyIcon.cjs"),v=require("./FlagItalyIcon.cjs"),y=require("./FlagNetherlandsIcon.cjs"),b=require("./FlagRoundIcon.cjs"),x=require("./FlagRussiaIcon.cjs"),S=require("./FlagUaeIcon.cjs"),C=require("./ForkKnifeIcon.cjs"),w=require("./LanguageIcon.cjs"),T=require("./LockIcon.cjs"),E=require("./MapPinIcon.cjs"),D=require("./MenuIcon.cjs"),O=require("./MinusIcon.cjs"),k=require("./MountainIcon.cjs"),A=require("./NextArrowIcon.cjs"),j=require("./NotificationIcon.cjs"),M=require("./OtherIcon.cjs"),N=require("./PaperIcon.cjs"),P=require("./PassportIcon.cjs"),F=require("./PeopleIcon.cjs"),I=require("./PlaneIcon.cjs"),L=require("./PlaneLandingIcon.cjs"),R=require("./PlaneTakeoffIcon.cjs"),z=require("./PlusIcon.cjs"),B=require("./PreferencesIcon.cjs"),V=require("./ResizeFieldIcon.cjs"),H=require("./ReverseArrowIcon.cjs"),U=require("./RoadmapIcon.cjs"),W=require("./SaveTimeIcon.cjs"),G=require("./SearchIcon.cjs"),K=require("./ShieldIcon.cjs"),q=require("./StarIcon.cjs"),J=require("./StopsIcon.cjs"),Y=require("./TicketIcon.cjs"),X=require("./TrashBinIcon.cjs"),Z=require("./UpArrowIcon.cjs"),Q=require("./UpDownArrowIcon.cjs"),$=require("./UserIcon.cjs"),ee=require("./WalletIcon.cjs"),te=require("./XMarkIcon.cjs");var ne={"airplane-seat":e.AirplaneSeatIcon,"back-arrow":t.BackArrowIcon,baggage:n.BaggageIcon,bed:r.BedIcon,bookmark:i.BookmarkIcon,briefcase:a.BriefcaseIcon,calendar:o.CalendarIcon,car:s.CarIcon,checkmark:c.CheckmarkIcon,compare:l.CompareIcon,"down-arrow":u.DownArrowIcon,email:d.EmailIcon,"error-circle":f.ErrorCircleIcon,"eye-open":p.EyeOpenIcon,"eye-slashed":m.EyeSlashedIcon,flag:h.FlagIcon,"flag-france":g.FlagFranceIcon,"flag-germany":_.FlagGermanyIcon,"flag-italy":v.FlagItalyIcon,"flag-netherlands":y.FlagNetherlandsIcon,"flag-round":b.FlagRoundIcon,"flag-russia":x.FlagRussiaIcon,"flag-uae":S.FlagUaeIcon,"fork-knife":C.ForkKnifeIcon,language:w.LanguageIcon,lock:T.LockIcon,"map-pin":E.MapPinIcon,menu:D.MenuIcon,minus:O.MinusIcon,mountain:k.MountainIcon,"next-arrow":A.NextArrowIcon,notification:j.NotificationIcon,other:M.OtherIcon,paper:N.PaperIcon,passport:P.PassportIcon,people:F.PeopleIcon,plane:I.PlaneIcon,"plane-landing":L.PlaneLandingIcon,"plane-takeoff":R.PlaneTakeoffIcon,plus:z.PlusIcon,preferences:B.PreferencesIcon,"resize-field":V.ResizeFieldIcon,"reverse-arrow":H.ReverseArrowIcon,roadmap:U.RoadmapIcon,"save-time":W.SaveTimeIcon,search:G.SearchIcon,shield:K.ShieldIcon,star:q.StarIcon,stops:J.StopsIcon,ticket:Y.TicketIcon,"trash-bin":X.TrashBinIcon,"up-arrow":Z.UpArrowIcon,"up-down-arrow":Q.UpDownArrowIcon,user:$.UserIcon,wallet:ee.WalletIcon,"x-mark":te.XMarkIcon},re=Object.keys(ne);exports.AirplaneSeatIcon=e.AirplaneSeatIcon,exports.BackArrowIcon=t.BackArrowIcon,exports.BaggageIcon=n.BaggageIcon,exports.BedIcon=r.BedIcon,exports.BookmarkIcon=i.BookmarkIcon,exports.BriefcaseIcon=a.BriefcaseIcon,exports.CalendarIcon=o.CalendarIcon,exports.CarIcon=s.CarIcon,exports.CheckmarkIcon=c.CheckmarkIcon,exports.CompareIcon=l.CompareIcon,exports.DownArrowIcon=u.DownArrowIcon,exports.EmailIcon=d.EmailIcon,exports.ErrorCircleIcon=f.ErrorCircleIcon,exports.EyeOpenIcon=p.EyeOpenIcon,exports.EyeSlashedIcon=m.EyeSlashedIcon,exports.FlagFranceIcon=g.FlagFranceIcon,exports.FlagGermanyIcon=_.FlagGermanyIcon,exports.FlagIcon=h.FlagIcon,exports.FlagItalyIcon=v.FlagItalyIcon,exports.FlagNetherlandsIcon=y.FlagNetherlandsIcon,exports.FlagRoundIcon=b.FlagRoundIcon,exports.FlagRussiaIcon=x.FlagRussiaIcon,exports.FlagUaeIcon=S.FlagUaeIcon,exports.ForkKnifeIcon=C.ForkKnifeIcon,exports.LanguageIcon=w.LanguageIcon,exports.LockIcon=T.LockIcon,exports.MapPinIcon=E.MapPinIcon,exports.MenuIcon=D.MenuIcon,exports.MinusIcon=O.MinusIcon,exports.MountainIcon=k.MountainIcon,exports.NextArrowIcon=A.NextArrowIcon,exports.NotificationIcon=j.NotificationIcon,exports.OtherIcon=M.OtherIcon,exports.PaperIcon=N.PaperIcon,exports.PassportIcon=P.PassportIcon,exports.PeopleIcon=F.PeopleIcon,exports.PlaneIcon=I.PlaneIcon,exports.PlaneLandingIcon=L.PlaneLandingIcon,exports.PlaneTakeoffIcon=R.PlaneTakeoffIcon,exports.PlusIcon=z.PlusIcon,exports.PreferencesIcon=B.PreferencesIcon,exports.ResizeFieldIcon=V.ResizeFieldIcon,exports.ReverseArrowIcon=H.ReverseArrowIcon,exports.RoadmapIcon=U.RoadmapIcon,exports.SaveTimeIcon=W.SaveTimeIcon,exports.SearchIcon=G.SearchIcon,exports.ShieldIcon=K.ShieldIcon,exports.StarIcon=q.StarIcon,exports.StopsIcon=J.StopsIcon,exports.TicketIcon=Y.TicketIcon,exports.TrashBinIcon=X.TrashBinIcon,exports.UpArrowIcon=Z.UpArrowIcon,exports.UpDownArrowIcon=Q.UpDownArrowIcon,exports.UserIcon=$.UserIcon,exports.WalletIcon=ee.WalletIcon,exports.XMarkIcon=te.XMarkIcon,exports.iconNames=re,exports.icons=ne;
1
+ "use client";const e=require("./AirplaneSeatIcon.cjs"),t=require("./BackArrowIcon.cjs"),n=require("./BaggageIcon.cjs"),r=require("./BedIcon.cjs"),i=require("./BookmarkIcon.cjs"),a=require("./BriefcaseIcon.cjs"),o=require("./CalendarIcon.cjs"),s=require("./CarIcon.cjs"),c=require("./CheckmarkIcon.cjs"),l=require("./CompareIcon.cjs"),u=require("./DownArrowIcon.cjs"),d=require("./EmailIcon.cjs"),f=require("./ErrorCircleIcon.cjs"),p=require("./EyeOpenIcon.cjs"),m=require("./EyeSlashedIcon.cjs"),h=require("./FlagIcon.cjs"),g=require("./FlagFranceIcon.cjs"),_=require("./FlagGermanyIcon.cjs"),v=require("./FlagItalyIcon.cjs"),y=require("./FlagNetherlandsIcon.cjs"),b=require("./FlagRoundIcon.cjs"),x=require("./FlagRussiaIcon.cjs"),S=require("./FlagUaeIcon.cjs"),C=require("./ForkKnifeIcon.cjs"),w=require("./InfoIcon.cjs"),T=require("./LanguageIcon.cjs"),E=require("./LockIcon.cjs"),D=require("./MapPinIcon.cjs"),O=require("./MenuIcon.cjs"),k=require("./MinusIcon.cjs"),A=require("./MountainIcon.cjs"),j=require("./NextArrowIcon.cjs"),M=require("./NotificationIcon.cjs"),N=require("./OtherIcon.cjs"),P=require("./PaperIcon.cjs"),F=require("./PassportIcon.cjs"),I=require("./PeopleIcon.cjs"),L=require("./PlaneIcon.cjs"),R=require("./PlaneLandingIcon.cjs"),z=require("./PlaneTakeoffIcon.cjs"),B=require("./PlusIcon.cjs"),V=require("./PreferencesIcon.cjs"),H=require("./ResizeFieldIcon.cjs"),U=require("./ReverseArrowIcon.cjs"),W=require("./RoadmapIcon.cjs"),G=require("./SaveTimeIcon.cjs"),K=require("./SearchIcon.cjs"),q=require("./SendIcon.cjs"),J=require("./ShieldIcon.cjs"),Y=require("./StarIcon.cjs"),X=require("./StopsIcon.cjs"),Z=require("./TicketIcon.cjs"),Q=require("./TrashBinIcon.cjs"),$=require("./UpArrowIcon.cjs"),ee=require("./UpDownArrowIcon.cjs"),te=require("./UserIcon.cjs"),ne=require("./WalletIcon.cjs"),re=require("./XMarkIcon.cjs");var ie={"airplane-seat":e.AirplaneSeatIcon,"back-arrow":t.BackArrowIcon,baggage:n.BaggageIcon,bed:r.BedIcon,bookmark:i.BookmarkIcon,briefcase:a.BriefcaseIcon,calendar:o.CalendarIcon,car:s.CarIcon,checkmark:c.CheckmarkIcon,compare:l.CompareIcon,"down-arrow":u.DownArrowIcon,email:d.EmailIcon,"error-circle":f.ErrorCircleIcon,"eye-open":p.EyeOpenIcon,"eye-slashed":m.EyeSlashedIcon,flag:h.FlagIcon,"flag-france":g.FlagFranceIcon,"flag-germany":_.FlagGermanyIcon,"flag-italy":v.FlagItalyIcon,"flag-netherlands":y.FlagNetherlandsIcon,"flag-round":b.FlagRoundIcon,"flag-russia":x.FlagRussiaIcon,"flag-uae":S.FlagUaeIcon,"fork-knife":C.ForkKnifeIcon,info:w.InfoIcon,language:T.LanguageIcon,lock:E.LockIcon,"map-pin":D.MapPinIcon,menu:O.MenuIcon,minus:k.MinusIcon,mountain:A.MountainIcon,"next-arrow":j.NextArrowIcon,notification:M.NotificationIcon,other:N.OtherIcon,paper:P.PaperIcon,passport:F.PassportIcon,people:I.PeopleIcon,plane:L.PlaneIcon,"plane-landing":R.PlaneLandingIcon,"plane-takeoff":z.PlaneTakeoffIcon,plus:B.PlusIcon,preferences:V.PreferencesIcon,"resize-field":H.ResizeFieldIcon,"reverse-arrow":U.ReverseArrowIcon,roadmap:W.RoadmapIcon,"save-time":G.SaveTimeIcon,search:K.SearchIcon,send:q.SendIcon,shield:J.ShieldIcon,star:Y.StarIcon,stops:X.StopsIcon,ticket:Z.TicketIcon,"trash-bin":Q.TrashBinIcon,"up-arrow":$.UpArrowIcon,"up-down-arrow":ee.UpDownArrowIcon,user:te.UserIcon,wallet:ne.WalletIcon,"x-mark":re.XMarkIcon},ae=Object.keys(ie);exports.AirplaneSeatIcon=e.AirplaneSeatIcon,exports.BackArrowIcon=t.BackArrowIcon,exports.BaggageIcon=n.BaggageIcon,exports.BedIcon=r.BedIcon,exports.BookmarkIcon=i.BookmarkIcon,exports.BriefcaseIcon=a.BriefcaseIcon,exports.CalendarIcon=o.CalendarIcon,exports.CarIcon=s.CarIcon,exports.CheckmarkIcon=c.CheckmarkIcon,exports.CompareIcon=l.CompareIcon,exports.DownArrowIcon=u.DownArrowIcon,exports.EmailIcon=d.EmailIcon,exports.ErrorCircleIcon=f.ErrorCircleIcon,exports.EyeOpenIcon=p.EyeOpenIcon,exports.EyeSlashedIcon=m.EyeSlashedIcon,exports.FlagFranceIcon=g.FlagFranceIcon,exports.FlagGermanyIcon=_.FlagGermanyIcon,exports.FlagIcon=h.FlagIcon,exports.FlagItalyIcon=v.FlagItalyIcon,exports.FlagNetherlandsIcon=y.FlagNetherlandsIcon,exports.FlagRoundIcon=b.FlagRoundIcon,exports.FlagRussiaIcon=x.FlagRussiaIcon,exports.FlagUaeIcon=S.FlagUaeIcon,exports.ForkKnifeIcon=C.ForkKnifeIcon,exports.InfoIcon=w.InfoIcon,exports.LanguageIcon=T.LanguageIcon,exports.LockIcon=E.LockIcon,exports.MapPinIcon=D.MapPinIcon,exports.MenuIcon=O.MenuIcon,exports.MinusIcon=k.MinusIcon,exports.MountainIcon=A.MountainIcon,exports.NextArrowIcon=j.NextArrowIcon,exports.NotificationIcon=M.NotificationIcon,exports.OtherIcon=N.OtherIcon,exports.PaperIcon=P.PaperIcon,exports.PassportIcon=F.PassportIcon,exports.PeopleIcon=I.PeopleIcon,exports.PlaneIcon=L.PlaneIcon,exports.PlaneLandingIcon=R.PlaneLandingIcon,exports.PlaneTakeoffIcon=z.PlaneTakeoffIcon,exports.PlusIcon=B.PlusIcon,exports.PreferencesIcon=V.PreferencesIcon,exports.ResizeFieldIcon=H.ResizeFieldIcon,exports.ReverseArrowIcon=U.ReverseArrowIcon,exports.RoadmapIcon=W.RoadmapIcon,exports.SaveTimeIcon=G.SaveTimeIcon,exports.SearchIcon=K.SearchIcon,exports.SendIcon=q.SendIcon,exports.ShieldIcon=J.ShieldIcon,exports.StarIcon=Y.StarIcon,exports.StopsIcon=X.StopsIcon,exports.TicketIcon=Z.TicketIcon,exports.TrashBinIcon=Q.TrashBinIcon,exports.UpArrowIcon=$.UpArrowIcon,exports.UpDownArrowIcon=ee.UpDownArrowIcon,exports.UserIcon=te.UserIcon,exports.WalletIcon=ne.WalletIcon,exports.XMarkIcon=re.XMarkIcon,exports.iconNames=ae,exports.icons=ie;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["AirplaneSeatIcon","BackArrowIcon","BaggageIcon","BedIcon","BookmarkIcon","BriefcaseIcon","CalendarIcon","CarIcon","CheckmarkIcon","CompareIcon","DownArrowIcon","EmailIcon","ErrorCircleIcon","EyeOpenIcon","EyeSlashedIcon","FlagIcon","FlagFranceIcon","FlagGermanyIcon","FlagItalyIcon","FlagNetherlandsIcon","FlagRoundIcon","FlagRussiaIcon","FlagUaeIcon","ForkKnifeIcon","LanguageIcon","LockIcon","MapPinIcon","MenuIcon","MinusIcon","MountainIcon","NextArrowIcon","NotificationIcon","OtherIcon","PaperIcon","PassportIcon","PeopleIcon","PlaneIcon","PlaneLandingIcon","PlaneTakeoffIcon","PlusIcon","PreferencesIcon","ResizeFieldIcon","ReverseArrowIcon","RoadmapIcon","SaveTimeIcon","SearchIcon","ShieldIcon","StarIcon","StopsIcon","TicketIcon","TrashBinIcon","UpArrowIcon","UpDownArrowIcon","UserIcon","WalletIcon","XMarkIcon","require_AirplaneSeatIcon","require_BackArrowIcon","require_BaggageIcon","require_BedIcon","require_BookmarkIcon","require_BriefcaseIcon","require_CalendarIcon","require_CarIcon","require_CheckmarkIcon","require_CompareIcon","require_DownArrowIcon","require_EmailIcon","require_ErrorCircleIcon","require_EyeOpenIcon","require_EyeSlashedIcon","require_FlagIcon","require_FlagFranceIcon","require_FlagGermanyIcon","require_FlagItalyIcon","require_FlagNetherlandsIcon","require_FlagRoundIcon","require_FlagRussiaIcon","require_FlagUaeIcon","require_ForkKnifeIcon","require_LanguageIcon","require_LockIcon","require_MapPinIcon","require_MenuIcon","require_MinusIcon","require_MountainIcon","require_NextArrowIcon","require_NotificationIcon","require_OtherIcon","require_PaperIcon","require_PassportIcon","require_PeopleIcon","require_PlaneIcon","require_PlaneLandingIcon","require_PlaneTakeoffIcon","require_PlusIcon","require_PreferencesIcon","require_ResizeFieldIcon","require_ReverseArrowIcon","require_RoadmapIcon","require_SaveTimeIcon","require_SearchIcon","require_ShieldIcon","require_StarIcon","require_StopsIcon","require_TicketIcon","require_TrashBinIcon","require_UpArrowIcon","require_UpDownArrowIcon","require_UserIcon","require_WalletIcon","require_XMarkIcon","icons","\"baggage\"","\"bed\"","\"bookmark\"","\"briefcase\"","\"calendar\"","\"car\"","\"checkmark\"","\"compare\"","\"email\"","\"flag\"","\"language\"","\"lock\"","\"menu\"","\"minus\"","\"mountain\"","\"notification\"","\"other\"","\"paper\"","\"passport\"","\"people\"","\"plane\"","\"plus\"","\"preferences\"","\"roadmap\"","\"search\"","\"shield\"","\"star\"","\"stops\"","\"ticket\"","\"user\"","\"wallet\"","iconNames"],"sources":["../../../src/icons/generated/index.ts"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport { AirplaneSeatIcon } from './AirplaneSeatIcon';\nimport { BackArrowIcon } from './BackArrowIcon';\nimport { BaggageIcon } from './BaggageIcon';\nimport { BedIcon } from './BedIcon';\nimport { BookmarkIcon } from './BookmarkIcon';\nimport { BriefcaseIcon } from './BriefcaseIcon';\nimport { CalendarIcon } from './CalendarIcon';\nimport { CarIcon } from './CarIcon';\nimport { CheckmarkIcon } from './CheckmarkIcon';\nimport { CompareIcon } from './CompareIcon';\nimport { DownArrowIcon } from './DownArrowIcon';\nimport { EmailIcon } from './EmailIcon';\nimport { ErrorCircleIcon } from './ErrorCircleIcon';\nimport { EyeOpenIcon } from './EyeOpenIcon';\nimport { EyeSlashedIcon } from './EyeSlashedIcon';\nimport { FlagIcon } from './FlagIcon';\nimport { FlagFranceIcon } from './FlagFranceIcon';\nimport { FlagGermanyIcon } from './FlagGermanyIcon';\nimport { FlagItalyIcon } from './FlagItalyIcon';\nimport { FlagNetherlandsIcon } from './FlagNetherlandsIcon';\nimport { FlagRoundIcon } from './FlagRoundIcon';\nimport { FlagRussiaIcon } from './FlagRussiaIcon';\nimport { FlagUaeIcon } from './FlagUaeIcon';\nimport { ForkKnifeIcon } from './ForkKnifeIcon';\nimport { LanguageIcon } from './LanguageIcon';\nimport { LockIcon } from './LockIcon';\nimport { MapPinIcon } from './MapPinIcon';\nimport { MenuIcon } from './MenuIcon';\nimport { MinusIcon } from './MinusIcon';\nimport { MountainIcon } from './MountainIcon';\nimport { NextArrowIcon } from './NextArrowIcon';\nimport { NotificationIcon } from './NotificationIcon';\nimport { OtherIcon } from './OtherIcon';\nimport { PaperIcon } from './PaperIcon';\nimport { PassportIcon } from './PassportIcon';\nimport { PeopleIcon } from './PeopleIcon';\nimport { PlaneIcon } from './PlaneIcon';\nimport { PlaneLandingIcon } from './PlaneLandingIcon';\nimport { PlaneTakeoffIcon } from './PlaneTakeoffIcon';\nimport { PlusIcon } from './PlusIcon';\nimport { PreferencesIcon } from './PreferencesIcon';\nimport { ResizeFieldIcon } from './ResizeFieldIcon';\nimport { ReverseArrowIcon } from './ReverseArrowIcon';\nimport { RoadmapIcon } from './RoadmapIcon';\nimport { SaveTimeIcon } from './SaveTimeIcon';\nimport { SearchIcon } from './SearchIcon';\nimport { ShieldIcon } from './ShieldIcon';\nimport { StarIcon } from './StarIcon';\nimport { StopsIcon } from './StopsIcon';\nimport { TicketIcon } from './TicketIcon';\nimport { TrashBinIcon } from './TrashBinIcon';\nimport { UpArrowIcon } from './UpArrowIcon';\nimport { UpDownArrowIcon } from './UpDownArrowIcon';\nimport { UserIcon } from './UserIcon';\nimport { WalletIcon } from './WalletIcon';\nimport { XMarkIcon } from './XMarkIcon';\n\nexport {\n AirplaneSeatIcon,\n BackArrowIcon,\n BaggageIcon,\n BedIcon,\n BookmarkIcon,\n BriefcaseIcon,\n CalendarIcon,\n CarIcon,\n CheckmarkIcon,\n CompareIcon,\n DownArrowIcon,\n EmailIcon,\n ErrorCircleIcon,\n EyeOpenIcon,\n EyeSlashedIcon,\n FlagIcon,\n FlagFranceIcon,\n FlagGermanyIcon,\n FlagItalyIcon,\n FlagNetherlandsIcon,\n FlagRoundIcon,\n FlagRussiaIcon,\n FlagUaeIcon,\n ForkKnifeIcon,\n LanguageIcon,\n LockIcon,\n MapPinIcon,\n MenuIcon,\n MinusIcon,\n MountainIcon,\n NextArrowIcon,\n NotificationIcon,\n OtherIcon,\n PaperIcon,\n PassportIcon,\n PeopleIcon,\n PlaneIcon,\n PlaneLandingIcon,\n PlaneTakeoffIcon,\n PlusIcon,\n PreferencesIcon,\n ResizeFieldIcon,\n ReverseArrowIcon,\n RoadmapIcon,\n SaveTimeIcon,\n SearchIcon,\n ShieldIcon,\n StarIcon,\n StopsIcon,\n TicketIcon,\n TrashBinIcon,\n UpArrowIcon,\n UpDownArrowIcon,\n UserIcon,\n WalletIcon,\n XMarkIcon,\n};\n\n/** Every icon keyed by its Figma name, for `<Icon name=\"…\" />`. */\nexport const icons = {\n 'airplane-seat': AirplaneSeatIcon,\n 'back-arrow': BackArrowIcon,\n 'baggage': BaggageIcon,\n 'bed': BedIcon,\n 'bookmark': BookmarkIcon,\n 'briefcase': BriefcaseIcon,\n 'calendar': CalendarIcon,\n 'car': CarIcon,\n 'checkmark': CheckmarkIcon,\n 'compare': CompareIcon,\n 'down-arrow': DownArrowIcon,\n 'email': EmailIcon,\n 'error-circle': ErrorCircleIcon,\n 'eye-open': EyeOpenIcon,\n 'eye-slashed': EyeSlashedIcon,\n 'flag': FlagIcon,\n 'flag-france': FlagFranceIcon,\n 'flag-germany': FlagGermanyIcon,\n 'flag-italy': FlagItalyIcon,\n 'flag-netherlands': FlagNetherlandsIcon,\n 'flag-round': FlagRoundIcon,\n 'flag-russia': FlagRussiaIcon,\n 'flag-uae': FlagUaeIcon,\n 'fork-knife': ForkKnifeIcon,\n 'language': LanguageIcon,\n 'lock': LockIcon,\n 'map-pin': MapPinIcon,\n 'menu': MenuIcon,\n 'minus': MinusIcon,\n 'mountain': MountainIcon,\n 'next-arrow': NextArrowIcon,\n 'notification': NotificationIcon,\n 'other': OtherIcon,\n 'paper': PaperIcon,\n 'passport': PassportIcon,\n 'people': PeopleIcon,\n 'plane': PlaneIcon,\n 'plane-landing': PlaneLandingIcon,\n 'plane-takeoff': PlaneTakeoffIcon,\n 'plus': PlusIcon,\n 'preferences': PreferencesIcon,\n 'resize-field': ResizeFieldIcon,\n 'reverse-arrow': ReverseArrowIcon,\n 'roadmap': RoadmapIcon,\n 'save-time': SaveTimeIcon,\n 'search': SearchIcon,\n 'shield': ShieldIcon,\n 'star': StarIcon,\n 'stops': StopsIcon,\n 'ticket': TicketIcon,\n 'trash-bin': TrashBinIcon,\n 'up-arrow': UpArrowIcon,\n 'up-down-arrow': UpDownArrowIcon,\n 'user': UserIcon,\n 'wallet': WalletIcon,\n 'x-mark': XMarkIcon,\n} as const;\n\nexport type IconName = keyof typeof icons;\nexport const iconNames = /* @__PURE__ */ Object.keys(icons) as IconName[];\n"],"mappings":"A,owDAsHA,IAAagH,GAAQ,CACnB,gBAAiBhH,EAAAA,iBACjB,aAAcC,EAAAA,cACdgH,QAAW/G,EAAAA,YACXgH,IAAO/G,EAAAA,QACPgH,SAAY/G,EAAAA,aACZgH,UAAa/G,EAAAA,cACbgH,SAAY/G,EAAAA,aACZgH,IAAO/G,EAAAA,QACPgH,UAAa/G,EAAAA,cACbgH,QAAW/G,EAAAA,YACX,aAAcC,EAAAA,cACd+G,MAAS9G,EAAAA,UACT,eAAgBC,EAAAA,gBAChB,WAAYC,EAAAA,YACZ,cAAeC,EAAAA,eACf4G,KAAQ3G,EAAAA,SACR,cAAeC,EAAAA,eACf,eAAgBC,EAAAA,gBAChB,aAAcC,EAAAA,cACd,mBAAoBC,EAAAA,oBACpB,aAAcC,EAAAA,cACd,cAAeC,EAAAA,eACf,WAAYC,EAAAA,YACZ,aAAcC,EAAAA,cACdoG,SAAYnG,EAAAA,aACZoG,KAAQnG,EAAAA,SACR,UAAWC,EAAAA,WACXmG,KAAQlG,EAAAA,SACRmG,MAASlG,EAAAA,UACTmG,SAAYlG,EAAAA,aACZ,aAAcC,EAAAA,cACdkG,aAAgBjG,EAAAA,iBAChBkG,MAASjG,EAAAA,UACTkG,MAASjG,EAAAA,UACTkG,SAAYjG,EAAAA,aACZkG,OAAUjG,EAAAA,WACVkG,MAASjG,EAAAA,UACT,gBAAiBC,EAAAA,iBACjB,gBAAiBC,EAAAA,iBACjBgG,KAAQ/F,EAAAA,SACRgG,YAAe/F,EAAAA,gBACf,eAAgBC,EAAAA,gBAChB,gBAAiBC,EAAAA,iBACjB8F,QAAW7F,EAAAA,YACX,YAAaC,EAAAA,aACb6F,OAAU5F,EAAAA,WACV6F,OAAU5F,EAAAA,WACV6F,KAAQ5F,EAAAA,SACR6F,MAAS5F,EAAAA,UACT6F,OAAU5F,EAAAA,WACV,YAAaC,EAAAA,aACb,WAAYC,EAAAA,YACZ,gBAAiBC,EAAAA,gBACjB0F,KAAQzF,EAAAA,SACR0F,OAAUzF,GAAAA,WACV,SAAUC,GAAAA,SACZ,EAGayF,GAA4B,OAAO,KAAKhC,EAAK,E"}
1
+ {"version":3,"file":"index.cjs","names":["AirplaneSeatIcon","BackArrowIcon","BaggageIcon","BedIcon","BookmarkIcon","BriefcaseIcon","CalendarIcon","CarIcon","CheckmarkIcon","CompareIcon","DownArrowIcon","EmailIcon","ErrorCircleIcon","EyeOpenIcon","EyeSlashedIcon","FlagIcon","FlagFranceIcon","FlagGermanyIcon","FlagItalyIcon","FlagNetherlandsIcon","FlagRoundIcon","FlagRussiaIcon","FlagUaeIcon","ForkKnifeIcon","InfoIcon","LanguageIcon","LockIcon","MapPinIcon","MenuIcon","MinusIcon","MountainIcon","NextArrowIcon","NotificationIcon","OtherIcon","PaperIcon","PassportIcon","PeopleIcon","PlaneIcon","PlaneLandingIcon","PlaneTakeoffIcon","PlusIcon","PreferencesIcon","ResizeFieldIcon","ReverseArrowIcon","RoadmapIcon","SaveTimeIcon","SearchIcon","SendIcon","ShieldIcon","StarIcon","StopsIcon","TicketIcon","TrashBinIcon","UpArrowIcon","UpDownArrowIcon","UserIcon","WalletIcon","XMarkIcon","require_AirplaneSeatIcon","require_BackArrowIcon","require_BaggageIcon","require_BedIcon","require_BookmarkIcon","require_BriefcaseIcon","require_CalendarIcon","require_CarIcon","require_CheckmarkIcon","require_CompareIcon","require_DownArrowIcon","require_EmailIcon","require_ErrorCircleIcon","require_EyeOpenIcon","require_EyeSlashedIcon","require_FlagIcon","require_FlagFranceIcon","require_FlagGermanyIcon","require_FlagItalyIcon","require_FlagNetherlandsIcon","require_FlagRoundIcon","require_FlagRussiaIcon","require_FlagUaeIcon","require_ForkKnifeIcon","require_InfoIcon","require_LanguageIcon","require_LockIcon","require_MapPinIcon","require_MenuIcon","require_MinusIcon","require_MountainIcon","require_NextArrowIcon","require_NotificationIcon","require_OtherIcon","require_PaperIcon","require_PassportIcon","require_PeopleIcon","require_PlaneIcon","require_PlaneLandingIcon","require_PlaneTakeoffIcon","require_PlusIcon","require_PreferencesIcon","require_ResizeFieldIcon","require_ReverseArrowIcon","require_RoadmapIcon","require_SaveTimeIcon","require_SearchIcon","require_SendIcon","require_ShieldIcon","require_StarIcon","require_StopsIcon","require_TicketIcon","require_TrashBinIcon","require_UpArrowIcon","require_UpDownArrowIcon","require_UserIcon","require_WalletIcon","require_XMarkIcon","icons","\"baggage\"","\"bed\"","\"bookmark\"","\"briefcase\"","\"calendar\"","\"car\"","\"checkmark\"","\"compare\"","\"email\"","\"flag\"","\"info\"","\"language\"","\"lock\"","\"menu\"","\"minus\"","\"mountain\"","\"notification\"","\"other\"","\"paper\"","\"passport\"","\"people\"","\"plane\"","\"plus\"","\"preferences\"","\"roadmap\"","\"search\"","\"send\"","\"shield\"","\"star\"","\"stops\"","\"ticket\"","\"user\"","\"wallet\"","iconNames"],"sources":["../../../src/icons/generated/index.ts"],"sourcesContent":["// AUTO-GENERATED by scripts/build-icons.mjs — do not edit by hand.\nimport { AirplaneSeatIcon } from './AirplaneSeatIcon';\nimport { BackArrowIcon } from './BackArrowIcon';\nimport { BaggageIcon } from './BaggageIcon';\nimport { BedIcon } from './BedIcon';\nimport { BookmarkIcon } from './BookmarkIcon';\nimport { BriefcaseIcon } from './BriefcaseIcon';\nimport { CalendarIcon } from './CalendarIcon';\nimport { CarIcon } from './CarIcon';\nimport { CheckmarkIcon } from './CheckmarkIcon';\nimport { CompareIcon } from './CompareIcon';\nimport { DownArrowIcon } from './DownArrowIcon';\nimport { EmailIcon } from './EmailIcon';\nimport { ErrorCircleIcon } from './ErrorCircleIcon';\nimport { EyeOpenIcon } from './EyeOpenIcon';\nimport { EyeSlashedIcon } from './EyeSlashedIcon';\nimport { FlagIcon } from './FlagIcon';\nimport { FlagFranceIcon } from './FlagFranceIcon';\nimport { FlagGermanyIcon } from './FlagGermanyIcon';\nimport { FlagItalyIcon } from './FlagItalyIcon';\nimport { FlagNetherlandsIcon } from './FlagNetherlandsIcon';\nimport { FlagRoundIcon } from './FlagRoundIcon';\nimport { FlagRussiaIcon } from './FlagRussiaIcon';\nimport { FlagUaeIcon } from './FlagUaeIcon';\nimport { ForkKnifeIcon } from './ForkKnifeIcon';\nimport { InfoIcon } from './InfoIcon';\nimport { LanguageIcon } from './LanguageIcon';\nimport { LockIcon } from './LockIcon';\nimport { MapPinIcon } from './MapPinIcon';\nimport { MenuIcon } from './MenuIcon';\nimport { MinusIcon } from './MinusIcon';\nimport { MountainIcon } from './MountainIcon';\nimport { NextArrowIcon } from './NextArrowIcon';\nimport { NotificationIcon } from './NotificationIcon';\nimport { OtherIcon } from './OtherIcon';\nimport { PaperIcon } from './PaperIcon';\nimport { PassportIcon } from './PassportIcon';\nimport { PeopleIcon } from './PeopleIcon';\nimport { PlaneIcon } from './PlaneIcon';\nimport { PlaneLandingIcon } from './PlaneLandingIcon';\nimport { PlaneTakeoffIcon } from './PlaneTakeoffIcon';\nimport { PlusIcon } from './PlusIcon';\nimport { PreferencesIcon } from './PreferencesIcon';\nimport { ResizeFieldIcon } from './ResizeFieldIcon';\nimport { ReverseArrowIcon } from './ReverseArrowIcon';\nimport { RoadmapIcon } from './RoadmapIcon';\nimport { SaveTimeIcon } from './SaveTimeIcon';\nimport { SearchIcon } from './SearchIcon';\nimport { SendIcon } from './SendIcon';\nimport { ShieldIcon } from './ShieldIcon';\nimport { StarIcon } from './StarIcon';\nimport { StopsIcon } from './StopsIcon';\nimport { TicketIcon } from './TicketIcon';\nimport { TrashBinIcon } from './TrashBinIcon';\nimport { UpArrowIcon } from './UpArrowIcon';\nimport { UpDownArrowIcon } from './UpDownArrowIcon';\nimport { UserIcon } from './UserIcon';\nimport { WalletIcon } from './WalletIcon';\nimport { XMarkIcon } from './XMarkIcon';\n\nexport {\n AirplaneSeatIcon,\n BackArrowIcon,\n BaggageIcon,\n BedIcon,\n BookmarkIcon,\n BriefcaseIcon,\n CalendarIcon,\n CarIcon,\n CheckmarkIcon,\n CompareIcon,\n DownArrowIcon,\n EmailIcon,\n ErrorCircleIcon,\n EyeOpenIcon,\n EyeSlashedIcon,\n FlagIcon,\n FlagFranceIcon,\n FlagGermanyIcon,\n FlagItalyIcon,\n FlagNetherlandsIcon,\n FlagRoundIcon,\n FlagRussiaIcon,\n FlagUaeIcon,\n ForkKnifeIcon,\n InfoIcon,\n LanguageIcon,\n LockIcon,\n MapPinIcon,\n MenuIcon,\n MinusIcon,\n MountainIcon,\n NextArrowIcon,\n NotificationIcon,\n OtherIcon,\n PaperIcon,\n PassportIcon,\n PeopleIcon,\n PlaneIcon,\n PlaneLandingIcon,\n PlaneTakeoffIcon,\n PlusIcon,\n PreferencesIcon,\n ResizeFieldIcon,\n ReverseArrowIcon,\n RoadmapIcon,\n SaveTimeIcon,\n SearchIcon,\n SendIcon,\n ShieldIcon,\n StarIcon,\n StopsIcon,\n TicketIcon,\n TrashBinIcon,\n UpArrowIcon,\n UpDownArrowIcon,\n UserIcon,\n WalletIcon,\n XMarkIcon,\n};\n\n/** Every icon keyed by its Figma name, for `<Icon name=\"…\" />`. */\nexport const icons = {\n 'airplane-seat': AirplaneSeatIcon,\n 'back-arrow': BackArrowIcon,\n 'baggage': BaggageIcon,\n 'bed': BedIcon,\n 'bookmark': BookmarkIcon,\n 'briefcase': BriefcaseIcon,\n 'calendar': CalendarIcon,\n 'car': CarIcon,\n 'checkmark': CheckmarkIcon,\n 'compare': CompareIcon,\n 'down-arrow': DownArrowIcon,\n 'email': EmailIcon,\n 'error-circle': ErrorCircleIcon,\n 'eye-open': EyeOpenIcon,\n 'eye-slashed': EyeSlashedIcon,\n 'flag': FlagIcon,\n 'flag-france': FlagFranceIcon,\n 'flag-germany': FlagGermanyIcon,\n 'flag-italy': FlagItalyIcon,\n 'flag-netherlands': FlagNetherlandsIcon,\n 'flag-round': FlagRoundIcon,\n 'flag-russia': FlagRussiaIcon,\n 'flag-uae': FlagUaeIcon,\n 'fork-knife': ForkKnifeIcon,\n 'info': InfoIcon,\n 'language': LanguageIcon,\n 'lock': LockIcon,\n 'map-pin': MapPinIcon,\n 'menu': MenuIcon,\n 'minus': MinusIcon,\n 'mountain': MountainIcon,\n 'next-arrow': NextArrowIcon,\n 'notification': NotificationIcon,\n 'other': OtherIcon,\n 'paper': PaperIcon,\n 'passport': PassportIcon,\n 'people': PeopleIcon,\n 'plane': PlaneIcon,\n 'plane-landing': PlaneLandingIcon,\n 'plane-takeoff': PlaneTakeoffIcon,\n 'plus': PlusIcon,\n 'preferences': PreferencesIcon,\n 'resize-field': ResizeFieldIcon,\n 'reverse-arrow': ReverseArrowIcon,\n 'roadmap': RoadmapIcon,\n 'save-time': SaveTimeIcon,\n 'search': SearchIcon,\n 'send': SendIcon,\n 'shield': ShieldIcon,\n 'star': StarIcon,\n 'stops': StopsIcon,\n 'ticket': TicketIcon,\n 'trash-bin': TrashBinIcon,\n 'up-arrow': UpArrowIcon,\n 'up-down-arrow': UpDownArrowIcon,\n 'user': UserIcon,\n 'wallet': WalletIcon,\n 'x-mark': XMarkIcon,\n} as const;\n\nexport type IconName = keyof typeof icons;\nexport const iconNames = /* @__PURE__ */ Object.keys(icons) as IconName[];\n"],"mappings":"A,8zDA0HA,IAAaoH,GAAQ,CACnB,gBAAiBpH,EAAAA,iBACjB,aAAcC,EAAAA,cACdoH,QAAWnH,EAAAA,YACXoH,IAAOnH,EAAAA,QACPoH,SAAYnH,EAAAA,aACZoH,UAAanH,EAAAA,cACboH,SAAYnH,EAAAA,aACZoH,IAAOnH,EAAAA,QACPoH,UAAanH,EAAAA,cACboH,QAAWnH,EAAAA,YACX,aAAcC,EAAAA,cACdmH,MAASlH,EAAAA,UACT,eAAgBC,EAAAA,gBAChB,WAAYC,EAAAA,YACZ,cAAeC,EAAAA,eACfgH,KAAQ/G,EAAAA,SACR,cAAeC,EAAAA,eACf,eAAgBC,EAAAA,gBAChB,aAAcC,EAAAA,cACd,mBAAoBC,EAAAA,oBACpB,aAAcC,EAAAA,cACd,cAAeC,EAAAA,eACf,WAAYC,EAAAA,YACZ,aAAcC,EAAAA,cACdwG,KAAQvG,EAAAA,SACRwG,SAAYvG,EAAAA,aACZwG,KAAQvG,EAAAA,SACR,UAAWC,EAAAA,WACXuG,KAAQtG,EAAAA,SACRuG,MAAStG,EAAAA,UACTuG,SAAYtG,EAAAA,aACZ,aAAcC,EAAAA,cACdsG,aAAgBrG,EAAAA,iBAChBsG,MAASrG,EAAAA,UACTsG,MAASrG,EAAAA,UACTsG,SAAYrG,EAAAA,aACZsG,OAAUrG,EAAAA,WACVsG,MAASrG,EAAAA,UACT,gBAAiBC,EAAAA,iBACjB,gBAAiBC,EAAAA,iBACjBoG,KAAQnG,EAAAA,SACRoG,YAAenG,EAAAA,gBACf,eAAgBC,EAAAA,gBAChB,gBAAiBC,EAAAA,iBACjBkG,QAAWjG,EAAAA,YACX,YAAaC,EAAAA,aACbiG,OAAUhG,EAAAA,WACViG,KAAQhG,EAAAA,SACRiG,OAAUhG,EAAAA,WACViG,KAAQhG,EAAAA,SACRiG,MAAShG,EAAAA,UACTiG,OAAUhG,EAAAA,WACV,YAAaC,EAAAA,aACb,WAAYC,EAAAA,YACZ,gBAAiBC,GAAAA,gBACjB8F,KAAQ7F,GAAAA,SACR8F,OAAU7F,GAAAA,WACV,SAAUC,GAAAA,SACZ,EAGa6F,GAA4B,OAAO,KAAKlC,EAAK,E"}