se-design 1.0.59 → 1.0.61-dev
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/colors.css +2 -2
- package/dist/assets/icons/checkbox-disabled-minus.svg +1 -1
- package/dist/assets/icons/checkbox-disabled-tick.svg +1 -1
- package/dist/assets/icons/checkbox-fill.svg +1 -1
- package/dist/assets/icons/checkbox-hover-fill.svg +2 -2
- package/dist/assets/icons/sort-asc.svg +3 -4
- package/dist/assets/icons/sort-desc.svg +2 -3
- package/dist/assets/style.css +1 -1
- package/dist/components/AutoCompleteInput/index.d.ts +37 -7
- package/dist/components/DropdownWithInputTags/index.d.ts +7 -1
- package/dist/components/Header/index.d.ts +1 -0
- package/dist/components/OTPInput/index.d.ts +1 -0
- package/dist/components/PhoneInput/index.d.ts +19 -0
- package/dist/components/RadioGroup/index.d.ts +17 -0
- package/dist/components/SidebarOverlay/index.d.ts +4 -0
- package/dist/components/SkipLinksBar/index.d.ts +11 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.js +124 -120
- package/dist/index.js.map +1 -1
- package/dist/index10.js +56 -46
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +2 -2
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +2 -2
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +2 -2
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +2 -2
- 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 +2 -2
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +2 -2
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +2 -2
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +2 -2
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +48 -18
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +1 -1
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +1 -1
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +2 -2
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +1 -1
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +1 -1
- 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 +2 -2
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +1 -1
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +20 -11
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +1 -1
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +1 -1
- 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 +1 -1
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +2 -2
- 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 +1 -1
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +15 -9
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +1 -1
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +1 -1
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +1 -1
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +1 -1
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +2 -2
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +2 -2
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +2 -2
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +2 -2
- 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 +10 -202
- package/dist/index14.js.map +1 -1
- package/dist/index140.js +2 -2
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +1 -1
- 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 +1 -1
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +216 -59
- package/dist/index15.js.map +1 -1
- package/dist/index150.js +1 -1
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +1 -1
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +1 -1
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +1 -1
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +1 -1
- 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 +1 -1
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +1 -1
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +60 -84
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +1 -1
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +1 -1
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +1 -1
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +2 -2
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +1 -1
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +2 -2
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +2 -2
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +1 -1
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +2 -2
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +80 -274
- 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 +2 -2
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +2 -2
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +281 -11
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +2 -149
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +2 -6
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +149 -5
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +12 -0
- package/dist/index183.js.map +1 -0
- package/dist/index184.js +9 -0
- package/dist/index184.js.map +1 -0
- package/dist/index185.js +4 -23
- package/dist/index185.js.map +1 -1
- package/dist/index188.js +27 -0
- package/dist/index188.js.map +1 -0
- package/dist/index189.js +60 -21
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +12 -31
- package/dist/index19.js.map +1 -1
- package/dist/index191.js +87 -0
- package/dist/index191.js.map +1 -0
- package/dist/index193.js +26 -0
- package/dist/index193.js.map +1 -0
- package/dist/index20.js +32 -56
- package/dist/index20.js.map +1 -1
- package/dist/{index197.js → index201.js} +1 -1
- package/dist/{index197.js.map → index201.js.map} +1 -1
- package/dist/{index205.js → index209.js} +1 -1
- package/dist/{index205.js.map → index209.js.map} +1 -1
- package/dist/index21.js +53 -75
- package/dist/index21.js.map +1 -1
- package/dist/{index207.js → index211.js} +1 -1
- package/dist/{index207.js.map → index211.js.map} +1 -1
- package/dist/{index208.js → index212.js} +2 -2
- package/dist/{index208.js.map → index212.js.map} +1 -1
- package/dist/index22.js +77 -21
- package/dist/index22.js.map +1 -1
- package/dist/index222.js +3 -9
- package/dist/index222.js.map +1 -1
- package/dist/index224.js +56 -167
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +54 -11
- package/dist/index225.js.map +1 -1
- package/dist/index227.js +18 -5
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -5
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +8 -36
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +19 -190
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +5 -2
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +170 -8
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +11 -327
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -49
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +6 -2
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +35 -73
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -93
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +5 -49
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +326 -7
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +49 -4
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +217 -44
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +2 -52
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +76 -2
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +93 -2
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +55 -0
- package/dist/index243.js.map +1 -0
- package/dist/index244.js +11 -0
- package/dist/index244.js.map +1 -0
- package/dist/index245.js +8 -0
- package/dist/index245.js.map +1 -0
- package/dist/index246.js +55 -0
- package/dist/index246.js.map +1 -0
- package/dist/index247.js +5 -0
- package/dist/index247.js.map +1 -0
- package/dist/index248.js +5 -0
- package/dist/index248.js.map +1 -0
- package/dist/index25.js +48 -18
- package/dist/index25.js.map +1 -1
- package/dist/index26.js +16 -80
- package/dist/index26.js.map +1 -1
- package/dist/index27.js +82 -79
- package/dist/index27.js.map +1 -1
- package/dist/index28.js +80 -130
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +131 -55
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +2 -2
- package/dist/index30.js +53 -97
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +99 -61
- package/dist/index31.js.map +1 -1
- package/dist/index32.js +59 -32
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +40 -71
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +68 -41
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +45 -57
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +54 -230
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +281 -70
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +68 -80
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +82 -32
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +26 -44
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +45 -67
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +65 -49
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +49 -89
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +141 -93
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +189 -35
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +34 -29
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +31 -147
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +138 -45
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +52 -373
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +116 -115
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +375 -63
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +65 -38
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +35 -35
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +35 -82
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +81 -159
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +157 -135
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +149 -29
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +29 -86
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +80 -113
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +114 -56
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +32 -51
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +56 -147
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +146 -312
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +317 -44
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +43 -139
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +140 -12
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +10 -42
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +44 -5
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +18 -8
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +8 -0
- package/dist/index68.js.map +1 -0
- package/dist/index69.js +9 -2
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +47 -81
- package/dist/index7.js.map +1 -1
- package/dist/index71.js +1 -1
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +1 -1
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +2 -2
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +1 -1
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +1 -1
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +1 -1
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +1 -1
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +1 -1
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +1 -1
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +86 -26
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +1 -1
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +1 -1
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +1 -1
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +1 -1
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +1 -1
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +1 -1
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +1 -1
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +1 -1
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +1 -1
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +23 -59
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +1 -1
- 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 +2 -2
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +2 -2
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +2 -2
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +2 -2
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +1 -1
- package/dist/index99.js.map +1 -1
- package/package.json +3 -2
- package/dist/index186.js +0 -65
- package/dist/index186.js.map +0 -1
- package/dist/index218.js +0 -7
- package/dist/index218.js.map +0 -1
- package/dist/index220.js +0 -62
- package/dist/index220.js.map +0 -1
- package/dist/index221.js +0 -13
- package/dist/index221.js.map +0 -1
- package/dist/index223.js +0 -8
- package/dist/index223.js.map +0 -1
- package/dist/index70.js +0 -5
- package/dist/index70.js.map +0 -1
package/dist/index163.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M11.9108%204.2362L5.57875%2010.5683L2.65625%2011.0554L3.14333%208.13287L9.47542%201.80078L11.9108%204.2362Z'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.65625%2013.4898H9.15547C9.67221%2013.4898%2010.1678%2013.2845%2010.5332%2012.9191L10.9367%2012.5156L11.3402%2012.9191C11.7056%2013.2845%2012.2011%2013.4898%2012.7178%2013.4898H14.3462'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.47656%2010.4871C9.47656%209.72618%2010.0934%209.10938%2010.8542%209.10938H11.0214C11.7822%209.10938%2012.3991%209.72618%2012.3991%2010.4871C12.3991%2010.8525%2012.2539%2011.2029%2011.9956%2011.4612L10.9378%2012.519L9.88007%2011.4612C9.62171%2011.2029%209.47656%2010.8525%209.47656%2010.4871Z'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
e as default
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=index163.js.map
|
package/dist/index163.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index163.js","sources":["../src/assets/icons/
|
|
1
|
+
{"version":3,"file":"index163.js","sources":["../src/assets/icons/signer.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M11.9108%204.2362L5.57875%2010.5683L2.65625%2011.0554L3.14333%208.13287L9.47542%201.80078L11.9108%204.2362Z'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.65625%2013.4898H9.15547C9.67221%2013.4898%2010.1678%2013.2845%2010.5332%2012.9191L10.9367%2012.5156L11.3402%2012.9191C11.7056%2013.2845%2012.2011%2013.4898%2012.7178%2013.4898H14.3462'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.47656%2010.4871C9.47656%209.72618%2010.0934%209.10938%2010.8542%209.10938H11.0214C11.7822%209.10938%2012.3991%209.72618%2012.3991%2010.4871C12.3991%2010.8525%2012.2539%2011.2029%2011.9956%2011.4612L10.9378%2012.519L9.88007%2011.4612C9.62171%2011.2029%209.47656%2010.8525%209.47656%2010.4871Z'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_92"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index164.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_72_2399)'%3e%3cpath%20d='M1.37388%206.99414H10.4141'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.44197%202.02539L10.4141%206.99749L5.44197%2011.9696'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.127%2011.9696V2.02539'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_72_2399'%3e%3crect%20width='13.5'%20height='13.5'%20fill='white'%20transform='matrix(-1%200%200%201%2014%200.25)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|
package/dist/index164.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index164.js","sources":["../src/assets/icons/
|
|
1
|
+
{"version":3,"file":"index164.js","sources":["../src/assets/icons/slideout.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_72_2399)'%3e%3cpath%20d='M1.37388%206.99414H10.4141'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.44197%202.02539L10.4141%206.99749L5.44197%2011.9696'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.127%2011.9696V2.02539'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_72_2399'%3e%3crect%20width='13.5'%20height='13.5'%20fill='white'%20transform='matrix(-1%200%200%201%2014%200.25)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_93"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index165.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='13'%20viewBox='0%200%2012%2013'%20fill='none'%3e%3cpath%20d='M10.5152%201H1.71523C1.11023%201%200.615234%201.495%200.615234%202.1V12L2.81523%209.8H10.5152C11.1202%209.8%2011.6152%209.305%2011.6152%208.7V2.1C11.6152%201.495%2011.1202%201%2010.5152%201ZM10.5152%208.7H2.81523L1.71523%209.8V2.1H10.5152V8.7ZM3.36523%204.85H4.46523V5.95H3.36523V4.85ZM5.56523%204.85H6.66523V5.95H5.56523V4.85ZM7.76523%204.85H8.86523V5.95H7.76523V4.85Z'%20fill='%23415575'%20stroke='%23F2F4F8'%20stroke-width='0.2'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
t as default
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=index165.js.map
|
package/dist/index165.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index165.js","sources":["../src/assets/icons/
|
|
1
|
+
{"version":3,"file":"index165.js","sources":["../src/assets/icons/sms.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='13'%20viewBox='0%200%2012%2013'%20fill='none'%3e%3cpath%20d='M10.5152%201H1.71523C1.11023%201%200.615234%201.495%200.615234%202.1V12L2.81523%209.8H10.5152C11.1202%209.8%2011.6152%209.305%2011.6152%208.7V2.1C11.6152%201.495%2011.1202%201%2010.5152%201ZM10.5152%208.7H2.81523L1.71523%209.8V2.1H10.5152V8.7ZM3.36523%204.85H4.46523V5.95H3.36523V4.85ZM5.56523%204.85H6.66523V5.95H5.56523V4.85ZM7.76523%204.85H8.86523V5.95H7.76523V4.85Z'%20fill='%23415575'%20stroke='%23F2F4F8'%20stroke-width='0.2'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_94"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index166.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "data:image/svg+xml,%3csvg%
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%3e%3cpath%20d='M6.09729%2012.6V0.599998M0.599976%206.13846L6.09998%200.599998L11.6%206.13846'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|
package/dist/index166.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index166.js","sources":["../src/assets/icons/sort.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%
|
|
1
|
+
{"version":3,"file":"index166.js","sources":["../src/assets/icons/sort-asc.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%3e%3cpath%20d='M6.09729%2012.6V0.599998M0.599976%206.13846L6.09998%200.599998L11.6%206.13846'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_95"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index167.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M7.99731%202V14M2.5%208.46154L8%2014L13.5%208.46154'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
e as default
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=index167.js.map
|
package/dist/index167.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index167.js","sources":["../src/assets/icons/
|
|
1
|
+
{"version":3,"file":"index167.js","sources":["../src/assets/icons/sort-desc.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M7.99731%202V14M2.5%208.46154L8%2014L13.5%208.46154'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_96"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index168.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "data:image/svg+xml,%3csvg%
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.705%2010.3125L12.001%2013.0166L9.29688%2010.3125'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.0039%202.95117V12.9512'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.70504%205.65234L4.00096%202.94826L1.29688%205.65234'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.00391%2013.0098V3.00977'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|
package/dist/index168.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index168.js","sources":["../src/assets/icons/
|
|
1
|
+
{"version":3,"file":"index168.js","sources":["../src/assets/icons/sort.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.705%2010.3125L12.001%2013.0166L9.29688%2010.3125'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.0039%202.95117V12.9512'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.70504%205.65234L4.00096%202.94826L1.29688%205.65234'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.00391%2013.0098V3.00977'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_97"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index169.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const
|
|
1
|
+
const C = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31825%201.62467C7.24366%201.63988%201.22813%203.94961%201.07809%204.02065C0.98891%204.06287%200.850115%204.17259%200.784466%204.25277C0.710632%204.34293%200.635259%204.4953%200.603951%204.61773C0.574405%204.73328%200.574032%204.78117%200.574256%208.47036C0.574495%2012.5912%200.56728%2012.284%200.668987%2012.5022C0.76203%2012.7018%200.922963%2012.8736%201.10978%2012.9728C1.15606%2012.9974%202.54163%2013.5357%204.18882%2014.1691C5.83601%2014.8025%207.20724%2015.3315%207.23599%2015.3447C7.32984%2015.3876%207.4212%2015.4097%207.50486%2015.4097C7.58424%2015.4097%207.71566%2015.379%207.7497%2015.3525C7.75881%2015.3454%207.79651%2015.3294%207.83348%2015.317C8.03258%2015.2501%2013.8291%2013.0101%2013.9%2012.9726C14.0796%2012.8777%2014.2379%2012.7114%2014.3314%2012.5197C14.4449%2012.2869%2014.4364%2012.631%2014.4321%208.43142L14.4282%204.66273L14.3951%204.56542C14.3033%204.29565%2014.0769%204.04918%2013.8158%203.93474C13.7153%203.89068%207.92525%201.69931%207.78269%201.65138C7.67583%201.61545%207.43218%201.60143%207.31825%201.62467ZM5.05097%203.62847C3.69824%204.14987%202.61311%204.57599%202.62369%204.58166C2.63422%204.5873%203.73657%205.01286%205.07338%205.52734L7.50392%206.46276L9.97276%205.5126C11.3306%204.99002%2012.4432%204.56097%2012.4452%204.55915C12.4483%204.55638%207.55586%202.7024%207.51233%202.68985C7.50412%202.68749%206.39651%203.10987%205.05097%203.62847ZM1.63457%208.69313C1.63457%2011.3485%201.63839%2012.0348%201.65324%2012.044C1.66352%2012.0504%202.86165%2012.5136%204.31578%2013.0734L6.95966%2014.0912L6.96342%2010.752C6.9655%208.91538%206.96214%207.40806%206.95595%207.40237C6.945%207.39229%201.71269%205.37513%201.66071%205.36096C1.63587%205.35417%201.63457%205.52008%201.63457%208.69313ZM10.6939%206.37895L8.05007%207.3981L8.0463%2010.7466L8.04254%2014.0951L8.12075%2014.0643C8.16377%2014.0473%209.35184%2013.5896%2010.7609%2013.0472C12.17%2012.5047%2013.3346%2012.0546%2013.349%2012.047C13.3738%2012.0339%2013.3752%2011.859%2013.3752%208.69524C13.3752%206.03419%2013.3714%205.35756%2013.3565%205.35857C13.3462%205.35925%2012.1481%205.81844%2010.6939%206.37895Z'%20fill='%2356CF8A'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
C as default
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=index169.js.map
|
package/dist/index169.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index169.js","sources":["../src/assets/icons/
|
|
1
|
+
{"version":3,"file":"index169.js","sources":["../src/assets/icons/space.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31825%201.62467C7.24366%201.63988%201.22813%203.94961%201.07809%204.02065C0.98891%204.06287%200.850115%204.17259%200.784466%204.25277C0.710632%204.34293%200.635259%204.4953%200.603951%204.61773C0.574405%204.73328%200.574032%204.78117%200.574256%208.47036C0.574495%2012.5912%200.56728%2012.284%200.668987%2012.5022C0.76203%2012.7018%200.922963%2012.8736%201.10978%2012.9728C1.15606%2012.9974%202.54163%2013.5357%204.18882%2014.1691C5.83601%2014.8025%207.20724%2015.3315%207.23599%2015.3447C7.32984%2015.3876%207.4212%2015.4097%207.50486%2015.4097C7.58424%2015.4097%207.71566%2015.379%207.7497%2015.3525C7.75881%2015.3454%207.79651%2015.3294%207.83348%2015.317C8.03258%2015.2501%2013.8291%2013.0101%2013.9%2012.9726C14.0796%2012.8777%2014.2379%2012.7114%2014.3314%2012.5197C14.4449%2012.2869%2014.4364%2012.631%2014.4321%208.43142L14.4282%204.66273L14.3951%204.56542C14.3033%204.29565%2014.0769%204.04918%2013.8158%203.93474C13.7153%203.89068%207.92525%201.69931%207.78269%201.65138C7.67583%201.61545%207.43218%201.60143%207.31825%201.62467ZM5.05097%203.62847C3.69824%204.14987%202.61311%204.57599%202.62369%204.58166C2.63422%204.5873%203.73657%205.01286%205.07338%205.52734L7.50392%206.46276L9.97276%205.5126C11.3306%204.99002%2012.4432%204.56097%2012.4452%204.55915C12.4483%204.55638%207.55586%202.7024%207.51233%202.68985C7.50412%202.68749%206.39651%203.10987%205.05097%203.62847ZM1.63457%208.69313C1.63457%2011.3485%201.63839%2012.0348%201.65324%2012.044C1.66352%2012.0504%202.86165%2012.5136%204.31578%2013.0734L6.95966%2014.0912L6.96342%2010.752C6.9655%208.91538%206.96214%207.40806%206.95595%207.40237C6.945%207.39229%201.71269%205.37513%201.66071%205.36096C1.63587%205.35417%201.63457%205.52008%201.63457%208.69313ZM10.6939%206.37895L8.05007%207.3981L8.0463%2010.7466L8.04254%2014.0951L8.12075%2014.0643C8.16377%2014.0473%209.35184%2013.5896%2010.7609%2013.0472C12.17%2012.5047%2013.3346%2012.0546%2013.349%2012.047C13.3738%2012.0339%2013.3752%2011.859%2013.3752%208.69524C13.3752%206.03419%2013.3714%205.35756%2013.3565%205.35857C13.3462%205.35925%2012.1481%205.81844%2010.6939%206.37895Z'%20fill='%2356CF8A'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_98"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index17.js
CHANGED
|
@@ -1,282 +1,88 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import s, { useState as N, useMemo as y } from "react";
|
|
2
|
+
import { MenuItem as F } from "./index16.js";
|
|
3
|
+
import { InputWithIcon as R } from "./index51.js";
|
|
4
|
+
import { useRovingFocus as S } from "./index189.js";
|
|
5
|
+
function d() {
|
|
6
|
+
return d = Object.assign ? Object.assign.bind() : function(t) {
|
|
7
|
+
for (var a = 1; a < arguments.length; a++) {
|
|
8
|
+
var r = arguments[a];
|
|
9
|
+
for (var l in r) ({}).hasOwnProperty.call(r, l) && (t[l] = r[l]);
|
|
9
10
|
}
|
|
10
|
-
return
|
|
11
|
-
},
|
|
11
|
+
return t;
|
|
12
|
+
}, d.apply(null, arguments);
|
|
12
13
|
}
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
borderColor: "var(--color-gray-200)",
|
|
31
|
-
color: "var(--color-gray-900)",
|
|
32
|
-
backgroundColor: "var(--color-white)"
|
|
33
|
-
},
|
|
34
|
-
disableClickToggle: D = !1,
|
|
35
|
-
noBorder: Y = !1,
|
|
36
|
-
disableAutoClose: d = !1,
|
|
37
|
-
...Z
|
|
38
|
-
}, ee) => {
|
|
39
|
-
const [s, u] = A(!1), [h, K] = A(p), [te, M] = A(!1), l = B(null), a = B(null), T = B(d);
|
|
40
|
-
T.current = d;
|
|
41
|
-
const oe = le({
|
|
42
|
-
ariaLabel: J,
|
|
43
|
-
ariaLabelledBy: Q,
|
|
44
|
-
ariaDescribedBy: void 0
|
|
45
|
-
// Popover doesn't support describedBy yet
|
|
46
|
-
}), [U, P] = A({
|
|
47
|
-
top: 0,
|
|
48
|
-
left: 0
|
|
49
|
-
}), E = (e = "bottom-center") => {
|
|
50
|
-
if (!l.current) return {
|
|
51
|
-
top: 0,
|
|
52
|
-
left: 0
|
|
53
|
-
};
|
|
54
|
-
let o = e;
|
|
55
|
-
const t = l.current.getBoundingClientRect(), i = window.innerWidth, c = window.innerHeight;
|
|
56
|
-
let n = 0, r = 0;
|
|
57
|
-
switch (o) {
|
|
58
|
-
case "bottom-left":
|
|
59
|
-
n = t.bottom, r = t.left;
|
|
60
|
-
break;
|
|
61
|
-
case "bottom-right":
|
|
62
|
-
n = t.bottom, r = t.right - t.width * 0.5;
|
|
63
|
-
break;
|
|
64
|
-
case "bottom-center":
|
|
65
|
-
n = t.bottom, r = t.left + t.width / 2;
|
|
66
|
-
break;
|
|
67
|
-
case "top-left":
|
|
68
|
-
n = t.top - t.height * 1.9, r = t.left;
|
|
69
|
-
break;
|
|
70
|
-
case "top-right":
|
|
71
|
-
n = t.top - t.height * 1.9, r = t.right - t.width * 0.5;
|
|
72
|
-
break;
|
|
73
|
-
case "top-center":
|
|
74
|
-
n = t.top - t.height * 1.9, r = t.left + t.width / 2;
|
|
75
|
-
break;
|
|
76
|
-
default:
|
|
77
|
-
n = t.bottom, r = t.left;
|
|
78
|
-
break;
|
|
79
|
-
}
|
|
80
|
-
const f = a.current?.getBoundingClientRect(), v = f?.width || 0, m = f?.height || 0;
|
|
81
|
-
if ((o === "bottom-center" || o === "top-center") && (r = r - v / 2), r + v > i && (r = Math.max(0, i - v)), r < 0 && (r = 0), n + m > c) {
|
|
82
|
-
const x = t.top, ie = c - t.bottom;
|
|
83
|
-
x >= m || x > ie ? (n = t.top - m, n < 0 && (n = 0)) : n = Math.max(0, c - m);
|
|
84
|
-
}
|
|
85
|
-
return n < 0 && (n = t.bottom, n + m > c && (n = Math.max(0, c - m))), {
|
|
86
|
-
top: n,
|
|
87
|
-
left: r
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
N(() => {
|
|
91
|
-
if (C && C(s), s && !b)
|
|
92
|
-
return d || document.body.addEventListener("click", V, !0), ne(), () => {
|
|
93
|
-
d || document.body.removeEventListener("click", V, !0);
|
|
94
|
-
};
|
|
95
|
-
if (s && b) {
|
|
96
|
-
d ? window.addEventListener("scroll", W) : (document.body.addEventListener("click", S, !0), window.addEventListener("scroll", S)), window.addEventListener("resize", _);
|
|
97
|
-
const e = setTimeout(() => {
|
|
98
|
-
const t = E(h);
|
|
99
|
-
R(), t && P(t);
|
|
100
|
-
}, 0), o = setTimeout(() => {
|
|
101
|
-
const t = E(h);
|
|
102
|
-
t && P(t);
|
|
103
|
-
}, 10);
|
|
104
|
-
return () => {
|
|
105
|
-
d ? window.removeEventListener("scroll", W) : (document.body.removeEventListener("click", S, !0), window.removeEventListener("scroll", S)), window.removeEventListener("resize", _), clearTimeout(e), clearTimeout(o);
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
}, [s, b, d]);
|
|
109
|
-
const R = () => {
|
|
110
|
-
if (!l.current) {
|
|
111
|
-
M(!1);
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
const e = l.current.getBoundingClientRect(), o = window.innerHeight, t = window.innerWidth, i = e.top < o && e.bottom > 0 && e.left < t && e.right > 0;
|
|
115
|
-
M(i);
|
|
116
|
-
};
|
|
117
|
-
N(() => {
|
|
118
|
-
u(O ?? !1);
|
|
119
|
-
}, [O]), N(() => {
|
|
120
|
-
s && a.current && setTimeout(() => {
|
|
121
|
-
const e = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", '[tabindex]:not([tabindex="-1"])'].join(", "), o = a.current?.querySelector(e);
|
|
122
|
-
o && document.activeElement === l.current && o.focus();
|
|
123
|
-
}, 0);
|
|
124
|
-
}, [s]);
|
|
125
|
-
const ne = () => {
|
|
126
|
-
if (!a.current) return;
|
|
127
|
-
const e = a.current.getBoundingClientRect(), o = window.innerHeight;
|
|
128
|
-
e?.bottom > o ? K(p.includes("left") ? "top-left" : p.includes("right") ? "top-right" : "top-center") : e?.top < 0 && K(p.includes("left") ? "bottom-left" : p.includes("right") ? "bottom-right" : "bottom-center");
|
|
129
|
-
}, V = (e) => {
|
|
130
|
-
const o = l.current;
|
|
131
|
-
if (!o) return;
|
|
132
|
-
const t = e.target, i = o.contains(t), c = a.current?.contains(t), r = t.closest?.(".se-design-popover-wrapper"), f = r && r !== o, v = a.current?.contains(r);
|
|
133
|
-
d || (!i && !c || f && !v) && u(!1);
|
|
134
|
-
}, S = (e) => {
|
|
135
|
-
const o = l.current, t = a.current;
|
|
136
|
-
if (!o) return;
|
|
137
|
-
if (R(), e.type === "scroll" && s) {
|
|
138
|
-
const x = E(h);
|
|
139
|
-
x && P(x);
|
|
140
|
-
}
|
|
141
|
-
const i = e.target, c = o.contains(i), n = t?.contains(i), f = i.closest?.(".se-design-popover-wrapper"), v = f && f !== o, m = a.current?.contains(f);
|
|
142
|
-
d || (!c && !n || v && !m) && u(!1);
|
|
143
|
-
}, _ = () => {
|
|
144
|
-
if (s && b && l.current) {
|
|
145
|
-
R();
|
|
146
|
-
const e = E(h);
|
|
147
|
-
e && P(e);
|
|
148
|
-
}
|
|
149
|
-
}, W = () => {
|
|
150
|
-
if (s && b && l.current) {
|
|
151
|
-
R();
|
|
152
|
-
const e = E(h);
|
|
153
|
-
e && P(e);
|
|
154
|
-
}
|
|
155
|
-
}, L = () => {
|
|
156
|
-
u((e) => !e);
|
|
157
|
-
}, H = (e, o) => {
|
|
158
|
-
if (!o) return;
|
|
159
|
-
const t = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])", '[tabindex]:not([tabindex="-1"])'].join(", "), i = Array.from(o.querySelectorAll(t)).filter((r) => {
|
|
160
|
-
const f = window.getComputedStyle(r);
|
|
161
|
-
return !r.hasAttribute("disabled") && !r.hasAttribute("aria-disabled") && f.display !== "none" && f.visibility !== "hidden" && (r.tabIndex >= 0 || r.hasAttribute("role"));
|
|
162
|
-
});
|
|
163
|
-
if (i.length === 0) return;
|
|
164
|
-
const c = i.findIndex((r) => r === document.activeElement);
|
|
165
|
-
let n = -1;
|
|
166
|
-
e.key === "ArrowDown" ? (e.preventDefault(), e.stopPropagation(), n = c < i.length - 1 ? c + 1 : 0) : e.key === "ArrowUp" ? (e.preventDefault(), e.stopPropagation(), n = c > 0 ? c - 1 : i.length - 1) : e.key === "Home" ? (e.preventDefault(), e.stopPropagation(), n = 0) : e.key === "End" && (e.preventDefault(), e.stopPropagation(), n = i.length - 1), n >= 0 && i[n] ? i[n].focus() : c === -1 && i.length > 0 && i[0].focus();
|
|
167
|
-
};
|
|
168
|
-
ce(ee, () => ({
|
|
169
|
-
togglePopover: L
|
|
170
|
-
}), []);
|
|
171
|
-
const re = {
|
|
172
|
-
"bottom-left": {
|
|
173
|
-
left: "0",
|
|
174
|
-
top: "100%"
|
|
175
|
-
},
|
|
176
|
-
"bottom-right": {
|
|
177
|
-
right: "0",
|
|
178
|
-
top: "100%"
|
|
179
|
-
},
|
|
180
|
-
"bottom-center": {
|
|
181
|
-
left: "50%",
|
|
182
|
-
transform: "translateX(-50%)",
|
|
183
|
-
top: "100%"
|
|
184
|
-
},
|
|
185
|
-
"top-left": {
|
|
186
|
-
left: "0",
|
|
187
|
-
bottom: "100%"
|
|
188
|
-
},
|
|
189
|
-
"top-right": {
|
|
190
|
-
right: "0",
|
|
191
|
-
bottom: "100%"
|
|
14
|
+
const _ = ({
|
|
15
|
+
items: t,
|
|
16
|
+
maxHeight: a,
|
|
17
|
+
shouldShowSearch: r = !1,
|
|
18
|
+
searchPlaceholder: l = "Search...",
|
|
19
|
+
searchBy: v = "label",
|
|
20
|
+
searchResultEmptyMessage: I = "No results found"
|
|
21
|
+
}) => {
|
|
22
|
+
const [m, b] = N(""), h = () => m.trim() ? t.filter((e) => (e[v]?.toString().toLowerCase() || "").includes(m.toLowerCase())) : t, w = () => /* @__PURE__ */ s.createElement("div", {
|
|
23
|
+
className: "w-full relative flex items-center border-b border-[var(--color-gray-300)] px-1"
|
|
24
|
+
}, /* @__PURE__ */ s.createElement(R, {
|
|
25
|
+
leftIcon: {
|
|
26
|
+
name: "search",
|
|
27
|
+
position: "left",
|
|
28
|
+
style: {
|
|
29
|
+
color: "var(--color-gray-500)"
|
|
30
|
+
}
|
|
192
31
|
},
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
bottom: "100%"
|
|
197
|
-
}
|
|
198
|
-
}, X = Y ? "" : "shadow-md border rounded-md";
|
|
199
|
-
return /* @__PURE__ */ I.createElement("div", j({
|
|
200
|
-
className: "se-design-popover-wrapper cursor-pointer relative focus-outline rounded-md" + (g.length > 0 ? ` ${g}` : "") + (s ? " open" : "") + (k ? " opacity-50 cursor-not-allowed pointer-events-none" : ""),
|
|
201
|
-
ref: l,
|
|
202
|
-
onClick: (e) => {
|
|
203
|
-
k || D || (e.stopPropagation(), L());
|
|
204
|
-
},
|
|
205
|
-
onKeyDown: (e) => {
|
|
206
|
-
if (!k)
|
|
207
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
208
|
-
e.preventDefault(), e.stopPropagation();
|
|
209
|
-
const o = s;
|
|
210
|
-
L(), o || setTimeout(() => {
|
|
211
|
-
const t = a.current;
|
|
212
|
-
if (t) {
|
|
213
|
-
const i = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", '[tabindex]:not([tabindex="-1"])'].join(", "), c = t.querySelector(i);
|
|
214
|
-
c && c.focus();
|
|
215
|
-
}
|
|
216
|
-
}, 0);
|
|
217
|
-
} else if (e.key === "Escape" && s)
|
|
218
|
-
e.preventDefault(), e.stopPropagation(), u(!1);
|
|
219
|
-
else if ((e.key === "ArrowDown" || e.key === "ArrowUp") && s) {
|
|
220
|
-
const o = a.current;
|
|
221
|
-
o && H(e, o);
|
|
222
|
-
} else e.key === "ArrowDown" && !s && (e.preventDefault(), e.stopPropagation(), u(!0), setTimeout(() => {
|
|
223
|
-
const o = a.current;
|
|
224
|
-
if (o) {
|
|
225
|
-
const t = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", '[tabindex]:not([tabindex="-1"])'].join(", "), i = o.querySelector(t);
|
|
226
|
-
i && i.focus();
|
|
227
|
-
}
|
|
228
|
-
}, 0));
|
|
229
|
-
},
|
|
230
|
-
onBlur: () => {
|
|
231
|
-
s && setTimeout(() => {
|
|
232
|
-
if (T.current) return;
|
|
233
|
-
const e = document.activeElement, o = l.current?.contains(e), t = a.current?.contains(e);
|
|
234
|
-
!o && !t && u(!1);
|
|
235
|
-
}, 0);
|
|
236
|
-
},
|
|
237
|
-
role: $,
|
|
238
|
-
"aria-expanded": D ? void 0 : s ? "true" : "false",
|
|
239
|
-
"aria-haspopup": D ? void 0 : $ === "combobox" ? "listbox" : "true",
|
|
240
|
-
tabIndex: k || D ? -1 : 0,
|
|
241
|
-
"aria-disabled": k ? "true" : "false"
|
|
242
|
-
}, oe, {
|
|
243
|
-
"data-automation-id": y
|
|
244
|
-
}, Z), G({
|
|
245
|
-
displayPopover: s,
|
|
246
|
-
togglePopover: L
|
|
247
|
-
}), s && !b && /* @__PURE__ */ I.createElement("div", {
|
|
248
|
-
className: `popover-content absolute ${X} z-[1000] ${F == "full" ? "w-full" : "w-max"}`,
|
|
249
|
-
style: {
|
|
250
|
-
...q,
|
|
251
|
-
...re[h]
|
|
252
|
-
},
|
|
253
|
-
onClick: (e) => e.stopPropagation(),
|
|
254
|
-
onKeyDown: (e) => {
|
|
255
|
-
e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), u(!1), l.current?.focus()) : (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "Home" || e.key === "End") && H(e, a.current);
|
|
256
|
-
},
|
|
257
|
-
ref: a,
|
|
258
|
-
"data-automation-id": w
|
|
259
|
-
}, z({
|
|
260
|
-
closePopoverCb: () => u(!1)
|
|
261
|
-
})), b && s && te && /* @__PURE__ */ ae.createPortal(/* @__PURE__ */ I.createElement("div", {
|
|
262
|
-
className: `popover-content-with-portal ${X} ${F == "full" ? "w-full" : "w-max"}`,
|
|
32
|
+
value: m,
|
|
33
|
+
onChange: (e) => b(e),
|
|
34
|
+
placeholder: l,
|
|
263
35
|
style: {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
left: U.left,
|
|
267
|
-
...q
|
|
268
|
-
},
|
|
269
|
-
onClick: (e) => e.stopPropagation(),
|
|
270
|
-
onKeyDown: (e) => {
|
|
271
|
-
e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), u(!1), l.current?.focus()) : (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "Home" || e.key === "End") && H(e, a.current);
|
|
36
|
+
margin: 0,
|
|
37
|
+
gap: 0
|
|
272
38
|
},
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
})
|
|
39
|
+
inputStyle: {
|
|
40
|
+
width: "100%",
|
|
41
|
+
border: "none",
|
|
42
|
+
outline: "none"
|
|
43
|
+
}
|
|
44
|
+
})), u = h(), x = a ? {
|
|
45
|
+
maxHeight: a,
|
|
46
|
+
overflowY: "auto"
|
|
47
|
+
} : {}, p = y(() => {
|
|
48
|
+
const e = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new Set();
|
|
49
|
+
return t.forEach((o, c) => {
|
|
50
|
+
const g = o.id || o.automationId || `menu-item-${c}`;
|
|
51
|
+
let i = g;
|
|
52
|
+
n.has(i) && (i = `${g}-${c}`), n.add(i), e.set(o, i);
|
|
53
|
+
}), e;
|
|
54
|
+
}, [t]), f = y(() => u.map((e, n) => p.get(e) || e.id || e.automationId || `menu-item-${n}`), [u, p]), {
|
|
55
|
+
getRovingItemProps: E,
|
|
56
|
+
handleKeyDown: $,
|
|
57
|
+
setFocusedId: M
|
|
58
|
+
} = S({
|
|
59
|
+
itemIds: f,
|
|
60
|
+
orientation: "vertical",
|
|
61
|
+
loop: !0
|
|
62
|
+
});
|
|
63
|
+
return /* @__PURE__ */ s.createElement("div", {
|
|
64
|
+
className: `se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${r ? "" : "px-1 py-2"}`,
|
|
65
|
+
role: "menu",
|
|
66
|
+
"aria-label": "Menu"
|
|
67
|
+
}, r && w(), /* @__PURE__ */ s.createElement("div", {
|
|
68
|
+
style: x,
|
|
69
|
+
className: `overflow-y-auto ${r ? "px-1 py-2" : ""}`
|
|
70
|
+
}, u.length > 0 ? u.map((e, n) => {
|
|
71
|
+
const o = f[n], c = E(o);
|
|
72
|
+
return /* @__PURE__ */ s.createElement(F, d({}, e, {
|
|
73
|
+
key: o,
|
|
74
|
+
ref: c.ref,
|
|
75
|
+
tabIndex: c.tabIndex,
|
|
76
|
+
onKeyDown: $,
|
|
77
|
+
onFocus: () => M(o)
|
|
78
|
+
}));
|
|
79
|
+
}) : /* @__PURE__ */ s.createElement("div", {
|
|
80
|
+
className: "px-3 py-4 text-center text-[var(--color-gray-700)] text-sm",
|
|
81
|
+
role: "status",
|
|
82
|
+
"aria-live": "polite"
|
|
83
|
+
}, I)));
|
|
84
|
+
};
|
|
279
85
|
export {
|
|
280
|
-
|
|
86
|
+
_ as MenuList
|
|
281
87
|
};
|
|
282
88
|
//# sourceMappingURL=index17.js.map
|