@fluidattacks/design 3.1.11 → 3.1.13

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 (205) hide show
  1. package/dist/_commonjsHelpers-C6fGbg64.mjs +6 -0
  2. package/dist/components/@core/index.js +18 -1
  3. package/dist/components/accordion/accordion-content/index.js +22 -1
  4. package/dist/components/accordion/index.js +78 -1
  5. package/dist/components/alert/index.js +162 -4
  6. package/dist/components/button/index.js +69 -1
  7. package/dist/components/card/card-header/index.js +83 -1
  8. package/dist/components/card/card-with-image/index.js +93 -1
  9. package/dist/components/card/card-with-input/index.js +106 -3
  10. package/dist/components/card/card-with-selector/index.js +71 -1
  11. package/dist/components/card/card-with-switch/index.js +50 -1
  12. package/dist/components/card/index.js +12 -1
  13. package/dist/components/carousel/index.js +62 -10
  14. package/dist/components/checkbox/index.js +118 -3
  15. package/dist/components/cloud-image/index.js +8 -1
  16. package/dist/components/code-snippet/index.js +72 -1
  17. package/dist/components/code-snippet/location-code/index.js +171 -1
  18. package/dist/components/colors/index.js +224 -1
  19. package/dist/components/confirm-dialog/index.js +46 -1
  20. package/dist/components/container/index.js +51 -3
  21. package/dist/components/content-card/category-tag/index.js +42 -1
  22. package/dist/components/content-card/event-date/index.js +61 -1
  23. package/dist/components/content-card/index.js +168 -3
  24. package/dist/components/content-card-carousel/index.js +95 -1
  25. package/dist/components/content-card-carousel/scroll-buttons/index.js +9 -1
  26. package/dist/components/divider/index.js +25 -1
  27. package/dist/components/empty-state/empty-button/index.js +6 -1
  28. package/dist/components/empty-state/index.js +58 -8
  29. package/dist/components/file-preview/index.js +31 -3
  30. package/dist/components/form/index.js +63 -3
  31. package/dist/components/grid-container/index.js +46 -5
  32. package/dist/components/group-selector/index.js +135 -1
  33. package/dist/components/group-selector/option-container/index.js +12 -1
  34. package/dist/components/icon/index.js +102 -4
  35. package/dist/components/icon-button/index.js +76 -3
  36. package/dist/components/indicator-card/index.js +74 -1
  37. package/dist/components/info-sidebar/index.js +116 -1
  38. package/dist/components/inputs/fields/combobox/index.js +146 -1
  39. package/dist/components/inputs/fields/combobox/option/index.js +8 -1
  40. package/dist/components/inputs/fields/date/calendar/cell/index.js +27 -1
  41. package/dist/components/inputs/fields/date/calendar/grid/index.js +26 -1
  42. package/dist/components/inputs/fields/date/calendar/header/index.js +38 -1
  43. package/dist/components/inputs/fields/date/calendar/index.js +30 -1
  44. package/dist/components/inputs/fields/date/index.js +68 -1
  45. package/dist/components/inputs/fields/date-range/calendar/index.js +35 -1
  46. package/dist/components/inputs/fields/date-range/index.js +108 -3
  47. package/dist/components/inputs/fields/date-time/calendar/index.js +60 -5
  48. package/dist/components/inputs/fields/date-time/index.js +69 -1
  49. package/dist/components/inputs/fields/editable/index.js +28 -1
  50. package/dist/components/inputs/fields/input/index.js +77 -1
  51. package/dist/components/inputs/fields/input-file/index.js +117 -4
  52. package/dist/components/inputs/fields/input-tags/index.js +63 -2
  53. package/dist/components/inputs/fields/number/index.js +57 -1
  54. package/dist/components/inputs/fields/number-range/index.js +49 -1
  55. package/dist/components/inputs/fields/phone/index.js +574 -11
  56. package/dist/components/inputs/fields/text-area/index.js +81 -1
  57. package/dist/components/inputs/index.js +28 -1
  58. package/dist/components/inputs/label/index.js +38 -1
  59. package/dist/components/inputs/outline-container/index.js +104 -1
  60. package/dist/components/inputs/utils/action-button/index.js +31 -1
  61. package/dist/components/inputs/utils/calendar-button/index.js +37 -1
  62. package/dist/components/inputs/utils/date-selector/index.js +62 -1
  63. package/dist/components/inputs/utils/date-time-field/index.js +133 -1
  64. package/dist/components/inputs/utils/dialog/index.js +14 -1
  65. package/dist/components/inputs/utils/number-field/index.js +86 -1
  66. package/dist/components/inputs/utils/popover/index.js +44 -1
  67. package/dist/components/interactive-card/icon/index.js +7 -1
  68. package/dist/components/interactive-card/index.js +118 -1
  69. package/dist/components/language-selector/index.js +37 -1
  70. package/dist/components/language-selector/item-list/index.js +8 -1
  71. package/dist/components/link/index.js +106 -7
  72. package/dist/components/list-item/index.js +67 -1
  73. package/dist/components/little-flag/index.js +32 -3
  74. package/dist/components/loading/index.js +55 -14
  75. package/dist/components/logo/index.js +13 -1
  76. package/dist/components/logo-carousel/index.js +45 -4
  77. package/dist/components/lottie/index.js +20 -3
  78. package/dist/components/menu/index.js +67 -1
  79. package/dist/components/message-banner/index.js +87 -4
  80. package/dist/components/modal/index.js +65 -1
  81. package/dist/components/modal/modal-confirm/index.js +51 -1
  82. package/dist/components/modal/modal-footer/index.js +25 -1
  83. package/dist/components/modal/modal-header/index.js +51 -1
  84. package/dist/components/notification/index.js +113 -5
  85. package/dist/components/notification-sign/index.js +43 -6
  86. package/dist/components/number-input/index.js +62 -7
  87. package/dist/components/oauth-selector/index.js +100 -1
  88. package/dist/components/oauth-selector/option-container/index.js +76 -1
  89. package/dist/components/plan-card/index.js +155 -5
  90. package/dist/components/plan-card/recommended-tag/index.js +31 -1
  91. package/dist/components/pop-up/description/index.js +51 -1
  92. package/dist/components/pop-up/index.js +152 -1
  93. package/dist/components/premium-feature/index.js +85 -3
  94. package/dist/components/priority-score/index.js +29 -1
  95. package/dist/components/progress/index.js +36 -3
  96. package/dist/components/progress-bar/index.js +153 -5
  97. package/dist/components/radio-button/index.js +125 -3
  98. package/dist/components/scroll-button/index.js +38 -2
  99. package/dist/components/search/index.js +105 -7
  100. package/dist/components/search-bar/index.js +219 -1
  101. package/dist/components/search-bar/item-searching/index.js +10 -1
  102. package/dist/components/severity-badge/index.js +74 -1
  103. package/dist/components/severity-overview/badge/index.js +69 -1
  104. package/dist/components/severity-overview/index.js +17 -1
  105. package/dist/components/show-on-hover/index.js +31 -3
  106. package/dist/components/slide-out-menu/index.js +3456 -3
  107. package/dist/components/slide-out-menu/menu-item/index.js +67 -1
  108. package/dist/components/slider/index.js +124 -7
  109. package/dist/components/slider/thumb/index.js +17 -1
  110. package/dist/components/step-lapse/index.js +153 -9
  111. package/dist/components/table-button/index.js +97 -3
  112. package/dist/components/tabs/fixed-tabs/index.js +29 -1
  113. package/dist/components/tabs/index.js +57 -1
  114. package/dist/components/tabs/tab/index.js +39 -1
  115. package/dist/components/tag/index.js +184 -3
  116. package/dist/components/timeline/card/index.js +9 -1
  117. package/dist/components/timeline/index.js +17 -1
  118. package/dist/components/toggle/index.js +85 -14
  119. package/dist/components/toggle-buttons/index.js +103 -5
  120. package/dist/components/tooltip/index.js +13 -1
  121. package/dist/components/tour/index.js +4549 -4
  122. package/dist/components/typography/heading/index.js +47 -1
  123. package/dist/components/typography/index.js +8 -1
  124. package/dist/components/typography/span/index.js +41 -1
  125. package/dist/components/typography/text/index.js +47 -1
  126. package/dist/components/web-form/index.js +68 -7
  127. package/dist/hooks/index.js +13 -1
  128. package/dist/index-BMHVi812.mjs +234 -0
  129. package/dist/index-BzAniA2J.mjs +135 -0
  130. package/dist/index-C6LbClYh.mjs +146 -0
  131. package/dist/index-CAIe8hBv.mjs +130 -0
  132. package/dist/index-CUQBAqt_.mjs +75 -0
  133. package/dist/index-CWlrSlUk.mjs +68 -0
  134. package/dist/index-Ckmu1TfV.mjs +86 -0
  135. package/dist/index-DwznImvK.mjs +1678 -0
  136. package/dist/index-maWH3JYC.mjs +3561 -0
  137. package/dist/index.js +206 -1
  138. package/dist/styles-B2N0JLw1.mjs +114 -0
  139. package/dist/styles-B64DVBIF.mjs +115 -0
  140. package/dist/{styles-BAhpqi6C.mjs → styles-BXFVwnWT.mjs} +28 -28
  141. package/dist/styles-BZQOqe8p.mjs +141 -0
  142. package/dist/styles-Bdque9TT.mjs +65 -0
  143. package/dist/styles-BlHspTrz.mjs +144 -0
  144. package/dist/styles-CROOwXEH.mjs +76 -0
  145. package/dist/styles-CplEd2kw.mjs +228 -0
  146. package/dist/styles-D1eTIklB.mjs +110 -0
  147. package/dist/styles-ePGii_9g.mjs +74 -0
  148. package/dist/use-carousel-CgAF78h3.mjs +23 -0
  149. package/dist/use-click-outside-BUll8Ag-.mjs +18 -0
  150. package/dist/use-cloudinary-image-BCxwj15o.mjs +1176 -0
  151. package/dist/use-modal-CtgexKnf.mjs +14 -0
  152. package/dist/use-search-Dj47QDw9.mjs +15 -0
  153. package/dist/utils-V0EumEPM.mjs +6 -0
  154. package/package.json +1 -3
  155. package/dist/_commonjsHelpers-C37NGDzP.js +0 -1
  156. package/dist/_commonjsHelpers-D6CrkqQz.mjs +0 -6
  157. package/dist/index-BH27NQKA.mjs +0 -2311
  158. package/dist/index-Bcw2vW_n.mjs +0 -75
  159. package/dist/index-C0_LPuYU.mjs +0 -106
  160. package/dist/index-C8zdgAVH.mjs +0 -82
  161. package/dist/index-CA_9DXWd.js +0 -5
  162. package/dist/index-CmylnDrF.js +0 -14
  163. package/dist/index-DUMgwAbO.js +0 -26
  164. package/dist/index-DpQYiwGu.js +0 -5
  165. package/dist/index-Dy8ZUIYs.js +0 -5
  166. package/dist/index-JPf5Yzg6.js +0 -17
  167. package/dist/index-OBZtKZuT.mjs +0 -1021
  168. package/dist/index-SsXlDjK4.mjs +0 -122
  169. package/dist/index-TKLFHcRp.js +0 -18
  170. package/dist/index-TnyKqJHo.mjs +0 -61
  171. package/dist/index-Yr95Cb7Z.mjs +0 -54
  172. package/dist/index-h9-U5wxq.mjs +0 -209
  173. package/dist/index-qCiUU4sZ.js +0 -9
  174. package/dist/index-qe0nJwzl.js +0 -15
  175. package/dist/styles--Elze-LV.js +0 -3
  176. package/dist/styles-3pR4Xdvy.js +0 -33
  177. package/dist/styles-59h91S9m.mjs +0 -65
  178. package/dist/styles-BCwLWpC3.mjs +0 -126
  179. package/dist/styles-BJ7-0I5X.mjs +0 -74
  180. package/dist/styles-BKObp9bh.mjs +0 -76
  181. package/dist/styles-BWVdbvFu.js +0 -5
  182. package/dist/styles-Bl-CstrT.js +0 -5
  183. package/dist/styles-Bn42XCW5.js +0 -7
  184. package/dist/styles-C2CoGJl7.js +0 -33
  185. package/dist/styles-CNzziAXG.js +0 -5
  186. package/dist/styles-CdD9waPD.js +0 -29
  187. package/dist/styles-CnKTwnFk.mjs +0 -110
  188. package/dist/styles-D4R-eerv.mjs +0 -77
  189. package/dist/styles-DNIIhyRC.mjs +0 -144
  190. package/dist/styles-DV8yOaqV.mjs +0 -131
  191. package/dist/styles-DYoftbd3.js +0 -42
  192. package/dist/styles-DlmKLhPh.js +0 -7
  193. package/dist/styles-be8gOdgy.mjs +0 -106
  194. package/dist/use-carousel-64dKFW4E.js +0 -1
  195. package/dist/use-carousel-D7xeL3YZ.mjs +0 -17
  196. package/dist/use-click-outside-BqkLISED.js +0 -1
  197. package/dist/use-click-outside-C4Z4pdiW.mjs +0 -18
  198. package/dist/use-cloudinary-image-DKMl7jbx.mjs +0 -612
  199. package/dist/use-cloudinary-image-YMMafagv.js +0 -1
  200. package/dist/use-modal-CNbLSSQb.mjs +0 -14
  201. package/dist/use-modal-_bYY6M_n.js +0 -1
  202. package/dist/use-search-75ip5xR-.mjs +0 -12
  203. package/dist/use-search-DeL4UDMh.js +0 -1
  204. package/dist/utils-C2whpEd3.js +0 -1
  205. package/dist/utils-Da0qL35u.mjs +0 -4
@@ -1 +1,30 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@internationalized/date"),t=require("react-aria"),a=require("react-stately"),n=require("./grid/index.js"),s=require("./header/index.js"),i=require("../../../../../styles-DYoftbd3.js"),o=require("../../../../button/index.js");exports.Calendar=({onClose:l,props:d})=>{const{locale:u}=t.useLocale(),c=a.useCalendarState({...d,createCalendar:r.createCalendar,locale:u}),{prevButtonProps:x,nextButtonProps:j,title:p}=t.useCalendar(d,c);return e.jsxs("div",{className:"calendar",children:[e.jsx(s.Header,{nextButtonProps:j,prevButtonProps:x,state:c,title:p}),e.jsx(n.CalendarGrid,{state:c}),e.jsx(i.FooterContainer,{children:e.jsx(o.Button,{onClick:l,variant:"ghost",children:"Cancel"})})]})};
1
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
+ import { createCalendar as s } from "@internationalized/date";
3
+ import { useLocale as c, useCalendar as d } from "react-aria";
4
+ import { useCalendarState as p } from "react-stately";
5
+ import { CalendarGrid as f } from "./grid/index.js";
6
+ import { Header as C } from "./header/index.js";
7
+ import { F as u } from "../../../../../styles-BlHspTrz.mjs";
8
+ import { Button as h } from "../../../../button/index.js";
9
+ const G = ({
10
+ onClose: e,
11
+ props: t
12
+ }) => {
13
+ const { locale: a } = c(), o = p({ ...t, createCalendar: s, locale: a }), { prevButtonProps: n, nextButtonProps: i, title: m } = d(t, o);
14
+ return /* @__PURE__ */ l("div", { className: "calendar", children: [
15
+ /* @__PURE__ */ r(
16
+ C,
17
+ {
18
+ nextButtonProps: i,
19
+ prevButtonProps: n,
20
+ state: o,
21
+ title: m
22
+ }
23
+ ),
24
+ /* @__PURE__ */ r(f, { state: o }),
25
+ /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(h, { onClick: e, variant: "ghost", children: "Cancel" }) })
26
+ ] });
27
+ };
28
+ export {
29
+ G as Calendar
30
+ };
@@ -1 +1,68 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@internationalized/date"),t=require("lodash"),i=require("react"),o=require("react-aria"),a=require("react-stately"),s=require("./calendar/index.js"),l=require("../../outline-container/index.js"),n=require("../../utils/date-selector/index.js"),u=require("../../utils/dialog/index.js"),d=require("../../utils/popover/index.js"),p=i.forwardRef((function({disabled:p=!1,error:c,required:q,label:x,name:P,tooltip:f,value:j,...b},g){const m=i.useRef(null),D=a.useDatePickerState(b),{close:h}=D,{groupProps:v,fieldProps:R,buttonProps:y,dialogProps:S,calendarProps:k}=o.useDatePicker({...b,"aria-label":x??P},D,m);return e.jsxs(l.OutlineContainer,{error:c,htmlFor:P,label:x,required:q,tooltip:f,children:[e.jsx(n.DateSelector,{buttonProps:y,datePickerRef:m,disabled:p,error:c,fieldProps:t.isNil(j)||t.isEmpty(j)||"-"===j?R:{...R,value:r.parseDate(j.replace(/\//gu,"-"))},groupProps:v,inputRef:g,name:P}),D.isOpen&&!p?e.jsx(d.Popover,{offset:8,placement:"bottom start",state:D,triggerRef:m,children:e.jsx(u.Dialog,{...S,children:e.jsx(s.Calendar,{onClose:h,props:{...k}})})}):null]})}));exports.InputDate=p;
1
+ import { jsxs as h, jsx as t } from "react/jsx-runtime";
2
+ import { parseDate as k } from "@internationalized/date";
3
+ import a from "lodash";
4
+ import { forwardRef as x, useRef as C } from "react";
5
+ import { useDatePicker as j } from "react-aria";
6
+ import { useDatePickerState as I } from "react-stately";
7
+ import { Calendar as O } from "./calendar/index.js";
8
+ import { OutlineContainer as S } from "../../outline-container/index.js";
9
+ import { DateSelector as b } from "../../utils/date-selector/index.js";
10
+ import { Dialog as w } from "../../utils/dialog/index.js";
11
+ import { Popover as y } from "../../utils/popover/index.js";
12
+ const L = x(function({
13
+ disabled: p = !1,
14
+ error: s,
15
+ required: l,
16
+ label: m,
17
+ name: e,
18
+ tooltip: c,
19
+ value: o,
20
+ ...f
21
+ }, u) {
22
+ const i = C(null), r = I(f), { close: P } = r, { groupProps: d, fieldProps: n, buttonProps: D, dialogProps: g, calendarProps: R } = j(
23
+ { ...f, "aria-label": m ?? e },
24
+ r,
25
+ i
26
+ );
27
+ return /* @__PURE__ */ h(
28
+ S,
29
+ {
30
+ error: s,
31
+ htmlFor: e,
32
+ label: m,
33
+ required: l,
34
+ tooltip: c,
35
+ children: [
36
+ /* @__PURE__ */ t(
37
+ b,
38
+ {
39
+ buttonProps: D,
40
+ datePickerRef: i,
41
+ disabled: p,
42
+ error: s,
43
+ fieldProps: a.isNil(o) || a.isEmpty(o) || o === "-" ? n : {
44
+ ...n,
45
+ value: k(o.replace(/\//gu, "-"))
46
+ },
47
+ groupProps: d,
48
+ inputRef: u,
49
+ name: e
50
+ }
51
+ ),
52
+ r.isOpen && !p ? /* @__PURE__ */ t(
53
+ y,
54
+ {
55
+ offset: 8,
56
+ placement: "bottom start",
57
+ state: r,
58
+ triggerRef: i,
59
+ children: /* @__PURE__ */ t(w, { ...g, children: /* @__PURE__ */ t(O, { onClose: P, props: { ...R } }) })
60
+ }
61
+ ) : null
62
+ ]
63
+ }
64
+ );
65
+ });
66
+ export {
67
+ L as InputDate
68
+ };
@@ -1 +1,35 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@internationalized/date"),t=require("react"),a=require("react-aria"),n=require("react-stately"),s=require("../../date/calendar/grid/index.js"),i=require("../../date/calendar/header/index.js"),l=require("../../../../../styles-DYoftbd3.js"),o=require("../../../../button/index.js");exports.Calendar=({onClose:d,props:u})=>{const{locale:c}=a.useLocale(),x=t.useRef(null),j=n.useRangeCalendarState({...u,createCalendar:r.createCalendar,locale:c}),{prevButtonProps:p,nextButtonProps:C,title:q}=a.useRangeCalendar(u,j,x);return e.jsxs("div",{className:"calendar-range",ref:x,children:[e.jsx(i.Header,{nextButtonProps:C,prevButtonProps:p,state:j,title:q}),e.jsx(s.CalendarGrid,{state:j}),e.jsx(l.FooterContainer,{children:e.jsx(o.Button,{onClick:d,variant:"ghost",children:"Cancel"})})]})};
1
+ import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
+ import { createCalendar as c } from "@internationalized/date";
3
+ import { useRef as d } from "react";
4
+ import { useLocale as f, useRangeCalendar as p } from "react-aria";
5
+ import { useRangeCalendarState as u } from "react-stately";
6
+ import { CalendarGrid as C } from "../../date/calendar/grid/index.js";
7
+ import { Header as g } from "../../date/calendar/header/index.js";
8
+ import { F as h } from "../../../../../styles-BlHspTrz.mjs";
9
+ import { Button as x } from "../../../../button/index.js";
10
+ const L = ({
11
+ onClose: a,
12
+ props: o
13
+ }) => {
14
+ const { locale: n } = f(), t = d(null), e = u({ ...o, createCalendar: c, locale: n }), { prevButtonProps: l, nextButtonProps: m, title: i } = p(
15
+ o,
16
+ e,
17
+ t
18
+ );
19
+ return /* @__PURE__ */ s("div", { className: "calendar-range", ref: t, children: [
20
+ /* @__PURE__ */ r(
21
+ g,
22
+ {
23
+ nextButtonProps: m,
24
+ prevButtonProps: l,
25
+ state: e,
26
+ title: i
27
+ }
28
+ ),
29
+ /* @__PURE__ */ r(C, { state: e }),
30
+ /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(x, { onClick: a, variant: "ghost", children: "Cancel" }) })
31
+ ] });
32
+ };
33
+ export {
34
+ L as Calendar
35
+ };
@@ -1,3 +1,108 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),t=require("react-aria"),a=require("react-stately"),l=require("./calendar/index.js"),o=require("styled-components"),i=require("../../outline-container/index.js"),s=require("../../utils/date-selector/index.js"),n=require("../../utils/dialog/index.js"),d=require("../../utils/popover/index.js"),u=o.styled.div`
2
- ${({theme:e,$disabled:r,$show:t})=>`\n border-color: ${t?e.palette.error[500]:e.palette.gray[300]};\n display: flex;\n gap: ${e.spacing[.25]};\n width: 100%;\n\n ~ div {\n background: ${r?e.palette.gray[200]:e.palette.white};\n }\n `}
3
- `,p=r.forwardRef((function({disabled:o=!1,error:p,label:c,name:b,required:g,tooltip:P,...x},f){const j=r.useRef(null),m=a.useDateRangePickerState(x),{close:q}=m,$=`min${b}`,h=`max${b}`,{groupProps:v,startFieldProps:R,endFieldProps:y,buttonProps:D,dialogProps:S,calendarProps:k}=t.useDateRangePicker(x,m,j);return e.jsxs(i.OutlineContainer,{error:p,htmlFor:b,label:c,required:g,tooltip:P,children:[e.jsxs(u,{$disabled:o,$show:void 0!==p,ref:j,children:[e.jsx(s.DateSelector,{buttonProps:D,datePickerRef:j,disabled:o,error:p,fieldProps:{...R,"aria-label":`${R["aria-label"]} ${b}`,validate:e=>y.value&&e>y.value?"Start date must be less than or equal to end date":null},groupProps:v,inputRef:f,name:$}),e.jsx(s.DateSelector,{buttonProps:D,datePickerRef:j,disabled:o,error:p,fieldProps:{...y,"aria-label":`${y["aria-label"]} ${b}`,validate:e=>R.value&&e<R.value?"End date must be greater than or equal to start date":null},groupProps:v,inputRef:f,name:h})]}),m.isOpen&&!o?e.jsx(d.Popover,{offset:8,placement:"bottom start",state:m,triggerRef:j,children:e.jsx(n.Dialog,{...S,children:e.jsx(l.Calendar,{onClose:q,props:{...k}})})}):null]})}));exports.InputDateRange=p;
1
+ import { jsxs as m, jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as k, useRef as w } from "react";
3
+ import { useDateRangePicker as y } from "react-aria";
4
+ import { useDateRangePickerState as S } from "react-stately";
5
+ import { Calendar as C } from "./calendar/index.js";
6
+ import { styled as F } from "styled-components";
7
+ import { OutlineContainer as O } from "../../outline-container/index.js";
8
+ import { DateSelector as g } from "../../utils/date-selector/index.js";
9
+ import { Dialog as j } from "../../utils/dialog/index.js";
10
+ import { Popover as q } from "../../utils/popover/index.js";
11
+ const I = F.div`
12
+ ${({ theme: t, $disabled: e, $show: a }) => `
13
+ border-color: ${a ? t.palette.error[500] : t.palette.gray[300]};
14
+ display: flex;
15
+ gap: ${t.spacing[0.25]};
16
+ width: 100%;
17
+
18
+ ~ div {
19
+ background: ${e ? t.palette.gray[200] : t.palette.white};
20
+ }
21
+ `}
22
+ `, N = k(function({
23
+ disabled: e = !1,
24
+ error: a,
25
+ label: P,
26
+ name: o,
27
+ required: $,
28
+ tooltip: R,
29
+ ...d
30
+ }, u) {
31
+ const r = w(null), n = S(d), { close: v } = n, b = `min${o}`, D = `max${o}`, {
32
+ groupProps: f,
33
+ startFieldProps: i,
34
+ endFieldProps: s,
35
+ buttonProps: c,
36
+ dialogProps: h,
37
+ calendarProps: x
38
+ } = y(d, n, r);
39
+ return /* @__PURE__ */ m(
40
+ O,
41
+ {
42
+ error: a,
43
+ htmlFor: o,
44
+ label: P,
45
+ required: $,
46
+ tooltip: R,
47
+ children: [
48
+ /* @__PURE__ */ m(
49
+ I,
50
+ {
51
+ $disabled: e,
52
+ $show: a !== void 0,
53
+ ref: r,
54
+ children: [
55
+ /* @__PURE__ */ l(
56
+ g,
57
+ {
58
+ buttonProps: c,
59
+ datePickerRef: r,
60
+ disabled: e,
61
+ error: a,
62
+ fieldProps: {
63
+ ...i,
64
+ "aria-label": `${i["aria-label"]} ${o}`,
65
+ validate: (p) => s.value && p > s.value ? "Start date must be less than or equal to end date" : null
66
+ },
67
+ groupProps: f,
68
+ inputRef: u,
69
+ name: b
70
+ }
71
+ ),
72
+ /* @__PURE__ */ l(
73
+ g,
74
+ {
75
+ buttonProps: c,
76
+ datePickerRef: r,
77
+ disabled: e,
78
+ error: a,
79
+ fieldProps: {
80
+ ...s,
81
+ "aria-label": `${s["aria-label"]} ${o}`,
82
+ validate: (p) => i.value && p < i.value ? "End date must be greater than or equal to start date" : null
83
+ },
84
+ groupProps: f,
85
+ inputRef: u,
86
+ name: D
87
+ }
88
+ )
89
+ ]
90
+ }
91
+ ),
92
+ n.isOpen && !e ? /* @__PURE__ */ l(
93
+ q,
94
+ {
95
+ offset: 8,
96
+ placement: "bottom start",
97
+ state: n,
98
+ triggerRef: r,
99
+ children: /* @__PURE__ */ l(j, { ...h, children: /* @__PURE__ */ l(C, { onClose: v, props: { ...x } }) })
100
+ }
101
+ ) : null
102
+ ]
103
+ }
104
+ );
105
+ });
106
+ export {
107
+ N as InputDateRange
108
+ };
@@ -1,9 +1,64 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("@internationalized/date"),r=require("react-aria"),n=require("react-stately"),a=require("styled-components"),i=require("../../../utils/date-time-field/index.js"),s=require("../../date/calendar/grid/index.js"),l=require("../../date/calendar/header/index.js"),d=require("../../../../../styles-DYoftbd3.js"),o=require("../../../../button/index.js");require("../../../../typography/heading/index.js"),require("../../../../typography/span/index.js");const c=require("../../../../typography/text/index.js"),u=a.styled.div`
2
- ${({theme:e})=>`\n align-items: center;\n border-top: 1px solid ${e.palette.gray[200]};\n display: flex;\n gap: ${e.spacing[1.5]};\n justify-content: center;\n padding: ${e.spacing[.5]} ${e.spacing[1.25]};\n `}
3
- `,p=a.styled.div`
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import { createCalendar as f } from "@internationalized/date";
3
+ import { useLocale as u, useCalendar as g } from "react-aria";
4
+ import { useCalendarState as C } from "react-stately";
5
+ import { styled as n, useTheme as x } from "styled-components";
6
+ import { TimeField as h } from "../../../utils/date-time-field/index.js";
7
+ import { CalendarGrid as y } from "../../date/calendar/grid/index.js";
8
+ import { Header as v } from "../../date/calendar/header/index.js";
9
+ import { F as $ } from "../../../../../styles-BlHspTrz.mjs";
10
+ import { Button as T } from "../../../../button/index.js";
11
+ import "../../../../typography/heading/index.js";
12
+ import "../../../../typography/span/index.js";
13
+ import { Text as j } from "../../../../typography/text/index.js";
14
+ const b = n.div`
15
+ ${({ theme: e }) => `
16
+ align-items: center;
17
+ border-top: 1px solid ${e.palette.gray[200]};
18
+ display: flex;
19
+ gap: ${e.spacing[1.5]};
20
+ justify-content: center;
21
+ padding: ${e.spacing[0.5]} ${e.spacing[1.25]};
22
+ `}
23
+ `, B = n.div`
4
24
  align-items: center;
5
25
  display: flex;
6
- gap: ${({theme:e})=>e.spacing[.5]};
26
+ gap: ${({ theme: e }) => e.spacing[0.5]};
7
27
  justify-content: flex-end;
8
28
  flex: 1 0 0;
9
- `;exports.Calendar=({handleTimeChange:x,onClose:g,props:j,timeState:h})=>{const y=a.useTheme(),{locale:m}=r.useLocale(),q=n.useCalendarState({...j,createCalendar:t.createCalendar,locale:m}),{prevButtonProps:C,nextButtonProps:f,title:v}=r.useCalendar(j,q);return e.jsxs("div",{className:"calendar",children:[e.jsx(l.Header,{nextButtonProps:f,prevButtonProps:C,state:q,title:v}),e.jsx(s.CalendarGrid,{state:q}),e.jsxs(u,{children:[e.jsx(c.Text,{color:y.palette.gray[800],fontWeight:"bold",size:"sm",children:"Time"}),e.jsx(p,{children:e.jsx(i.TimeField,{hourCycle:12,label:"time-field",onChange:x,value:h.timeValue})})]}),e.jsx(d.FooterContainer,{children:e.jsx(o.Button,{onClick:g,variant:"ghost",children:"Cancel"})})]})};
29
+ `, w = ({
30
+ handleTimeChange: e,
31
+ onClose: a,
32
+ props: o,
33
+ timeState: l
34
+ }) => {
35
+ const s = x(), { locale: m } = u(), r = C({ ...o, createCalendar: f, locale: m }), { prevButtonProps: c, nextButtonProps: d, title: p } = g(o, r);
36
+ return /* @__PURE__ */ i("div", { className: "calendar", children: [
37
+ /* @__PURE__ */ t(
38
+ v,
39
+ {
40
+ nextButtonProps: d,
41
+ prevButtonProps: c,
42
+ state: r,
43
+ title: p
44
+ }
45
+ ),
46
+ /* @__PURE__ */ t(y, { state: r }),
47
+ /* @__PURE__ */ i(b, { children: [
48
+ /* @__PURE__ */ t(j, { color: s.palette.gray[800], fontWeight: "bold", size: "sm", children: "Time" }),
49
+ /* @__PURE__ */ t(B, { children: /* @__PURE__ */ t(
50
+ h,
51
+ {
52
+ hourCycle: 12,
53
+ label: "time-field",
54
+ onChange: e,
55
+ value: l.timeValue
56
+ }
57
+ ) })
58
+ ] }),
59
+ /* @__PURE__ */ t($, { children: /* @__PURE__ */ t(T, { onClick: a, variant: "ghost", children: "Cancel" }) })
60
+ ] });
61
+ };
62
+ export {
63
+ w as Calendar
64
+ };
@@ -1 +1,69 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),t=require("react-aria"),i=require("react-stately"),o=require("./calendar/index.js"),l=require("../../outline-container/index.js"),a=require("../../utils/date-selector/index.js"),s=require("../../utils/dialog/index.js"),n=require("../../utils/popover/index.js"),u=r.forwardRef((function(u,d){const c=r.useRef(null),p=i.useDatePickerState({...u,granularity:"minute",hourCycle:12,shouldCloseOnSelect:!1}),{close:m}=p,{disabled:x=!1,error:P,required:f,label:g,name:j,tooltip:q}=u,{groupProps:b,fieldProps:h,buttonProps:C,dialogProps:y,calendarProps:S}=t.useDatePicker(u,p,c),D=r.useCallback((e=>{e&&p.setTimeValue(e)}),[p]);return e.jsxs(l.OutlineContainer,{error:P,htmlFor:j,label:g,required:f,tooltip:q,children:[e.jsx(a.DateSelector,{buttonProps:C,datePickerRef:c,disabled:x,error:P,fieldProps:h,granularity:"minute",groupProps:b,inputRef:d,name:j}),p.isOpen&&!x?e.jsx(n.Popover,{offset:8,placement:"bottom start",state:p,triggerRef:c,children:e.jsx(s.Dialog,{...y,children:e.jsx(o.Calendar,{handleTimeChange:D,onClose:m,props:{...S},timeState:p})})}):null]})}));exports.InputDateTime=u;
1
+ import { jsxs as D, jsx as t } from "react/jsx-runtime";
2
+ import { forwardRef as b, useRef as R, useCallback as k } from "react";
3
+ import { useDatePicker as S } from "react-aria";
4
+ import { useDatePickerState as T } from "react-stately";
5
+ import { Calendar as x } from "./calendar/index.js";
6
+ import { OutlineContainer as y } from "../../outline-container/index.js";
7
+ import { DateSelector as O } from "../../utils/date-selector/index.js";
8
+ import { Dialog as j } from "../../utils/dialog/index.js";
9
+ import { Popover as I } from "../../utils/popover/index.js";
10
+ const J = b(function(o, m) {
11
+ const r = R(null), e = T({
12
+ ...o,
13
+ granularity: "minute",
14
+ hourCycle: 12,
15
+ shouldCloseOnSelect: !1
16
+ }), { close: s } = e, { disabled: i = !1, error: n, required: f, label: p, name: a, tooltip: u } = o, { groupProps: c, fieldProps: d, buttonProps: P, dialogProps: g, calendarProps: h } = S(o, e, r), C = k(
17
+ (l) => {
18
+ l && e.setTimeValue(l);
19
+ },
20
+ [e]
21
+ );
22
+ return /* @__PURE__ */ D(
23
+ y,
24
+ {
25
+ error: n,
26
+ htmlFor: a,
27
+ label: p,
28
+ required: f,
29
+ tooltip: u,
30
+ children: [
31
+ /* @__PURE__ */ t(
32
+ O,
33
+ {
34
+ buttonProps: P,
35
+ datePickerRef: r,
36
+ disabled: i,
37
+ error: n,
38
+ fieldProps: d,
39
+ granularity: "minute",
40
+ groupProps: c,
41
+ inputRef: m,
42
+ name: a
43
+ }
44
+ ),
45
+ e.isOpen && !i ? /* @__PURE__ */ t(
46
+ I,
47
+ {
48
+ offset: 8,
49
+ placement: "bottom start",
50
+ state: e,
51
+ triggerRef: r,
52
+ children: /* @__PURE__ */ t(j, { ...g, children: /* @__PURE__ */ t(
53
+ x,
54
+ {
55
+ handleTimeChange: C,
56
+ onClose: s,
57
+ props: { ...h },
58
+ timeState: e
59
+ }
60
+ ) })
61
+ }
62
+ ) : null
63
+ ]
64
+ }
65
+ );
66
+ });
67
+ export {
68
+ J as InputDateTime
69
+ };
@@ -1 +1,28 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("lodash"),i=require("../../label/index.js"),t=require("../../../container/index.js"),n=require("../../../link/index.js");require("../../../typography/heading/index.js"),require("../../../typography/span/index.js");const s=require("../../../typography/text/index.js");exports.Editable=({children:l,currentValue:o,externalLink:a,isEditing:d,label:x,name:u,tooltip:h})=>{if(d)return e.jsx("div",{children:l});const c=r.isNil(o)?"":o,j=String(a??c);return e.jsxs(t.Container,{children:[e.jsx(i.Label,{htmlFor:u,label:x,tooltip:h,weight:"bold"}),j.startsWith("https://")?e.jsx(n.Link,{href:j,children:c}):e.jsx(s.Text,{size:"md",children:c})]})};
1
+ import { jsx as r, jsxs as h } from "react/jsx-runtime";
2
+ import { isNil as l } from "lodash";
3
+ import { Label as d } from "../../label/index.js";
4
+ import { Container as c } from "../../../container/index.js";
5
+ import { Link as a } from "../../../link/index.js";
6
+ import "../../../typography/heading/index.js";
7
+ import "../../../typography/span/index.js";
8
+ import { Text as x } from "../../../typography/text/index.js";
9
+ const z = ({
10
+ children: m,
11
+ currentValue: i,
12
+ externalLink: e,
13
+ isEditing: n,
14
+ label: s,
15
+ name: p,
16
+ tooltip: f
17
+ }) => {
18
+ if (n)
19
+ return /* @__PURE__ */ r("div", { children: m });
20
+ const t = l(i) ? "" : i, o = String(e ?? t);
21
+ return /* @__PURE__ */ h(c, { children: [
22
+ /* @__PURE__ */ r(d, { htmlFor: p, label: s, tooltip: f, weight: "bold" }),
23
+ o.startsWith("https://") ? /* @__PURE__ */ r(a, { href: o, children: t }) : /* @__PURE__ */ r(x, { size: "md", children: t })
24
+ ] });
25
+ };
26
+ export {
27
+ z as Editable
28
+ };
@@ -1 +1,77 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),i=require("styled-components"),t=require("../../outline-container/index.js"),n=require("../../../../styles-Bl-CstrT.js"),o=require("../../../icon/index.js"),a=r.forwardRef((function({disabled:r=!1,hasIcon:a=!1,helpLink:l,helpLinkText:s,helpText:c,error:d,label:u,name:p,maskValue:x=!1,required:h,tooltip:m,type:j="text",weight:b,...f},q){const y=i.useTheme();return e.jsx(t.OutlineContainer,{error:d,helpLink:l,helpLinkText:s,helpText:c,htmlFor:p,label:u,required:h,tooltip:m,weight:b,children:e.jsxs(n.StyledTextInputContainer,{className:`${r?"disabled":""} ${d?"error":""}`,children:[a?e.jsx(o.Icon,{icon:"user",iconSize:"sm",iconType:"fa-light"}):void 0,e.jsx("input",{"aria-hidden":!1,"aria-invalid":d?"true":"false","aria-label":p,"aria-required":h,autoComplete:"off",className:x?"sr-block":"","data-testid":`${p}-input`,disabled:r,id:p,name:p,ref:q,type:j,...f}),d?e.jsx(o.Icon,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:y.palette.error[500],iconSize:"xs"}):void 0]})})}));exports.Input=a;
1
+ import { jsx as o, jsxs as I } from "react/jsx-runtime";
2
+ import { forwardRef as S } from "react";
3
+ import { useTheme as T } from "styled-components";
4
+ import { OutlineContainer as $ } from "../../outline-container/index.js";
5
+ import { S as b } from "../../../../styles-BXFVwnWT.mjs";
6
+ import { Icon as n } from "../../../icon/index.js";
7
+ const w = S(function({
8
+ disabled: t = !1,
9
+ hasIcon: a = !1,
10
+ helpLink: l,
11
+ helpLinkText: s,
12
+ helpText: c,
13
+ error: i,
14
+ label: f,
15
+ name: e,
16
+ maskValue: m = !1,
17
+ required: r,
18
+ tooltip: p,
19
+ type: d = "text",
20
+ weight: u,
21
+ ...x
22
+ }, h) {
23
+ const C = T();
24
+ return /* @__PURE__ */ o(
25
+ $,
26
+ {
27
+ error: i,
28
+ helpLink: l,
29
+ helpLinkText: s,
30
+ helpText: c,
31
+ htmlFor: e,
32
+ label: f,
33
+ required: r,
34
+ tooltip: p,
35
+ weight: u,
36
+ children: /* @__PURE__ */ I(
37
+ b,
38
+ {
39
+ className: `${t ? "disabled" : ""} ${i ? "error" : ""}`,
40
+ children: [
41
+ a ? /* @__PURE__ */ o(n, { icon: "user", iconSize: "sm", iconType: "fa-light" }) : void 0,
42
+ /* @__PURE__ */ o(
43
+ "input",
44
+ {
45
+ "aria-hidden": !1,
46
+ "aria-invalid": i ? "true" : "false",
47
+ "aria-label": e,
48
+ "aria-required": r,
49
+ autoComplete: "off",
50
+ className: m ? "sr-block" : "",
51
+ "data-testid": `${e}-input`,
52
+ disabled: t,
53
+ id: e,
54
+ name: e,
55
+ ref: h,
56
+ type: d,
57
+ ...x
58
+ }
59
+ ),
60
+ i ? /* @__PURE__ */ o(
61
+ n,
62
+ {
63
+ icon: "exclamation-circle",
64
+ iconClass: "error-icon",
65
+ iconColor: C.palette.error[500],
66
+ iconSize: "xs"
67
+ }
68
+ ) : void 0
69
+ ]
70
+ }
71
+ )
72
+ }
73
+ );
74
+ });
75
+ export {
76
+ w as Input
77
+ };
@@ -1,12 +1,125 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("lodash"),r=require("react"),t=require("styled-components"),o=require("../../../../styles-DlmKLhPh.js"),n=require("../../outline-container/index.js"),l=require("../../../../styles-Bl-CstrT.js"),s=require("../../../button/index.js"),a=require("../../../container/index.js"),d=require("../../../icon/index.js"),c=require("../../../icon-button/index.js"),p=t.styled(o.StyledText)`
1
+ import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
+ import { isEmpty as v } from "lodash";
3
+ import { forwardRef as C } from "react";
4
+ import { styled as s, useTheme as F } from "styled-components";
5
+ import { b as T } from "../../../../styles-B64DVBIF.mjs";
6
+ import { OutlineContainer as $ } from "../../outline-container/index.js";
7
+ import { S as b } from "../../../../styles-BXFVwnWT.mjs";
8
+ import { Button as z } from "../../../button/index.js";
9
+ import { Container as j } from "../../../container/index.js";
10
+ import { Icon as m } from "../../../icon/index.js";
11
+ import { IconButton as N } from "../../../icon-button/index.js";
12
+ const A = s(T)`
2
13
  white-space: nowrap;
3
- margin-right: ${({theme:e})=>e.spacing[.25]};
14
+ margin-right: ${({ theme: e }) => e.spacing[0.25]};
4
15
  text-overflow: ellipsis;
5
16
  overflow: hidden;
6
17
  max-width: 80%;
7
- `,u=t.styled.input`
18
+ `, B = s.input`
8
19
  opacity: 0;
9
20
  position: absolute;
10
21
  visibility: hidden;
11
22
  width: 0;
12
- `,x=r.forwardRef((function({accept:r,disabled:o=!1,error:x,label:h,helpLink:m,helpText:j,id:y,multiple:b,name:g,required:q,tooltip:f,weight:v,value:w,...S},T){const C=t.useTheme(),I=(e=>{const i=e;return i?Array.from(i).map((e=>e.name)).join(", "):""})(w);return e.jsxs(n.OutlineContainer,{error:x,helpLink:m,helpText:j,htmlFor:g,label:h,required:q,tooltip:f,weight:v,children:[e.jsxs(l.StyledTextInputContainer,{className:`${o?"disabled":""} ${x?"error":""}`,children:[e.jsx(p,{$size:"xs",children:I}),e.jsxs(a.Container,{display:"flex",gap:.5,children:[i.isEmpty(I)?void 0:e.jsx(c.IconButton,{color:C.palette.gray[400],height:"20px",icon:"xmark",iconSize:"lg",iconType:"fa-light",variant:"ghost",width:"20px"}),x&&e.jsx(d.Icon,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:C.palette.error[500],iconSize:"xs"})]}),e.jsxs(s.Button,{border:o?`1px solid ${C.palette.gray[300]} !important`:"",borderRadius:"0px 8px 8px 0px !important",disabled:o,height:"40px",variant:"primary",width:"96px",children:[e.jsx(d.Icon,{icon:"search",iconSize:"sm",mr:.5}),"Add file"]})]}),e.jsx(u,{accept:r,"aria-label":g,"data-testid":g,disabled:o,id:y,multiple:b,name:g,ref:T,required:void 0,type:"file",value:void 0,...S})]})}));exports.InputFile=x;
23
+ `, R = (e) => {
24
+ const o = e;
25
+ return o ? Array.from(o).map((i) => i.name).join(", ") : "";
26
+ }, P = C(function({
27
+ accept: o,
28
+ disabled: i = !1,
29
+ error: p,
30
+ label: c,
31
+ helpLink: d,
32
+ helpText: f,
33
+ id: h,
34
+ multiple: x,
35
+ name: r,
36
+ required: u,
37
+ tooltip: y,
38
+ weight: g,
39
+ value: w,
40
+ ...I
41
+ }, S) {
42
+ const a = F(), l = R(w);
43
+ return /* @__PURE__ */ n(
44
+ $,
45
+ {
46
+ error: p,
47
+ helpLink: d,
48
+ helpText: f,
49
+ htmlFor: r,
50
+ label: c,
51
+ required: u,
52
+ tooltip: y,
53
+ weight: g,
54
+ children: [
55
+ /* @__PURE__ */ n(
56
+ b,
57
+ {
58
+ className: `${i ? "disabled" : ""} ${p ? "error" : ""}`,
59
+ children: [
60
+ /* @__PURE__ */ t(A, { $size: "xs", children: l }),
61
+ /* @__PURE__ */ n(j, { display: "flex", gap: 0.5, children: [
62
+ v(l) ? void 0 : /* @__PURE__ */ t(
63
+ N,
64
+ {
65
+ color: a.palette.gray[400],
66
+ height: "20px",
67
+ icon: "xmark",
68
+ iconSize: "lg",
69
+ iconType: "fa-light",
70
+ variant: "ghost",
71
+ width: "20px"
72
+ }
73
+ ),
74
+ p && /* @__PURE__ */ t(
75
+ m,
76
+ {
77
+ icon: "exclamation-circle",
78
+ iconClass: "error-icon",
79
+ iconColor: a.palette.error[500],
80
+ iconSize: "xs"
81
+ }
82
+ )
83
+ ] }),
84
+ /* @__PURE__ */ n(
85
+ z,
86
+ {
87
+ border: i ? `1px solid ${a.palette.gray[300]} !important` : "",
88
+ borderRadius: "0px 8px 8px 0px !important",
89
+ disabled: i,
90
+ height: "40px",
91
+ variant: "primary",
92
+ width: "96px",
93
+ children: [
94
+ /* @__PURE__ */ t(m, { icon: "search", iconSize: "sm", mr: 0.5 }),
95
+ "Add file"
96
+ ]
97
+ }
98
+ )
99
+ ]
100
+ }
101
+ ),
102
+ /* @__PURE__ */ t(
103
+ B,
104
+ {
105
+ accept: o,
106
+ "aria-label": r,
107
+ "data-testid": r,
108
+ disabled: i,
109
+ id: h,
110
+ multiple: x,
111
+ name: r,
112
+ ref: S,
113
+ required: void 0,
114
+ type: "file",
115
+ value: void 0,
116
+ ...I
117
+ }
118
+ )
119
+ ]
120
+ }
121
+ );
122
+ });
123
+ export {
124
+ P as InputFile
125
+ };