@moondreamsdev/dreamer-ui 1.7.7-test.1 → 1.7.7-test.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/QuestionMarkCircled-BVBF3skB.js +157 -0
  2. package/dist/QuestionMarkCircled-BVBF3skB.js.map +1 -0
  3. package/dist/QuestionMarkCircled-D5cHmQp1.cjs +2 -0
  4. package/dist/QuestionMarkCircled-D5cHmQp1.cjs.map +1 -0
  5. package/dist/Toast-SgqUNTIy.cjs +2 -0
  6. package/dist/Toast-SgqUNTIy.cjs.map +1 -0
  7. package/dist/{Toast-Bn0CCsLY.js → Toast-vensJgtx.js} +72 -61
  8. package/dist/Toast-vensJgtx.js.map +1 -0
  9. package/dist/X-CIoyLewf.js +111 -0
  10. package/dist/X-CIoyLewf.js.map +1 -0
  11. package/dist/X-CgjeP2OI.cjs +2 -0
  12. package/dist/X-CgjeP2OI.cjs.map +1 -0
  13. package/dist/components.cjs.js +1 -1
  14. package/dist/components.cjs.js.map +1 -1
  15. package/dist/components.esm.js +608 -452
  16. package/dist/components.esm.js.map +1 -1
  17. package/dist/providers.cjs.js +1 -1
  18. package/dist/providers.cjs.js.map +1 -1
  19. package/dist/providers.esm.js +15 -15
  20. package/dist/providers.esm.js.map +1 -1
  21. package/dist/src/components/index.d.ts +2 -0
  22. package/dist/src/components/separator/Separator.d.ts +16 -0
  23. package/dist/src/components/separator/index.d.ts +2 -0
  24. package/dist/src/components/separator/variants.d.ts +14 -0
  25. package/dist/src/components/toggle/Toggle.d.ts +13 -0
  26. package/dist/src/components/toggle/index.d.ts +2 -0
  27. package/dist/src/components/toggle/variants.d.ts +29 -0
  28. package/dist/src/hooks/useToast.d.ts +1 -1
  29. package/dist/src/symbols/Check.d.ts +2 -4
  30. package/dist/src/symbols/CheckCircled.d.ts +2 -3
  31. package/dist/src/symbols/ChevronDown.d.ts +2 -4
  32. package/dist/src/symbols/CrossCircled.d.ts +2 -4
  33. package/dist/src/symbols/ExclamationTriangle.d.ts +2 -3
  34. package/dist/src/symbols/EyeClosed.d.ts +2 -3
  35. package/dist/src/symbols/EyeOpened.d.ts +2 -3
  36. package/dist/src/symbols/InfoCircled.d.ts +2 -4
  37. package/dist/src/symbols/QuestionMarkCircled.d.ts +2 -4
  38. package/dist/src/symbols/X.d.ts +2 -4
  39. package/dist/src/symbols/index.d.ts +4 -0
  40. package/dist/symbols.cjs.js +1 -1
  41. package/dist/symbols.esm.js +2 -2
  42. package/dist/theme.css +2 -0
  43. package/dist/useToast-CEKvEJVB.js.map +1 -1
  44. package/dist/useToast-CraVIawn.cjs.map +1 -1
  45. package/package.json +2 -2
  46. package/dist/QuestionMarkCircled-B6xdNcJl.js +0 -76
  47. package/dist/QuestionMarkCircled-B6xdNcJl.js.map +0 -1
  48. package/dist/QuestionMarkCircled-Dh6Bl18_.cjs +0 -2
  49. package/dist/QuestionMarkCircled-Dh6Bl18_.cjs.map +0 -1
  50. package/dist/Toast-Bn0CCsLY.js.map +0 -1
  51. package/dist/Toast-uzg_Sy4r.cjs +0 -2
  52. package/dist/Toast-uzg_Sy4r.cjs.map +0 -1
  53. package/dist/X-JuXyHwMp.cjs +0 -2
  54. package/dist/X-JuXyHwMp.cjs.map +0 -1
  55. package/dist/X-aXWqJhiz.js +0 -52
  56. package/dist/X-aXWqJhiz.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { jsxs as g, jsx as l } from "react/jsx-runtime";
2
2
  import { useState as x, useCallback as s } from "react";
3
- import { A as v, T as b } from "./Toast-Bn0CCsLY.js";
3
+ import { A as v, T as y } from "./Toast-vensJgtx.js";
4
4
  import "react-dom";
5
- import { A as y, T as C } from "./useToast-CEKvEJVB.js";
5
+ import { A as b, T as C } from "./useToast-CEKvEJVB.js";
6
6
  import { join as w } from "./utils.esm.js";
7
7
  function $({ children: d }) {
8
8
  const [e, o] = x(null), f = s((t) => new Promise((a) => {
@@ -26,27 +26,27 @@ function $({ children: d }) {
26
26
  destructive: t.destructive,
27
27
  resolve: a
28
28
  });
29
- }), []), n = s(() => {
29
+ }), []), i = s(() => {
30
30
  e != null && e.resolve && (e.type === "confirm" ? e.resolve(!1) : e.resolve()), o(null);
31
- }, [e]), i = s(() => {
31
+ }, [e]), n = s(() => {
32
32
  e != null && e.resolve && (e.type === "confirm" ? e.resolve(!0) : e.resolve()), o(null);
33
33
  }, [e]), u = {
34
34
  confirm: f,
35
35
  alert: c
36
36
  };
37
- return /* @__PURE__ */ g(y.Provider, { value: u, children: [
37
+ return /* @__PURE__ */ g(b.Provider, { value: u, children: [
38
38
  d,
39
39
  e && e.type === "alert" && /* @__PURE__ */ l(
40
40
  v,
41
41
  {
42
42
  type: "alert",
43
43
  isOpen: e.isOpen,
44
- onClose: n,
44
+ onClose: i,
45
45
  title: e.title,
46
46
  message: e.message,
47
47
  confirmText: e.confirmText,
48
48
  destructive: e.destructive,
49
- onConfirm: i,
49
+ onConfirm: n,
50
50
  className: "bg-white dark:bg-gray-800 rounded-lg"
51
51
  }
52
52
  ),
@@ -55,13 +55,13 @@ function $({ children: d }) {
55
55
  {
56
56
  type: "confirm",
57
57
  isOpen: e.isOpen,
58
- onClose: n,
58
+ onClose: i,
59
59
  title: e.title,
60
60
  message: e.message,
61
61
  confirmText: e.confirmText,
62
62
  cancelText: e.cancelText,
63
63
  destructive: e.destructive,
64
- onConfirm: i,
64
+ onConfirm: n,
65
65
  className: "bg-white dark:bg-gray-800 rounded-lg"
66
66
  }
67
67
  )
@@ -82,9 +82,9 @@ function z({
82
82
  position: f = "top-right",
83
83
  maxToasts: c = 5
84
84
  }) {
85
- const [n, i] = x([]), u = s(
85
+ const [i, n] = x([]), u = s(
86
86
  (r) => {
87
- const p = `toast-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`, m = r.id || p, T = {
87
+ const p = `toast-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`, m = r.id || p, T = {
88
88
  id: m,
89
89
  title: r.title,
90
90
  description: r.description,
@@ -92,15 +92,15 @@ function z({
92
92
  action: r.action,
93
93
  duration: r.duration ?? 5e3
94
94
  };
95
- return i((h) => [T, ...h].slice(0, c)), m;
95
+ return n((h) => [T, ...h].slice(0, c)), m;
96
96
  },
97
97
  [c]
98
98
  ), t = s((r) => {
99
- i((p) => p.filter((m) => m.id !== r));
99
+ n((p) => p.filter((m) => m.id !== r));
100
100
  }, []), a = {
101
101
  addToast: u,
102
102
  removeToast: t,
103
- toasts: n
103
+ toasts: i
104
104
  };
105
105
  return /* @__PURE__ */ g(C.Provider, { value: a, children: [
106
106
  d,
@@ -110,7 +110,7 @@ function z({
110
110
  className: w("fixed z-50 pointer-events-none max-w-sm w-full space-y-2", O[f]),
111
111
  role: "region",
112
112
  "aria-label": "Notifications",
113
- children: n.map((r) => /* @__PURE__ */ l("div", { className: "pointer-events-auto", children: /* @__PURE__ */ l(b, { ...r, onRemove: t, customTypes: e, customComponent: o }) }, r.id))
113
+ children: i.map((r) => /* @__PURE__ */ l("div", { className: "pointer-events-auto", children: /* @__PURE__ */ l(y, { ...r, onRemove: t, customTypes: e, customComponent: o }) }, r.id))
114
114
  }
115
115
  )
116
116
  ] });
@@ -1 +1 @@
1
- {"version":3,"file":"providers.esm.js","sources":["../src/providers/ActionModalProvider.tsx","../src/providers/ToastProvider.tsx"],"sourcesContent":["import { ReactNode, useCallback, useState } from 'react';\nimport { ActionModal } from '../components';\nimport { ActionModalContext } from '../hooks';\n\nexport interface ConfirmOptions {\n title?: string;\n message: ReactNode;\n confirmText?: string;\n cancelText?: string;\n destructive?: boolean;\n}\n\nexport interface AlertOptions {\n title?: string;\n message: ReactNode;\n confirmText?: string;\n destructive?: boolean;\n}\n\nexport interface ActionModalContextValue {\n confirm: (options: ConfirmOptions) => Promise<boolean>;\n alert: (options: AlertOptions) => Promise<void>;\n}\n\ninterface ActionModalState {\n isOpen: boolean;\n type: 'alert' | 'confirm';\n title?: string;\n message: ReactNode;\n confirmText?: string;\n cancelText?: string;\n destructive?: boolean;\n resolve?: ((value: boolean) => void) | (() => void);\n}\n\nexport function ActionModalProvider({ children }: { children: ReactNode }) {\n const [modalState, setModalState] = useState<ActionModalState | null>(null);\n\n const confirm = useCallback((options: ConfirmOptions): Promise<boolean> => {\n return new Promise((resolve) => {\n setModalState({\n isOpen: true,\n type: 'confirm',\n title: options.title,\n message: options.message,\n confirmText: options.confirmText,\n cancelText: options.cancelText,\n destructive: options.destructive,\n resolve,\n });\n });\n }, []);\n\n const alert = useCallback((options: AlertOptions): Promise<void> => {\n return new Promise((resolve) => {\n setModalState({\n isOpen: true,\n type: 'alert',\n title: options.title,\n message: options.message,\n confirmText: options.confirmText,\n destructive: options.destructive,\n resolve,\n });\n });\n }, []);\n\n const handleClose = useCallback(() => {\n if (modalState?.resolve) {\n if (modalState.type === 'confirm') {\n (modalState.resolve as (value: boolean) => void)(false);\n } else {\n (modalState.resolve as () => void)();\n }\n }\n setModalState(null);\n }, [modalState]);\n\n const handleConfirm = useCallback(() => {\n if (modalState?.resolve) {\n if (modalState.type === 'confirm') {\n (modalState.resolve as (value: boolean) => void)(true);\n } else {\n (modalState.resolve as () => void)();\n }\n }\n setModalState(null);\n }, [modalState]);\n\n const contextValue: ActionModalContextValue = {\n confirm,\n alert,\n };\n\n return (\n <ActionModalContext.Provider value={contextValue}>\n {children}\n {modalState && modalState.type === 'alert' && (\n <ActionModal\n type='alert'\n isOpen={modalState.isOpen}\n onClose={handleClose}\n title={modalState.title}\n message={modalState.message}\n confirmText={modalState.confirmText}\n destructive={modalState.destructive}\n onConfirm={handleConfirm}\n className='bg-white dark:bg-gray-800 rounded-lg'\n />\n )}\n {modalState && modalState.type === 'confirm' && (\n <ActionModal\n type='confirm'\n isOpen={modalState.isOpen}\n onClose={handleClose}\n title={modalState.title}\n message={modalState.message}\n confirmText={modalState.confirmText}\n cancelText={modalState.cancelText}\n destructive={modalState.destructive}\n onConfirm={handleConfirm}\n className='bg-white dark:bg-gray-800 rounded-lg'\n />\n )}\n </ActionModalContext.Provider>\n );\n}\n","import { ReactNode, useCallback, useState } from 'react';\nimport { Toast, ToastData, ToastType } from '../components/toast';\nimport { AddToastOptions, ToastContextValue } from '../hooks/useToast';\nimport { ToastContext } from '../hooks/useToast';\nimport { join } from '../utils';\n\ninterface ToastProviderProps {\n children: ReactNode;\n customTypes?: Record<string, { className: string; icon?: ReactNode }>;\n customComponent?: React.ComponentType<ToastData>;\n position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';\n maxToasts?: number;\n}\n\nconst positionClasses = {\n 'top-right': 'top-4 right-4',\n 'top-left': 'top-4 left-4',\n 'bottom-right': 'bottom-4 right-4',\n 'bottom-left': 'bottom-4 left-4',\n 'top-center': 'top-4 left-1/2 -translate-x-1/2',\n 'bottom-center': 'bottom-4 left-1/2 -translate-x-1/2',\n};\n\nexport function ToastProvider({\n children,\n customTypes,\n customComponent,\n position = 'top-right',\n maxToasts = 5,\n}: ToastProviderProps) {\n const [toasts, setToasts] = useState<ToastData[]>([]);\n\n const addToast = useCallback(\n (options: AddToastOptions) => {\n const generatedId = `toast-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;\n const id = options.id || generatedId;\n\n const newToast: ToastData = {\n id,\n title: options.title,\n description: options.description,\n type: (options.type as ToastType) || 'info',\n action: options.action,\n duration: options.duration ?? 5000,\n };\n\n setToasts((prevToasts) => {\n const updatedToasts = [newToast, ...prevToasts];\n // Keep only the most recent toasts if we exceed maxToasts\n return updatedToasts.slice(0, maxToasts);\n });\n\n return id;\n },\n [maxToasts]\n );\n\n const removeToast = useCallback((id: string) => {\n setToasts((prevToasts) => prevToasts.filter((toast) => toast.id !== id));\n }, []);\n\n const contextValue: ToastContextValue = {\n addToast,\n removeToast,\n toasts,\n };\n\n return (\n <ToastContext.Provider value={contextValue}>\n {children}\n\n <div\n className={join('fixed z-50 pointer-events-none max-w-sm w-full space-y-2', positionClasses[position])}\n role='region'\n aria-label='Notifications'\n >\n {toasts.map((toast) => (\n <div key={toast.id} className='pointer-events-auto'>\n <Toast {...toast} onRemove={removeToast} customTypes={customTypes} customComponent={customComponent} />\n </div>\n ))}\n </div>\n </ToastContext.Provider>\n );\n}\n"],"names":["ActionModalProvider","children","modalState","setModalState","useState","confirm","useCallback","options","resolve","alert","handleClose","handleConfirm","contextValue","jsxs","ActionModalContext","jsx","ActionModal","positionClasses","ToastProvider","customTypes","customComponent","position","maxToasts","toasts","setToasts","addToast","generatedId","id","newToast","prevToasts","removeToast","toast","ToastContext","join","Toast"],"mappings":";;;;;;AAmCgB,SAAAA,EAAoB,EAAE,UAAAC,KAAqC;AACzE,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAkC,IAAI,GAEpEC,IAAUC,EAAY,CAACC,MACpB,IAAI,QAAQ,CAACC,MAAY;AAChB,IAAAL,EAAA;AAAA,MACZ,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAOI,EAAQ;AAAA,MACf,SAASA,EAAQ;AAAA,MACjB,aAAaA,EAAQ;AAAA,MACrB,YAAYA,EAAQ;AAAA,MACpB,aAAaA,EAAQ;AAAA,MACrB,SAAAC;AAAA,IAAA,CACD;AAAA,EAAA,CACF,GACA,EAAE,GAECC,IAAQH,EAAY,CAACC,MAClB,IAAI,QAAQ,CAACC,MAAY;AAChB,IAAAL,EAAA;AAAA,MACZ,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAOI,EAAQ;AAAA,MACf,SAASA,EAAQ;AAAA,MACjB,aAAaA,EAAQ;AAAA,MACrB,aAAaA,EAAQ;AAAA,MACrB,SAAAC;AAAA,IAAA,CACD;AAAA,EAAA,CACF,GACA,EAAE,GAECE,IAAcJ,EAAY,MAAM;AACpC,IAAIJ,KAAA,QAAAA,EAAY,YACVA,EAAW,SAAS,YACrBA,EAAW,QAAqC,EAAK,IAErDA,EAAW,QAAuB,IAGvCC,EAAc,IAAI;AAAA,EAAA,GACjB,CAACD,CAAU,CAAC,GAETS,IAAgBL,EAAY,MAAM;AACtC,IAAI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 {"version":3,"file":"providers.esm.js","sources":["../src/providers/ActionModalProvider.tsx","../src/providers/ToastProvider.tsx"],"sourcesContent":["import { ReactNode, useCallback, useState } from 'react';\nimport { ActionModal } from '../components';\nimport { ActionModalContext } from '../hooks';\n\nexport interface ConfirmOptions {\n title?: string;\n message: ReactNode;\n confirmText?: string;\n cancelText?: string;\n destructive?: boolean;\n}\n\nexport interface AlertOptions {\n title?: string;\n message: ReactNode;\n confirmText?: string;\n destructive?: boolean;\n}\n\nexport interface ActionModalContextValue {\n confirm: (options: ConfirmOptions) => Promise<boolean>;\n alert: (options: AlertOptions) => Promise<void>;\n}\n\ninterface ActionModalState {\n isOpen: boolean;\n type: 'alert' | 'confirm';\n title?: string;\n message: ReactNode;\n confirmText?: string;\n cancelText?: string;\n destructive?: boolean;\n resolve?: ((value: boolean) => void) | (() => void);\n}\n\nexport function ActionModalProvider({ children }: { children: ReactNode }) {\n const [modalState, setModalState] = useState<ActionModalState | null>(null);\n\n const confirm = useCallback((options: ConfirmOptions): Promise<boolean> => {\n return new Promise((resolve) => {\n setModalState({\n isOpen: true,\n type: 'confirm',\n title: options.title,\n message: options.message,\n confirmText: options.confirmText,\n cancelText: options.cancelText,\n destructive: options.destructive,\n resolve,\n });\n });\n }, []);\n\n const alert = useCallback((options: AlertOptions): Promise<void> => {\n return new Promise((resolve) => {\n setModalState({\n isOpen: true,\n type: 'alert',\n title: options.title,\n message: options.message,\n confirmText: options.confirmText,\n destructive: options.destructive,\n resolve,\n });\n });\n }, []);\n\n const handleClose = useCallback(() => {\n if (modalState?.resolve) {\n if (modalState.type === 'confirm') {\n (modalState.resolve as (value: boolean) => void)(false);\n } else {\n (modalState.resolve as () => void)();\n }\n }\n setModalState(null);\n }, [modalState]);\n\n const handleConfirm = useCallback(() => {\n if (modalState?.resolve) {\n if (modalState.type === 'confirm') {\n (modalState.resolve as (value: boolean) => void)(true);\n } else {\n (modalState.resolve as () => void)();\n }\n }\n setModalState(null);\n }, [modalState]);\n\n const contextValue: ActionModalContextValue = {\n confirm,\n alert,\n };\n\n return (\n <ActionModalContext.Provider value={contextValue}>\n {children}\n {modalState && modalState.type === 'alert' && (\n <ActionModal\n type='alert'\n isOpen={modalState.isOpen}\n onClose={handleClose}\n title={modalState.title}\n message={modalState.message}\n confirmText={modalState.confirmText}\n destructive={modalState.destructive}\n onConfirm={handleConfirm}\n className='bg-white dark:bg-gray-800 rounded-lg'\n />\n )}\n {modalState && modalState.type === 'confirm' && (\n <ActionModal\n type='confirm'\n isOpen={modalState.isOpen}\n onClose={handleClose}\n title={modalState.title}\n message={modalState.message}\n confirmText={modalState.confirmText}\n cancelText={modalState.cancelText}\n destructive={modalState.destructive}\n onConfirm={handleConfirm}\n className='bg-white dark:bg-gray-800 rounded-lg'\n />\n )}\n </ActionModalContext.Provider>\n );\n}\n","import { ReactNode, useCallback, useState } from 'react';\nimport { Toast, ToastData, ToastType } from '../components/toast';\nimport { AddToastOptions, ToastContextValue } from '../hooks/useToast';\nimport { ToastContext } from '../hooks/useToast';\nimport { join } from '../utils';\n\ninterface ToastProviderProps {\n children: ReactNode;\n customTypes?: Record<string, { className: string; icon?: ReactNode }>;\n customComponent?: React.ComponentType<ToastData>;\n position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';\n maxToasts?: number;\n}\n\nconst positionClasses = {\n 'top-right': 'top-4 right-4',\n 'top-left': 'top-4 left-4',\n 'bottom-right': 'bottom-4 right-4',\n 'bottom-left': 'bottom-4 left-4',\n 'top-center': 'top-4 left-1/2 -translate-x-1/2',\n 'bottom-center': 'bottom-4 left-1/2 -translate-x-1/2',\n};\n\nexport function ToastProvider({\n children,\n customTypes,\n customComponent,\n position = 'top-right',\n maxToasts = 5,\n}: ToastProviderProps) {\n const [toasts, setToasts] = useState<ToastData[]>([]);\n\n const addToast = useCallback(\n (options: AddToastOptions) => {\n const generatedId = `toast-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;\n const id = options.id || generatedId;\n\n const newToast: ToastData = {\n id,\n title: options.title,\n description: options.description,\n type: (options.type as ToastType) || 'info',\n action: options.action,\n duration: options.duration ?? 5000,\n };\n\n setToasts((prevToasts) => {\n const updatedToasts = [newToast, ...prevToasts];\n // Keep only the most recent toasts if we exceed maxToasts\n return updatedToasts.slice(0, maxToasts);\n });\n\n return id;\n },\n [maxToasts]\n );\n\n const removeToast = useCallback((id: string) => {\n setToasts((prevToasts) => prevToasts.filter((toast) => toast.id !== id));\n }, []);\n\n const contextValue: ToastContextValue = {\n addToast,\n removeToast,\n toasts,\n };\n\n return (\n <ToastContext.Provider value={contextValue}>\n {children}\n\n <div\n className={join('fixed z-50 pointer-events-none max-w-sm w-full space-y-2', positionClasses[position])}\n role='region'\n aria-label='Notifications'\n >\n {toasts.map((toast) => (\n <div key={toast.id} className='pointer-events-auto'>\n <Toast {...toast} onRemove={removeToast} customTypes={customTypes} customComponent={customComponent} />\n </div>\n ))}\n </div>\n </ToastContext.Provider>\n );\n}\n"],"names":["ActionModalProvider","children","modalState","setModalState","useState","confirm","useCallback","options","resolve","alert","handleClose","handleConfirm","contextValue","jsxs","ActionModalContext","jsx","ActionModal","positionClasses","ToastProvider","customTypes","customComponent","position","maxToasts","toasts","setToasts","addToast","generatedId","id","newToast","prevToasts","removeToast","toast","ToastContext","join","Toast"],"mappings":";;;;;;AAmCgB,SAAAA,EAAoB,EAAE,UAAAC,KAAqC;AACzE,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAkC,IAAI,GAEpEC,IAAUC,EAAY,CAACC,MACpB,IAAI,QAAQ,CAACC,MAAY;AAChB,IAAAL,EAAA;AAAA,MACZ,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAOI,EAAQ;AAAA,MACf,SAASA,EAAQ;AAAA,MACjB,aAAaA,EAAQ;AAAA,MACrB,YAAYA,EAAQ;AAAA,MACpB,aAAaA,EAAQ;AAAA,MACrB,SAAAC;AAAA,IAAA,CACD;AAAA,EAAA,CACF,GACA,EAAE,GAEC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AA,IACA,QAAAP;AAAA,EACF;AAEA,SACG,gBAAAV,EAAAmB,EAAa,UAAb,EAAsB,OAAOpB,GAC3B,UAAA;AAAA,IAAAX;AAAA,IAED,gBAAAc;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAWkB,EAAK,6DAA6DhB,EAAgBI,CAAQ,CAAC;AAAA,QACtG,MAAK;AAAA,QACL,cAAW;AAAA,QAEV,YAAO,IAAI,CAACU,MACV,gBAAAhB,EAAA,OAAA,EAAmB,WAAU,uBAC5B,UAAA,gBAAAA,EAACmB,KAAO,GAAGH,GAAO,UAAUD,GAAa,aAAAX,GAA0B,iBAAAC,GAAkC,EAD7F,GAAAW,EAAM,EAEhB,CACD;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GACF;AAEJ;"}
@@ -7,7 +7,9 @@ export * from './input';
7
7
  export * from './label';
8
8
  export * from './modal';
9
9
  export * from './radiogroup';
10
+ export * from './separator';
10
11
  export * from './slot';
11
12
  export * from './textarea';
12
13
  export * from './toast';
14
+ export * from './toggle';
13
15
  export * from './tooltip';
@@ -0,0 +1,16 @@
1
+ import React, { Ref } from 'react';
2
+ import { ColorVariant, Thickness } from './variants';
3
+ export type Orientation = 'horizontal' | 'vertical';
4
+ export interface SeparatorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'role'> {
5
+ ref?: Ref<HTMLDivElement>;
6
+ orientation?: Orientation;
7
+ /**
8
+ * Whether the separator is decorative only or serves a semantic purpose.
9
+ * When decorative=true, it's hidden from screen readers.
10
+ * @default false
11
+ */
12
+ decorative?: boolean;
13
+ thickness?: Thickness;
14
+ variant?: ColorVariant;
15
+ }
16
+ export default function Separator({ orientation, decorative, thickness, variant, className, ...props }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { default as Separator } from './Separator';
2
+ export type { SeparatorProps } from './Separator';
@@ -0,0 +1,14 @@
1
+ import { Orientation } from './Separator';
2
+ export declare const thicknessVariants: Record<Thickness, Record<Orientation, string>>;
3
+ export type Thickness = 'thin' | 'medium' | 'thick' | 'extra-thick';
4
+ export declare const colorVariants: {
5
+ readonly default: "bg-border";
6
+ readonly muted: "bg-muted";
7
+ readonly accent: "bg-accent";
8
+ };
9
+ export type ColorVariant = keyof typeof colorVariants;
10
+ export declare const sizeVariants: Record<Orientation, string>;
11
+ export declare const defaultVariants: {
12
+ thickness: string;
13
+ variant: string;
14
+ };
@@ -0,0 +1,13 @@
1
+ import React, { Ref } from 'react';
2
+ import { ToggleBackgroundClasses, ToggleSize, ToggleVariant } from './variants';
3
+ export interface ToggleProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
4
+ ref?: Ref<HTMLButtonElement>;
5
+ size?: ToggleSize;
6
+ variant?: ToggleVariant;
7
+ checked?: boolean;
8
+ onCheckedChange?: (checked: boolean) => void;
9
+ disabled?: boolean;
10
+ thumbClassName?: string;
11
+ backgroundClassNames?: ToggleBackgroundClasses;
12
+ }
13
+ export default function Toggle({ ref, id, size, variant, checked, onCheckedChange, disabled, className, thumbClassName, backgroundClassNames, ...props }: ToggleProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { default as Toggle } from './Toggle';
2
+ export type { ToggleProps } from './Toggle';
@@ -0,0 +1,29 @@
1
+ export declare const sizeVariants: {
2
+ sm: {
3
+ container: string;
4
+ thumb: string;
5
+ translate: string;
6
+ };
7
+ md: {
8
+ container: string;
9
+ thumb: string;
10
+ translate: string;
11
+ };
12
+ lg: {
13
+ container: string;
14
+ thumb: string;
15
+ translate: string;
16
+ };
17
+ };
18
+ export type ToggleSize = keyof typeof sizeVariants;
19
+ export interface ToggleBackgroundClasses {
20
+ unchecked?: string;
21
+ checked?: string;
22
+ }
23
+ export declare const variantStyles: Record<ToggleVariant, ToggleBackgroundClasses>;
24
+ export type ToggleVariant = 'default' | 'success' | 'destructive';
25
+ export interface ToggleVariants {
26
+ variant: ToggleVariant;
27
+ size: ToggleSize;
28
+ }
29
+ export declare const toggleDefaults: ToggleVariants;
@@ -8,7 +8,7 @@ export interface AddToastOptions {
8
8
  duration?: number;
9
9
  }
10
10
  export interface ToastContextValue {
11
- addToast: (options: AddToastOptions) => void;
11
+ addToast: (options: AddToastOptions) => string;
12
12
  removeToast: (id: string) => void;
13
13
  toasts: ToastData[];
14
14
  }
@@ -1,4 +1,2 @@
1
- export default function Check({ size, color }: {
2
- size?: number;
3
- color?: string;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function Check({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- export default function CheckCircled({ size }: {
2
- size?: number;
3
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function CheckCircled({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,2 @@
1
- export default function ChevronDown({ size, color }: {
2
- size?: number;
3
- color?: string;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function ChevronDown({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,2 @@
1
- export default function CrossCircled({ size, color }: {
2
- size?: number;
3
- color?: string;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function CrossCircled({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- export default function ExclamationTriangle({ size }: {
2
- size?: number;
3
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function ExclamationTriangle({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- export default function EyeClosed({ size }: {
2
- size?: number;
3
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function EyeClosed({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- export default function EyeClosed({ size }: {
2
- size?: number;
3
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function EyeClosed({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,2 @@
1
- export default function InfoCircled({ size, color }: {
2
- size?: number;
3
- color?: string;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function InfoCircled({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,2 @@
1
- export default function QuestionMarkCircled({ size, color }: {
2
- size?: number;
3
- color?: string;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function QuestionMarkCircled({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,2 @@
1
- export default function X({ size, color }: {
2
- size?: number;
3
- color?: string;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SymbolProps } from '.';
2
+ export default function X({ size, color, className, ...props }: SymbolProps): import("react/jsx-runtime").JSX.Element;
@@ -8,3 +8,7 @@ export { default as EyeOpened } from './EyeOpened';
8
8
  export { default as InfoCircled } from './InfoCircled';
9
9
  export { default as QuestionMarkCircled } from './QuestionMarkCircled';
10
10
  export { default as X } from './X';
11
+ export interface SymbolProps extends React.HTMLAttributes<SVGElement> {
12
+ size?: number;
13
+ color?: string;
14
+ }
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./QuestionMarkCircled-Dh6Bl18_.cjs"),r=require("./X-JuXyHwMp.cjs");exports.Check=e.Check;exports.CheckCircled=e.CheckCircled;exports.ChevronDown=e.ChevronDown;exports.EyeClosed=e.EyeClosed;exports.EyeOpened=e.EyeClosed$1;exports.QuestionMarkCircled=e.QuestionMarkCircled;exports.CrossCircled=r.CrossCircled;exports.ExclamationTriangle=r.ExclamationTriangle;exports.InfoCircled=r.InfoCircled;exports.X=r.X;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./QuestionMarkCircled-D5cHmQp1.cjs"),r=require("./X-CgjeP2OI.cjs");exports.Check=e.Check;exports.CheckCircled=e.CheckCircled;exports.ChevronDown=e.ChevronDown;exports.EyeClosed=e.EyeClosed;exports.EyeOpened=e.EyeClosed$1;exports.QuestionMarkCircled=e.QuestionMarkCircled;exports.CrossCircled=r.CrossCircled;exports.ExclamationTriangle=r.ExclamationTriangle;exports.InfoCircled=r.InfoCircled;exports.X=r.X;
2
2
  //# sourceMappingURL=symbols.cjs.js.map
@@ -1,5 +1,5 @@
1
- import { C as s, a as r, b as o, E as C, c, Q as i } from "./QuestionMarkCircled-B6xdNcJl.js";
2
- import { C as n, E as d, I as E, X as t } from "./X-aXWqJhiz.js";
1
+ import { C as s, a as r, b as o, E as C, c, Q as i } from "./QuestionMarkCircled-BVBF3skB.js";
2
+ import { C as n, E as d, I as E, X as t } from "./X-CIoyLewf.js";
3
3
  export {
4
4
  s as Check,
5
5
  r as CheckCircled,
package/dist/theme.css CHANGED
@@ -8,6 +8,8 @@
8
8
  --color-muted: var(--color-gray-200);
9
9
  --color-muted-foreground: var(--color-gray-800);
10
10
 
11
+ --color-accent: var(--color-violet-500);
12
+
11
13
  --color-success: var(--color-green-500);
12
14
  --color-border: var(--color-slate-600); /* for input/textarea borders and dividers */
13
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useToast-CEKvEJVB.js","sources":["../src/hooks/useActionModal.ts","../src/hooks/useToast.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\nimport { ActionModalContextValue } from '../providers';\n\nexport const ActionModalContext = createContext<ActionModalContextValue | undefined>(undefined);\n\nexport function useActionModal(): ActionModalContextValue {\n const context = useContext(ActionModalContext);\n if (!context) {\n throw new Error('useActionModal must be used within an ActionModalProvider');\n }\n return context;\n}\n","import { createContext, useContext } from 'react';\nimport { ToastAction, ToastData, ToastType } from '../components/toast';\n\nexport interface AddToastOptions {\n id?: string;\n title: string;\n description?: string;\n type?: ToastType | string;\n action?: ToastAction;\n duration?: number;\n}\n\nexport interface ToastContextValue {\n addToast: (options: AddToastOptions) => void;\n removeToast: (id: string) => void;\n toasts: ToastData[];\n}\n\nexport const ToastContext = createContext<ToastContextValue | undefined>(undefined);\n\nexport function useToast(): ToastContextValue {\n const context = useContext(ToastContext);\n if (!context) {\n throw new Error('useToast must be used within a ToastProvider');\n }\n return context;\n}\n"],"names":["ActionModalContext","createContext","useActionModal","context","useContext","ToastContext","useToast"],"mappings":";AAGa,MAAAA,IAAqBC,EAAmD,MAAS;AAEvF,SAASC,IAA0C;AAClD,QAAAC,IAAUC,EAAWJ,CAAkB;AAC7C,MAAI,CAACG;AACG,UAAA,IAAI,MAAM,2DAA2D;AAEtE,SAAAA;AACT;ACOa,MAAAE,IAAeJ,EAA6C,MAAS;AAE3E,SAASK,IAA8B;AACtC,QAAAH,IAAUC,EAAWC,CAAY;AACvC,MAAI,CAACF;AACG,UAAA,IAAI,MAAM,8CAA8C;AAEzD,SAAAA;AACT;"}
1
+ {"version":3,"file":"useToast-CEKvEJVB.js","sources":["../src/hooks/useActionModal.ts","../src/hooks/useToast.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\nimport { ActionModalContextValue } from '../providers';\n\nexport const ActionModalContext = createContext<ActionModalContextValue | undefined>(undefined);\n\nexport function useActionModal(): ActionModalContextValue {\n const context = useContext(ActionModalContext);\n if (!context) {\n throw new Error('useActionModal must be used within an ActionModalProvider');\n }\n return context;\n}\n","import { createContext, useContext } from 'react';\nimport { ToastAction, ToastData, ToastType } from '../components/toast';\n\nexport interface AddToastOptions {\n id?: string;\n title: string;\n description?: string;\n type?: ToastType | string;\n action?: ToastAction;\n duration?: number;\n}\n\nexport interface ToastContextValue {\n addToast: (options: AddToastOptions) => string;\n removeToast: (id: string) => void;\n toasts: ToastData[];\n}\n\nexport const ToastContext = createContext<ToastContextValue | undefined>(undefined);\n\nexport function useToast(): ToastContextValue {\n const context = useContext(ToastContext);\n if (!context) {\n throw new Error('useToast must be used within a ToastProvider');\n }\n return context;\n}\n"],"names":["ActionModalContext","createContext","useActionModal","context","useContext","ToastContext","useToast"],"mappings":";AAGa,MAAAA,IAAqBC,EAAmD,MAAS;AAEvF,SAASC,IAA0C;AAClD,QAAAC,IAAUC,EAAWJ,CAAkB;AAC7C,MAAI,CAACG;AACG,UAAA,IAAI,MAAM,2DAA2D;AAEtE,SAAAA;AACT;ACOa,MAAAE,IAAeJ,EAA6C,MAAS;AAE3E,SAASK,IAA8B;AACtC,QAAAH,IAAUC,EAAWC,CAAY;AACvC,MAAI,CAACF;AACG,UAAA,IAAI,MAAM,8CAA8C;AAEzD,SAAAA;AACT;"}
@@ -1 +1 @@
1
- {"version":3,"file":"useToast-CraVIawn.cjs","sources":["../src/hooks/useActionModal.ts","../src/hooks/useToast.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\nimport { ActionModalContextValue } from '../providers';\n\nexport const ActionModalContext = createContext<ActionModalContextValue | undefined>(undefined);\n\nexport function useActionModal(): ActionModalContextValue {\n const context = useContext(ActionModalContext);\n if (!context) {\n throw new Error('useActionModal must be used within an ActionModalProvider');\n }\n return context;\n}\n","import { createContext, useContext } from 'react';\nimport { ToastAction, ToastData, ToastType } from '../components/toast';\n\nexport interface AddToastOptions {\n id?: string;\n title: string;\n description?: string;\n type?: ToastType | string;\n action?: ToastAction;\n duration?: number;\n}\n\nexport interface ToastContextValue {\n addToast: (options: AddToastOptions) => void;\n removeToast: (id: string) => void;\n toasts: ToastData[];\n}\n\nexport const ToastContext = createContext<ToastContextValue | undefined>(undefined);\n\nexport function useToast(): ToastContextValue {\n const context = useContext(ToastContext);\n if (!context) {\n throw new Error('useToast must be used within a ToastProvider');\n }\n return context;\n}\n"],"names":["ActionModalContext","createContext","useActionModal","context","useContext","ToastContext","useToast"],"mappings":"sCAGaA,EAAqBC,gBAAmD,MAAS,EAEvF,SAASC,GAA0C,CAClD,MAAAC,EAAUC,aAAWJ,CAAkB,EAC7C,GAAI,CAACG,EACG,MAAA,IAAI,MAAM,2DAA2D,EAEtE,OAAAA,CACT,CCOa,MAAAE,EAAeJ,gBAA6C,MAAS,EAE3E,SAASK,GAA8B,CACtC,MAAAH,EAAUC,aAAWC,CAAY,EACvC,GAAI,CAACF,EACG,MAAA,IAAI,MAAM,8CAA8C,EAEzD,OAAAA,CACT"}
1
+ {"version":3,"file":"useToast-CraVIawn.cjs","sources":["../src/hooks/useActionModal.ts","../src/hooks/useToast.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\nimport { ActionModalContextValue } from '../providers';\n\nexport const ActionModalContext = createContext<ActionModalContextValue | undefined>(undefined);\n\nexport function useActionModal(): ActionModalContextValue {\n const context = useContext(ActionModalContext);\n if (!context) {\n throw new Error('useActionModal must be used within an ActionModalProvider');\n }\n return context;\n}\n","import { createContext, useContext } from 'react';\nimport { ToastAction, ToastData, ToastType } from '../components/toast';\n\nexport interface AddToastOptions {\n id?: string;\n title: string;\n description?: string;\n type?: ToastType | string;\n action?: ToastAction;\n duration?: number;\n}\n\nexport interface ToastContextValue {\n addToast: (options: AddToastOptions) => string;\n removeToast: (id: string) => void;\n toasts: ToastData[];\n}\n\nexport const ToastContext = createContext<ToastContextValue | undefined>(undefined);\n\nexport function useToast(): ToastContextValue {\n const context = useContext(ToastContext);\n if (!context) {\n throw new Error('useToast must be used within a ToastProvider');\n }\n return context;\n}\n"],"names":["ActionModalContext","createContext","useActionModal","context","useContext","ToastContext","useToast"],"mappings":"sCAGaA,EAAqBC,gBAAmD,MAAS,EAEvF,SAASC,GAA0C,CAClD,MAAAC,EAAUC,aAAWJ,CAAkB,EAC7C,GAAI,CAACG,EACG,MAAA,IAAI,MAAM,2DAA2D,EAEtE,OAAAA,CACT,CCOa,MAAAE,EAAeJ,gBAA6C,MAAS,EAE3E,SAASK,GAA8B,CACtC,MAAAH,EAAUC,aAAWC,CAAY,EACvC,GAAI,CAACF,EACG,MAAA,IAAI,MAAM,8CAA8C,EAEzD,OAAAA,CACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moondreamsdev/dreamer-ui",
3
- "version": "1.7.7-test.1",
3
+ "version": "1.7.7-test.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,7 +37,7 @@
37
37
  "require": "./dist/providers.js"
38
38
  },
39
39
  "./symbols": {
40
- "types": "./dist/src/symbols/index.d.ts",
40
+ "types": "./dist/src/symbols/index.d.tsx",
41
41
  "import": "./dist/symbols.esm.js",
42
42
  "require": "./dist/symbols.js"
43
43
  },
@@ -1,76 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- function i({ size: C = 15, color: l = "currentColor" }) {
3
- return /* @__PURE__ */ e("svg", { width: C, height: C, className: "inline", viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
4
- "path",
5
- {
6
- d: "M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",
7
- fill: l,
8
- fillRule: "evenodd",
9
- clipRule: "evenodd"
10
- }
11
- ) });
12
- }
13
- function t({ size: C = 15 }) {
14
- return /* @__PURE__ */ e("svg", { width: C, height: C, className: "inline", viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
15
- "path",
16
- {
17
- d: "M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z",
18
- fill: "currentColor",
19
- fillRule: "evenodd",
20
- clipRule: "evenodd"
21
- }
22
- ) });
23
- }
24
- function o({ size: C = 15, color: l = "currentColor" }) {
25
- return /* @__PURE__ */ e("svg", { width: C, height: C, className: "inline", viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
26
- "path",
27
- {
28
- d: "M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",
29
- fill: l,
30
- fillRule: "evenodd",
31
- clipRule: "evenodd"
32
- }
33
- ) });
34
- }
35
- function r({ size: C = 15 }) {
36
- return /* @__PURE__ */ e("svg", { width: C, height: C, className: "inline", viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
37
- "path",
38
- {
39
- d: "M14.7649 6.07596C14.9991 6.22231 15.0703 6.53079 14.9239 6.76495C14.4849 7.46743 13.9632 8.10645 13.3702 8.66305L14.5712 9.86406C14.7664 10.0593 14.7664 10.3759 14.5712 10.5712C14.3759 10.7664 14.0593 10.7664 13.8641 10.5712L12.6011 9.30817C11.805 9.90283 10.9089 10.3621 9.93375 10.651L10.383 12.3277C10.4544 12.5944 10.2961 12.8685 10.0294 12.94C9.76267 13.0115 9.4885 12.8532 9.41704 12.5865L8.95917 10.8775C8.48743 10.958 8.00036 10.9999 7.50001 10.9999C6.99965 10.9999 6.51257 10.958 6.04082 10.8775L5.58299 12.5864C5.51153 12.8532 5.23737 13.0115 4.97064 12.94C4.7039 12.8686 4.5456 12.5944 4.61706 12.3277L5.06625 10.651C4.09111 10.3621 3.19503 9.90282 2.3989 9.30815L1.1359 10.5712C0.940638 10.7664 0.624058 10.7664 0.428798 10.5712C0.233537 10.3759 0.233537 10.0593 0.428798 9.86405L1.62982 8.66303C1.03682 8.10643 0.515113 7.46742 0.0760677 6.76495C-0.0702867 6.53079 0.000898544 6.22231 0.235065 6.07596C0.469231 5.9296 0.777703 6.00079 0.924058 6.23496C1.40354 7.00213 1.989 7.68057 2.66233 8.2427C2.67315 8.25096 2.6837 8.25972 2.69397 8.26898C4.00897 9.35527 5.65537 9.99991 7.50001 9.99991C10.3078 9.99991 12.6564 8.5063 14.076 6.23495C14.2223 6.00079 14.5308 5.9296 14.7649 6.07596Z",
40
- fill: "currentColor",
41
- fillRule: "evenodd",
42
- clipRule: "evenodd"
43
- }
44
- ) });
45
- }
46
- function d({ size: C = 15 }) {
47
- return /* @__PURE__ */ e("svg", { width: C, height: C, className: "inline", viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
48
- "path",
49
- {
50
- d: "M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",
51
- fill: "currentColor",
52
- fillRule: "evenodd",
53
- clipRule: "evenodd"
54
- }
55
- ) });
56
- }
57
- function h({ size: C = 15, color: l = "currentColor" }) {
58
- return /* @__PURE__ */ e("svg", { width: C, height: C, className: "inline", viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
59
- "path",
60
- {
61
- d: "M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z",
62
- fill: l,
63
- fillRule: "evenodd",
64
- clipRule: "evenodd"
65
- }
66
- ) });
67
- }
68
- export {
69
- i as C,
70
- r as E,
71
- h as Q,
72
- t as a,
73
- o as b,
74
- d as c
75
- };
76
- //# sourceMappingURL=QuestionMarkCircled-B6xdNcJl.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QuestionMarkCircled-B6xdNcJl.js","sources":["../src/symbols/Check.tsx","../src/symbols/CheckCircled.tsx","../src/symbols/ChevronDown.tsx","../src/symbols/EyeClosed.tsx","../src/symbols/EyeOpened.tsx","../src/symbols/QuestionMarkCircled.tsx"],"sourcesContent":["export default function Check({ size = 15, color = 'currentColor' }: { size?: number, color?: string }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z'\n fill={color}\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function CheckCircled({ size = 15 }: { size?: number }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z'\n fill='currentColor'\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function ChevronDown({ size = 15, color = 'currentColor' }: { size?: number; color?: string }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z'\n fill={color}\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function EyeClosed({ size = 15 }: { size?: number }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M14.7649 6.07596C14.9991 6.22231 15.0703 6.53079 14.9239 6.76495C14.4849 7.46743 13.9632 8.10645 13.3702 8.66305L14.5712 9.86406C14.7664 10.0593 14.7664 10.3759 14.5712 10.5712C14.3759 10.7664 14.0593 10.7664 13.8641 10.5712L12.6011 9.30817C11.805 9.90283 10.9089 10.3621 9.93375 10.651L10.383 12.3277C10.4544 12.5944 10.2961 12.8685 10.0294 12.94C9.76267 13.0115 9.4885 12.8532 9.41704 12.5865L8.95917 10.8775C8.48743 10.958 8.00036 10.9999 7.50001 10.9999C6.99965 10.9999 6.51257 10.958 6.04082 10.8775L5.58299 12.5864C5.51153 12.8532 5.23737 13.0115 4.97064 12.94C4.7039 12.8686 4.5456 12.5944 4.61706 12.3277L5.06625 10.651C4.09111 10.3621 3.19503 9.90282 2.3989 9.30815L1.1359 10.5712C0.940638 10.7664 0.624058 10.7664 0.428798 10.5712C0.233537 10.3759 0.233537 10.0593 0.428798 9.86405L1.62982 8.66303C1.03682 8.10643 0.515113 7.46742 0.0760677 6.76495C-0.0702867 6.53079 0.000898544 6.22231 0.235065 6.07596C0.469231 5.9296 0.777703 6.00079 0.924058 6.23496C1.40354 7.00213 1.989 7.68057 2.66233 8.2427C2.67315 8.25096 2.6837 8.25972 2.69397 8.26898C4.00897 9.35527 5.65537 9.99991 7.50001 9.99991C10.3078 9.99991 12.6564 8.5063 14.076 6.23495C14.2223 6.00079 14.5308 5.9296 14.7649 6.07596Z'\n fill='currentColor'\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function EyeClosed({ size = 15 }: { size?: number }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z'\n fill='currentColor'\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function QuestionMarkCircled({ size = 15, color = 'currentColor' }: { size?: number; color?: string }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z'\n fill={color}\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n"],"names":["Check","size","color","jsx","CheckCircled","ChevronDown","EyeClosed","QuestionMarkCircled"],"mappings":";AAAA,SAAwBA,EAAM,EAAE,MAAAC,IAAO,IAAI,OAAAC,IAAQ,kBAAqD;AAEpG,SAAA,gBAAAC,EAAC,OAAI,EAAA,OAAOF,GAAM,QAAQA,GAAM,WAAW,UAAU,SAAQ,aAAY,OAAM,8BAC7E,UAAA,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,GAAE;AAAA,MACF,MAAMD;AAAA,MACN,UAAS;AAAA,MACT,UAAS;AAAA,IAAA;AAAA,EAAA,GAEb;AAEJ;ACXA,SAAwBE,EAAa,EAAE,MAAAH,IAAO,MAAyB;AAEnE,SAAA,gBAAAE,EAAC,OAAI,EAAA,OAAOF,GAAM,QAAQA,GAAM,WAAW,UAAU,SAAQ,aAAY,OAAM,8BAC7E,UAAA,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,GAAE;AAAA,MACF,MAAK;AAAA,MACL,UAAS;AAAA,MACT,UAAS;AAAA,IAAA;AAAA,EAAA,GAEb;AAEJ;ACXA,SAAwBE,EAAY,EAAE,MAAAJ,IAAO,IAAI,OAAAC,IAA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15,color:l="currentColor"}){return e.jsx("svg",{width:C,height:C,className:"inline",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:l,fillRule:"evenodd",clipRule:"evenodd"})})}function i({size:C=15}){return e.jsx("svg",{width:C,height:C,className:"inline",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function t({size:C=15,color:l="currentColor"}){return e.jsx("svg",{width:C,height:C,className:"inline",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:l,fillRule:"evenodd",clipRule:"evenodd"})})}function o({size:C=15}){return e.jsx("svg",{width:C,height:C,className:"inline",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M14.7649 6.07596C14.9991 6.22231 15.0703 6.53079 14.9239 6.76495C14.4849 7.46743 13.9632 8.10645 13.3702 8.66305L14.5712 9.86406C14.7664 10.0593 14.7664 10.3759 14.5712 10.5712C14.3759 10.7664 14.0593 10.7664 13.8641 10.5712L12.6011 9.30817C11.805 9.90283 10.9089 10.3621 9.93375 10.651L10.383 12.3277C10.4544 12.5944 10.2961 12.8685 10.0294 12.94C9.76267 13.0115 9.4885 12.8532 9.41704 12.5865L8.95917 10.8775C8.48743 10.958 8.00036 10.9999 7.50001 10.9999C6.99965 10.9999 6.51257 10.958 6.04082 10.8775L5.58299 12.5864C5.51153 12.8532 5.23737 13.0115 4.97064 12.94C4.7039 12.8686 4.5456 12.5944 4.61706 12.3277L5.06625 10.651C4.09111 10.3621 3.19503 9.90282 2.3989 9.30815L1.1359 10.5712C0.940638 10.7664 0.624058 10.7664 0.428798 10.5712C0.233537 10.3759 0.233537 10.0593 0.428798 9.86405L1.62982 8.66303C1.03682 8.10643 0.515113 7.46742 0.0760677 6.76495C-0.0702867 6.53079 0.000898544 6.22231 0.235065 6.07596C0.469231 5.9296 0.777703 6.00079 0.924058 6.23496C1.40354 7.00213 1.989 7.68057 2.66233 8.2427C2.67315 8.25096 2.6837 8.25972 2.69397 8.26898C4.00897 9.35527 5.65537 9.99991 7.50001 9.99991C10.3078 9.99991 12.6564 8.5063 14.076 6.23495C14.2223 6.00079 14.5308 5.9296 14.7649 6.07596Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function r({size:C=15}){return e.jsx("svg",{width:C,height:C,className:"inline",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function d({size:C=15,color:l="currentColor"}){return e.jsx("svg",{width:C,height:C,className:"inline",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z",fill:l,fillRule:"evenodd",clipRule:"evenodd"})})}exports.Check=n;exports.CheckCircled=i;exports.ChevronDown=t;exports.EyeClosed=o;exports.EyeClosed$1=r;exports.QuestionMarkCircled=d;
2
- //# sourceMappingURL=QuestionMarkCircled-Dh6Bl18_.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QuestionMarkCircled-Dh6Bl18_.cjs","sources":["../src/symbols/Check.tsx","../src/symbols/CheckCircled.tsx","../src/symbols/ChevronDown.tsx","../src/symbols/EyeClosed.tsx","../src/symbols/EyeOpened.tsx","../src/symbols/QuestionMarkCircled.tsx"],"sourcesContent":["export default function Check({ size = 15, color = 'currentColor' }: { size?: number, color?: string }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z'\n fill={color}\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function CheckCircled({ size = 15 }: { size?: number }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z'\n fill='currentColor'\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function ChevronDown({ size = 15, color = 'currentColor' }: { size?: number; color?: string }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z'\n fill={color}\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function EyeClosed({ size = 15 }: { size?: number }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M14.7649 6.07596C14.9991 6.22231 15.0703 6.53079 14.9239 6.76495C14.4849 7.46743 13.9632 8.10645 13.3702 8.66305L14.5712 9.86406C14.7664 10.0593 14.7664 10.3759 14.5712 10.5712C14.3759 10.7664 14.0593 10.7664 13.8641 10.5712L12.6011 9.30817C11.805 9.90283 10.9089 10.3621 9.93375 10.651L10.383 12.3277C10.4544 12.5944 10.2961 12.8685 10.0294 12.94C9.76267 13.0115 9.4885 12.8532 9.41704 12.5865L8.95917 10.8775C8.48743 10.958 8.00036 10.9999 7.50001 10.9999C6.99965 10.9999 6.51257 10.958 6.04082 10.8775L5.58299 12.5864C5.51153 12.8532 5.23737 13.0115 4.97064 12.94C4.7039 12.8686 4.5456 12.5944 4.61706 12.3277L5.06625 10.651C4.09111 10.3621 3.19503 9.90282 2.3989 9.30815L1.1359 10.5712C0.940638 10.7664 0.624058 10.7664 0.428798 10.5712C0.233537 10.3759 0.233537 10.0593 0.428798 9.86405L1.62982 8.66303C1.03682 8.10643 0.515113 7.46742 0.0760677 6.76495C-0.0702867 6.53079 0.000898544 6.22231 0.235065 6.07596C0.469231 5.9296 0.777703 6.00079 0.924058 6.23496C1.40354 7.00213 1.989 7.68057 2.66233 8.2427C2.67315 8.25096 2.6837 8.25972 2.69397 8.26898C4.00897 9.35527 5.65537 9.99991 7.50001 9.99991C10.3078 9.99991 12.6564 8.5063 14.076 6.23495C14.2223 6.00079 14.5308 5.9296 14.7649 6.07596Z'\n fill='currentColor'\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function EyeClosed({ size = 15 }: { size?: number }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z'\n fill='currentColor'\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n","export default function QuestionMarkCircled({ size = 15, color = 'currentColor' }: { size?: number; color?: string }) {\n return (\n <svg width={size} height={size} className={'inline'} viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>\n <path\n d='M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z'\n fill={color}\n fillRule='evenodd'\n clipRule='evenodd'\n />\n </svg>\n );\n}\n"],"names":["Check","size","color","jsx","CheckCircled","ChevronDown","EyeClosed","QuestionMarkCircled"],"mappings":"kDAAA,SAAwBA,EAAM,CAAE,KAAAC,EAAO,GAAI,MAAAC,EAAQ,gBAAqD,CAEpG,OAAAC,EAAAA,IAAC,MAAI,CAAA,MAAOF,EAAM,OAAQA,EAAM,UAAW,SAAU,QAAQ,YAAY,MAAM,6BAC7E,SAAAE,EAAA,IAAC,OAAA,CACC,EAAE,gXACF,KAAMD,EACN,SAAS,UACT,SAAS,SAAA,CAAA,EAEb,CAEJ,CCXA,SAAwBE,EAAa,CAAE,KAAAH,EAAO,IAAyB,CAEnE,OAAAE,EAAAA,IAAC,MAAI,CAAA,MAAOF,EAAM,OAAQA,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