se-design 1.0.80 → 1.0.81-dev1
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.
- package/dist/assets/icons/envelope.svg +4 -0
- package/dist/assets/icons/views.svg +7 -0
- package/dist/assets/style.css +1 -1
- package/dist/components/Checkbox/index.d.ts +4 -0
- package/dist/components/DatePicker/useDatePickerA11y.d.ts +1 -4
- package/dist/components/Dropdown/index.d.ts +4 -0
- package/dist/components/LabelChip/index.d.ts +1 -0
- package/dist/components/Popover/index.d.ts +9 -1
- package/dist/components/Radio/index.d.ts +4 -0
- package/dist/components/Toggle/index.d.ts +4 -0
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +1 -1
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +1 -1
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +1 -1
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +1 -1
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +1 -1
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +1 -1
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +1 -1
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +1 -1
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +1 -1
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +2 -2
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +44 -43
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +2 -2
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +1 -1
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +1 -1
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +1 -1
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +2 -2
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +2 -2
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +2 -2
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +2 -2
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +1 -1
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +1 -1
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +38 -31
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +2 -2
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +2 -2
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +1 -1
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +1 -1
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +2 -2
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +1 -1
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +1 -1
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +2 -2
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +2 -2
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +20 -19
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +2 -2
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +2 -2
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +1 -1
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +2 -2
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +1 -1
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +1 -1
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +1 -1
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +1 -1
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +2 -2
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +2 -2
- package/dist/index139.js.map +1 -1
- package/dist/index14.js.map +1 -1
- package/dist/index140.js +1 -1
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +2 -2
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +1 -1
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +1 -1
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +1 -1
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +1 -1
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +1 -1
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +1 -1
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +1 -1
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +2 -2
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +2 -2
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +2 -2
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +1 -1
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +2 -2
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +2 -2
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +1 -1
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +1 -1
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +1 -1
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +2 -2
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +2 -2
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +1 -1
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +1 -1
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +2 -2
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +2 -2
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +1 -1
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +1 -1
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +1 -1
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +1 -1
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +1 -1
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +1 -1
- package/dist/index169.js.map +1 -1
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +1 -1
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +1 -1
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +1 -1
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +1 -1
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +1 -1
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +1 -1
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +1 -1
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +1 -1
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +1 -1
- package/dist/index179.js.map +1 -1
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +2 -2
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +1 -1
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +1 -1
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +1 -1
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +2 -2
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +1 -1
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +1 -1
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +1 -1
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +2 -2
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +1 -1
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +185 -163
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +1 -1
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +1 -1
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +2 -2
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +1 -1
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +2 -2
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +1 -1
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +2 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +2 -149
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +2 -9
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +2 -6
- package/dist/index199.js.map +1 -1
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +2 -5
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +2 -40
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +5 -0
- package/dist/index202.js.map +1 -0
- package/dist/index203.js +5 -0
- package/dist/index203.js.map +1 -0
- package/dist/index204.js +5 -0
- package/dist/index204.js.map +1 -0
- package/dist/index205.js +5 -0
- package/dist/index205.js.map +1 -0
- package/dist/index206.js +152 -0
- package/dist/index206.js.map +1 -0
- package/dist/index207.js +8 -0
- package/dist/index207.js.map +1 -0
- package/dist/index21.js.map +1 -1
- package/dist/index22.js.map +1 -1
- package/dist/{index217.js → index221.js} +1 -1
- package/dist/{index217.js.map → index221.js.map} +1 -1
- package/dist/{index225.js → index229.js} +1 -1
- package/dist/{index225.js.map → index229.js.map} +1 -1
- package/dist/index23.js +30 -28
- package/dist/index23.js.map +1 -1
- package/dist/{index228.js → index232.js} +1 -1
- package/dist/{index228.js.map → index232.js.map} +1 -1
- package/dist/index24.js.map +1 -1
- package/dist/index241.js +168 -8
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +3 -9
- package/dist/index242.js.map +1 -1
- package/dist/index244.js +9 -169
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +10 -11
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +4 -5
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +170 -6
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +11 -38
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +6 -2
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +259 -236
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +5 -7
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +36 -325
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +2 -50
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +8 -2
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +323 -72
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +47 -90
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +2 -52
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +75 -7
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +92 -4
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +48 -48
- package/dist/index259.js.map +1 -1
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +8 -2
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +5 -2
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +55 -0
- package/dist/index262.js.map +1 -0
- package/dist/index263.js +5 -0
- package/dist/index263.js.map +1 -0
- package/dist/index264.js +5 -0
- package/dist/index264.js.map +1 -0
- package/dist/index27.js.map +1 -1
- package/dist/index28.js +3 -3
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +43 -41
- package/dist/index29.js.map +1 -1
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +81 -79
- package/dist/index30.js.map +1 -1
- package/dist/index31.js.map +1 -1
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +18 -16
- package/dist/index33.js.map +1 -1
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +1 -1
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +1 -1
- package/dist/index36.js.map +1 -1
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +1 -1
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +2 -2
- package/dist/index39.js.map +1 -1
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +1 -1
- package/dist/index40.js.map +1 -1
- package/dist/index41.js.map +1 -1
- package/dist/index42.js.map +1 -1
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +3 -3
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +1 -1
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +2 -2
- package/dist/index46.js.map +1 -1
- package/dist/index47.js.map +1 -1
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +1 -1
- package/dist/index49.js.map +1 -1
- package/dist/index5.js.map +1 -1
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +183 -175
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +1 -1
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +1 -1
- package/dist/index53.js.map +1 -1
- package/dist/index54.js.map +1 -1
- package/dist/index55.js.map +1 -1
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +1 -1
- package/dist/index57.js.map +1 -1
- package/dist/index58.js.map +1 -1
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +230 -226
- package/dist/index6.js.map +1 -1
- package/dist/index60.js.map +1 -1
- package/dist/index61.js.map +1 -1
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +1 -1
- package/dist/index63.js.map +1 -1
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +1 -1
- package/dist/index65.js.map +1 -1
- package/dist/index67.js.map +1 -1
- package/dist/index68.js.map +1 -1
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +1 -1
- package/dist/index7.js.map +1 -1
- package/dist/index70.js.map +1 -1
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +34 -33
- package/dist/index72.js.map +1 -1
- package/dist/index73.js.map +1 -1
- package/dist/index74.js.map +1 -1
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +28 -25
- package/dist/index76.js.map +1 -1
- package/dist/index77.js.map +1 -1
- package/dist/index78.js.map +1 -1
- package/dist/{index208.js → index79.js} +1 -1
- package/dist/index79.js.map +1 -0
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +19 -2
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +9 -2
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +42 -2
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +6 -2
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +68 -2
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +21 -2
- package/dist/index85.js.map +1 -1
- package/dist/index87.js +2 -2
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +2 -2
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +1 -1
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +28 -26
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +2 -2
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +1 -1
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +1 -1
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +1 -1
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +1 -1
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +1 -1
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +1 -1
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +1 -1
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +1 -1
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +1 -1
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index208.js.map +0 -1
- package/dist/index209.js +0 -71
- package/dist/index209.js.map +0 -1
- package/dist/index237.js +0 -176
- package/dist/index237.js.map +0 -1
- package/dist/index238.js +0 -7
- package/dist/index238.js.map +0 -1
- package/dist/index240.js +0 -22
- package/dist/index240.js.map +0 -1
- package/dist/index243.js +0 -8
- package/dist/index243.js.map +0 -1
- package/dist/index86.js +0 -5
- package/dist/index86.js.map +0 -1
package/dist/index59.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index59.js","sources":["../src/components/BottomSheet/index.tsx"],"sourcesContent":["import React, { FC, useState, useRef } from 'react';\nimport { CustomModal } from '../CustomModal';\nimport { Icon } from '../Icon';\n\nimport './style.scss';\n\nexport interface BottomSheetProps {\n isOpen: boolean;\n title?: string;\n onClose: () => void;\n showCloseIcon?: boolean;\n showBackButton?: boolean;\n onBack?: () => void;\n children: React.ReactNode;\n className?: string;\n automationId?: string;\n minHeight?: string;\n}\n\ninterface BottomSheetContentProps {\n title?: string;\n onClose: () => void;\n showCloseIcon?: boolean;\n showBackButton?: boolean;\n onBack?: () => void;\n children: React.ReactNode;\n className?: string;\n automationId?: string;\n minHeight?: string;\n}\n\nconst BottomSheetContent: FC<BottomSheetContentProps> = ({\n children = null,\n title = '',\n onClose = () => {},\n showCloseIcon = false,\n showBackButton = false,\n onBack = () => {},\n className = '',\n automationId = '',\n minHeight = 'auto'\n}) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const [startY, setStartY] = useState<number>(0);\n const [currentY, setCurrentY] = useState<number>(0);\n const [isDragging, setIsDragging] = useState<boolean>(false);\n\n const handleTouchStart = (e: React.TouchEvent) => {\n setStartY(e.touches[0].clientY);\n setCurrentY(e.touches[0].clientY);\n setIsDragging(true);\n };\n\n const handleTouchMove = (e: React.TouchEvent) => {\n if (!isDragging) return;\n\n const touchY = e.touches[0].clientY;\n const deltaY = touchY - startY;\n\n // Only allow dragging down\n if (deltaY > 0) {\n setCurrentY(touchY);\n if (contentRef.current) {\n contentRef.current.style.transform = `translateY(${deltaY}px)`;\n }\n }\n };\n\n const handleTouchEnd = () => {\n if (!isDragging) return;\n\n const deltaY = currentY - startY;\n const threshold = 60; // pixels to swipe down to trigger close\n\n if (deltaY > threshold) {\n // Trigger close\n onClose();\n } else {\n // Reset position\n if (contentRef.current) {\n contentRef.current.style.transform = 'translateY(0)';\n }\n }\n\n setIsDragging(false);\n setStartY(0);\n setCurrentY(0);\n };\n\n return (\n <div\n ref={contentRef}\n className={`se-design-bottom-sheet relative h-max max-h-[98vh] rounded-t-2xl flex flex-col pt-5 ${className}`}\n onClick={(e) => e.stopPropagation()}\n onTouchStart={handleTouchStart}\n onTouchMove={handleTouchMove}\n onTouchEnd={handleTouchEnd}\n data-automation-id={automationId}\n style={{ minHeight }}\n >\n {(title || showBackButton) && (\n <div className=\"se-design-bottom-sheet-header flex items-center justify-left gap-3 mr-6 px-4\">\n {showBackButton && (\n <Icon\n name=\"back\"\n stroke=\"var(--color-gray-700)\"\n onClick={onBack}\n className=\"se-design-bottom-sheet-back-icon cursor-pointer\"\n automationId={`${automationId}-back-icon`}\n />\n )}\n {title && <div className=\"se-design-bottom-sheet-title text-lg font-semibold\">{title}</div>}\n </div>\n )}\n {showCloseIcon && (\n <Icon\n name=\"close\"\n onClick={onClose}\n className=\"se-design-bottom-sheet-close-icon absolute top-6 right-4 cursor-pointer z-10\"\n automationId={`${automationId}-close-icon`}\n />\n )}\n <div className=\"se-design-bottom-sheet-content px-4 pb-5 flex-1 min-h-0 overflow-y-auto\">{children}</div>\n </div>\n );\n};\n\nexport const BottomSheet: FC<BottomSheetProps> = ({\n isOpen = false,\n title = '',\n onClose = () => {},\n children = null,\n showCloseIcon = true,\n showBackButton = false,\n onBack = () => {},\n className = '',\n automationId = 'bottomsheet',\n minHeight = ''\n}) => {\n return (\n <CustomModal\n isOpen={isOpen}\n onClose={onClose}\n onModalClick={onClose}\n className=\"custom-bottom-sheet\"\n renderModalContent={() => (\n <BottomSheetContent\n title={title}\n onClose={onClose}\n showCloseIcon={showCloseIcon}\n showBackButton={showBackButton}\n onBack={onBack}\n className={className}\n automationId={automationId}\n minHeight={minHeight}\n >\n {children}\n </BottomSheetContent>\n )}\n />\n );\n};\n"],"names":["BottomSheetContent","children","title","onClose","showCloseIcon","showBackButton","onBack","className","automationId","minHeight","contentRef","useRef","startY","setStartY","useState","currentY","setCurrentY","isDragging","setIsDragging","handleTouchStart","e","touches","clientY","handleTouchMove","touchY","deltaY","current","style","transform","handleTouchEnd","React","createElement","ref","onClick","stopPropagation","onTouchStart","onTouchMove","onTouchEnd","Icon","name","stroke","BottomSheet","isOpen","CustomModal","onModalClick","renderModalContent"],"mappings":";;;;AA+BA,MAAMA,IAAkDA,CAAC;AAAA,EACvDC,UAAAA,IAAW;AAAA,EACXC,OAAAA,IAAQ;AAAA,EACRC,SAAAA,IAAUA,MAAM;AAAA,EAAC;AAAA,EACjBC,eAAAA,IAAgB;AAAA,EAChBC,gBAAAA,IAAiB;AAAA,EACjBC,QAAAA,IAASA,MAAM;AAAA,EAAC;AAAA,EAChBC,WAAAA,IAAY;AAAA,EACZC,cAAAA,IAAe;AAAA,EACfC,WAAAA,IAAY;AACd,MAAM;
|
|
1
|
+
{"version":3,"file":"index59.js","sources":["../src/components/BottomSheet/index.tsx"],"sourcesContent":["import React, { FC, useState, useRef } from 'react';\nimport { CustomModal } from '../CustomModal';\nimport { Icon } from '../Icon';\n\nimport './style.scss';\n\nexport interface BottomSheetProps {\n isOpen: boolean;\n title?: string;\n onClose: () => void;\n showCloseIcon?: boolean;\n showBackButton?: boolean;\n onBack?: () => void;\n children: React.ReactNode;\n className?: string;\n automationId?: string;\n minHeight?: string;\n}\n\ninterface BottomSheetContentProps {\n title?: string;\n onClose: () => void;\n showCloseIcon?: boolean;\n showBackButton?: boolean;\n onBack?: () => void;\n children: React.ReactNode;\n className?: string;\n automationId?: string;\n minHeight?: string;\n}\n\nconst BottomSheetContent: FC<BottomSheetContentProps> = ({\n children = null,\n title = '',\n onClose = () => {},\n showCloseIcon = false,\n showBackButton = false,\n onBack = () => {},\n className = '',\n automationId = '',\n minHeight = 'auto'\n}) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const [startY, setStartY] = useState<number>(0);\n const [currentY, setCurrentY] = useState<number>(0);\n const [isDragging, setIsDragging] = useState<boolean>(false);\n\n const handleTouchStart = (e: React.TouchEvent) => {\n setStartY(e.touches[0].clientY);\n setCurrentY(e.touches[0].clientY);\n setIsDragging(true);\n };\n\n const handleTouchMove = (e: React.TouchEvent) => {\n if (!isDragging) return;\n\n const touchY = e.touches[0].clientY;\n const deltaY = touchY - startY;\n\n // Only allow dragging down\n if (deltaY > 0) {\n setCurrentY(touchY);\n if (contentRef.current) {\n contentRef.current.style.transform = `translateY(${deltaY}px)`;\n }\n }\n };\n\n const handleTouchEnd = () => {\n if (!isDragging) return;\n\n const deltaY = currentY - startY;\n const threshold = 60; // pixels to swipe down to trigger close\n\n if (deltaY > threshold) {\n // Trigger close\n onClose();\n } else {\n // Reset position\n if (contentRef.current) {\n contentRef.current.style.transform = 'translateY(0)';\n }\n }\n\n setIsDragging(false);\n setStartY(0);\n setCurrentY(0);\n };\n\n return (\n <div\n ref={contentRef}\n className={`se-design-bottom-sheet relative h-max max-h-[98vh] rounded-t-2xl flex flex-col pt-5 ${className}`}\n onClick={(e) => e.stopPropagation()}\n onTouchStart={handleTouchStart}\n onTouchMove={handleTouchMove}\n onTouchEnd={handleTouchEnd}\n data-automation-id={automationId}\n style={{ minHeight }}\n >\n {(title || showBackButton) && (\n <div className=\"se-design-bottom-sheet-header flex items-center justify-left gap-3 mr-6 px-4\">\n {showBackButton && (\n <Icon\n name=\"back\"\n stroke=\"var(--color-gray-700)\"\n onClick={onBack}\n className=\"se-design-bottom-sheet-back-icon cursor-pointer\"\n automationId={`${automationId}-back-icon`}\n />\n )}\n {title && <div className=\"se-design-bottom-sheet-title text-lg font-semibold\">{title}</div>}\n </div>\n )}\n {showCloseIcon && (\n <Icon\n name=\"close\"\n onClick={onClose}\n className=\"se-design-bottom-sheet-close-icon absolute top-6 right-4 cursor-pointer z-10\"\n automationId={`${automationId}-close-icon`}\n />\n )}\n <div className=\"se-design-bottom-sheet-content px-4 pb-5 flex-1 min-h-0 overflow-y-auto\">{children}</div>\n </div>\n );\n};\n\nexport const BottomSheet: FC<BottomSheetProps> = ({\n isOpen = false,\n title = '',\n onClose = () => {},\n children = null,\n showCloseIcon = true,\n showBackButton = false,\n onBack = () => {},\n className = '',\n automationId = 'bottomsheet',\n minHeight = ''\n}) => {\n return (\n <CustomModal\n isOpen={isOpen}\n onClose={onClose}\n onModalClick={onClose}\n className=\"custom-bottom-sheet\"\n renderModalContent={() => (\n <BottomSheetContent\n title={title}\n onClose={onClose}\n showCloseIcon={showCloseIcon}\n showBackButton={showBackButton}\n onBack={onBack}\n className={className}\n automationId={automationId}\n minHeight={minHeight}\n >\n {children}\n </BottomSheetContent>\n )}\n />\n );\n};\n"],"names":["BottomSheetContent","children","title","onClose","showCloseIcon","showBackButton","onBack","className","automationId","minHeight","contentRef","useRef","startY","setStartY","useState","currentY","setCurrentY","isDragging","setIsDragging","handleTouchStart","e","touches","clientY","handleTouchMove","touchY","deltaY","current","style","transform","handleTouchEnd","React","createElement","ref","onClick","stopPropagation","onTouchStart","onTouchMove","onTouchEnd","Icon","name","stroke","BottomSheet","isOpen","CustomModal","onModalClick","renderModalContent"],"mappings":"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"}
|
package/dist/index6.js
CHANGED
|
@@ -1,124 +1,126 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import T from "./
|
|
9
|
-
import q from "./
|
|
10
|
-
import G from "./
|
|
11
|
-
import V from "./
|
|
12
|
-
import H from "./
|
|
13
|
-
import J from "./
|
|
14
|
-
import K from "./
|
|
15
|
-
import Q from "./
|
|
16
|
-
import U from "./
|
|
17
|
-
import W from "./
|
|
18
|
-
import X from "./
|
|
19
|
-
import Y from "./
|
|
20
|
-
import Z from "./
|
|
21
|
-
import z from "./
|
|
22
|
-
import ss from "./
|
|
23
|
-
import os from "./
|
|
24
|
-
import _s from "./
|
|
25
|
-
import ts from "./
|
|
26
|
-
import is from "./
|
|
27
|
-
import rs from "./
|
|
28
|
-
import es from "./
|
|
29
|
-
import cs from "./
|
|
30
|
-
import as from "./
|
|
31
|
-
import ms from "./
|
|
32
|
-
import gs from "./
|
|
33
|
-
import vs from "./
|
|
34
|
-
import ls from "./
|
|
35
|
-
import ns from "./
|
|
36
|
-
import fs from "./
|
|
37
|
-
import bs from "./
|
|
38
|
-
import ps from "./
|
|
39
|
-
import ds from "./
|
|
40
|
-
import us from "./
|
|
41
|
-
import hs from "./
|
|
42
|
-
import ks from "./
|
|
43
|
-
import xs from "./
|
|
44
|
-
import As from "./
|
|
45
|
-
import ws from "./
|
|
46
|
-
import ys from "./
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import Ns from "./
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import Ts from "./
|
|
63
|
-
import qs from "./
|
|
64
|
-
import Gs from "./
|
|
65
|
-
import Vs from "./
|
|
66
|
-
import Hs from "./
|
|
67
|
-
import Js from "./
|
|
68
|
-
import Ks from "./
|
|
69
|
-
import Qs from "./
|
|
70
|
-
import Us from "./
|
|
71
|
-
import Ws from "./
|
|
72
|
-
import Xs from "./
|
|
73
|
-
import Ys from "./
|
|
74
|
-
import Zs from "./
|
|
75
|
-
import zs from "./
|
|
76
|
-
import so from "./
|
|
77
|
-
import oo from "./
|
|
78
|
-
import _o from "./
|
|
79
|
-
import to from "./
|
|
80
|
-
import io from "./
|
|
81
|
-
import ro from "./
|
|
82
|
-
import eo from "./
|
|
83
|
-
import co from "./
|
|
84
|
-
import ao from "./
|
|
85
|
-
import mo from "./
|
|
86
|
-
import go from "./
|
|
87
|
-
import vo from "./
|
|
88
|
-
import lo from "./
|
|
89
|
-
import no from "./
|
|
90
|
-
import fo from "./
|
|
91
|
-
import bo from "./
|
|
92
|
-
import po from "./
|
|
93
|
-
import uo from "./
|
|
94
|
-
import ho from "./
|
|
95
|
-
import ko from "./
|
|
96
|
-
import xo from "./
|
|
97
|
-
import Ao from "./
|
|
98
|
-
import wo from "./
|
|
99
|
-
import yo from "./
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
-
import No from "./
|
|
103
|
-
import
|
|
104
|
-
import
|
|
105
|
-
import
|
|
106
|
-
import
|
|
107
|
-
import
|
|
108
|
-
import
|
|
109
|
-
import
|
|
110
|
-
import
|
|
111
|
-
import
|
|
112
|
-
import
|
|
113
|
-
import
|
|
114
|
-
import
|
|
115
|
-
import To from "./
|
|
116
|
-
import qo from "./
|
|
117
|
-
import Go from "./
|
|
1
|
+
import j from "./index87.js";
|
|
2
|
+
import L from "./index88.js";
|
|
3
|
+
import R from "./index89.js";
|
|
4
|
+
import F from "./index90.js";
|
|
5
|
+
import B from "./index91.js";
|
|
6
|
+
import D from "./index92.js";
|
|
7
|
+
import M from "./index93.js";
|
|
8
|
+
import T from "./index94.js";
|
|
9
|
+
import q from "./index95.js";
|
|
10
|
+
import G from "./index96.js";
|
|
11
|
+
import V from "./index97.js";
|
|
12
|
+
import H from "./index98.js";
|
|
13
|
+
import J from "./index99.js";
|
|
14
|
+
import K from "./index100.js";
|
|
15
|
+
import Q from "./index101.js";
|
|
16
|
+
import U from "./index102.js";
|
|
17
|
+
import W from "./index103.js";
|
|
18
|
+
import X from "./index104.js";
|
|
19
|
+
import Y from "./index105.js";
|
|
20
|
+
import Z from "./index106.js";
|
|
21
|
+
import z from "./index107.js";
|
|
22
|
+
import ss from "./index108.js";
|
|
23
|
+
import os from "./index109.js";
|
|
24
|
+
import _s from "./index110.js";
|
|
25
|
+
import ts from "./index111.js";
|
|
26
|
+
import is from "./index112.js";
|
|
27
|
+
import rs from "./index113.js";
|
|
28
|
+
import es from "./index114.js";
|
|
29
|
+
import cs from "./index115.js";
|
|
30
|
+
import as from "./index116.js";
|
|
31
|
+
import ms from "./index117.js";
|
|
32
|
+
import gs from "./index118.js";
|
|
33
|
+
import vs from "./index119.js";
|
|
34
|
+
import ls from "./index120.js";
|
|
35
|
+
import ns from "./index121.js";
|
|
36
|
+
import fs from "./index122.js";
|
|
37
|
+
import bs from "./index123.js";
|
|
38
|
+
import ps from "./index124.js";
|
|
39
|
+
import ds from "./index125.js";
|
|
40
|
+
import us from "./index126.js";
|
|
41
|
+
import hs from "./index127.js";
|
|
42
|
+
import ks from "./index128.js";
|
|
43
|
+
import xs from "./index129.js";
|
|
44
|
+
import As from "./index130.js";
|
|
45
|
+
import ws from "./index131.js";
|
|
46
|
+
import ys from "./index132.js";
|
|
47
|
+
import Ps from "./index133.js";
|
|
48
|
+
import Is from "./index134.js";
|
|
49
|
+
import Ns from "./index135.js";
|
|
50
|
+
import Cs from "./index136.js";
|
|
51
|
+
import Os from "./index137.js";
|
|
52
|
+
import $s from "./index138.js";
|
|
53
|
+
import Es from "./index139.js";
|
|
54
|
+
import Ss from "./index140.js";
|
|
55
|
+
import js from "./index141.js";
|
|
56
|
+
import Ls from "./index142.js";
|
|
57
|
+
import Rs from "./index143.js";
|
|
58
|
+
import Fs from "./index144.js";
|
|
59
|
+
import Bs from "./index145.js";
|
|
60
|
+
import Ds from "./index146.js";
|
|
61
|
+
import Ms from "./index147.js";
|
|
62
|
+
import Ts from "./index148.js";
|
|
63
|
+
import qs from "./index149.js";
|
|
64
|
+
import Gs from "./index150.js";
|
|
65
|
+
import Vs from "./index151.js";
|
|
66
|
+
import Hs from "./index152.js";
|
|
67
|
+
import Js from "./index153.js";
|
|
68
|
+
import Ks from "./index154.js";
|
|
69
|
+
import Qs from "./index155.js";
|
|
70
|
+
import Us from "./index156.js";
|
|
71
|
+
import Ws from "./index157.js";
|
|
72
|
+
import Xs from "./index158.js";
|
|
73
|
+
import Ys from "./index159.js";
|
|
74
|
+
import Zs from "./index160.js";
|
|
75
|
+
import zs from "./index161.js";
|
|
76
|
+
import so from "./index162.js";
|
|
77
|
+
import oo from "./index163.js";
|
|
78
|
+
import _o from "./index164.js";
|
|
79
|
+
import to from "./index165.js";
|
|
80
|
+
import io from "./index166.js";
|
|
81
|
+
import ro from "./index167.js";
|
|
82
|
+
import eo from "./index168.js";
|
|
83
|
+
import co from "./index169.js";
|
|
84
|
+
import ao from "./index170.js";
|
|
85
|
+
import mo from "./index171.js";
|
|
86
|
+
import go from "./index172.js";
|
|
87
|
+
import vo from "./index173.js";
|
|
88
|
+
import lo from "./index174.js";
|
|
89
|
+
import no from "./index175.js";
|
|
90
|
+
import fo from "./index176.js";
|
|
91
|
+
import bo from "./index177.js";
|
|
92
|
+
import po from "./index178.js";
|
|
93
|
+
import uo from "./index179.js";
|
|
94
|
+
import ho from "./index180.js";
|
|
95
|
+
import ko from "./index181.js";
|
|
96
|
+
import xo from "./index182.js";
|
|
97
|
+
import Ao from "./index183.js";
|
|
98
|
+
import wo from "./index184.js";
|
|
99
|
+
import yo from "./index185.js";
|
|
100
|
+
import Po from "./index186.js";
|
|
101
|
+
import Io from "./index187.js";
|
|
102
|
+
import No from "./index188.js";
|
|
103
|
+
import Co from "./index189.js";
|
|
104
|
+
import Oo from "./index190.js";
|
|
105
|
+
import $o from "./index191.js";
|
|
106
|
+
import Eo from "./index192.js";
|
|
107
|
+
import So from "./index193.js";
|
|
108
|
+
import jo from "./index194.js";
|
|
109
|
+
import Lo from "./index195.js";
|
|
110
|
+
import Ro from "./index196.js";
|
|
111
|
+
import Fo from "./index197.js";
|
|
112
|
+
import Bo from "./index198.js";
|
|
113
|
+
import Do from "./index199.js";
|
|
114
|
+
import Mo from "./index200.js";
|
|
115
|
+
import To from "./index201.js";
|
|
116
|
+
import qo from "./index202.js";
|
|
117
|
+
import Go from "./index203.js";
|
|
118
|
+
import Vo from "./index204.js";
|
|
119
|
+
import Ho from "./index205.js";
|
|
118
120
|
import c from "react";
|
|
119
|
-
import { ReactSVG as
|
|
120
|
-
import { getA11yNameAttributes as
|
|
121
|
-
import { useAccessiblePress as
|
|
121
|
+
import { ReactSVG as Jo } from "./index206.js";
|
|
122
|
+
import { getA11yNameAttributes as Ko } from "./index78.js";
|
|
123
|
+
import { useAccessiblePress as Qo } from "./index67.js";
|
|
122
124
|
import "./index72.js";
|
|
123
125
|
function a() {
|
|
124
126
|
return a = Object.assign ? Object.assign.bind() : function(s) {
|
|
@@ -129,14 +131,14 @@ function a() {
|
|
|
129
131
|
return s;
|
|
130
132
|
}, a.apply(null, arguments);
|
|
131
133
|
}
|
|
132
|
-
const
|
|
133
|
-
"/src/assets/icons/ai-off.svg":
|
|
134
|
-
"/src/assets/icons/ai-re-run.svg":
|
|
135
|
-
"/src/assets/icons/ai-search.svg":
|
|
136
|
-
"/src/assets/icons/ai-stars.svg":
|
|
137
|
-
"/src/assets/icons/ai.svg":
|
|
138
|
-
"/src/assets/icons/all-space.svg":
|
|
139
|
-
"/src/assets/icons/arrow-head.svg":
|
|
134
|
+
const Uo = /* @__PURE__ */ Object.assign({
|
|
135
|
+
"/src/assets/icons/ai-off.svg": j,
|
|
136
|
+
"/src/assets/icons/ai-re-run.svg": L,
|
|
137
|
+
"/src/assets/icons/ai-search.svg": R,
|
|
138
|
+
"/src/assets/icons/ai-stars.svg": F,
|
|
139
|
+
"/src/assets/icons/ai.svg": B,
|
|
140
|
+
"/src/assets/icons/all-space.svg": D,
|
|
141
|
+
"/src/assets/icons/arrow-head.svg": M,
|
|
140
142
|
"/src/assets/icons/attachment.svg": T,
|
|
141
143
|
"/src/assets/icons/back.svg": q,
|
|
142
144
|
"/src/assets/icons/banner-demo-img.svg": G,
|
|
@@ -170,94 +172,96 @@ const Ko = /* @__PURE__ */ Object.assign({
|
|
|
170
172
|
"/src/assets/icons/edit-text.svg": ps,
|
|
171
173
|
"/src/assets/icons/email-field.svg": ds,
|
|
172
174
|
"/src/assets/icons/email.svg": us,
|
|
173
|
-
"/src/assets/icons/
|
|
174
|
-
"/src/assets/icons/fields-
|
|
175
|
-
"/src/assets/icons/
|
|
176
|
-
"/src/assets/icons/file-
|
|
177
|
-
"/src/assets/icons/file-
|
|
178
|
-
"/src/assets/icons/file.svg": ys,
|
|
175
|
+
"/src/assets/icons/envelope.svg": hs,
|
|
176
|
+
"/src/assets/icons/fields-create.svg": ks,
|
|
177
|
+
"/src/assets/icons/fields-panel.svg": xs,
|
|
178
|
+
"/src/assets/icons/file-empty.svg": As,
|
|
179
|
+
"/src/assets/icons/file-filled-checked.svg": ws,
|
|
180
|
+
"/src/assets/icons/file-red.svg": ys,
|
|
181
|
+
"/src/assets/icons/file.svg": Ps,
|
|
179
182
|
"/src/assets/icons/fill-and-sign.svg": Is,
|
|
180
|
-
"/src/assets/icons/filter.svg":
|
|
181
|
-
"/src/assets/icons/folder-empty.svg":
|
|
182
|
-
"/src/assets/icons/folder.svg":
|
|
183
|
-
"/src/assets/icons/gmail.svg":
|
|
184
|
-
"/src/assets/icons/google-drive.svg":
|
|
185
|
-
"/src/assets/icons/hamburger.svg":
|
|
186
|
-
"/src/assets/icons/hashtag.svg":
|
|
187
|
-
"/src/assets/icons/help-question.svg":
|
|
188
|
-
"/src/assets/icons/history.svg":
|
|
183
|
+
"/src/assets/icons/filter.svg": Ns,
|
|
184
|
+
"/src/assets/icons/folder-empty.svg": Cs,
|
|
185
|
+
"/src/assets/icons/folder.svg": Os,
|
|
186
|
+
"/src/assets/icons/gmail.svg": $s,
|
|
187
|
+
"/src/assets/icons/google-drive.svg": Es,
|
|
188
|
+
"/src/assets/icons/hamburger.svg": Ss,
|
|
189
|
+
"/src/assets/icons/hashtag.svg": js,
|
|
190
|
+
"/src/assets/icons/help-question.svg": Ls,
|
|
191
|
+
"/src/assets/icons/history.svg": Rs,
|
|
189
192
|
"/src/assets/icons/home.svg": Fs,
|
|
190
|
-
"/src/assets/icons/hourglass.svg":
|
|
191
|
-
"/src/assets/icons/image-field.svg":
|
|
192
|
-
"/src/assets/icons/info.svg":
|
|
193
|
-
"/src/assets/icons/initials-field.svg":
|
|
194
|
-
"/src/assets/icons/kebab-menu.svg":
|
|
195
|
-
"/src/assets/icons/left-align.svg":
|
|
196
|
-
"/src/assets/icons/library.svg":
|
|
197
|
-
"/src/assets/icons/minus.svg":
|
|
198
|
-
"/src/assets/icons/move-folder.svg":
|
|
199
|
-
"/src/assets/icons/name-field.svg":
|
|
200
|
-
"/src/assets/icons/next.svg":
|
|
201
|
-
"/src/assets/icons/observer.svg":
|
|
202
|
-
"/src/assets/icons/office-building.svg":
|
|
203
|
-
"/src/assets/icons/onedrive.svg":
|
|
204
|
-
"/src/assets/icons/outlook.svg":
|
|
205
|
-
"/src/assets/icons/padlock.svg":
|
|
206
|
-
"/src/assets/icons/pages.svg":
|
|
207
|
-
"/src/assets/icons/pdf-file.svg":
|
|
208
|
-
"/src/assets/icons/people.svg":
|
|
209
|
-
"/src/assets/icons/photo.svg":
|
|
210
|
-
"/src/assets/icons/plus.svg":
|
|
211
|
-
"/src/assets/icons/radio-field.svg":
|
|
212
|
-
"/src/assets/icons/radio-filled.svg":
|
|
213
|
-
"/src/assets/icons/radio.svg":
|
|
214
|
-
"/src/assets/icons/reports.svg":
|
|
215
|
-
"/src/assets/icons/repository.svg":
|
|
216
|
-
"/src/assets/icons/reset.svg":
|
|
217
|
-
"/src/assets/icons/return.svg":
|
|
218
|
-
"/src/assets/icons/right-align.svg":
|
|
219
|
-
"/src/assets/icons/rightSide.svg":
|
|
220
|
-
"/src/assets/icons/rotate-left.svg":
|
|
221
|
-
"/src/assets/icons/rotate-right.svg":
|
|
222
|
-
"/src/assets/icons/rounded-plus.svg":
|
|
223
|
-
"/src/assets/icons/search.svg":
|
|
224
|
-
"/src/assets/icons/select-files.svg":
|
|
225
|
-
"/src/assets/icons/shield-with-tick.svg":
|
|
226
|
-
"/src/assets/icons/shield.svg":
|
|
227
|
-
"/src/assets/icons/shipment-private.svg":
|
|
228
|
-
"/src/assets/icons/shipment.svg":
|
|
229
|
-
"/src/assets/icons/sidebar.svg":
|
|
230
|
-
"/src/assets/icons/signature-field.svg":
|
|
231
|
-
"/src/assets/icons/signer.svg":
|
|
193
|
+
"/src/assets/icons/hourglass.svg": Bs,
|
|
194
|
+
"/src/assets/icons/image-field.svg": Ds,
|
|
195
|
+
"/src/assets/icons/info.svg": Ms,
|
|
196
|
+
"/src/assets/icons/initials-field.svg": Ts,
|
|
197
|
+
"/src/assets/icons/kebab-menu.svg": qs,
|
|
198
|
+
"/src/assets/icons/left-align.svg": Gs,
|
|
199
|
+
"/src/assets/icons/library.svg": Vs,
|
|
200
|
+
"/src/assets/icons/minus.svg": Hs,
|
|
201
|
+
"/src/assets/icons/move-folder.svg": Js,
|
|
202
|
+
"/src/assets/icons/name-field.svg": Ks,
|
|
203
|
+
"/src/assets/icons/next.svg": Qs,
|
|
204
|
+
"/src/assets/icons/observer.svg": Us,
|
|
205
|
+
"/src/assets/icons/office-building.svg": Ws,
|
|
206
|
+
"/src/assets/icons/onedrive.svg": Xs,
|
|
207
|
+
"/src/assets/icons/outlook.svg": Ys,
|
|
208
|
+
"/src/assets/icons/padlock.svg": Zs,
|
|
209
|
+
"/src/assets/icons/pages.svg": zs,
|
|
210
|
+
"/src/assets/icons/pdf-file.svg": so,
|
|
211
|
+
"/src/assets/icons/people.svg": oo,
|
|
212
|
+
"/src/assets/icons/photo.svg": _o,
|
|
213
|
+
"/src/assets/icons/plus.svg": to,
|
|
214
|
+
"/src/assets/icons/radio-field.svg": io,
|
|
215
|
+
"/src/assets/icons/radio-filled.svg": ro,
|
|
216
|
+
"/src/assets/icons/radio.svg": eo,
|
|
217
|
+
"/src/assets/icons/reports.svg": co,
|
|
218
|
+
"/src/assets/icons/repository.svg": ao,
|
|
219
|
+
"/src/assets/icons/reset.svg": mo,
|
|
220
|
+
"/src/assets/icons/return.svg": go,
|
|
221
|
+
"/src/assets/icons/right-align.svg": vo,
|
|
222
|
+
"/src/assets/icons/rightSide.svg": lo,
|
|
223
|
+
"/src/assets/icons/rotate-left.svg": no,
|
|
224
|
+
"/src/assets/icons/rotate-right.svg": fo,
|
|
225
|
+
"/src/assets/icons/rounded-plus.svg": bo,
|
|
226
|
+
"/src/assets/icons/search.svg": po,
|
|
227
|
+
"/src/assets/icons/select-files.svg": uo,
|
|
228
|
+
"/src/assets/icons/shield-with-tick.svg": ho,
|
|
229
|
+
"/src/assets/icons/shield.svg": ko,
|
|
230
|
+
"/src/assets/icons/shipment-private.svg": xo,
|
|
231
|
+
"/src/assets/icons/shipment.svg": Ao,
|
|
232
|
+
"/src/assets/icons/sidebar.svg": wo,
|
|
233
|
+
"/src/assets/icons/signature-field.svg": yo,
|
|
234
|
+
"/src/assets/icons/signer.svg": Po,
|
|
232
235
|
"/src/assets/icons/slideout.svg": Io,
|
|
233
|
-
"/src/assets/icons/sms.svg":
|
|
234
|
-
"/src/assets/icons/sort-asc.svg":
|
|
235
|
-
"/src/assets/icons/sort-desc.svg":
|
|
236
|
-
"/src/assets/icons/sort.svg":
|
|
237
|
-
"/src/assets/icons/space.svg":
|
|
238
|
-
"/src/assets/icons/stamp-field.svg":
|
|
239
|
-
"/src/assets/icons/stop.svg":
|
|
240
|
-
"/src/assets/icons/success-check.svg":
|
|
241
|
-
"/src/assets/icons/tag.svg":
|
|
236
|
+
"/src/assets/icons/sms.svg": No,
|
|
237
|
+
"/src/assets/icons/sort-asc.svg": Co,
|
|
238
|
+
"/src/assets/icons/sort-desc.svg": Oo,
|
|
239
|
+
"/src/assets/icons/sort.svg": $o,
|
|
240
|
+
"/src/assets/icons/space.svg": Eo,
|
|
241
|
+
"/src/assets/icons/stamp-field.svg": So,
|
|
242
|
+
"/src/assets/icons/stop.svg": jo,
|
|
243
|
+
"/src/assets/icons/success-check.svg": Lo,
|
|
244
|
+
"/src/assets/icons/tag.svg": Ro,
|
|
242
245
|
"/src/assets/icons/text-field.svg": Fo,
|
|
243
|
-
"/src/assets/icons/tick.svg":
|
|
244
|
-
"/src/assets/icons/title-field.svg":
|
|
245
|
-
"/src/assets/icons/upload-csv.svg":
|
|
246
|
-
"/src/assets/icons/
|
|
247
|
-
"/src/assets/icons/
|
|
248
|
-
"/src/assets/icons/
|
|
249
|
-
"/src/assets/icons/
|
|
250
|
-
|
|
246
|
+
"/src/assets/icons/tick.svg": Bo,
|
|
247
|
+
"/src/assets/icons/title-field.svg": Do,
|
|
248
|
+
"/src/assets/icons/upload-csv.svg": Mo,
|
|
249
|
+
"/src/assets/icons/views.svg": To,
|
|
250
|
+
"/src/assets/icons/warning.svg": qo,
|
|
251
|
+
"/src/assets/icons/webinar-widget.svg": Go,
|
|
252
|
+
"/src/assets/icons/white-close.svg": Vo,
|
|
253
|
+
"/src/assets/icons/widget-demo-image.svg": Ho
|
|
254
|
+
}), v = (s, t, o, _) => {
|
|
251
255
|
t && s.hasAttribute("fill") && s.getAttribute("fill") !== "none" && s.setAttribute("fill", t), o && s.hasAttribute("stroke") && s.setAttribute("stroke", o), _ && s.hasAttribute("width") && s.setAttribute("width", _.toString()), _ && s.hasAttribute("height") && s.setAttribute("height", _.toString()), Array.from(s.children).forEach((e) => {
|
|
252
|
-
|
|
256
|
+
v(e, t, o);
|
|
253
257
|
});
|
|
254
|
-
},
|
|
258
|
+
}, Wo = /* @__PURE__ */ c.forwardRef((s, t) => {
|
|
255
259
|
const {
|
|
256
260
|
name: o = "",
|
|
257
261
|
id: _,
|
|
258
262
|
className: e = "",
|
|
259
263
|
onClick: m,
|
|
260
|
-
ariaLabel:
|
|
264
|
+
ariaLabel: l,
|
|
261
265
|
ariaLabelledBy: n,
|
|
262
266
|
ariaDescribedBy: f,
|
|
263
267
|
ariaPressed: b,
|
|
@@ -270,7 +274,7 @@ const Ko = /* @__PURE__ */ Object.assign({
|
|
|
270
274
|
shouldStopPropagation: A = !1,
|
|
271
275
|
disabled: w = !1,
|
|
272
276
|
htmlTitle: y
|
|
273
|
-
} = s,
|
|
277
|
+
} = s, P = {
|
|
274
278
|
0: "rotate-0",
|
|
275
279
|
45: "rotate-45",
|
|
276
280
|
90: "rotate-90",
|
|
@@ -279,28 +283,28 @@ const Ko = /* @__PURE__ */ Object.assign({
|
|
|
279
283
|
225: "rotate-[225deg]",
|
|
280
284
|
270: "-rotate-90",
|
|
281
285
|
315: "-rotate-45"
|
|
282
|
-
},
|
|
283
|
-
if (!
|
|
286
|
+
}, g = Uo[`/src/assets/icons/${o}.svg`];
|
|
287
|
+
if (!g)
|
|
284
288
|
return console.error(`Icon "${o}" not found in ICON_MAP.`), null;
|
|
285
|
-
const i = typeof m == "function",
|
|
289
|
+
const i = typeof m == "function", I = l || o, {
|
|
286
290
|
pressProps: N,
|
|
287
|
-
role:
|
|
288
|
-
tabIndex:
|
|
289
|
-
isDisabled:
|
|
290
|
-
} =
|
|
291
|
+
role: C,
|
|
292
|
+
tabIndex: O,
|
|
293
|
+
isDisabled: $
|
|
294
|
+
} = Qo({
|
|
291
295
|
isNative: !1,
|
|
292
296
|
onClick: i ? (r) => m?.(r) : void 0,
|
|
293
297
|
disabled: i ? w : !1,
|
|
294
298
|
stopPropagation: A
|
|
295
|
-
}),
|
|
296
|
-
ariaLabel:
|
|
299
|
+
}), E = Ko({
|
|
300
|
+
ariaLabel: I,
|
|
297
301
|
ariaLabelledBy: n,
|
|
298
302
|
ariaDescribedBy: f
|
|
299
|
-
}),
|
|
303
|
+
}), S = i ? {
|
|
300
304
|
...N,
|
|
301
|
-
role:
|
|
302
|
-
tabIndex:
|
|
303
|
-
...
|
|
305
|
+
role: C,
|
|
306
|
+
tabIndex: O,
|
|
307
|
+
...E,
|
|
304
308
|
"aria-pressed": b,
|
|
305
309
|
"aria-expanded": p,
|
|
306
310
|
"aria-controls": d || void 0
|
|
@@ -308,21 +312,21 @@ const Ko = /* @__PURE__ */ Object.assign({
|
|
|
308
312
|
return /* @__PURE__ */ c.createElement("div", a({
|
|
309
313
|
ref: t,
|
|
310
314
|
id: _,
|
|
311
|
-
className: `se-design-svg-wrapper transition-transform duration-250 ease-linear rounded-[3px] ${i ? `${
|
|
315
|
+
className: `se-design-svg-wrapper transition-transform duration-250 ease-linear rounded-[3px] ${i ? `${$ ? "opacity-50 cursor-default" : "cursor-pointer focus-outline"}` : ""} ${e} ${P[k]}`,
|
|
312
316
|
"aria-hidden": i ? void 0 : "true",
|
|
313
317
|
title: y
|
|
314
|
-
},
|
|
318
|
+
}, S, {
|
|
315
319
|
"data-automation-id": s?.automationId
|
|
316
|
-
}), /* @__PURE__ */ c.createElement(
|
|
317
|
-
src:
|
|
320
|
+
}), /* @__PURE__ */ c.createElement(Jo, {
|
|
321
|
+
src: g,
|
|
318
322
|
wrapper: "span",
|
|
319
323
|
beforeInjection: (r) => {
|
|
320
|
-
r.setAttribute("aria-hidden", "true"), r.setAttribute("role", "none"),
|
|
324
|
+
r.setAttribute("aria-hidden", "true"), r.setAttribute("role", "none"), v(r, u, h, x);
|
|
321
325
|
}
|
|
322
326
|
}));
|
|
323
327
|
});
|
|
324
|
-
|
|
328
|
+
Wo.displayName = "Icon";
|
|
325
329
|
export {
|
|
326
|
-
|
|
330
|
+
Wo as Icon
|
|
327
331
|
};
|
|
328
332
|
//# sourceMappingURL=index6.js.map
|