@xploreu/components 0.4.52 → 0.4.54

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 (161) hide show
  1. package/dist/chunk-2HXZTLBL.js +3 -0
  2. package/dist/chunk-2HXZTLBL.js.map +1 -0
  3. package/dist/chunk-3Y7VD44E.js +2 -0
  4. package/dist/chunk-3Y7VD44E.js.map +1 -0
  5. package/dist/chunk-5FIOROTI.js +3 -0
  6. package/dist/chunk-5FIOROTI.js.map +1 -0
  7. package/dist/chunk-6PLUIDII.js +2 -0
  8. package/dist/chunk-6PLUIDII.js.map +1 -0
  9. package/dist/chunk-A2IRFPYM.js +2 -0
  10. package/dist/{chunk-3HH2NIR2.js.map → chunk-A2IRFPYM.js.map} +1 -1
  11. package/dist/chunk-A35CEYDA.js +3 -0
  12. package/dist/chunk-A35CEYDA.js.map +1 -0
  13. package/dist/chunk-AL3ZVYUH.js +3 -0
  14. package/dist/chunk-AL3ZVYUH.js.map +1 -0
  15. package/dist/chunk-DCZZMMUP.js +3 -0
  16. package/dist/chunk-DCZZMMUP.js.map +1 -0
  17. package/dist/chunk-DS246N6L.js +3 -0
  18. package/dist/chunk-DS246N6L.js.map +1 -0
  19. package/dist/chunk-EIL73MRY.js +3 -0
  20. package/dist/chunk-EIL73MRY.js.map +1 -0
  21. package/dist/chunk-FZ4LL3XX.js +3 -0
  22. package/dist/chunk-FZ4LL3XX.js.map +1 -0
  23. package/dist/chunk-G7V3RGOH.js +3 -0
  24. package/dist/chunk-G7V3RGOH.js.map +1 -0
  25. package/dist/{chunk-7EXEQDMX.js → chunk-GFBYUG2T.js} +2 -2
  26. package/dist/{chunk-7EXEQDMX.js.map → chunk-GFBYUG2T.js.map} +1 -1
  27. package/dist/chunk-HBP2YXVK.js +3 -0
  28. package/dist/chunk-HBP2YXVK.js.map +1 -0
  29. package/dist/chunk-INX5NJJQ.js +3 -0
  30. package/dist/chunk-INX5NJJQ.js.map +1 -0
  31. package/dist/chunk-JJ23STM3.js +3 -0
  32. package/dist/chunk-JJ23STM3.js.map +1 -0
  33. package/dist/chunk-KF67QB2G.js +3 -0
  34. package/dist/chunk-KF67QB2G.js.map +1 -0
  35. package/dist/chunk-KQW7T6SG.js +2 -0
  36. package/dist/chunk-KQW7T6SG.js.map +1 -0
  37. package/dist/chunk-SCARBOBW.js +2 -0
  38. package/dist/chunk-SCARBOBW.js.map +1 -0
  39. package/dist/chunk-TZ2Y35UH.js +3 -0
  40. package/dist/chunk-TZ2Y35UH.js.map +1 -0
  41. package/dist/chunk-U2TLQBAL.js +3 -0
  42. package/dist/chunk-U2TLQBAL.js.map +1 -0
  43. package/dist/chunk-USRR7WFK.js +3 -0
  44. package/dist/chunk-USRR7WFK.js.map +1 -0
  45. package/dist/chunk-WTXZCA45.js +3 -0
  46. package/dist/chunk-WTXZCA45.js.map +1 -0
  47. package/dist/composites/combobox-chip-outside.js +1 -1
  48. package/dist/composites/combobox-chip.js +1 -1
  49. package/dist/composites/combobox-simple.js +1 -1
  50. package/dist/composites/filter-combobox.js +1 -1
  51. package/dist/composites/index.js +1 -1
  52. package/dist/composites/index.js.map +1 -1
  53. package/dist/composites/phone-input.js +1 -1
  54. package/dist/composites/profile-avatar.js +1 -1
  55. package/dist/form/form-input.js +1 -1
  56. package/dist/form/form.d.ts +1 -1
  57. package/dist/form/index.js +1 -1
  58. package/dist/icons/connections-filled-icon.d.ts +14 -3
  59. package/dist/icons/connections-filled-icon.js +1 -1
  60. package/dist/icons/connections-icon.d.ts +14 -3
  61. package/dist/icons/connections-icon.js +1 -1
  62. package/dist/icons/home-filled-icon.d.ts +14 -3
  63. package/dist/icons/home-filled-icon.js +1 -1
  64. package/dist/icons/home-icon.d.ts +14 -3
  65. package/dist/icons/home-icon.js +1 -1
  66. package/dist/icons/index.d.ts +18 -17
  67. package/dist/icons/index.js +1 -1
  68. package/dist/icons/messages-filled-icon.d.ts +14 -3
  69. package/dist/icons/messages-filled-icon.js +1 -1
  70. package/dist/icons/messages-icon.d.ts +14 -3
  71. package/dist/icons/messages-icon.js +1 -1
  72. package/dist/icons/news-filled-icon.d.ts +14 -3
  73. package/dist/icons/news-filled-icon.js +1 -1
  74. package/dist/icons/news-icon.d.ts +14 -3
  75. package/dist/icons/news-icon.js +1 -1
  76. package/dist/icons/notifications-filled-icon.d.ts +14 -3
  77. package/dist/icons/notifications-filled-icon.js +1 -1
  78. package/dist/icons/notifications-icon.d.ts +14 -3
  79. package/dist/icons/notifications-icon.js +1 -1
  80. package/dist/icons/search-filled-icon.d.ts +14 -3
  81. package/dist/icons/search-filled-icon.js +1 -1
  82. package/dist/icons/search-icon.d.ts +14 -3
  83. package/dist/icons/search-icon.js +1 -1
  84. package/dist/icons/swords-icon.d.ts +16 -0
  85. package/dist/icons/swords-icon.js +2 -0
  86. package/dist/icons/swords-icon.js.map +1 -0
  87. package/dist/icons/workspace-filled-icon.d.ts +14 -3
  88. package/dist/icons/workspace-filled-icon.js +1 -1
  89. package/dist/icons/workspace-icon.d.ts +14 -3
  90. package/dist/icons/workspace-icon.js +1 -1
  91. package/dist/icons/xplore-jobs-filled-icon.d.ts +14 -3
  92. package/dist/icons/xplore-jobs-filled-icon.js +1 -1
  93. package/dist/icons/xplore-jobs-icon.d.ts +14 -3
  94. package/dist/icons/xplore-jobs-icon.js +1 -1
  95. package/dist/primitives/index.js +1 -1
  96. package/dist/primitives/tabs.d.ts +1 -1
  97. package/dist/primitives/tabs.js +1 -1
  98. package/dist/ui/button.d.ts +2 -2
  99. package/dist/ui/combobox.js +1 -1
  100. package/dist/ui/date-multiple-picker.d.ts +5 -2
  101. package/dist/ui/date-multiple-picker.js +1 -1
  102. package/dist/ui/date-picker.d.ts +11 -3
  103. package/dist/ui/date-picker.js +1 -1
  104. package/dist/ui/date-range-picker.d.ts +6 -2
  105. package/dist/ui/date-range-picker.js +1 -1
  106. package/dist/ui/dialog.js +1 -1
  107. package/dist/ui/index.d.ts +1 -1
  108. package/dist/ui/index.js +1 -1
  109. package/dist/ui/input-group.d.ts +2 -2
  110. package/dist/ui/input-new.d.ts +1 -1
  111. package/dist/ui/input.d.ts +1 -1
  112. package/dist/ui/input.js +1 -1
  113. package/dist/ui/label.d.ts +2 -2
  114. package/dist/ui/pagination.js +1 -1
  115. package/dist/ui/switch.d.ts +2 -2
  116. package/dist/ui/table.js +1 -1
  117. package/dist/ui/tabs.js +1 -1
  118. package/dist/ui/textarea.d.ts +1 -1
  119. package/dist/ui/toast.js +1 -1
  120. package/package.json +1 -1
  121. package/dist/chunk-2Z7TVSRU.js +0 -3
  122. package/dist/chunk-2Z7TVSRU.js.map +0 -1
  123. package/dist/chunk-3HH2NIR2.js +0 -2
  124. package/dist/chunk-6OC5NZB6.js +0 -2
  125. package/dist/chunk-6OC5NZB6.js.map +0 -1
  126. package/dist/chunk-6V4X655K.js +0 -3
  127. package/dist/chunk-6V4X655K.js.map +0 -1
  128. package/dist/chunk-A2GANVAS.js +0 -3
  129. package/dist/chunk-A2GANVAS.js.map +0 -1
  130. package/dist/chunk-AIQ4K4FL.js +0 -3
  131. package/dist/chunk-AIQ4K4FL.js.map +0 -1
  132. package/dist/chunk-C3CQJ5EA.js +0 -2
  133. package/dist/chunk-C3CQJ5EA.js.map +0 -1
  134. package/dist/chunk-EFU2WMP3.js +0 -3
  135. package/dist/chunk-EFU2WMP3.js.map +0 -1
  136. package/dist/chunk-ENGI3W2J.js +0 -3
  137. package/dist/chunk-ENGI3W2J.js.map +0 -1
  138. package/dist/chunk-EXNOSFZ7.js +0 -2
  139. package/dist/chunk-EXNOSFZ7.js.map +0 -1
  140. package/dist/chunk-GRDQGRR5.js +0 -3
  141. package/dist/chunk-GRDQGRR5.js.map +0 -1
  142. package/dist/chunk-GXUADJ4B.js +0 -3
  143. package/dist/chunk-GXUADJ4B.js.map +0 -1
  144. package/dist/chunk-HYLGVWY7.js +0 -3
  145. package/dist/chunk-HYLGVWY7.js.map +0 -1
  146. package/dist/chunk-I3A5MC57.js +0 -2
  147. package/dist/chunk-I3A5MC57.js.map +0 -1
  148. package/dist/chunk-KXQHQVD5.js +0 -3
  149. package/dist/chunk-KXQHQVD5.js.map +0 -1
  150. package/dist/chunk-OFIHBAUG.js +0 -3
  151. package/dist/chunk-OFIHBAUG.js.map +0 -1
  152. package/dist/chunk-RTKH2NNI.js +0 -3
  153. package/dist/chunk-RTKH2NNI.js.map +0 -1
  154. package/dist/chunk-RWICTFSU.js +0 -3
  155. package/dist/chunk-RWICTFSU.js.map +0 -1
  156. package/dist/chunk-THLZAIYM.js +0 -3
  157. package/dist/chunk-THLZAIYM.js.map +0 -1
  158. package/dist/chunk-V5NINENE.js +0 -3
  159. package/dist/chunk-V5NINENE.js.map +0 -1
  160. package/dist/chunk-Y7O3JHD6.js +0 -3
  161. package/dist/chunk-Y7O3JHD6.js.map +0 -1
@@ -1,2 +0,0 @@
1
- import {a}from'./chunk-ZVME3JB3.js';import {b as b$1,c}from'./chunk-2URFXFQC.js';import*as n from'react';import {Tabs}from'@base-ui/react/tabs';import {AnimatePresence,motion}from'motion/react';import {getStrictContext}from'@xploreu/lib/get-strict-context';import {useControlledState}from'@xploreu/hooks/use-controlled-state';import {jsx}from'react/jsx-runtime';var[v,b]=getStrictContext("TabsContext");function M(t){let[a,s]=useControlledState({value:t.value,defaultValue:t.defaultValue,onChange:t.onValueChange});return jsx(v,{value:{value:a,setValue:s},children:jsx(Tabs.Root,{"data-slot":"tabs",...t,onValueChange:s})})}function V({transition:t={type:"spring",stiffness:200,damping:25},...a}){let{value:s}=b();return jsx(b$1,{"data-slot":"tabs-highlight",controlledItems:true,value:s,transition:t,click:false,...a})}function k(t){return jsx(Tabs.List,{"data-slot":"tabs-list",...t})}function F(t){return jsx(c,{"data-slot":"tabs-highlight-item",...t})}function O(t){return jsx(Tabs.Tab,{"data-slot":"tabs-tab",...t})}function w({value:t,keepMounted:a,transition:s={duration:.5,ease:"easeInOut"},...i}){return jsx(AnimatePresence,{mode:"wait",children:jsx(Tabs.Panel,{render:jsx(motion.div,{"data-slot":"tabs-panel",layout:true,layoutDependency:t,initial:{opacity:0,filter:"blur(4px)"},animate:{opacity:1,filter:"blur(0px)"},exit:{opacity:0,filter:"blur(4px)"},transition:s,...i}),keepMounted:a,value:t})})}var P={type:"spring",stiffness:200,damping:30};function H(t){return !t.mode||t.mode==="auto-height"}function D(t){let{value:a$1}=b();if(H(t)){let{children:h,transition:m=P,...y}=t;return jsx(a,{"data-slot":"tabs-panels",deps:[a$1],transition:m,...y,children:jsx(n.Fragment,{children:h},a$1)})}let{children:s,style:i,transition:T=P,...g}=t;return jsx(motion.div,{"data-slot":"tabs-panels",layout:"size",layoutDependency:a$1,transition:{layout:T},style:{overflow:"hidden",...i},...g,children:jsx(n.Fragment,{children:s},a$1)})}export{M as a,V as b,k as c,F as d,O as e,w as f,D as g};//# sourceMappingURL=chunk-6OC5NZB6.js.map
2
- //# sourceMappingURL=chunk-6OC5NZB6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/primitives/tabs.tsx"],"names":["TabsProvider","useTabs","getStrictContext","Tabs","props","value","setValue","useControlledState","jsx","TabsPrimitive","TabsHighlight","transition","Highlight","TabsList","TabsHighlightItem","HighlightItem","TabsTab","TabsPanel","keepMounted","AnimatePresence","motion","defaultTransition","isAutoMode","TabsPanels","children","autoProps","AutoHeight","style","layoutProps"],"mappings":"0WA6BA,GAAM,CAACA,EAAcC,CAAO,CAAA,CAC1BC,iBAAkC,aAAa,CAAA,CAIjD,SAASC,CAAAA,CAAKC,CAAAA,CAAkB,CAC9B,GAAM,CAACC,EAAOC,CAAQ,CAAA,CAAIC,mBAAmB,CAC3C,KAAA,CAAOH,CAAAA,CAAM,KAAA,CACb,aAAcA,CAAAA,CAAM,YAAA,CACpB,SAAUA,CAAAA,CAAM,aAClB,CAAC,CAAA,CAED,OACEI,GAAAA,CAACR,CAAAA,CAAA,CAAa,KAAA,CAAO,CAAE,MAAAK,CAAAA,CAAO,QAAA,CAAAC,CAAS,CAAA,CACrC,QAAA,CA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Y,MAAAA,CAAO,IAAP,CACC,WAAA,CAAU,cACV,MAAA,CAAO,MAAA,CACP,iBAAkBf,GAAAA,CAClB,UAAA,CAAY,CAAE,MAAA,CAAQM,CAAW,CAAA,CACjC,KAAA,CAAO,CAAE,QAAA,CAAU,QAAA,CAAU,GAAGgB,CAAM,CAAA,CACrC,GAAGC,CAAAA,CAEJ,QAAA,CAAApB,IAAO,CAAA,CAAA,QAAA,CAAN,CAA4B,SAAAgB,CAAAA,CAAAA,CAARnB,GAAiB,EACxC,CAEJ","file":"chunk-6OC5NZB6.js","sourcesContent":["'use client';\r\n\r\nimport * as React from 'react';\r\nimport { Tabs as TabsPrimitive } from '@base-ui/react/tabs';\r\nimport {\r\n motion,\r\n AnimatePresence,\r\n type HTMLMotionProps,\r\n type Transition,\r\n} from 'motion/react';\r\n\r\nimport {\r\n Highlight,\r\n HighlightItem,\r\n type HighlightProps,\r\n type HighlightItemProps,\r\n} from \"../effects/highlight\"\r\nimport { getStrictContext } from \"@xploreu/lib/get-strict-context\";\r\nimport { useControlledState } from '@xploreu/hooks/use-controlled-state';\r\nimport {\r\n AutoHeight,\r\n type AutoHeightProps,\r\n} from '../effects/auto-height';\r\n\r\ntype TabsContextType = {\r\n value: string | undefined;\r\n setValue: TabsProps['onValueChange'];\r\n};\r\n\r\nconst [TabsProvider, useTabs] =\r\n getStrictContext<TabsContextType>('TabsContext');\r\n\r\ntype TabsProps = React.ComponentProps<typeof TabsPrimitive.Root>;\r\n\r\nfunction Tabs(props: TabsProps) {\r\n const [value, setValue] = useControlledState({\r\n value: props.value,\r\n defaultValue: props.defaultValue,\r\n onChange: props.onValueChange,\r\n });\r\n\r\n return (\r\n <TabsProvider value={{ value, setValue }}>\r\n <TabsPrimitive.Root\r\n data-slot=\"tabs\"\r\n {...props}\r\n onValueChange={setValue}\r\n />\r\n </TabsProvider>\r\n );\r\n}\r\n\r\ntype TabsHighlightProps = Omit<HighlightProps, 'controlledItems' | 'value'>;\r\n\r\nfunction TabsHighlight({\r\n transition = { type: 'spring', stiffness: 200, damping: 25 },\r\n ...props\r\n}: TabsHighlightProps) {\r\n const { value } = useTabs();\r\n\r\n return (\r\n <Highlight\r\n data-slot=\"tabs-highlight\"\r\n controlledItems\r\n value={value}\r\n transition={transition}\r\n click={false}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\ntype TabsListProps = React.ComponentProps<typeof TabsPrimitive.List>;\r\n\r\nfunction TabsList(props: TabsListProps) {\r\n return <TabsPrimitive.List data-slot=\"tabs-list\" {...props} />;\r\n}\r\n\r\ntype TabsHighlightItemProps = HighlightItemProps & {\r\n value: string;\r\n};\r\n\r\nfunction TabsHighlightItem(props: TabsHighlightItemProps) {\r\n return <HighlightItem data-slot=\"tabs-highlight-item\" {...props} />;\r\n}\r\n\r\ntype TabsTabProps = React.ComponentProps<typeof TabsPrimitive.Tab>;\r\n\r\nfunction TabsTab(props: TabsTabProps) {\r\n return <TabsPrimitive.Tab data-slot=\"tabs-tab\" {...props} />;\r\n}\r\n\r\ntype TabsPanelProps = React.ComponentProps<typeof TabsPrimitive.Panel> &\r\n HTMLMotionProps<'div'>;\r\n\r\nfunction TabsPanel({\r\n value,\r\n keepMounted,\r\n transition = { duration: 0.5, ease: 'easeInOut' },\r\n ...props\r\n}: TabsPanelProps) {\r\n return (\r\n <AnimatePresence mode=\"wait\">\r\n <TabsPrimitive.Panel\r\n render={\r\n <motion.div\r\n data-slot=\"tabs-panel\"\r\n layout\r\n layoutDependency={value}\r\n initial={{ opacity: 0, filter: 'blur(4px)' }}\r\n animate={{ opacity: 1, filter: 'blur(0px)' }}\r\n exit={{ opacity: 0, filter: 'blur(4px)' }}\r\n transition={transition}\r\n {...props}\r\n />\r\n }\r\n keepMounted={keepMounted}\r\n value={value}\r\n />\r\n </AnimatePresence>\r\n );\r\n}\r\n\r\ntype TabsPanelsAutoProps = Omit<AutoHeightProps, 'children'> & {\r\n mode?: 'auto-height';\r\n children: React.ReactNode;\r\n transition?: Transition;\r\n};\r\n\r\ntype TabsPanelsLayoutProps = Omit<HTMLMotionProps<'div'>, 'children'> & {\r\n mode: 'layout';\r\n children: React.ReactNode;\r\n transition?: Transition;\r\n};\r\n\r\ntype TabsPanelsProps = TabsPanelsAutoProps | TabsPanelsLayoutProps;\r\n\r\nconst defaultTransition: Transition = {\r\n type: 'spring',\r\n stiffness: 200,\r\n damping: 30,\r\n};\r\n\r\nfunction isAutoMode(props: TabsPanelsProps): props is TabsPanelsAutoProps {\r\n return !props.mode || props.mode === 'auto-height';\r\n}\r\n\r\nfunction TabsPanels(props: TabsPanelsProps) {\r\n const { value } = useTabs();\r\n\r\n if (isAutoMode(props)) {\r\n const { children, transition = defaultTransition, ...autoProps } = props;\r\n\r\n return (\r\n <AutoHeight\r\n data-slot=\"tabs-panels\"\r\n deps={[value]}\r\n transition={transition}\r\n {...autoProps}\r\n >\r\n <React.Fragment key={value}>{children}</React.Fragment>\r\n </AutoHeight>\r\n );\r\n }\r\n\r\n const {\r\n children,\r\n style,\r\n transition = defaultTransition,\r\n ...layoutProps\r\n } = props;\r\n\r\n return (\r\n <motion.div\r\n data-slot=\"tabs-panels\"\r\n layout=\"size\"\r\n layoutDependency={value}\r\n transition={{ layout: transition }}\r\n style={{ overflow: 'hidden', ...style }}\r\n {...layoutProps}\r\n >\r\n <React.Fragment key={value}>{children}</React.Fragment>\r\n </motion.div>\r\n );\r\n}\r\n\r\nexport {\r\n Tabs,\r\n TabsHighlight,\r\n TabsHighlightItem,\r\n TabsList,\r\n TabsTab,\r\n TabsPanel,\r\n TabsPanels,\r\n type TabsProps,\r\n type TabsHighlightProps,\r\n type TabsHighlightItemProps,\r\n type TabsListProps,\r\n type TabsTabProps,\r\n type TabsPanelProps,\r\n type TabsPanelsProps,\r\n};"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:e="currentColor",size:o=24,strokeWidth:n=0,absoluteStrokeWidth:r,...d}){return jsxs("svg",{fill:"none",height:o,stroke:e,strokeWidth:r?Number(n)*24/Number(o):n,viewBox:"0 0 24 24",width:o,xmlns:"http://www.w3.org/2000/svg",...d,children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 10.2L12 3L21 10.2V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21H14.5V14.5H9.5V21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V10.2Z",fill:e}),jsx("path",{d:"M3 10.2L12 3L21 10.2V20C21 20.2652 20.8946 20.5196 20.7071 20.7071C20.5196 20.8946 20.2652 21 20 21H4C3.73478 21 3.48043 20.8946 3.29289 20.7071C3.10536 20.5196 3 20.2652 3 20V10.2Z",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M9.5 21V14.5H14.5V21",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var l=i;
2
- export{l as a};//# sourceMappingURL=chunk-6V4X655K.js.map
3
- //# sourceMappingURL=chunk-6V4X655K.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/home-filled-icon.tsx"],"names":["HomeFilledIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","home_filled_icon_default"],"mappings":"yCAIA,SAASA,EAAe,CACtB,KAAA,CAAAC,EAAQ,cAAA,CACR,IAAA,CAAAC,EAAO,EAAA,CACP,WAAA,CAAAC,EAAc,CAAA,CACd,mBAAA,CAAAC,EACA,GAAGC,CACL,EAAc,CACZ,OACEC,KAAC,KAAA,CAAA,CACC,IAAA,CAAK,OACL,MAAA,CAAQJ,CAAAA,CACR,OAAQD,CAAAA,CACR,WAAA,CAAaG,EAAuB,MAAA,CAAOD,CAAW,EAAI,EAAA,CAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,QAAQ,WAAA,CACR,KAAA,CAAOD,EACP,KAAA,CAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,IAAC,MAAA,CAAA,CAAK,QAAA,CAAS,UAAU,QAAA,CAAS,SAAA,CAAU,EAAE,wMAAA,CAAyM,IAAA,CAAMN,EAAM,CAAA,CACnQM,GAAAA,CAAC,QAAK,CAAA,CAAE,uLAAA,CAAwL,OAAQN,CAAAA,CAAO,WAAA,CAAY,IAAI,aAAA,CAAc,OAAA,CAAQ,eAAe,OAAA,CAAO,CAAA,CAC3QM,IAAC,MAAA,CAAA,CAAK,CAAA,CAAE,uBAAuB,MAAA,CAAQN,CAAAA,CAAO,YAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,GAC5G,CAEJ,KAEOO,CAAAA,CAAQR","file":"chunk-6V4X655K.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction HomeFilledIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M3 10.2L12 3L21 10.2V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21H14.5V14.5H9.5V21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V10.2Z\" fill={color}/>\n <path d=\"M3 10.2L12 3L21 10.2V20C21 20.2652 20.8946 20.5196 20.7071 20.7071C20.5196 20.8946 20.2652 21 20 21H4C3.73478 21 3.48043 20.8946 3.29289 20.7071C3.10536 20.5196 3 20.2652 3 20V10.2Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M9.5 21V14.5H14.5V21\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default HomeFilledIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function s({color:o="currentColor",size:t=24,strokeWidth:e=0,absoluteStrokeWidth:r,...i}){return jsxs("svg",{fill:"none",height:t,stroke:o,strokeWidth:r?Number(e)*24/Number(t):e,viewBox:"0 0 24 24",width:t,xmlns:"http://www.w3.org/2000/svg",...i,children:[jsx("path",{d:"M18 8C18 6.4087 17.3679 4.88258 16.2426 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.88258 2.63214 7.75736 3.75736C6.63214 4.88258 6 6.4087 6 8C6 15 3 17 3 17H21C21 17 18 15 18 8Z",fill:o,stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M13.7 21C13.5206 21.2894 13.2703 21.5283 12.9728 21.6939C12.6754 21.8595 12.3405 21.9464 12 21.9464C11.6595 21.9464 11.3246 21.8595 11.0272 21.6939C10.7297 21.5283 10.4794 21.2894 10.3 21",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var C=s;
2
- export{C as a};//# sourceMappingURL=chunk-A2GANVAS.js.map
3
- //# sourceMappingURL=chunk-A2GANVAS.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/notifications-filled-icon.tsx"],"names":["NotificationsFilledIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","notifications_filled_icon_default"],"mappings":"yCAIA,SAASA,CAAAA,CAAwB,CAC/B,KAAA,CAAAC,CAAAA,CAAQ,eACR,IAAA,CAAAC,CAAAA,CAAO,GACP,WAAA,CAAAC,CAAAA,CAAc,EACd,mBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,EAAc,CACZ,OACEC,KAAC,KAAA,CAAA,CACC,IAAA,CAAK,OACL,MAAA,CAAQJ,CAAAA,CACR,MAAA,CAAQD,CAAAA,CACR,YAAaG,CAAAA,CAAuB,MAAA,CAAOD,CAAW,CAAA,CAAI,EAAA,CAAM,OAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,OAAA,CAAQ,YACR,KAAA,CAAOD,CAAAA,CACP,KAAA,CAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,GAAAA,CAAC,MAAA,CAAA,CAAK,EAAE,2LAAA,CAA4L,IAAA,CAAMN,EAAO,MAAA,CAAQA,CAAAA,CAAO,YAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,QAAO,CAAA,CAC5RM,GAAAA,CAAC,QAAK,CAAA,CAAE,6LAAA,CAA8L,OAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,GACnR,CAEJ,KAEOO,CAAAA,CAAQR","file":"chunk-A2GANVAS.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction NotificationsFilledIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M18 8C18 6.4087 17.3679 4.88258 16.2426 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.88258 2.63214 7.75736 3.75736C6.63214 4.88258 6 6.4087 6 8C6 15 3 17 3 17H21C21 17 18 15 18 8Z\" fill={color} stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M13.7 21C13.5206 21.2894 13.2703 21.5283 12.9728 21.6939C12.6754 21.8595 12.3405 21.9464 12 21.9464C11.6595 21.9464 11.3246 21.8595 11.0272 21.6939C10.7297 21.5283 10.4794 21.2894 10.3 21\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default NotificationsFilledIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function d({color:C="currentColor",size:e=24,strokeWidth:t=0,absoluteStrokeWidth:n,...r}){return jsxs("svg",{fill:"none",height:e,stroke:C,strokeWidth:n?Number(t)*24/Number(e):t,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...r,children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 8H21C21.2652 8 21.5196 8.10536 21.7071 8.29289C21.8946 8.48043 22 8.73478 22 9V15C22 15.2652 21.8946 15.5196 21.7071 15.7071C21.5196 15.8946 21.2652 16 21 16H19V19L16 16H11C10.7348 16 10.4804 15.8946 10.2929 15.7071C10.1054 15.5196 10 15.2652 10 15V9C10 8.73478 10.1054 8.48043 10.2929 8.29289C10.4804 8.10536 10.7348 8 11 8ZM13 11C12.7348 11 12.4804 11.1054 12.2929 11.2929C12.1054 11.4804 12 11.7348 12 12C12 12.2652 12.1054 12.5196 12.2929 12.7071C12.4804 12.8946 12.7348 13 13 13C13.2652 13 13.5196 12.8946 13.7071 12.7071C13.8946 12.5196 14 12.2652 14 12C14 11.7348 13.8946 11.4804 13.7071 11.2929C13.5196 11.1054 13.2652 11 13 11ZM16 11C15.7348 11 15.4804 11.1054 15.2929 11.2929C15.1054 11.4804 15 11.7348 15 12C15 12.2652 15.1054 12.5196 15.2929 12.7071C15.4804 12.8946 15.7348 13 16 13C16.2652 13 16.5196 12.8946 16.7071 12.7071C16.8946 12.5196 17 12.2652 17 12C17 11.7348 16.8946 11.4804 16.7071 11.2929C16.5196 11.1054 16.2652 11 16 11ZM19 11C18.7348 11 18.4804 11.1054 18.2929 11.2929C18.1054 11.4804 18 11.7348 18 12C18 12.2652 18.1054 12.5196 18.2929 12.7071C18.4804 12.8946 18.7348 13 19 13C19.2652 13 19.5196 12.8946 19.7071 12.7071C19.8946 12.5196 20 12.2652 20 12C20 11.7348 19.8946 11.4804 19.7071 11.2929C19.5196 11.1054 19.2652 11 19 11Z",fill:C}),jsx("path",{d:"M11 8H21C21.2652 8 21.5196 8.10536 21.7071 8.29289C21.8946 8.48043 22 8.73478 22 9V15C22 15.2652 21.8946 15.5196 21.7071 15.7071C21.5196 15.8946 21.2652 16 21 16H19V19L16 16H11C10.7348 16 10.4804 15.8946 10.2929 15.7071C10.1054 15.5196 10 15.2652 10 15V9C10 8.73478 10.1054 8.48043 10.2929 8.29289C10.4804 8.10536 10.7348 8 11 8Z",stroke:C,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M16 8V4C16 3.73478 15.8946 3.48043 15.7071 3.29289C15.5196 3.10536 15.2652 3 15 3H3C2.73478 3 2.48043 3.10536 2.29289 3.29289C2.10536 3.48043 2 3.73478 2 4V12C2 12.2652 2.10536 12.5196 2.29289 12.7071C2.48043 12.8946 2.73478 13 3 13H5V16L8 13H9",stroke:C,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var s=d;
2
- export{s as a};//# sourceMappingURL=chunk-AIQ4K4FL.js.map
3
- //# sourceMappingURL=chunk-AIQ4K4FL.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/messages-filled-icon.tsx"],"names":["MessagesFilledIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","messages_filled_icon_default"],"mappings":"yCAIA,SAASA,EAAmB,CAC1B,KAAA,CAAAC,EAAQ,cAAA,CACR,IAAA,CAAAC,EAAO,EAAA,CACP,WAAA,CAAAC,EAAc,CAAA,CACd,mBAAA,CAAAC,EACA,GAAGC,CACL,EAAc,CACZ,OACEC,KAAC,KAAA,CAAA,CACC,IAAA,CAAK,OACL,MAAA,CAAQJ,CAAAA,CACR,OAAQD,CAAAA,CACR,WAAA,CAAaG,EAAuB,MAAA,CAAOD,CAAW,EAAI,EAAA,CAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,QAAQ,WAAA,CACR,KAAA,CAAOD,EACP,KAAA,CAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,IAAC,MAAA,CAAA,CAAK,QAAA,CAAS,UAAU,QAAA,CAAS,SAAA,CAAU,EAAE,gvCAAA,CAAivC,IAAA,CAAMN,EAAM,CAAA,CAC3yCM,GAAAA,CAAC,QAAK,CAAA,CAAE,2UAAA,CAA4U,OAAQN,CAAAA,CAAO,WAAA,CAAY,IAAI,aAAA,CAAc,OAAA,CAAQ,eAAe,OAAA,CAAO,CAAA,CAC/ZM,IAAC,MAAA,CAAA,CAAK,CAAA,CAAE,uPAAuP,MAAA,CAAQN,CAAAA,CAAO,YAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,GAC5U,CAEJ,KAEOO,CAAAA,CAAQR","file":"chunk-AIQ4K4FL.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction MessagesFilledIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11 8H21C21.2652 8 21.5196 8.10536 21.7071 8.29289C21.8946 8.48043 22 8.73478 22 9V15C22 15.2652 21.8946 15.5196 21.7071 15.7071C21.5196 15.8946 21.2652 16 21 16H19V19L16 16H11C10.7348 16 10.4804 15.8946 10.2929 15.7071C10.1054 15.5196 10 15.2652 10 15V9C10 8.73478 10.1054 8.48043 10.2929 8.29289C10.4804 8.10536 10.7348 8 11 8ZM13 11C12.7348 11 12.4804 11.1054 12.2929 11.2929C12.1054 11.4804 12 11.7348 12 12C12 12.2652 12.1054 12.5196 12.2929 12.7071C12.4804 12.8946 12.7348 13 13 13C13.2652 13 13.5196 12.8946 13.7071 12.7071C13.8946 12.5196 14 12.2652 14 12C14 11.7348 13.8946 11.4804 13.7071 11.2929C13.5196 11.1054 13.2652 11 13 11ZM16 11C15.7348 11 15.4804 11.1054 15.2929 11.2929C15.1054 11.4804 15 11.7348 15 12C15 12.2652 15.1054 12.5196 15.2929 12.7071C15.4804 12.8946 15.7348 13 16 13C16.2652 13 16.5196 12.8946 16.7071 12.7071C16.8946 12.5196 17 12.2652 17 12C17 11.7348 16.8946 11.4804 16.7071 11.2929C16.5196 11.1054 16.2652 11 16 11ZM19 11C18.7348 11 18.4804 11.1054 18.2929 11.2929C18.1054 11.4804 18 11.7348 18 12C18 12.2652 18.1054 12.5196 18.2929 12.7071C18.4804 12.8946 18.7348 13 19 13C19.2652 13 19.5196 12.8946 19.7071 12.7071C19.8946 12.5196 20 12.2652 20 12C20 11.7348 19.8946 11.4804 19.7071 11.2929C19.5196 11.1054 19.2652 11 19 11Z\" fill={color}/>\n <path d=\"M11 8H21C21.2652 8 21.5196 8.10536 21.7071 8.29289C21.8946 8.48043 22 8.73478 22 9V15C22 15.2652 21.8946 15.5196 21.7071 15.7071C21.5196 15.8946 21.2652 16 21 16H19V19L16 16H11C10.7348 16 10.4804 15.8946 10.2929 15.7071C10.1054 15.5196 10 15.2652 10 15V9C10 8.73478 10.1054 8.48043 10.2929 8.29289C10.4804 8.10536 10.7348 8 11 8Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M16 8V4C16 3.73478 15.8946 3.48043 15.7071 3.29289C15.5196 3.10536 15.2652 3 15 3H3C2.73478 3 2.48043 3.10536 2.29289 3.29289C2.10536 3.48043 2 3.73478 2 4V12C2 12.2652 2.10536 12.5196 2.29289 12.7071C2.48043 12.8946 2.73478 13 3 13H5V16L8 13H9\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default MessagesFilledIcon;\n"]}
@@ -1,2 +0,0 @@
1
- import {a as a$3}from'./chunk-PC5CKARI.js';import {a as a$1,b,c}from'./chunk-NGSCUYDU.js';import {b as b$1}from'./chunk-DIXFDLPZ.js';import {a as a$2}from'./chunk-2ECH6S6R.js';import {b as b$2,e}from'./chunk-JLZNZFOO.js';import*as a from'react';import {useControlledState}from'@xploreu/hooks/use-controlled-state';import {format}from'date-fns';import {ChevronDown}from'lucide-react';import'react-day-picker';import {cn}from'@xploreu/lib/cn';import {jsxs,jsx}from'react/jsx-runtime';function Z({className:P,value:M,onValueChange:i,defaultValue:N,required:d,disabled:p,placeholder:k="Pick dates",disabledDates:w,dateFormat:j="LLL dd, y",chipDateFormat:S="d MMM",maxVisible:l,...B}){let R=a.useCallback(e=>{d?e?.length&&i?.(e):i?.(e);},[i,d]),[t,u]=useControlledState({value:M,defaultValue:N,onChange:R}),[z,F]=a.useState(t?.[0]||new Date),[O,T]=a.useState(false),s=!!t?.length,m=a.useMemo(()=>t?[...t].sort((e,n)=>e.getTime()-n.getTime()):[],[t]),V=a.useCallback(e=>{let n=t?.filter(L=>L.getTime()!==e.getTime());d&&!n?.length||u(n);},[t,u,d]),I=l!==void 0?m.slice(0,l):m,b$3=l!==void 0?m.length-l:0;return jsxs("div",{className:"flex flex-col gap-2 w-full",children:[jsxs(a$1,{open:p?false:O,onOpenChange:T,children:[jsx(b,{className:"w-full",render:jsxs(b$1,{className:cn("group h-9 w-full justify-between rounded-xp-card-base border px-3 text-body-medium-3 transition-colors","border-border-primary bg-bg-primary text-text-secondary hover:bg-bg-primary-hover",s&&"border-border-brand bg-bg-brand-primary text-text-brand-secondary","data-[popup-open]:border-border-brand data-[popup-open]:bg-bg-brand-primary data-[popup-open]:text-text-brand-secondary","disabled:pointer-events-none disabled:opacity-50",P),variant:null,size:null,disabled:p,children:[jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[jsx(a$2,{className:cn("size-4 shrink-0",s?"text-fg-brand-primary":"text-fg-quaternary")}),jsx("span",{className:"truncate",children:s?`${t.length} ${t.length===1?"date":"dates"} selected`:k})]}),jsx(ChevronDown,{className:cn("size-4 shrink-0 transition-transform group-data-[popup-open]:rotate-180",s?"text-fg-brand-primary":"text-fg-quaternary")})]})}),jsx(c,{className:"w-auto border-0 rounded-[20px] p-xp-none bg-transparent",style:{background:"linear-gradient(180deg, rgba(46, 51, 90, 0) 0%, rgba(28, 27, 51, 0.04) 100%), radial-gradient(146.13% 118.42% at 50% -15.5%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 99.59%)",backdropFilter:"blur(20px)",boxShadow:"0px 30px 60px 0px #0000001A"},children:jsx(a$3,{autoFocus:true,disabled:w,mode:"multiple",month:z,selected:t,onMonthChange:F,onSelect:e=>{d&&!e?.length||u(e);},...B})})]}),s&&jsxs("div",{className:"flex flex-wrap gap-2",children:[I.map(e$1=>jsxs(b$2,{color:"brand",size:"lg",className:"ring-1 ring-border-brand text-body-medium-3",children:[format(e$1,S),!p&&jsx(e,{className:"text-fg-quaternary",onClick:n=>{n.stopPropagation(),V(e$1);}})]},e$1.toISOString())),b$3>0&&jsxs(b$2,{color:"brand",size:"lg",className:"ring-1 ring-border-brand text-body-medium-3",children:["+",b$3]})]})]})}export{Z as a};//# sourceMappingURL=chunk-C3CQJ5EA.js.map
2
- //# sourceMappingURL=chunk-C3CQJ5EA.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/ui/date-multiple-picker.tsx"],"names":["DateMultiplePicker","className","valueProp","onValueChange","defaultValue","required","disabled","placeholder","disabledDates","dateFormat","chipDateFormat","maxVisible","props","handleValueChange","val","value","setValue","useControlledState","currentMonth","setCurrentMonth","isOpen","setIsOpen","hasValue","sortedValue","a","b","handleRemoveDate","dateToRemove","newValue","d","visibleChips","overflowCount","jsxs","Popover","jsx","PopoverTrigger","Button","cn","calendar_icon_default","ChevronDown","PopoverPopup","Calendar","Badge","format","BadgeButton","e"],"mappings":"keAqCA,SAASA,CAAAA,CAAmB,CAC1B,SAAA,CAAAC,CAAAA,CACA,MAAOC,CAAAA,CACP,aAAA,CAAAC,EACA,YAAA,CAAAC,CAAAA,CACA,SAAAC,CAAAA,CACA,QAAA,CAAAC,EACA,WAAA,CAAAC,CAAAA,CAAc,aACd,aAAA,CAAAC,CAAAA,CACA,WAAAC,CAAAA,CAAa,WAAA,CACb,eAAAC,CAAAA,CAAiB,OAAA,CACjB,WAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAA4B,CAC1B,IAAMC,CAAAA,CAA0B,CAAA,CAAA,WAAA,CAC7BC,GAA4B,CACvBT,CAAAA,CACES,GAAK,MAAA,EAAQX,CAAAA,GAAgBW,CAAG,CAAA,CAEpCX,CAAAA,GAAgBW,CAAG,EAEvB,CAAA,CACA,CAACX,CAAAA,CAAeE,CAAQ,CAC1B,CAAA,CAEM,CAACU,EAAOC,CAAQ,CAAA,CAAIC,mBAAuC,CAC/D,KAAA,CAAOf,EACP,YAAA,CAAAE,CAAAA,CACA,SAAUS,CACZ,CAAC,EAEK,CAACK,CAAAA,CAAcC,CAAe,CAAA,CAAU,CAAA,CAAA,QAAA,CAA2BJ,IAAQ,CAAC,CAAA,EAAK,IAAI,IAAM,CAAA,CAC3F,CAACK,CAAAA,CAAQC,CAAS,EAAU,CAAA,CAAA,QAAA,CAAS,KAAK,EAE1CC,CAAAA,CAAW,CAAC,CAACP,CAAAA,EAAO,MAAA,CAEpBQ,EAAoB,CAAA,CAAA,OAAA,CAAQ,IAC3BR,EACE,CAAC,GAAGA,CAAK,CAAA,CAAE,IAAA,CAAK,CAACS,CAAAA,CAAGC,CAAAA,GAAMD,EAAE,OAAA,EAAQ,CAAIC,EAAE,OAAA,EAAS,EADvC,EAAC,CAEnB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,CAAA,CAAA,GAAA,CACGX,GAAAA,CAAAA,CACJ,CAAA,CAAA,CAEJ,CAAA,CAAA,CAEJ,CAEJ","file":"chunk-C3CQJ5EA.js","sourcesContent":["\"use client\"\r\n\r\nimport * as React from \"react\"\r\n\r\nimport { useControlledState } from \"@xploreu/hooks/use-controlled-state\"\r\nimport { format } from \"date-fns\"\r\nimport { ChevronDown } from \"lucide-react\"\r\nimport { type Matcher } from \"react-day-picker\"\r\n\r\nimport { cn } from \"@xploreu/lib/cn\"\r\n\r\nimport { CalendarIcon } from \"../icons\"\r\nimport { Button } from \"./button\"\r\nimport { Calendar, type CalendarProps } from \"./calendar\"\r\nimport { Popover, PopoverPopup, PopoverTrigger } from \"./popover\"\r\nimport { Badge, BadgeButton } from \"./badge\"\r\n\r\nexport type DateMultiplePickerProps = {\r\n className?: string\r\n value?: Date[]\r\n defaultValue?: Date[]\r\n required?: boolean\r\n disabled?: boolean\r\n placeholder?: string\r\n disabledDates?: Matcher | Matcher[] | undefined\r\n dateFormat?: string\r\n chipDateFormat?: string\r\n /** Maximum number of chips to show outside before collapsing the rest into a \"+N\" chip. */\r\n maxVisible?: number\r\n} & ({\r\n required: true\r\n onValueChange?: (value: Date[]) => void\r\n} | {\r\n required?: false\r\n onValueChange?: (value: Date[] | undefined) => void\r\n}) & Omit<CalendarProps, \"mode\" | \"selected\" | \"onSelect\" | \"month\" | \"onMonthChange\">\r\n\r\nfunction DateMultiplePicker({\r\n className,\r\n value: valueProp,\r\n onValueChange,\r\n defaultValue,\r\n required,\r\n disabled,\r\n placeholder = \"Pick dates\",\r\n disabledDates,\r\n dateFormat = \"LLL dd, y\",\r\n chipDateFormat = \"d MMM\",\r\n maxVisible,\r\n ...props\r\n}: DateMultiplePickerProps) {\r\n const handleValueChange = React.useCallback(\r\n (val: Date[] | undefined) => {\r\n if (required) {\r\n if (val?.length) onValueChange?.(val)\r\n } else {\r\n onValueChange?.(val)\r\n }\r\n },\r\n [onValueChange, required],\r\n )\r\n\r\n const [value, setValue] = useControlledState<Date[] | undefined>({\r\n value: valueProp,\r\n defaultValue,\r\n onChange: handleValueChange,\r\n })\r\n\r\n const [currentMonth, setCurrentMonth] = React.useState<Date | undefined>(value?.[0] || new Date())\r\n const [isOpen, setIsOpen] = React.useState(false)\r\n\r\n const hasValue = !!value?.length\r\n\r\n const sortedValue = React.useMemo(() => {\r\n if (!value) return []\r\n return [...value].sort((a, b) => a.getTime() - b.getTime())\r\n }, [value])\r\n\r\n const handleRemoveDate = React.useCallback(\r\n (dateToRemove: Date) => {\r\n const newValue = value?.filter((d) => d.getTime() !== dateToRemove.getTime())\r\n if (required && !newValue?.length) return\r\n setValue(newValue)\r\n },\r\n [value, setValue, required],\r\n )\r\n\r\n const visibleChips = maxVisible !== undefined ? sortedValue.slice(0, maxVisible) : sortedValue\r\n const overflowCount = maxVisible !== undefined ? sortedValue.length - maxVisible : 0\r\n\r\n return (\r\n <div className=\"flex flex-col gap-2 w-full\">\r\n <Popover open={disabled ? false : isOpen} onOpenChange={setIsOpen}>\r\n <PopoverTrigger\r\n className=\"w-full\"\r\n render={\r\n <Button\r\n className={cn(\r\n \"group h-9 w-full justify-between rounded-xp-card-base border px-3 text-body-medium-3 transition-colors\",\r\n \"border-border-primary bg-bg-primary text-text-secondary hover:bg-bg-primary-hover\",\r\n hasValue &&\r\n \"border-border-brand bg-bg-brand-primary text-text-brand-secondary\",\r\n \"data-[popup-open]:border-border-brand data-[popup-open]:bg-bg-brand-primary data-[popup-open]:text-text-brand-secondary\",\r\n \"disabled:pointer-events-none disabled:opacity-50\",\r\n className,\r\n )}\r\n variant={null}\r\n size={null}\r\n disabled={disabled}\r\n >\r\n <span className=\"flex min-w-0 items-center gap-2\">\r\n <CalendarIcon\r\n className={cn(\r\n \"size-4 shrink-0\",\r\n hasValue ? \"text-fg-brand-primary\" : \"text-fg-quaternary\",\r\n )}\r\n />\r\n <span className=\"truncate\">\r\n {hasValue\r\n ? `${value.length} ${value.length === 1 ? \"date\" : \"dates\"} selected`\r\n : placeholder}\r\n </span>\r\n </span>\r\n <ChevronDown\r\n className={cn(\r\n \"size-4 shrink-0 transition-transform group-data-[popup-open]:rotate-180\",\r\n hasValue ? \"text-fg-brand-primary\" : \"text-fg-quaternary\",\r\n )}\r\n />\r\n </Button>\r\n }\r\n />\r\n <PopoverPopup\r\n className=\"w-auto border-0 rounded-[20px] p-xp-none bg-transparent\"\r\n style={{\r\n background:\r\n \"linear-gradient(180deg, rgba(46, 51, 90, 0) 0%, rgba(28, 27, 51, 0.04) 100%), radial-gradient(146.13% 118.42% at 50% -15.5%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 99.59%)\",\r\n backdropFilter: \"blur(20px)\",\r\n boxShadow: \"0px 30px 60px 0px #0000001A\",\r\n }}\r\n >\r\n <Calendar\r\n autoFocus\r\n disabled={disabledDates}\r\n mode=\"multiple\"\r\n month={currentMonth}\r\n selected={value}\r\n onMonthChange={setCurrentMonth}\r\n onSelect={(val) => {\r\n if (required && !val?.length) return\r\n setValue(val)\r\n }}\r\n {...props}\r\n />\r\n </PopoverPopup>\r\n </Popover>\r\n\r\n {hasValue && (\r\n <div className=\"flex flex-wrap gap-2\">\r\n {visibleChips.map((d) => (\r\n <Badge\r\n key={d.toISOString()}\r\n color=\"brand\"\r\n size=\"lg\"\r\n className=\"ring-1 ring-border-brand text-body-medium-3\"\r\n >\r\n {format(d, chipDateFormat)}\r\n {!disabled && (\r\n <BadgeButton\r\n className=\"text-fg-quaternary\"\r\n onClick={(e) => {\r\n e.stopPropagation()\r\n handleRemoveDate(d)\r\n }}\r\n />\r\n )}\r\n </Badge>\r\n ))}\r\n {overflowCount > 0 && (\r\n <Badge\r\n color=\"brand\"\r\n size=\"lg\"\r\n className=\"ring-1 ring-border-brand text-body-medium-3\"\r\n >\r\n +{overflowCount}\r\n </Badge>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n )\r\n}\r\n\r\nexport { DateMultiplePicker }"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:e="currentColor",size:C=24,strokeWidth:t=0,absoluteStrokeWidth:n,...r}){return jsxs("svg",{fill:"none",height:C,stroke:e,strokeWidth:n?Number(t)*24/Number(C):t,viewBox:"0 0 24 24",width:C,xmlns:"http://www.w3.org/2000/svg",...r,children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 3.5C9.92826 3.5 10.8185 3.86875 11.4749 4.52513C12.1313 5.1815 12.5 6.07174 12.5 7C12.5 7.92826 12.1313 8.8185 11.4749 9.47487C10.8185 10.1313 9.92826 10.5 9 10.5C8.07174 10.5 7.1815 10.1313 6.52513 9.47487C5.86875 8.8185 5.5 7.92826 5.5 7C5.5 6.07174 5.86875 5.1815 6.52513 4.52513C7.1815 3.86875 8.07174 3.5 9 3.5ZM2 21V19C2 17.6739 2.52678 16.4021 3.46447 15.4645C4.40215 14.5268 5.67392 14 7 14H11C12.3261 14 13.5979 14.5268 14.5355 15.4645C15.4732 16.4021 16 17.6739 16 19V21H2Z",fill:e}),jsx("path",{d:"M9 3.5C9.92826 3.5 10.8185 3.86875 11.4749 4.52513C12.1313 5.1815 12.5 6.07174 12.5 7C12.5 7.92826 12.1313 8.8185 11.4749 9.47487C10.8185 10.1313 9.92826 10.5 9 10.5C8.07174 10.5 7.1815 10.1313 6.52513 9.47487C5.86875 8.8185 5.5 7.92826 5.5 7C5.5 6.07174 5.86875 5.1815 6.52513 4.52513C7.1815 3.86875 8.07174 3.5 9 3.5ZM2 21V19C2 17.6739 2.52678 16.4021 3.46447 15.4645C4.40215 14.5268 5.67392 14 7 14H11C12.3261 14 13.5979 14.5268 14.5355 15.4645C15.4732 16.4021 16 17.6739 16 19V21H2Z",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M17 4.29999C17.7614 4.486 18.4383 4.92218 18.9223 5.53866C19.4063 6.15513 19.6693 6.91622 19.6693 7.69999C19.6693 8.48375 19.4063 9.24484 18.9223 9.86132C18.4383 10.4778 17.7614 10.914 17 11.1",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M18 14.2C19.1127 14.4269 20.1151 15.0259 20.8421 15.8983C21.5691 16.7707 21.9775 17.8646 22 19V21",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var s=i;
2
- export{s as a};//# sourceMappingURL=chunk-EFU2WMP3.js.map
3
- //# sourceMappingURL=chunk-EFU2WMP3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/connections-filled-icon.tsx"],"names":["ConnectionsFilledIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","connections_filled_icon_default"],"mappings":"yCAIA,SAASA,CAAAA,CAAsB,CAC7B,KAAA,CAAAC,CAAAA,CAAQ,cAAA,CACR,KAAAC,CAAAA,CAAO,EAAA,CACP,WAAA,CAAAC,CAAAA,CAAc,CAAA,CACd,mBAAA,CAAAC,EACA,GAAGC,CACL,CAAA,CAAc,CACZ,OACEC,IAAAA,CAAC,OACC,IAAA,CAAK,MAAA,CACL,OAAQJ,CAAAA,CACR,MAAA,CAAQD,EACR,WAAA,CAAaG,CAAAA,CAAuB,MAAA,CAAOD,CAAW,CAAA,CAAI,EAAA,CAAM,OAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,OAAA,CAAQ,WAAA,CACR,KAAA,CAAOD,EACP,KAAA,CAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,GAAAA,CAAC,QAAK,QAAA,CAAS,SAAA,CAAU,SAAS,SAAA,CAAU,CAAA,CAAE,yeAAye,IAAA,CAAMN,CAAAA,CAAM,CAAA,CACniBM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,yeAAye,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,eAAe,OAAA,CAAO,CAAA,CAC5jBM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,kMAAA,CAAmM,OAAQN,CAAAA,CAAO,WAAA,CAAY,IAAI,aAAA,CAAc,OAAA,CAAQ,eAAe,OAAA,CAAO,CAAA,CACtRM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,mGAAA,CAAoG,OAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,QAAO,CAAA,CAAA,CACzL,CAEJ,CAEA,IAAOO,CAAAA,CAAQR","file":"chunk-EFU2WMP3.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction ConnectionsFilledIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9 3.5C9.92826 3.5 10.8185 3.86875 11.4749 4.52513C12.1313 5.1815 12.5 6.07174 12.5 7C12.5 7.92826 12.1313 8.8185 11.4749 9.47487C10.8185 10.1313 9.92826 10.5 9 10.5C8.07174 10.5 7.1815 10.1313 6.52513 9.47487C5.86875 8.8185 5.5 7.92826 5.5 7C5.5 6.07174 5.86875 5.1815 6.52513 4.52513C7.1815 3.86875 8.07174 3.5 9 3.5ZM2 21V19C2 17.6739 2.52678 16.4021 3.46447 15.4645C4.40215 14.5268 5.67392 14 7 14H11C12.3261 14 13.5979 14.5268 14.5355 15.4645C15.4732 16.4021 16 17.6739 16 19V21H2Z\" fill={color}/>\n <path d=\"M9 3.5C9.92826 3.5 10.8185 3.86875 11.4749 4.52513C12.1313 5.1815 12.5 6.07174 12.5 7C12.5 7.92826 12.1313 8.8185 11.4749 9.47487C10.8185 10.1313 9.92826 10.5 9 10.5C8.07174 10.5 7.1815 10.1313 6.52513 9.47487C5.86875 8.8185 5.5 7.92826 5.5 7C5.5 6.07174 5.86875 5.1815 6.52513 4.52513C7.1815 3.86875 8.07174 3.5 9 3.5ZM2 21V19C2 17.6739 2.52678 16.4021 3.46447 15.4645C4.40215 14.5268 5.67392 14 7 14H11C12.3261 14 13.5979 14.5268 14.5355 15.4645C15.4732 16.4021 16 17.6739 16 19V21H2Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M17 4.29999C17.7614 4.486 18.4383 4.92218 18.9223 5.53866C19.4063 6.15513 19.6693 6.91622 19.6693 7.69999C19.6693 8.48375 19.4063 9.24484 18.9223 9.86132C18.4383 10.4778 17.7614 10.914 17 11.1\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M18 14.2C19.1127 14.4269 20.1151 15.0259 20.8421 15.8983C21.5691 16.7707 21.9775 17.8646 22 19V21\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default ConnectionsFilledIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:o="currentColor",size:r=24,strokeWidth:t=0,absoluteStrokeWidth:n,...s}){return jsxs("svg",{fill:"none",height:r,stroke:o,strokeWidth:n?Number(t)*24/Number(r):t,viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg",...s,children:[jsx("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M20 20L15.7 15.7",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var p=i;
2
- export{p as a};//# sourceMappingURL=chunk-ENGI3W2J.js.map
3
- //# sourceMappingURL=chunk-ENGI3W2J.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/search-icon.tsx"],"names":["SearchIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","search_icon_default"],"mappings":"yCAIA,SAASA,CAAAA,CAAW,CAClB,KAAA,CAAAC,CAAAA,CAAQ,eACR,IAAA,CAAAC,CAAAA,CAAO,GACP,WAAA,CAAAC,CAAAA,CAAc,EACd,mBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,EAAc,CACZ,OACEC,IAAAA,CAAC,KAAA,CAAA,CACC,KAAK,MAAA,CACL,MAAA,CAAQJ,CAAAA,CACR,MAAA,CAAQD,EACR,WAAA,CAAaG,CAAAA,CAAuB,OAAOD,CAAW,CAAA,CAAI,GAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,QAAQ,WAAA,CACR,KAAA,CAAOD,CAAAA,CACP,KAAA,CAAM,6BACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,GAAAA,CAAC,QAAK,CAAA,CAAE,+GAAA,CAAgH,OAAQN,CAAAA,CAAO,WAAA,CAAY,IAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,EACnMM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,kBAAA,CAAmB,OAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,GACxG,CAEJ,KAEOO,CAAAA,CAAQR","file":"chunk-ENGI3W2J.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction SearchIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M20 20L15.7 15.7\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default SearchIcon;\n"]}
@@ -1,2 +0,0 @@
1
- import {a as a$2}from'./chunk-PC5CKARI.js';import {a,b,c}from'./chunk-NGSCUYDU.js';import {b as b$1}from'./chunk-DIXFDLPZ.js';import {a as a$1}from'./chunk-2ECH6S6R.js';import*as t from'react';import {useControlledState}from'@xploreu/hooks/use-controlled-state';import {format}from'date-fns';import {ChevronDown}from'lucide-react';import'react-day-picker';import {cn}from'@xploreu/lib/cn';import {jsxs,jsx}from'react/jsx-runtime';function E({className:h,value:x,onValueChange:o,defaultValue:y,required:n,disabled:i,placeholder:v="Pick a date",disabledDates:P,dateFormat:C="LLL dd, y",...D}){let k=t.useCallback(e=>{n?e&&o?.(e):o?.(e);},[o,n]),[r,w]=useControlledState({value:x,defaultValue:y,onChange:k}),[N,M]=t.useState(r||new Date),[S,l]=t.useState(false),d=!!r;return jsxs(a,{open:i?false:S,onOpenChange:l,children:[jsx(b,{className:"w-full",render:jsxs(b$1,{className:cn("group h-9 w-full justify-between rounded-xp-card-base border px-3 text-body-medium-3 transition-colors","border-border-primary bg-bg-primary text-text-secondary hover:bg-bg-primary-hover",d&&"border-border-brand bg-bg-brand-primary text-text-brand-secondary","data-[popup-open]:border-border-brand data-[popup-open]:bg-bg-brand-primary data-[popup-open]:text-text-brand-secondary","disabled:pointer-events-none disabled:opacity-50",h),variant:null,size:null,disabled:i,children:[jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[jsx(a$1,{className:cn("size-4 shrink-0",d?"text-fg-brand-primary":"text-fg-quaternary")}),jsx("span",{className:"truncate",children:r?format(r,C):v})]}),jsx(ChevronDown,{className:cn("size-4 shrink-0 transition-transform group-data-[popup-open]:rotate-180",d?"text-fg-brand-primary":"text-fg-quaternary")})]})}),jsx(c,{className:"w-auto border-0 rounded-[20px] p-xp-none bg-transparent",style:{background:"linear-gradient(180deg, rgba(46, 51, 90, 0) 0%, rgba(28, 27, 51, 0.04) 100%), radial-gradient(146.13% 118.42% at 50% -15.5%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 99.59%)",backdropFilter:"blur(20px)",boxShadow:"0px 30px 60px 0px #0000001A"},children:jsx(a$2,{autoFocus:true,disabled:P,mode:"single",month:N,selected:r,onMonthChange:M,onSelect:e=>{n&&!e||(w(e),l(false));},...D})})]})}export{E as a};//# sourceMappingURL=chunk-EXNOSFZ7.js.map
2
- //# sourceMappingURL=chunk-EXNOSFZ7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/ui/date-picker.tsx"],"names":["DatePicker","className","valueProp","onValueChange","defaultValue","required","disabled","placeholder","disabledDates","dateFormat","props","handleValueChange","val","value","setValue","useControlledState","currentMonth","setCurrentMonth","isOpen","setIsOpen","hasValue","jsxs","Popover","jsx","PopoverTrigger","Button","cn","calendar_icon_default","format","ChevronDown","PopoverPopup","Calendar"],"mappings":"8aAiCA,SAASA,EAAW,CAClB,SAAA,CAAAC,CAAAA,CACA,KAAA,CAAOC,CAAAA,CACP,aAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,EAAc,aAAA,CACd,aAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CAAa,WAAA,CACb,GAAGC,CACL,CAAA,CAAoB,CAClB,IAAMC,CAAAA,CAA0B,CAAA,CAAA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A,CAAQe,MAAAA,CAAOf,CAAAA,CAAOJ,CAAU,CAAA,CAAIF,CAAAA,CACvC,CAAA,CAAA,CACF,CAAA,CACAgB,GAAAA,CAACM,WAAAA,CAAA,CACC,UAAWH,EAAAA,CACT,yEAAA,CACAN,CAAAA,CAAW,uBAAA,CAA0B,oBACvC,CAAA,CACF,GACF,CAAA,CAEJ,CAAA,CACAG,GAAAA,CAACO,CAAAA,CAAA,CACC,SAAA,CAAU,0DACV,KAAA,CAAO,CACL,UAAA,CACE,2LAAA,CACF,cAAA,CAAgB,YAAA,CAChB,SAAA,CAAW,6BACb,CAAA,CAEA,QAAA,CAAAP,GAAAA,CAACQ,GAAAA,CAAA,CACC,SAAA,CAAS,KACT,QAAA,CAAUvB,CAAAA,CACV,IAAA,CAAK,QAAA,CACL,KAAA,CAAOQ,CAAAA,CACP,QAAA,CAAUH,CAAAA,CACV,aAAA,CAAeI,CAAAA,CACf,QAAA,CAAWL,CAAAA,EAAQ,CACbP,CAAAA,EAAY,CAACO,CAAAA,GACjBE,CAAAA,CAASF,CAAG,CAAA,CACZO,CAAAA,CAAU,KAAK,CAAA,EACjB,CAAA,CACC,GAAGT,CAAAA,CACN,CAAA,CACF,CAAA,CAAA,CACF,CAEJ","file":"chunk-EXNOSFZ7.js","sourcesContent":["\"use client\"\r\n\r\nimport * as React from \"react\"\r\n\r\nimport { useControlledState } from \"@xploreu/hooks/use-controlled-state\"\r\nimport { format } from \"date-fns\"\r\nimport { ChevronDown } from \"lucide-react\"\r\nimport { type Matcher } from \"react-day-picker\"\r\n\r\nimport { cn } from \"@xploreu/lib/cn\"\r\n\r\nimport { CalendarIcon } from \"../icons\"\r\nimport { Button } from \"./button\"\r\nimport { Calendar, type CalendarProps } from \"./calendar\"\r\nimport { Popover, PopoverPopup, PopoverTrigger } from \"./popover\"\r\n\r\nexport type DatePickerProps = {\r\n className?: string\r\n value?: Date\r\n defaultValue?: Date\r\n required?: boolean\r\n disabled?: boolean\r\n placeholder?: string\r\n disabledDates?: Matcher | Matcher[] | undefined\r\n dateFormat?: string\r\n} & ({\r\n required: true\r\n onValueChange?: (value: Date) => void\r\n} | {\r\n required?: false\r\n onValueChange?: (value: Date | undefined) => void\r\n}) & Omit<CalendarProps, \"mode\" | \"selected\" | \"onSelect\" | \"month\" | \"onMonthChange\">\r\n\r\nfunction DatePicker({\r\n className,\r\n value: valueProp,\r\n onValueChange,\r\n defaultValue,\r\n required,\r\n disabled,\r\n placeholder = \"Pick a date\",\r\n disabledDates,\r\n dateFormat = \"LLL dd, y\",\r\n ...props\r\n}: DatePickerProps) {\r\n const handleValueChange = React.useCallback(\r\n (val: Date | undefined) => {\r\n if (required) {\r\n if (val) onValueChange?.(val)\r\n } else {\r\n onValueChange?.(val)\r\n }\r\n },\r\n [onValueChange, required],\r\n )\r\n\r\n const [value, setValue] = useControlledState<Date | undefined>({\r\n value: valueProp,\r\n defaultValue,\r\n onChange: handleValueChange,\r\n })\r\n\r\n const [currentMonth, setCurrentMonth] = React.useState<Date | undefined>(value || new Date())\r\n const [isOpen, setIsOpen] = React.useState(false)\r\n\r\n const hasValue = !!value\r\n\r\n return (\r\n <Popover open={disabled ? false : isOpen} onOpenChange={setIsOpen}>\r\n <PopoverTrigger\r\n className=\"w-full\"\r\n render={\r\n <Button\r\n className={cn(\r\n \"group h-9 w-full justify-between rounded-xp-card-base border px-3 text-body-medium-3 transition-colors\",\r\n \"border-border-primary bg-bg-primary text-text-secondary hover:bg-bg-primary-hover\",\r\n hasValue &&\r\n \"border-border-brand bg-bg-brand-primary text-text-brand-secondary\",\r\n \"data-[popup-open]:border-border-brand data-[popup-open]:bg-bg-brand-primary data-[popup-open]:text-text-brand-secondary\",\r\n \"disabled:pointer-events-none disabled:opacity-50\",\r\n className,\r\n )}\r\n variant={null}\r\n size={null}\r\n disabled={disabled}\r\n >\r\n <span className=\"flex min-w-0 items-center gap-2\">\r\n <CalendarIcon\r\n className={cn(\r\n \"size-4 shrink-0\",\r\n hasValue ? \"text-fg-brand-primary\" : \"text-fg-quaternary\",\r\n )}\r\n />\r\n <span className=\"truncate\">\r\n {value ? format(value, dateFormat) : placeholder}\r\n </span>\r\n </span>\r\n <ChevronDown\r\n className={cn(\r\n \"size-4 shrink-0 transition-transform group-data-[popup-open]:rotate-180\",\r\n hasValue ? \"text-fg-brand-primary\" : \"text-fg-quaternary\",\r\n )}\r\n />\r\n </Button>\r\n }\r\n />\r\n <PopoverPopup\r\n className=\"w-auto border-0 rounded-[20px] p-xp-none bg-transparent\"\r\n style={{\r\n background:\r\n \"linear-gradient(180deg, rgba(46, 51, 90, 0) 0%, rgba(28, 27, 51, 0.04) 100%), radial-gradient(146.13% 118.42% at 50% -15.5%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 99.59%)\",\r\n backdropFilter: \"blur(20px)\",\r\n boxShadow: \"0px 30px 60px 0px #0000001A\",\r\n }}\r\n >\r\n <Calendar\r\n autoFocus\r\n disabled={disabledDates}\r\n mode=\"single\"\r\n month={currentMonth}\r\n selected={value}\r\n onMonthChange={setCurrentMonth}\r\n onSelect={(val) => {\r\n if (required && !val) return\r\n setValue(val)\r\n setIsOpen(false)\r\n }}\r\n {...props}\r\n />\r\n </PopoverPopup>\r\n </Popover>\r\n )\r\n}\r\n\r\nexport { DatePicker }\r\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:t="currentColor",size:o=24,strokeWidth:r=0,absoluteStrokeWidth:n,...s}){return jsxs("svg",{fill:"none",height:o,stroke:t,strokeWidth:n?Number(r)*24/Number(o):r,viewBox:"0 0 24 24",width:o,xmlns:"http://www.w3.org/2000/svg",...s,children:[jsx("path",{d:"M4 4H17C17.2652 4 17.5196 4.10536 17.7071 4.29289C17.8946 4.48043 18 4.73478 18 5V20C18 20.2652 18.1054 20.5196 18.2929 20.7071C18.4804 20.8946 18.7348 21 19 21H5C4.73478 21 4.48043 20.8946 4.29289 20.7071C4.10536 20.5196 4 20.2652 4 20V4Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M18 8H21C21.2652 8 21.5196 8.10536 21.7071 8.29289C21.8946 8.48043 22 8.73478 22 9V20C22 20.2652 21.8946 20.5196 21.7071 20.7071C21.5196 20.8946 21.2652 21 21 21H19",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M7 8H14",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M7 12H14",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M7 16H11",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var k=i;
2
- export{k as a};//# sourceMappingURL=chunk-GRDQGRR5.js.map
3
- //# sourceMappingURL=chunk-GRDQGRR5.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/news-icon.tsx"],"names":["NewsIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","news_icon_default"],"mappings":"yCAIA,SAASA,CAAAA,CAAS,CAChB,KAAA,CAAAC,CAAAA,CAAQ,cAAA,CACR,IAAA,CAAAC,CAAAA,CAAO,GACP,WAAA,CAAAC,CAAAA,CAAc,CAAA,CACd,mBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAAc,CACZ,OACEC,IAAAA,CAAC,KAAA,CAAA,CACC,IAAA,CAAK,MAAA,CACL,OAAQJ,CAAAA,CACR,MAAA,CAAQD,CAAAA,CACR,WAAA,CAAaG,CAAAA,CAAuB,MAAA,CAAOD,CAAW,CAAA,CAAI,EAAA,CAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,OAAA,CAAQ,WAAA,CACR,KAAA,CAAOD,CAAAA,CACP,KAAA,CAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,iPAAA,CAAkP,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,cAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CACrUM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,sKAAA,CAAuK,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CAC1PM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,SAAA,CAAU,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CAC7FM,IAAC,MAAA,CAAA,CAAK,CAAA,CAAE,UAAA,CAAW,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CAC9FM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,UAAA,CAAW,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CAAA,CAChG,CAEJ,CAEA,IAAOO,CAAAA,CAAQR","file":"chunk-GRDQGRR5.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction NewsIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M4 4H17C17.2652 4 17.5196 4.10536 17.7071 4.29289C17.8946 4.48043 18 4.73478 18 5V20C18 20.2652 18.1054 20.5196 18.2929 20.7071C18.4804 20.8946 18.7348 21 19 21H5C4.73478 21 4.48043 20.8946 4.29289 20.7071C4.10536 20.5196 4 20.2652 4 20V4Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M18 8H21C21.2652 8 21.5196 8.10536 21.7071 8.29289C21.8946 8.48043 22 8.73478 22 9V20C22 20.2652 21.8946 20.5196 21.7071 20.7071C21.5196 20.8946 21.2652 21 21 21H19\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M7 8H14\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M7 12H14\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M7 16H11\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default NewsIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:C="currentColor",size:o=24,strokeWidth:e=0,absoluteStrokeWidth:r,...n}){return jsxs("svg",{fill:"none",height:o,stroke:C,strokeWidth:r?Number(e)*24/Number(o):e,viewBox:"0 0 24 24",width:o,xmlns:"http://www.w3.org/2000/svg",...n,children:[jsx("path",{d:"M3 7H21C21.2652 7 21.5196 7.10536 21.7071 7.29289C21.8946 7.48043 22 7.73478 22 8V19C22 19.2652 21.8946 19.5196 21.7071 19.7071C21.5196 19.8946 21.2652 20 21 20H3C2.73478 20 2.48043 19.8946 2.29289 19.7071C2.10536 19.5196 2 19.2652 2 19V8C2 7.73478 2.10536 7.48043 2.29289 7.29289C2.48043 7.10536 2.73478 7 3 7Z",stroke:C,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M8 7V4C8 3.73478 8.10536 3.48043 8.29289 3.29289C8.48043 3.10536 8.73478 3 9 3H15C15.2652 3 15.5196 3.10536 15.7071 3.29289C15.8946 3.48043 16 3.73478 16 4V7",stroke:C,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M21 6.56445C21.2652 6.56445 21.5195 6.66989 21.707 6.85742C21.8946 7.04496 22 7.29924 22 7.56445V18.5645C22 18.8297 21.8946 19.0839 21.707 19.2715C21.5195 19.459 21.2652 19.5645 21 19.5645H3C2.73478 19.5645 2.48051 19.459 2.29297 19.2715C2.10543 19.0839 2 18.8297 2 18.5645V7.56445C2 7.29924 2.10543 7.04496 2.29297 6.85742C2.48051 6.66989 2.73478 6.56445 3 6.56445H21ZM11.999 10C11.7292 10.0001 11.4767 10.1687 11.3242 10.4502L10.5039 11.9658H3.81836C3.36649 11.9658 3 12.4296 3 13.001C3.0002 13.5721 3.36661 14.0352 3.81836 14.0352H10.5039L11.3242 15.5498C11.4767 15.8313 11.7292 15.9999 11.999 16C12.2691 16 12.5223 15.8316 12.6748 15.5498L13.4951 14.0352H20.1816C20.6334 14.0352 20.9998 13.5721 21 13.001C21 12.4296 20.6335 11.9658 20.1816 11.9658H13.4951L12.6748 10.4502C12.5223 10.1684 12.2691 10 11.999 10Z",fill:C})]})}var d=i;
2
- export{d as a};//# sourceMappingURL=chunk-GXUADJ4B.js.map
3
- //# sourceMappingURL=chunk-GXUADJ4B.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/xplore-jobs-filled-icon.tsx"],"names":["XploreJobsFilledIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","xplore_jobs_filled_icon_default"],"mappings":"yCAIA,SAASA,EAAqB,CAC5B,KAAA,CAAAC,CAAAA,CAAQ,cAAA,CACR,KAAAC,CAAAA,CAAO,EAAA,CACP,YAAAC,CAAAA,CAAc,CAAA,CACd,oBAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAAc,CACZ,OACEC,IAAAA,CAAC,OACC,IAAA,CAAK,MAAA,CACL,OAAQJ,CAAAA,CACR,MAAA,CAAQD,EACR,WAAA,CAAaG,CAAAA,CAAuB,OAAOD,CAAW,CAAA,CAAI,GAAM,MAAA,CAAOD,CAAI,EAAIC,CAAAA,CAC/E,OAAA,CAAQ,WAAA,CACR,KAAA,CAAOD,EACP,KAAA,CAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,IAAC,MAAA,CAAA,CAAK,CAAA,CAAE,0TAA0T,MAAA,CAAQN,CAAAA,CAAO,YAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,EAC7YM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,+JAAA,CAAgK,OAAQN,CAAAA,CAAO,WAAA,CAAY,IAAI,aAAA,CAAc,OAAA,CAAQ,eAAe,OAAA,CAAO,CAAA,CACnPM,IAAC,MAAA,CAAA,CAAK,CAAA,CAAE,gzBAAgzB,IAAA,CAAMN,CAAAA,CAAM,GACt0B,CAEJ,KAEOO,CAAAA,CAAQR","file":"chunk-GXUADJ4B.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction XploreJobsFilledIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M3 7H21C21.2652 7 21.5196 7.10536 21.7071 7.29289C21.8946 7.48043 22 7.73478 22 8V19C22 19.2652 21.8946 19.5196 21.7071 19.7071C21.5196 19.8946 21.2652 20 21 20H3C2.73478 20 2.48043 19.8946 2.29289 19.7071C2.10536 19.5196 2 19.2652 2 19V8C2 7.73478 2.10536 7.48043 2.29289 7.29289C2.48043 7.10536 2.73478 7 3 7Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M8 7V4C8 3.73478 8.10536 3.48043 8.29289 3.29289C8.48043 3.10536 8.73478 3 9 3H15C15.2652 3 15.5196 3.10536 15.7071 3.29289C15.8946 3.48043 16 3.73478 16 4V7\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M21 6.56445C21.2652 6.56445 21.5195 6.66989 21.707 6.85742C21.8946 7.04496 22 7.29924 22 7.56445V18.5645C22 18.8297 21.8946 19.0839 21.707 19.2715C21.5195 19.459 21.2652 19.5645 21 19.5645H3C2.73478 19.5645 2.48051 19.459 2.29297 19.2715C2.10543 19.0839 2 18.8297 2 18.5645V7.56445C2 7.29924 2.10543 7.04496 2.29297 6.85742C2.48051 6.66989 2.73478 6.56445 3 6.56445H21ZM11.999 10C11.7292 10.0001 11.4767 10.1687 11.3242 10.4502L10.5039 11.9658H3.81836C3.36649 11.9658 3 12.4296 3 13.001C3.0002 13.5721 3.36661 14.0352 3.81836 14.0352H10.5039L11.3242 15.5498C11.4767 15.8313 11.7292 15.9999 11.999 16C12.2691 16 12.5223 15.8316 12.6748 15.5498L13.4951 14.0352H20.1816C20.6334 14.0352 20.9998 13.5721 21 13.001C21 12.4296 20.6335 11.9658 20.1816 11.9658H13.4951L12.6748 10.4502C12.5223 10.1684 12.2691 10 11.999 10Z\" fill={color}/>\n </svg>\n );\n}\n\nexport default XploreJobsFilledIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:o="currentColor",size:e=24,strokeWidth:r=0,absoluteStrokeWidth:n,...s}){return jsxs("svg",{fill:"none",height:e,stroke:o,strokeWidth:n?Number(r)*24/Number(e):r,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...s,children:[jsx("path",{d:"M3 7H21C21.2652 7 21.5196 7.10536 21.7071 7.29289C21.8946 7.48043 22 7.73478 22 8V19C22 19.2652 21.8946 19.5196 21.7071 19.7071C21.5196 19.8946 21.2652 20 21 20H3C2.73478 20 2.48043 19.8946 2.29289 19.7071C2.10536 19.5196 2 19.2652 2 19V8C2 7.73478 2.10536 7.48043 2.29289 7.29289C2.48043 7.10536 2.73478 7 3 7Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M8 7V4C8 3.73478 8.10536 3.48043 8.29289 3.29289C8.48043 3.10536 8.73478 3 9 3H15C15.2652 3 15.5196 3.10536 15.7071 3.29289C15.8946 3.48043 16 3.73478 16 4V7",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M2 13H22",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M11.9992 11.0996L13.2992 12.9996L11.9992 14.8996L10.6992 12.9996L11.9992 11.0996Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var k=i;
2
- export{k as a};//# sourceMappingURL=chunk-HYLGVWY7.js.map
3
- //# sourceMappingURL=chunk-HYLGVWY7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/xplore-jobs-icon.tsx"],"names":["XploreJobsIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","xplore_jobs_icon_default"],"mappings":"yCAIA,SAASA,CAAAA,CAAe,CACtB,KAAA,CAAAC,CAAAA,CAAQ,cAAA,CACR,KAAAC,CAAAA,CAAO,EAAA,CACP,WAAA,CAAAC,CAAAA,CAAc,CAAA,CACd,mBAAA,CAAAC,EACA,GAAGC,CACL,CAAA,CAAc,CACZ,OACEC,IAAAA,CAAC,OACC,IAAA,CAAK,MAAA,CACL,MAAA,CAAQJ,CAAAA,CACR,MAAA,CAAQD,CAAAA,CACR,YAAaG,CAAAA,CAAuB,MAAA,CAAOD,CAAW,CAAA,CAAI,EAAA,CAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,OAAA,CAAQ,WAAA,CACR,KAAA,CAAOD,CAAAA,CACP,MAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,GAAAA,CAAC,MAAA,CAAA,CAAK,EAAE,yTAAA,CAA0T,MAAA,CAAQN,EAAO,WAAA,CAAY,GAAA,CAAI,cAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CAC7YM,GAAAA,CAAC,MAAA,CAAA,CAAK,EAAE,+JAAA,CAAgK,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CACnPM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,WAAW,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,eAAe,OAAA,CAAO,CAAA,CAC9FM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,mFAAA,CAAoF,OAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,QAAO,CAAA,CAAA,CACzK,CAEJ,CAEA,IAAOO,CAAAA,CAAQR","file":"chunk-HYLGVWY7.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction XploreJobsIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M3 7H21C21.2652 7 21.5196 7.10536 21.7071 7.29289C21.8946 7.48043 22 7.73478 22 8V19C22 19.2652 21.8946 19.5196 21.7071 19.7071C21.5196 19.8946 21.2652 20 21 20H3C2.73478 20 2.48043 19.8946 2.29289 19.7071C2.10536 19.5196 2 19.2652 2 19V8C2 7.73478 2.10536 7.48043 2.29289 7.29289C2.48043 7.10536 2.73478 7 3 7Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M8 7V4C8 3.73478 8.10536 3.48043 8.29289 3.29289C8.48043 3.10536 8.73478 3 9 3H15C15.2652 3 15.5196 3.10536 15.7071 3.29289C15.8946 3.48043 16 3.73478 16 4V7\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M2 13H22\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M11.9992 11.0996L13.2992 12.9996L11.9992 14.8996L10.6992 12.9996L11.9992 11.0996Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default XploreJobsIcon;\n"]}
@@ -1,2 +0,0 @@
1
- import {a as a$2}from'./chunk-PC5CKARI.js';import {a,b,c}from'./chunk-NGSCUYDU.js';import {b as b$1}from'./chunk-DIXFDLPZ.js';import {a as a$1}from'./chunk-2ECH6S6R.js';import u from'react';import {useControlledState}from'@xploreu/hooks/use-controlled-state';import {format,endOfWeek,startOfWeek,endOfMonth,startOfMonth,subMonths,endOfYear,startOfYear,subYears}from'date-fns';import {ChevronDown}from'lucide-react';import'react-day-picker';import {cn}from'@xploreu/lib/cn';import {jsxs,jsx}from'react/jsx-runtime';var N=[{label:"Today",value:"today",getDateRange:()=>{let e=new Date;return {from:e,to:e}}},{value:"last-7-days",label:"Last 7 days",getDateRange:()=>({from:new Date(Date.now()-8640*60*1e3),to:new Date})},{label:"This Week",value:"this-week",getDateRange:()=>{let e=new Date;return {from:startOfWeek(e,{weekStartsOn:1}),to:endOfWeek(e,{weekStartsOn:1})}}},{label:"This Month",value:"this-month",getDateRange:()=>{let e=new Date;return {from:startOfMonth(e),to:endOfMonth(e)}}},{label:"Last 3 Months",value:"last-3-months",getDateRange:()=>{let e=new Date;return {from:subMonths(e,3),to:e}}},{label:"Last 6 Months",value:"last-6-months",getDateRange:()=>{let e=new Date;return {from:subMonths(e,6),to:e}}},{label:"This Year",value:"this-year",getDateRange:()=>{let e=new Date;return {from:startOfYear(e),to:endOfYear(e)}}},{label:"Last Year",value:"last-year",getDateRange:()=>{let e=subYears(new Date,1);return {from:startOfYear(e),to:endOfYear(e)}}},{label:"Custom Range",value:"custom-range",getDateRange:()=>{}}];function ne({className:e,value:P,onValueChange:p,defaultValue:V,required:d,disabled:b$2,placeholder:S="Pick a date",options:D=true,disabledDates:Y}){let T=u.useCallback(t=>{p?.(t);},[p,d]),[a$3,v]=useControlledState({value:P,defaultValue:V,onChange:T}),[q,h]=u.useState(a$3?.from||new Date),[z,B]=u.useState(false),[F,y]=u.useState("days"),f=!!a$3?.from,s=(t,n)=>!t||!n?false:t.getFullYear()===n.getFullYear()&&t.getMonth()===n.getMonth()&&t.getDate()===n.getDate(),W=t=>{if(!a$3?.from||!a$3?.to)return false;if(t.value==="custom-range")return N.every(o=>{if(o.value==="custom-range")return true;let l=o.getDateRange();return !l?.from||!l?.to?true:!(s(a$3.from,l.from)&&s(a$3.to,l.to))});let n=t.getDateRange();return !n?.from||!n?.to?false:s(a$3.from,n.from)&&s(a$3.to,n.to)};return jsxs(a,{open:b$2?false:z,onOpenChange:B,children:[jsx(b,{render:jsxs(b$1,{className:cn("group h-9 w-full justify-between rounded-xp-card-base border px-3 text-body-medium-3 transition-colors","border-border-primary bg-bg-primary text-text-secondary hover:bg-bg-primary-hover",f&&"border-border-brand bg-bg-brand-primary text-text-brand-secondary","data-[popup-open]:border-border-brand data-[popup-open]:bg-bg-brand-primary data-[popup-open]:text-text-brand-secondary","disabled:pointer-events-none disabled:opacity-50",e),variant:null,size:null,disabled:b$2,children:[jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[jsx(a$1,{className:cn("size-4 shrink-0",f?"text-fg-brand-primary":"text-fg-quaternary")}),jsx("span",{className:"truncate",children:a$3?.from?a$3.to?`${format(a$3.from,"LLL dd, y")} - ${format(a$3.to,"LLL dd, y")}`:format(a$3.from,"LLL dd, y"):S})]}),jsx(ChevronDown,{className:cn("size-4 shrink-0 transition-transform group-data-[popup-open]:rotate-180",f?"text-fg-brand-primary":"text-fg-quaternary")})]})}),jsxs(c,{className:cn("w-auto border-0",D?"rounded-2xl p-xp-lg flex gap-6":"p-xp-none bg-transparent"),children:[D&&jsx("div",{className:"flex flex-col gap-xp-md w-[135px]",children:N.map(t=>{let n=W(t);return jsx(b$1,{className:"justify-start px-xp-xl",variant:n?"tertiary-accent":null,onClick:()=>{let o=t.getDateRange();o&&(v(o),y("days"),h(o.from));},children:t.label},t.value)})}),jsx(a$2,{autoFocus:true,disabled:Y,mode:"range",month:q,navView:F,numberOfMonths:2,selected:a$3,onMonthChange:h,onNavViewChange:y,onSelect:t=>{d&&!t||v(t);}})]})]})}export{ne as a};//# sourceMappingURL=chunk-I3A5MC57.js.map
2
- //# sourceMappingURL=chunk-I3A5MC57.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/ui/date-range-picker.tsx"],"names":["dateRangeOptions","t","now","startOfWeek","endOfWeek","startOfMonth","endOfMonth","subMonths","startOfYear","endOfYear","ly","subYears","DateRangePicker","className","valueProp","onValueChangeProp","defaultValue","required","disabled","placeholder","options","disabledDates","onValueChange","React","value","setValue","useControlledState","currentMonth","setCurrentMonth","isOpen","setIsOpen","navView","setNavView","hasValue","isSameDay","date1","date2","isOptionActive","option","opt","optRange","optionRange","jsxs","Popover","jsx","PopoverTrigger","Button","cn","calendar_icon_default","format","ChevronDown","PopoverPopup","active","dateRange","Calendar","val"],"mappings":"kgBAmDA,IAAMA,CAAAA,CAAsC,CAC1C,CACE,KAAA,CAAO,OAAA,CACP,KAAA,C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A,CAAAA,EACCwB,GAAAA,CAAC,OAAI,SAAA,CAAU,mCAAA,CACZ,SAAA5C,CAAAA,CAAiB,GAAA,CAAKsC,CAAAA,EAAW,CAChC,IAAMc,CAAAA,CAASf,CAAAA,CAAeC,CAAM,CAAA,CACpC,OACEM,GAAAA,CAACE,GAAAA,CAAA,CAEC,SAAA,CAAU,yBACV,OAAA,CAASM,CAAAA,CAAS,iBAAA,CAAoB,IAAA,CACtC,QAAS,IAAM,CACb,IAAMC,CAAAA,CAAYf,EAAO,YAAA,EAAa,CAClCe,CAAAA,GACF5B,CAAAA,CAAS4B,CAAS,CAAA,CAClBrB,CAAAA,CAAW,MAAM,CAAA,CACjBJ,EAAgByB,CAAAA,CAAU,IAAI,CAAA,EAElC,CAAA,CAEC,SAAAf,CAAAA,CAAO,KAAA,CAAA,CAZHA,CAAAA,CAAO,KAad,CAEJ,CAAC,CAAA,CACH,CAAA,CAEFM,GAAAA,CAACU,IAAA,CACC,SAAA,CAAS,IAAA,CACT,QAAA,CAAUjC,EACV,IAAA,CAAK,OAAA,CACL,KAAA,CAAOM,CAAAA,CACP,QAASI,CAAAA,CACT,cAAA,CAAgB,CAAA,CAChB,QAAA,CAAUP,IACV,aAAA,CAAeI,CAAAA,CACf,eAAA,CAAiBI,CAAAA,CACjB,SAAWuB,CAAAA,EAAQ,CACbtC,CAAAA,EAAY,CAACsC,GACjB9B,CAAAA,CAAS8B,CAAG,EACd,CAAA,CACF,CAAA,CAAA,CACF,GACF,CAEJ","file":"chunk-I3A5MC57.js","sourcesContent":["\"use client\"\r\n\r\nimport React from \"react\"\r\n\r\nimport { useControlledState } from \"@xploreu/hooks/use-controlled-state\"\r\nimport {\r\n endOfMonth,\r\n endOfWeek,\r\n endOfYear,\r\n format,\r\n startOfMonth,\r\n startOfWeek,\r\n startOfYear,\r\n subMonths,\r\n subYears,\r\n} from \"date-fns\"\r\nimport { ChevronDown } from \"lucide-react\"\r\nimport { type DateRange, type Matcher } from \"react-day-picker\"\r\n\r\nexport type { DateRange }\r\n\r\nimport { cn } from \"@xploreu/lib/cn\"\r\n\r\nimport { Button } from \"./button\"\r\nimport { Calendar, type NavView } from \"./calendar\"\r\nimport { CalendarIcon } from \"../icons\"\r\nimport { Popover, PopoverPopup, PopoverTrigger } from \"./popover\"\r\n\r\nexport type DateRangePickerProps = {\r\n className?: string\r\n value?: DateRange\r\n defaultValue?: DateRange\r\n required?: boolean\r\n disabled?: boolean\r\n placeholder?: string\r\n options?: boolean\r\n disabledDates?: Matcher | Matcher[] | undefined\r\n} & ({\r\n required: true\r\n onValueChange?: (value: DateRange) => void\r\n} | {\r\n required?: false\r\n onValueChange?: (value: DateRange | undefined) => void\r\n})\r\n\r\ntype DateRangeOption = {\r\n label: string\r\n value: string\r\n getDateRange: () => DateRange | undefined\r\n}\r\n\r\nconst dateRangeOptions: DateRangeOption[] = [\r\n {\r\n label: \"Today\",\r\n value: \"today\",\r\n getDateRange: () => { const t = new Date(); return { from: t, to: t } },\r\n },\r\n {\r\n value: \"last-7-days\",\r\n label: \"Last 7 days\",\r\n getDateRange: () => ({\r\n from: new Date(Date.now() - 6 * 24 * 60 * 60 * 1000), // 6 days in milliseconds\r\n to: new Date(),\r\n }),\r\n },\r\n {\r\n label: \"This Week\",\r\n value: \"this-week\",\r\n getDateRange: () => {\r\n const now = new Date()\r\n return { from: startOfWeek(now, { weekStartsOn: 1 }), to: endOfWeek(now, { weekStartsOn: 1 }) }\r\n },\r\n },\r\n {\r\n label: \"This Month\",\r\n value: \"this-month\",\r\n getDateRange: () => { const now = new Date(); return { from: startOfMonth(now), to: endOfMonth(now) } },\r\n },\r\n {\r\n label: \"Last 3 Months\",\r\n value: \"last-3-months\",\r\n getDateRange: () => { const now = new Date(); return { from: subMonths(now, 3), to: now } },\r\n },\r\n {\r\n label: \"Last 6 Months\",\r\n value: \"last-6-months\",\r\n getDateRange: () => { const now = new Date(); return { from: subMonths(now, 6), to: now } },\r\n },\r\n {\r\n label: \"This Year\",\r\n value: \"this-year\",\r\n getDateRange: () => { const now = new Date(); return { from: startOfYear(now), to: endOfYear(now) } },\r\n },\r\n {\r\n label: \"Last Year\",\r\n value: \"last-year\",\r\n getDateRange: () => { const ly = subYears(new Date(), 1); return { from: startOfYear(ly), to: endOfYear(ly) } },\r\n },\r\n {\r\n label: \"Custom Range\",\r\n value: \"custom-range\",\r\n getDateRange: () => undefined,\r\n },\r\n]\r\n\r\nfunction DateRangePicker({\r\n className,\r\n value: valueProp,\r\n onValueChange: onValueChangeProp,\r\n defaultValue,\r\n required,\r\n disabled,\r\n placeholder = \"Pick a date\",\r\n options = true,\r\n disabledDates,\r\n}: DateRangePickerProps) {\r\n const onValueChange = React.useCallback(\r\n (value: DateRange | undefined) => {\r\n if (required) onValueChangeProp?.(value as DateRange)\r\n else onValueChangeProp?.(value)\r\n },\r\n [onValueChangeProp, required],\r\n )\r\n\r\n const [value, setValue] = useControlledState<DateRange | undefined>({\r\n value: valueProp,\r\n defaultValue,\r\n onChange: onValueChange,\r\n })\r\n\r\n const [currentMonth, setCurrentMonth] = React.useState<Date | undefined>(value?.from || new Date())\r\n const [isOpen, setIsOpen] = React.useState(false)\r\n const [navView, setNavView] = React.useState<NavView>(\"days\")\r\n\r\n const hasValue = !!value?.from\r\n\r\n const isSameDay = (date1?: Date, date2?: Date): boolean => {\r\n if (!date1 || !date2) return false\r\n return (\r\n date1.getFullYear() === date2.getFullYear() &&\r\n date1.getMonth() === date2.getMonth() &&\r\n date1.getDate() === date2.getDate()\r\n )\r\n }\r\n\r\n const isOptionActive = (option: DateRangeOption): boolean => {\r\n if (!value?.from || !value?.to) return false\r\n if (option.value === \"custom-range\") {\r\n return dateRangeOptions.every((opt) => {\r\n if (opt.value === \"custom-range\") return true\r\n const optRange = opt.getDateRange()\r\n if (!optRange?.from || !optRange?.to) return true\r\n return !(isSameDay(value.from, optRange.from) && isSameDay(value.to, optRange.to))\r\n })\r\n }\r\n const optionRange = option.getDateRange()\r\n if (!optionRange?.from || !optionRange?.to) return false\r\n return isSameDay(value.from, optionRange.from) && isSameDay(value.to, optionRange.to)\r\n }\r\n\r\n return (\r\n <Popover open={disabled ? false : isOpen} onOpenChange={setIsOpen}>\r\n <PopoverTrigger\r\n render={\r\n <Button\r\n className={cn(\r\n \"group h-9 w-full justify-between rounded-xp-card-base border px-3 text-body-medium-3 transition-colors\",\r\n \"border-border-primary bg-bg-primary text-text-secondary hover:bg-bg-primary-hover\",\r\n hasValue &&\r\n \"border-border-brand bg-bg-brand-primary text-text-brand-secondary\",\r\n \"data-[popup-open]:border-border-brand data-[popup-open]:bg-bg-brand-primary data-[popup-open]:text-text-brand-secondary\",\r\n \"disabled:pointer-events-none disabled:opacity-50\",\r\n className,\r\n )}\r\n variant={null}\r\n size={null}\r\n disabled={disabled}\r\n >\r\n <span className=\"flex min-w-0 items-center gap-2\">\r\n <CalendarIcon\r\n className={cn(\r\n \"size-4 shrink-0\",\r\n hasValue ? \"text-fg-brand-primary\" : \"text-fg-quaternary\",\r\n )}\r\n />\r\n <span className=\"truncate\">\r\n {value?.from\r\n ? value.to\r\n ? `${format(value.from, \"LLL dd, y\")} - ${format(value.to, \"LLL dd, y\")}`\r\n : format(value.from, \"LLL dd, y\")\r\n : placeholder}\r\n </span>\r\n </span>\r\n <ChevronDown\r\n className={cn(\r\n \"size-4 shrink-0 transition-transform group-data-[popup-open]:rotate-180\",\r\n hasValue ? \"text-fg-brand-primary\" : \"text-fg-quaternary\",\r\n )}\r\n />\r\n </Button>\r\n }\r\n />\r\n <PopoverPopup\r\n className={cn(\r\n \"w-auto border-0\",\r\n options ? \"rounded-2xl p-xp-lg flex gap-6\" : \"p-xp-none bg-transparent\",\r\n )}\r\n >\r\n {options && (\r\n <div className=\"flex flex-col gap-xp-md w-[135px]\">\r\n {dateRangeOptions.map((option) => {\r\n const active = isOptionActive(option)\r\n return (\r\n <Button\r\n key={option.value}\r\n className=\"justify-start px-xp-xl\"\r\n variant={active ? \"tertiary-accent\" : null}\r\n onClick={() => {\r\n const dateRange = option.getDateRange()\r\n if (dateRange) {\r\n setValue(dateRange)\r\n setNavView(\"days\")\r\n setCurrentMonth(dateRange.from)\r\n }\r\n }}\r\n >\r\n {option.label}\r\n </Button>\r\n )\r\n })}\r\n </div>\r\n )}\r\n <Calendar\r\n autoFocus\r\n disabled={disabledDates}\r\n mode=\"range\"\r\n month={currentMonth}\r\n navView={navView}\r\n numberOfMonths={2}\r\n selected={value}\r\n onMonthChange={setCurrentMonth}\r\n onNavViewChange={setNavView}\r\n onSelect={(val) => {\r\n if (required && !val) return\r\n setValue(val)\r\n }}\r\n />\r\n </PopoverPopup>\r\n </Popover>\r\n )\r\n}\r\n\r\nexport { DateRangePicker }\r\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:o="currentColor",size:t=24,strokeWidth:e=0,absoluteStrokeWidth:n,...s}){return jsxs("svg",{fill:"none",height:t,stroke:o,strokeWidth:n?Number(e)*24/Number(t):e,viewBox:"0 0 24 24",width:t,xmlns:"http://www.w3.org/2000/svg",...s,children:[jsx("path",{d:"M3 10.2L12 3L21 10.2V20C21 20.2652 20.8946 20.5196 20.7071 20.7071C20.5196 20.8946 20.2652 21 20 21H4C3.73478 21 3.48043 20.8946 3.29289 20.7071C3.10536 20.5196 3 20.2652 3 20V10.2Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M9.5 21V14.5H14.5V21",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var p=i;
2
- export{p as a};//# sourceMappingURL=chunk-KXQHQVD5.js.map
3
- //# sourceMappingURL=chunk-KXQHQVD5.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/home-icon.tsx"],"names":["HomeIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","home_icon_default"],"mappings":"yCAIA,SAASA,CAAAA,CAAS,CAChB,KAAA,CAAAC,CAAAA,CAAQ,eACR,IAAA,CAAAC,CAAAA,CAAO,GACP,WAAA,CAAAC,CAAAA,CAAc,EACd,mBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,EAAc,CACZ,OACEC,IAAAA,CAAC,KAAA,CAAA,CACC,KAAK,MAAA,CACL,MAAA,CAAQJ,CAAAA,CACR,MAAA,CAAQD,EACR,WAAA,CAAaG,CAAAA,CAAuB,OAAOD,CAAW,CAAA,CAAI,GAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,QAAQ,WAAA,CACR,KAAA,CAAOD,CAAAA,CACP,KAAA,CAAM,6BACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,GAAAA,CAAC,QAAK,CAAA,CAAE,uLAAA,CAAwL,OAAQN,CAAAA,CAAO,WAAA,CAAY,IAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,EAC3QM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,sBAAA,CAAuB,OAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,GAC5G,CAEJ,KAEOO,CAAAA,CAAQR","file":"chunk-KXQHQVD5.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction HomeIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M3 10.2L12 3L21 10.2V20C21 20.2652 20.8946 20.5196 20.7071 20.7071C20.5196 20.8946 20.2652 21 20 21H4C3.73478 21 3.48043 20.8946 3.29289 20.7071C3.10536 20.5196 3 20.2652 3 20V10.2Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M9.5 21V14.5H14.5V21\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default HomeIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function s({color:o="currentColor",size:t=24,strokeWidth:r=0,absoluteStrokeWidth:n,...i}){return jsxs("svg",{fill:"none",height:t,stroke:o,strokeWidth:n?Number(r)*24/Number(t):r,viewBox:"0 0 24 24",width:t,xmlns:"http://www.w3.org/2000/svg",...i,children:[jsx("path",{d:"M18 8C18 6.4087 17.3679 4.88258 16.2426 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.88258 2.63214 7.75736 3.75736C6.63214 4.88258 6 6.4087 6 8C6 15 3 17 3 17H21C21 17 18 15 18 8Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M13.7 21C13.5206 21.2894 13.2703 21.5283 12.9729 21.6939C12.6754 21.8595 12.3405 21.9464 12 21.9464C11.6595 21.9464 11.3247 21.8595 11.0272 21.6939C10.7297 21.5283 10.4794 21.2894 10.3 21",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var d=s;
2
- export{d as a};//# sourceMappingURL=chunk-OFIHBAUG.js.map
3
- //# sourceMappingURL=chunk-OFIHBAUG.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/notifications-icon.tsx"],"names":["NotificationsIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","notifications_icon_default"],"mappings":"yCAIA,SAASA,CAAAA,CAAkB,CACzB,KAAA,CAAAC,CAAAA,CAAQ,eACR,IAAA,CAAAC,CAAAA,CAAO,GACP,WAAA,CAAAC,CAAAA,CAAc,EACd,mBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,EAAc,CACZ,OACEC,IAAAA,CAAC,KAAA,CAAA,CACC,KAAK,MAAA,CACL,MAAA,CAAQJ,CAAAA,CACR,MAAA,CAAQD,EACR,WAAA,CAAaG,CAAAA,CAAuB,OAAOD,CAAW,CAAA,CAAI,GAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,QAAQ,WAAA,CACR,KAAA,CAAOD,CAAAA,CACP,KAAA,CAAM,6BACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,GAAAA,CAAC,QAAK,CAAA,CAAE,2LAAA,CAA4L,OAAQN,CAAAA,CAAO,WAAA,CAAY,IAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,EAC/QM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,6LAAA,CAA8L,OAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,GACnR,CAEJ,KAEOO,CAAAA,CAAQR","file":"chunk-OFIHBAUG.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction NotificationsIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M18 8C18 6.4087 17.3679 4.88258 16.2426 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.88258 2.63214 7.75736 3.75736C6.63214 4.88258 6 6.4087 6 8C6 15 3 17 3 17H21C21 17 18 15 18 8Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M13.7 21C13.5206 21.2894 13.2703 21.5283 12.9729 21.6939C12.6754 21.8595 12.3405 21.9464 12 21.9464C11.6595 21.9464 11.3247 21.8595 11.0272 21.6939C10.7297 21.5283 10.4794 21.2894 10.3 21\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default NotificationsIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:t="currentColor",size:e=24,strokeWidth:r=0,absoluteStrokeWidth:n,...C}){return jsxs("svg",{fill:"none",height:e,stroke:t,strokeWidth:n?Number(r)*24/Number(e):r,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...C,children:[jsx("path",{d:"M11 4C10.0807 4 9.17049 4.18106 8.32122 4.53284C7.47194 4.88463 6.70026 5.40024 6.05025 6.05025C5.40024 6.70026 4.88463 7.47194 4.53284 8.32122C4.18106 9.17049 4 10.0807 4 11C4 11.9193 4.18106 12.8295 4.53284 13.6788C4.88463 14.5281 5.40024 15.2997 6.05025 15.9497C6.70026 16.5998 7.47194 17.1154 8.32122 17.4672C9.17049 17.8189 10.0807 18 11 18C12.8565 18 14.637 17.2625 15.9497 15.9497C17.2625 14.637 18 12.8565 18 11C18 9.14348 17.2625 7.36301 15.9497 6.05025C14.637 4.7375 12.8565 4 11 4Z",fill:t}),jsx("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M20 20L15.7 15.7",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var d=i;
2
- export{d as a};//# sourceMappingURL=chunk-RTKH2NNI.js.map
3
- //# sourceMappingURL=chunk-RTKH2NNI.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/search-filled-icon.tsx"],"names":["SearchFilledIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","search_filled_icon_default"],"mappings":"yCAIA,SAASA,EAAiB,CACxB,KAAA,CAAAC,CAAAA,CAAQ,cAAA,CACR,KAAAC,CAAAA,CAAO,EAAA,CACP,YAAAC,CAAAA,CAAc,CAAA,CACd,oBAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAAc,CACZ,OACEC,IAAAA,CAAC,OACC,IAAA,CAAK,MAAA,CACL,OAAQJ,CAAAA,CACR,MAAA,CAAQD,EACR,WAAA,CAAaG,CAAAA,CAAuB,OAAOD,CAAW,CAAA,CAAI,GAAM,MAAA,CAAOD,CAAI,EAAIC,CAAAA,CAC/E,OAAA,CAAQ,WAAA,CACR,KAAA,CAAOD,EACP,KAAA,CAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,IAAC,MAAA,CAAA,CAAK,CAAA,CAAE,+eAA+e,IAAA,CAAMN,CAAAA,CAAM,EACngBM,GAAAA,CAAC,MAAA,CAAA,CAAK,EAAE,+GAAA,CAAgH,MAAA,CAAQN,EAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,eAAe,OAAA,CAAO,CAAA,CACnMM,IAAC,MAAA,CAAA,CAAK,CAAA,CAAE,mBAAmB,MAAA,CAAQN,CAAAA,CAAO,YAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,GACxG,CAEJ,KAEOO,CAAAA,CAAQR","file":"chunk-RTKH2NNI.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction SearchFilledIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M11 4C10.0807 4 9.17049 4.18106 8.32122 4.53284C7.47194 4.88463 6.70026 5.40024 6.05025 6.05025C5.40024 6.70026 4.88463 7.47194 4.53284 8.32122C4.18106 9.17049 4 10.0807 4 11C4 11.9193 4.18106 12.8295 4.53284 13.6788C4.88463 14.5281 5.40024 15.2997 6.05025 15.9497C6.70026 16.5998 7.47194 17.1154 8.32122 17.4672C9.17049 17.8189 10.0807 18 11 18C12.8565 18 14.637 17.2625 15.9497 15.9497C17.2625 14.637 18 12.8565 18 11C18 9.14348 17.2625 7.36301 15.9497 6.05025C14.637 4.7375 12.8565 4 11 4Z\" fill={color}/>\n <path d=\"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M20 20L15.7 15.7\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default SearchFilledIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function d({color:e="currentColor",size:o=24,strokeWidth:n=0,absoluteStrokeWidth:r,...C}){return jsxs("svg",{fill:"none",height:o,stroke:e,strokeWidth:r?Number(n)*24/Number(o):n,viewBox:"0 0 24 24",width:o,xmlns:"http://www.w3.org/2000/svg",...C,children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 4H17C17.2652 4 17.5196 4.10536 17.7071 4.29289C17.8946 4.48043 18 4.73478 18 5V20C18 20.2652 18.1054 20.5196 18.2929 20.7071C18.4804 20.8946 18.7348 21 19 21H5C4.73478 21 4.48043 20.8946 4.29289 20.7071C4.10536 20.5196 4 20.2652 4 20V4ZM6 7H15V9H6V7ZM6 11H15V13H6V11ZM6 15H12V17H6V15Z",fill:e}),jsx("path",{d:"M4 4H17C17.2652 4 17.5196 4.10536 17.7071 4.29289C17.8946 4.48043 18 4.73478 18 5V20C18 20.2652 18.1054 20.5196 18.2929 20.7071C18.4804 20.8946 18.7348 21 19 21H5C4.73478 21 4.48043 20.8946 4.29289 20.7071C4.10536 20.5196 4 20.2652 4 20V4Z",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M18 8H21C21.2652 8 21.5196 8.10536 21.7071 8.29289C21.8946 8.48043 22 8.73478 22 9V20C22 20.2652 21.8946 20.5196 21.7071 20.7071C21.5196 20.8946 21.2652 21 21 21H19",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var s=d;
2
- export{s as a};//# sourceMappingURL=chunk-RWICTFSU.js.map
3
- //# sourceMappingURL=chunk-RWICTFSU.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/news-filled-icon.tsx"],"names":["NewsFilledIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","news_filled_icon_default"],"mappings":"yCAIA,SAASA,EAAe,CACtB,KAAA,CAAAC,EAAQ,cAAA,CACR,IAAA,CAAAC,EAAO,EAAA,CACP,WAAA,CAAAC,EAAc,CAAA,CACd,mBAAA,CAAAC,EACA,GAAGC,CACL,EAAc,CACZ,OACEC,KAAC,KAAA,CAAA,CACC,IAAA,CAAK,OACL,MAAA,CAAQJ,CAAAA,CACR,OAAQD,CAAAA,CACR,WAAA,CAAaG,EAAuB,MAAA,CAAOD,CAAW,EAAI,EAAA,CAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,QAAQ,WAAA,CACR,KAAA,CAAOD,EACP,KAAA,CAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,IAAC,MAAA,CAAA,CAAK,QAAA,CAAS,UAAU,QAAA,CAAS,SAAA,CAAU,EAAE,iSAAA,CAAkS,IAAA,CAAMN,EAAM,CAAA,CAC5VM,GAAAA,CAAC,QAAK,CAAA,CAAE,iPAAA,CAAkP,OAAQN,CAAAA,CAAO,WAAA,CAAY,IAAI,aAAA,CAAc,OAAA,CAAQ,eAAe,OAAA,CAAO,CAAA,CACrUM,IAAC,MAAA,CAAA,CAAK,CAAA,CAAE,uKAAuK,MAAA,CAAQN,CAAAA,CAAO,YAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,GAC5P,CAEJ,KAEOO,CAAAA,CAAQR","file":"chunk-RWICTFSU.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction NewsFilledIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M4 4H17C17.2652 4 17.5196 4.10536 17.7071 4.29289C17.8946 4.48043 18 4.73478 18 5V20C18 20.2652 18.1054 20.5196 18.2929 20.7071C18.4804 20.8946 18.7348 21 19 21H5C4.73478 21 4.48043 20.8946 4.29289 20.7071C4.10536 20.5196 4 20.2652 4 20V4ZM6 7H15V9H6V7ZM6 11H15V13H6V11ZM6 15H12V17H6V15Z\" fill={color}/>\n <path d=\"M4 4H17C17.2652 4 17.5196 4.10536 17.7071 4.29289C17.8946 4.48043 18 4.73478 18 5V20C18 20.2652 18.1054 20.5196 18.2929 20.7071C18.4804 20.8946 18.7348 21 19 21H5C4.73478 21 4.48043 20.8946 4.29289 20.7071C4.10536 20.5196 4 20.2652 4 20V4Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M18 8H21C21.2652 8 21.5196 8.10536 21.7071 8.29289C21.8946 8.48043 22 8.73478 22 9V20C22 20.2652 21.8946 20.5196 21.7071 20.7071C21.5196 20.8946 21.2652 21 21 21H19\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default NewsFilledIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:o="currentColor",size:e=24,strokeWidth:n=0,absoluteStrokeWidth:r,...s}){return jsxs("svg",{fill:"none",height:e,stroke:o,strokeWidth:r?Number(n)*24/Number(e):n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...s,children:[jsx("path",{d:"M2 21V19C2 17.6739 2.52678 16.4021 3.46447 15.4645C4.40215 14.5268 5.67392 14 7 14H11C12.3261 14 13.5979 14.5268 14.5355 15.4645C15.4732 16.4021 16 17.6739 16 19V21",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M9 10.5C10.933 10.5 12.5 8.933 12.5 7C12.5 5.067 10.933 3.5 9 3.5C7.067 3.5 5.5 5.067 5.5 7C5.5 8.933 7.067 10.5 9 10.5Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M17 4.3C17.7614 4.48602 18.4383 4.9222 18.9223 5.53867C19.4063 6.15515 19.6693 6.91624 19.6693 7.7C19.6693 8.48377 19.4063 9.24486 18.9223 9.86133C18.4383 10.4778 17.7614 10.914 17 11.1",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M18 14.2C19.1127 14.4269 20.1151 15.0258 20.8421 15.8983C21.5691 16.7707 21.9775 17.8646 22 19V21",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var k=i;
2
- export{k as a};//# sourceMappingURL=chunk-THLZAIYM.js.map
3
- //# sourceMappingURL=chunk-THLZAIYM.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/connections-icon.tsx"],"names":["Connections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AAA,CAAQR","file":"chunk-THLZAIYM.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction ConnectionsIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M2 21V19C2 17.6739 2.52678 16.4021 3.46447 15.4645C4.40215 14.5268 5.67392 14 7 14H11C12.3261 14 13.5979 14.5268 14.5355 15.4645C15.4732 16.4021 16 17.6739 16 19V21\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M9 10.5C10.933 10.5 12.5 8.933 12.5 7C12.5 5.067 10.933 3.5 9 3.5C7.067 3.5 5.5 5.067 5.5 7C5.5 8.933 7.067 10.5 9 10.5Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M17 4.3C17.7614 4.48602 18.4383 4.9222 18.9223 5.53867C19.4063 6.15515 19.6693 6.91624 19.6693 7.7C19.6693 8.48377 19.4063 9.24486 18.9223 9.86133C18.4383 10.4778 17.7614 10.914 17 11.1\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M18 14.2C19.1127 14.4269 20.1151 15.0258 20.8421 15.8983C21.5691 16.7707 21.9775 17.8646 22 19V21\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default ConnectionsIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function s({color:o="currentColor",size:e=24,strokeWidth:r=0,absoluteStrokeWidth:n,...L}){return jsxs("svg",{fill:"none",height:e,stroke:o,strokeWidth:n?Number(r)*24/Number(e):r,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...L,children:[jsx("path",{d:"M12 2.14999L15.45 5.59999L12 9.04999L8.55 5.59999L12 2.14999Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M18.4 8.54999L21.85 12L18.4 15.45L14.95 12L18.4 8.54999Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M12 14.95L15.45 18.4L12 21.85L8.55 18.4L12 14.95Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M5.6 8.54999L9.05 12L5.6 15.45L2.15 12L5.6 8.54999Z",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var d=s;
2
- export{d as a};//# sourceMappingURL=chunk-V5NINENE.js.map
3
- //# sourceMappingURL=chunk-V5NINENE.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/workspace-icon.tsx"],"names":["WorkspaceIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","workspace_icon_default"],"mappings":"yCAIA,SAASA,CAAAA,CAAc,CACrB,KAAA,CAAAC,CAAAA,CAAQ,cAAA,CACR,KAAAC,CAAAA,CAAO,EAAA,CACP,WAAA,CAAAC,CAAAA,CAAc,CAAA,CACd,mBAAA,CAAAC,EACA,GAAGC,CACL,CAAA,CAAc,CACZ,OACEC,IAAAA,CAAC,OACC,IAAA,CAAK,MAAA,CACL,MAAA,CAAQJ,CAAAA,CACR,MAAA,CAAQD,CAAAA,CACR,YAAaG,CAAAA,CAAuB,MAAA,CAAOD,CAAW,CAAA,CAAI,EAAA,CAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,CAAAA,CAC/E,OAAA,CAAQ,WAAA,CACR,KAAA,CAAOD,CAAAA,CACP,MAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,GAAAA,CAAC,MAAA,CAAA,CAAK,EAAE,+DAAA,CAAgE,MAAA,CAAQN,EAAO,WAAA,CAAY,GAAA,CAAI,cAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CACnJM,GAAAA,CAAC,MAAA,CAAA,CAAK,EAAE,0DAAA,CAA2D,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,QAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CAC9IM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,oDAAoD,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,eAAe,OAAA,CAAO,CAAA,CACvIM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,qDAAA,CAAsD,OAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,QAAO,CAAA,CAAA,CAC3I,CAEJ,CAEA,IAAOO,CAAAA,CAAQR","file":"chunk-V5NINENE.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction WorkspaceIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M12 2.14999L15.45 5.59999L12 9.04999L8.55 5.59999L12 2.14999Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M18.4 8.54999L21.85 12L18.4 15.45L14.95 12L18.4 8.54999Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M12 14.95L15.45 18.4L12 21.85L8.55 18.4L12 14.95Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M5.6 8.54999L9.05 12L5.6 15.45L2.15 12L5.6 8.54999Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default WorkspaceIcon;\n"]}
@@ -1,3 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function i({color:L="currentColor",size:e=24,strokeWidth:o=0,absoluteStrokeWidth:r,...n}){return jsxs("svg",{fill:"none",height:e,stroke:L,strokeWidth:r?Number(o)*24/Number(e):o,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...n,children:[jsx("path",{d:"M12 2.14999L15.45 5.59999L12 9.04999L8.55 5.59999L12 2.14999ZM18.4 8.54999L21.85 12L18.4 15.45L14.95 12L18.4 8.54999ZM12 14.95L15.45 18.4L12 21.85L8.55 18.4L12 14.95ZM5.6 8.54999L9.05 12L5.6 15.45L2.15 12L5.6 8.54999Z",fill:L}),jsx("path",{d:"M12 2.14999L15.45 5.59999L12 9.04999L8.55 5.59999L12 2.14999Z",stroke:L,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M18.4 8.54999L21.85 12L18.4 15.45L14.95 12L18.4 8.54999Z",stroke:L,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M12 14.95L15.45 18.4L12 21.85L8.55 18.4L12 14.95Z",stroke:L,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M5.6 8.54999L9.05 12L5.6 15.45L2.15 12L5.6 8.54999Z",stroke:L,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}var d=i;
2
- export{d as a};//# sourceMappingURL=chunk-Y7O3JHD6.js.map
3
- //# sourceMappingURL=chunk-Y7O3JHD6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/icons/workspace-filled-icon.tsx"],"names":["WorkspaceFilledIcon","color","size","strokeWidth","absoluteStrokeWidth","props","jsxs","jsx","workspace_filled_icon_default"],"mappings":"yCAIA,SAASA,CAAAA,CAAoB,CAC3B,KAAA,CAAAC,CAAAA,CAAQ,cAAA,CACR,IAAA,CAAAC,EAAO,EAAA,CACP,WAAA,CAAAC,CAAAA,CAAc,CAAA,CACd,mBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAAc,CACZ,OACEC,IAAAA,CAAC,KAAA,CAAA,CACC,IAAA,CAAK,OACL,MAAA,CAAQJ,CAAAA,CACR,MAAA,CAAQD,CAAAA,CACR,WAAA,CAAaG,CAAAA,CAAuB,OAAOD,CAAW,CAAA,CAAI,EAAA,CAAM,MAAA,CAAOD,CAAI,CAAA,CAAIC,EAC/E,OAAA,CAAQ,WAAA,CACR,KAAA,CAAOD,CAAAA,CACP,KAAA,CAAM,4BAAA,CACL,GAAGG,CAAAA,CAEJ,QAAA,CAAA,CAAAE,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,2NAAA,CAA4N,IAAA,CAAMN,EAAM,CAAA,CAChPM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,+DAAA,CAAgE,MAAA,CAAQN,EAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,EACnJM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,0DAAA,CAA2D,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CAC9IM,GAAAA,CAAC,QAAK,CAAA,CAAE,mDAAA,CAAoD,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CACvIM,GAAAA,CAAC,MAAA,CAAA,CAAK,CAAA,CAAE,sDAAsD,MAAA,CAAQN,CAAAA,CAAO,WAAA,CAAY,GAAA,CAAI,aAAA,CAAc,OAAA,CAAQ,cAAA,CAAe,OAAA,CAAO,CAAA,CAAA,CAC3I,CAEJ,CAEA,IAAOO,CAAAA,CAAQR","file":"chunk-Y7O3JHD6.js","sourcesContent":["\"use client\";\n\nimport { type IconProps } from \"../types\";\n\nfunction WorkspaceFilledIcon({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 0,\n absoluteStrokeWidth,\n ...props\n}: IconProps) {\n return (\n <svg\n fill=\"none\"\n height={size}\n stroke={color}\n strokeWidth={absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M12 2.14999L15.45 5.59999L12 9.04999L8.55 5.59999L12 2.14999ZM18.4 8.54999L21.85 12L18.4 15.45L14.95 12L18.4 8.54999ZM12 14.95L15.45 18.4L12 21.85L8.55 18.4L12 14.95ZM5.6 8.54999L9.05 12L5.6 15.45L2.15 12L5.6 8.54999Z\" fill={color}/>\n <path d=\"M12 2.14999L15.45 5.59999L12 9.04999L8.55 5.59999L12 2.14999Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M18.4 8.54999L21.85 12L18.4 15.45L14.95 12L18.4 8.54999Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M12 14.95L15.45 18.4L12 21.85L8.55 18.4L12 14.95Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M5.6 8.54999L9.05 12L5.6 15.45L2.15 12L5.6 8.54999Z\" stroke={color} strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nexport default WorkspaceFilledIcon;\n"]}